feat: ui for device transfer #2136
Annotations
3 errors and 10 warnings
|
⚡ Test
Process completed with exit code 1.
|
|
tests/routes/api.boxes.$deviceId.$sensorId.measurement.spec.ts > openSenseMap API Routes: /boxes/:deviceId/:sensorId/measurement:
tests/routes/api.boxes.$deviceId.$sensorId.measurement.spec.ts#L184
Error: Failed query: delete from "device" where "device"."id" = $1
params:
❯ PostgresJsPreparedQuery.queryWithCache node_modules/drizzle-orm/pg-core/session.js:41:15
❯ tests/routes/api.boxes.$deviceId.$sensorId.measurement.spec.ts:184:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { query: 'delete from "device" where "device"."id" = $1', params: [ undefined ] }
Caused by: Caused by: Error: UNDEFINED_VALUE: Undefined values are not allowed
❯ handleValue node_modules/postgres/src/types.js:83:20
❯ node_modules/postgres/src/connection.js:225:38
❯ build node_modules/postgres/src/connection.js:225:25
❯ Object.execute node_modules/postgres/src/connection.js:167:7
❯ go node_modules/postgres/src/index.js:345:14
❯ Query.handler node_modules/postgres/src/index.js:334:14
❯ Query.handle node_modules/postgres/src/query.js:140:65
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'UNDEFINED_VALUE', query: undefined, parameters: undefined, args: [ undefined ], types: null }
|
|
tests/routes/api.boxes.$deviceId.$sensorId.measurement.spec.ts > openSenseMap API Routes: /boxes/:deviceId/:sensorId/measurement:
tests/routes/api.boxes.$deviceId.$sensorId.measurement.spec.ts#L58
Error: Hook timed out in 10000ms.
If this is a long-running hook, pass a timeout value as the last argument or configure it globally with "hookTimeout".
❯ tests/routes/api.boxes.$deviceId.$sensorId.measurement.spec.ts:58:2
|
|
⬣ Lint:
app/routes/api.boxes.ts#L9
Imports "FindDevicesOptions" are only used as type
|
|
⬣ Lint:
app/routes/api.boxes.ts#L1
All imports in the declaration are only used as types. Use `import type`
|
|
⬣ Lint:
app/routes/account.confirm-email.tsx#L3
'getUserByEmail' is defined but never used. Allowed unused vars must match /^ignored/u
|
|
⬣ Lint:
app/routes/account.confirm-email.tsx#L3
'getUserByAnyEmail' is defined but never used. Allowed unused vars must match /^ignored/u
|
|
⬣ Lint:
app/lib/jwt.ts#L8
'device' is defined but never used. Allowed unused vars must match /^ignored/u
|
|
⬣ Lint:
app/lib/jwt.ts#L8
Imports "Device" are only used as type
|
|
⬣ Lint:
app/components/rjsf/inputTemplate.tsx#L14
'options' is assigned a value but never used. Allowed unused vars must match /^ignored/u
|
|
⬣ Lint:
app/components/landing/sections/tools.tsx#L3
`react-i18next` import should occur before import of `@/components/ui/tabs`
|
|
⬣ Lint:
app/components/landing/header/header.tsx#L5
`react-i18next` import should occur before import of `react-router`
|
|
⬣ Lint:
app/components/device/new/advanced-info.tsx#L3
'useEffect' is defined but never used. Allowed unused vars must match /^ignored/u
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
openSenseMap~frontend~XPLTUW.dockerbuild
Expired
|
173 KB |
sha256:9e7ec5037a69ae316aace7dc52eb5f03c24ef3084b41b3975613d244362f152d
|
|