Skip to content

feat: Expose the search functionality in the REST API #797

feat: Expose the search functionality in the REST API

feat: Expose the search functionality in the REST API #797

Triggered via push January 5, 2025 12:02
Status Failure
Total duration 1m 48s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 4 warnings
typecheck
Argument of type '"/bookmarks/{bookmarkId}/assets"' is not assignable to parameter of type 'PathsWithMethod<paths, "post">'.
typecheck
Argument of type '"/bookmarks/{bookmarkId}/assets"' is not assignable to parameter of type 'PathsWithMethod<paths, "post">'.
typecheck
Argument of type '"/bookmarks/{bookmarkId}/assets/{assetId}"' is not assignable to parameter of type '"/lists/{listId}/bookmarks/{bookmarkId}"'.
typecheck
Argument of type '"/bookmarks/{bookmarkId}/assets/{assetId}"' is not assignable to parameter of type 'PathsWithMethod<paths, "delete">'.
typecheck
Argument of type '"/bookmarks/search"' is not assignable to parameter of type 'PathsWithMethod<paths, "get">'.
typecheck
Property 'bookmarks' does not exist on type 'SuccessResponse<{ 200: { headers: { [name: string]: unknown; }; content: { "application/json": { id: string; createdAt: string; title?: string | null | undefined; archived: boolean; favourited: boolean; taggingStatus: "success" | ... 2 more ... | null; ... 4 more ...; assets: { ...; }[]; }; }; }; } | ... 9 more ... ...'.
typecheck
Argument of type '"/bookmarks/search"' is not assignable to parameter of type 'PathsWithMethod<paths, "get">'.
typecheck
Property 'bookmarks' does not exist on type 'SuccessResponse<{ 200: { headers: { [name: string]: unknown; }; content: { "application/json": { id: string; createdAt: string; title?: string | null | undefined; archived: boolean; favourited: boolean; taggingStatus: "success" | ... 2 more ... | null; ... 4 more ...; assets: { ...; }[]; }; }; }; } | ... 9 more ... ...'.
typecheck
Property 'nextCursor' does not exist on type 'SuccessResponse<{ 200: { headers: { [name: string]: unknown; }; content: { "application/json": { id: string; createdAt: string; title?: string | null | undefined; archived: boolean; favourited: boolean; taggingStatus: "success" | ... 2 more ... | null; ... 4 more ...; assets: { ...; }[]; }; }; }; } | ... 9 more ... ...'.
typecheck
Argument of type '"/bookmarks/search"' is not assignable to parameter of type 'PathsWithMethod<paths, "get">'.
lint: packages/e2e_tests/tests/api/bookmarks.test.ts#L323
Unsafe member access .length on an `any` value
lint: packages/e2e_tests/tests/api/bookmarks.test.ts#L358
Unsafe member access .length on an `any` value
lint: packages/e2e_tests/tests/api/bookmarks.test.ts#L369
Unsafe assignment of an `any` value
lint: packages/e2e_tests/tests/api/bookmarks.test.ts#L376
Unsafe member access .length on an `any` value
lint: packages/e2e_tests/tests/api/bookmarks.test.ts#L387
Unsafe assignment of an `any` value
lint: packages/e2e_tests/tests/api/bookmarks.test.ts#L394
Unsafe member access .length on an `any` value
lint
@hoarder/e2e_tests#lint: command (/home/runner/work/hoarder/hoarder/packages/e2e_tests) /opt/hostedtoolcache/node/22.12.0/x64/bin/pnpm run lint --cache-location node_modules/.cache/.eslintcache exited (1)
lint
Process completed with exit code 1.
open-api-spec
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
format
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
typecheck
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636