diff options
| author | Mohamed Bassem <me@mbassem.com> | 2024-10-20 13:54:05 +0000 |
|---|---|---|
| committer | Mohamed Bassem <me@mbassem.com> | 2024-10-20 14:08:24 +0000 |
| commit | fb297eaadee9b741ddb6731a91eb4648020dcb3b (patch) | |
| tree | 42b5c779dab4ef4d6afbd3a41cbcd6c4d5c86f07 /packages | |
| parent | a822ff26ce83db867d4589181d21da20592fbf7c (diff) | |
| download | karakeep-fb297eaadee9b741ddb6731a91eb4648020dcb3b.tar.zst | |
featue: Add infra for REST APIs and implement GET /bookmarks
Diffstat (limited to 'packages')
| -rw-r--r-- | packages/shared/types/bookmarks.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/shared/types/bookmarks.ts b/packages/shared/types/bookmarks.ts index 50797f29..a9708f73 100644 --- a/packages/shared/types/bookmarks.ts +++ b/packages/shared/types/bookmarks.ts @@ -119,7 +119,7 @@ export type ZNewBookmarkRequest = z.infer<typeof zNewBookmarkRequestSchema>; export const DEFAULT_NUM_BOOKMARKS_PER_PAGE = 20; export const MAX_NUM_BOOKMARKS_PER_PAGE = 100; -const zCursorV2 = z.object({ +export const zCursorV2 = z.object({ createdAt: z.date(), id: z.string(), }); |
