diff options
Diffstat (limited to 'packages/trpc/lib')
| -rw-r--r-- | packages/trpc/lib/__tests__/search.test.ts | 8 | ||||
| -rw-r--r-- | packages/trpc/lib/attachments.ts | 7 | ||||
| -rw-r--r-- | packages/trpc/lib/search.ts | 4 |
3 files changed, 11 insertions, 8 deletions
diff --git a/packages/trpc/lib/__tests__/search.test.ts b/packages/trpc/lib/__tests__/search.test.ts index 9f8aac88..9d9b39d7 100644 --- a/packages/trpc/lib/__tests__/search.test.ts +++ b/packages/trpc/lib/__tests__/search.test.ts @@ -1,6 +1,6 @@ import { beforeEach, describe, expect, it } from "vitest"; -import { getInMemoryDB } from "@hoarder/db/drizzle"; +import { getInMemoryDB } from "@karakeep/db/drizzle"; import { bookmarkAssets, bookmarkLinks, @@ -13,9 +13,9 @@ import { rssFeedsTable, tagsOnBookmarks, users, -} from "@hoarder/db/schema"; -import { BookmarkTypes } from "@hoarder/shared/types/bookmarks"; -import { Matcher } from "@hoarder/shared/types/search"; +} from "@karakeep/db/schema"; +import { BookmarkTypes } from "@karakeep/shared/types/bookmarks"; +import { Matcher } from "@karakeep/shared/types/search"; import { AuthedContext } from "../.."; import { getBookmarkIdsFromMatcher } from "../search"; diff --git a/packages/trpc/lib/attachments.ts b/packages/trpc/lib/attachments.ts index 29c99172..15cbba74 100644 --- a/packages/trpc/lib/attachments.ts +++ b/packages/trpc/lib/attachments.ts @@ -1,7 +1,10 @@ import { z } from "zod"; -import { AssetTypes } from "@hoarder/db/schema"; -import { ZAssetType, zAssetTypesSchema } from "@hoarder/shared/types/bookmarks"; +import { AssetTypes } from "@karakeep/db/schema"; +import { + ZAssetType, + zAssetTypesSchema, +} from "@karakeep/shared/types/bookmarks"; export function mapDBAssetTypeToUserType(assetType: AssetTypes): ZAssetType { const map: Record<AssetTypes, z.infer<typeof zAssetTypesSchema>> = { diff --git a/packages/trpc/lib/search.ts b/packages/trpc/lib/search.ts index 83dfa674..ec582ef9 100644 --- a/packages/trpc/lib/search.ts +++ b/packages/trpc/lib/search.ts @@ -23,8 +23,8 @@ import { rssFeedImportsTable, rssFeedsTable, tagsOnBookmarks, -} from "@hoarder/db/schema"; -import { Matcher } from "@hoarder/shared/types/search"; +} from "@karakeep/db/schema"; +import { Matcher } from "@karakeep/shared/types/search"; import { AuthedContext } from ".."; |
