feat: add bookmark widget #2994
Annotations
22 errors and 1 warning
format
@homarr/translation#format: command (/home/runner/work/homarr/homarr/packages/translation) /home/runner/setup-pnpm/node_modules/.bin/pnpm run format --cache --cache-location node_modules/.cache/.prettiercache exited (1)
|
format
@homarr/widgets#format: command (/home/runner/work/homarr/homarr/packages/widgets) /home/runner/setup-pnpm/node_modules/.bin/pnpm run format --cache --cache-location node_modules/.cache/.prettiercache exited (1)
|
format
Process completed with exit code 1.
|
packages/integrations/test/nzbget.spec.ts > Nzbget integration > Delete item should result in empty items:
packages/integrations/test/nzbget.spec.ts#L132
AssertionError: expected { …(2) } to match object { items: [] }
(4 matching properties omitted from actual)
- Expected
+ Received
Object {
- "items": Array [],
+ "items": Array [
+ Object {
+ "added": 1727001001000,
+ "category": "",
+ "downSpeed": 0,
+ "id": "1",
+ "index": 0,
+ "name": "test_download_100MB",
+ "progress": 0,
+ "size": 10819953,
+ "state": "downloading",
+ "time": 0,
+ "type": "usenet",
+ },
+ ],
}
❯ packages/integrations/test/nzbget.spec.ts:132:5
|
packages/widgets/src/test/translation.spec.ts > Widget properties with description should have matching translations > should have matching translations for items option description of bookmarks widget:
packages/widgets/src/test/translation.spec.ts#L16
Error: Option items not found in translation
❯ packages/widgets/src/test/translation.spec.ts:16:19
|
packages/widgets/src/test/translation.spec.ts > Widget properties should have matching name translations > should have matching translations for items option name of bookmarks widget:
packages/widgets/src/test/translation.spec.ts#L34
Error: Option items not found in translation
❯ packages/widgets/src/test/translation.spec.ts:34:17
|
test
Process completed with exit code 1.
|
typecheck
Type '{ app: null; clock: "date"; calendar: "calendar"; downloads: "torrents-status"; weather: "weather"; rssFeed: "rss"; video: "video-stream"; iframe: "iframe"; mediaServer: "media-server"; dnsHoleSummary: "dns-hole-summary"; ... 6 more ...; indexerManager: "indexer-manager"; }' does not satisfy the expected type 'Record<"calendar" | "indexerManager" | "clock" | "weather" | "app" | "iframe" | "video" | "notebook" | "dnsHoleSummary" | "dnsHoleControls" | "smartHome-entityState" | "smartHome-executeAutomation" | ... 5 more ... | "bookmarks", "calendar" | ... 21 more ... | null>'.
|
typecheck
Type 'K' cannot be used to index type '{ app: null; clock: "date"; calendar: "calendar"; downloads: "torrents-status"; weather: "weather"; rssFeed: "rss"; video: "video-stream"; iframe: "iframe"; mediaServer: "media-server"; dnsHoleSummary: "dns-hole-summary"; ... 6 more ...; indexerManager: "indexer-manager"; }'.
|
typecheck
Type 'K' cannot be used to index type 'OptionMapping'.
|
typecheck
@homarr/db#typecheck: command (/home/runner/work/homarr/homarr/packages/db) /home/runner/setup-pnpm/node_modules/.bin/pnpm run typecheck exited (2)
|
typecheck
Process completed with exit code 2.
|
lint:
apps/nextjs/src/app/[locale]/(main)/page.tsx#L4
'DraggableAttributes' is defined but never used. Allowed unused vars must match /^_/u
|
lint:
apps/nextjs/src/app/[locale]/(main)/page.tsx#L41
'actions' is defined but never used. Allowed unused args must match /^_/u
|
lint:
apps/nextjs/src/app/[locale]/(main)/page.tsx#L64
'getPosition' is assigned a value but never used. Allowed unused vars must match /^_/u
|
lint:
apps/nextjs/src/app/[locale]/(main)/page.tsx#L105
Forbidden non-null assertion
|
lint:
apps/nextjs/src/app/[locale]/(main)/page.tsx#L111
Forbidden non-null assertion
|
lint:
apps/nextjs/src/app/[locale]/(main)/page.tsx#L130
'active' is assigned a value but never used. Allowed unused vars must match /^_/u
|
lint:
apps/nextjs/src/app/[locale]/(main)/page.tsx#L133
'isSorting' is assigned a value but never used. Allowed unused vars must match /^_/u
|
lint:
apps/nextjs/src/app/[locale]/(main)/page.tsx#L135
'overIndex' is assigned a value but never used. Allowed unused vars must match /^_/u
|
lint:
apps/nextjs/src/app/[locale]/(main)/page.tsx#L216
'testApps' is assigned a value but never used. Allowed unused vars must match /^_/u
|
lint
@homarr/nextjs#lint: command (/home/runner/work/homarr/homarr/apps/nextjs) /home/runner/setup-pnpm/node_modules/.bin/pnpm run lint --cache --cache-location node_modules/.cache/.eslintcache exited (1)
|
lint:
apps/nextjs/src/app/[locale]/(main)/page.tsx#L27
All imports in the declaration are only used as types. Use `import type`
|