@karakeep/sdk 0.29.0 → 0.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.d.ts +13 -3
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -56,6 +56,7 @@ declare interface components {
56
56
  imageUrl?: string | null;
57
57
  imageAssetId?: string | null;
58
58
  screenshotAssetId?: string | null;
59
+ pdfAssetId?: string | null;
59
60
  fullPageArchiveAssetId?: string | null;
60
61
  precrawledArchiveAssetId?: string | null;
61
62
  videoAssetId?: string | null;
@@ -63,6 +64,8 @@ declare interface components {
63
64
  htmlContent?: string | null;
64
65
  contentAssetId?: string | null;
65
66
  crawledAt?: string | null;
67
+ /** @enum {string|null} */
68
+ crawlStatus?: "success" | "failure" | "pending" | null;
66
69
  author?: string | null;
67
70
  publisher?: string | null;
68
71
  datePublished?: string | null;
@@ -95,6 +98,7 @@ declare interface components {
95
98
  assetType:
96
99
  | "linkHtmlContent"
97
100
  | "screenshot"
101
+ | "pdf"
98
102
  | "assetScreenshot"
99
103
  | "bannerImage"
100
104
  | "fullPageArchive"
@@ -102,6 +106,7 @@ declare interface components {
102
106
  | "bookmarkAsset"
103
107
  | "precrawledArchive"
104
108
  | "userUploaded"
109
+ | "avatar"
105
110
  | "unknown";
106
111
  fileName?: string | null;
107
112
  }[];
@@ -885,6 +890,7 @@ declare interface paths {
885
890
  assetType:
886
891
  | "linkHtmlContent"
887
892
  | "screenshot"
893
+ | "pdf"
888
894
  | "assetScreenshot"
889
895
  | "bannerImage"
890
896
  | "fullPageArchive"
@@ -892,6 +898,7 @@ declare interface paths {
892
898
  | "bookmarkAsset"
893
899
  | "precrawledArchive"
894
900
  | "userUploaded"
901
+ | "avatar"
895
902
  | "unknown";
896
903
  };
897
904
  };
@@ -909,6 +916,7 @@ declare interface paths {
909
916
  assetType:
910
917
  | "linkHtmlContent"
911
918
  | "screenshot"
919
+ | "pdf"
912
920
  | "assetScreenshot"
913
921
  | "bannerImage"
914
922
  | "fullPageArchive"
@@ -916,6 +924,7 @@ declare interface paths {
916
924
  | "bookmarkAsset"
917
925
  | "precrawledArchive"
918
926
  | "userUploaded"
927
+ | "avatar"
919
928
  | "unknown";
920
929
  fileName?: string | null;
921
930
  };
@@ -1970,6 +1979,7 @@ declare interface paths {
1970
1979
  id: string;
1971
1980
  name?: string | null;
1972
1981
  email?: string | null;
1982
+ image?: string | null;
1973
1983
  localUser: boolean;
1974
1984
  };
1975
1985
  };
@@ -2288,7 +2298,7 @@ declare interface paths {
2288
2298
  backups: {
2289
2299
  id: string;
2290
2300
  userId: string;
2291
- assetId: string;
2301
+ assetId: string | null;
2292
2302
  createdAt: string;
2293
2303
  size: number;
2294
2304
  bookmarkCount: number;
@@ -2324,7 +2334,7 @@ declare interface paths {
2324
2334
  "application/json": {
2325
2335
  id: string;
2326
2336
  userId: string;
2327
- assetId: string;
2337
+ assetId: string | null;
2328
2338
  createdAt: string;
2329
2339
  size: number;
2330
2340
  bookmarkCount: number;
@@ -2373,7 +2383,7 @@ declare interface paths {
2373
2383
  "application/json": {
2374
2384
  id: string;
2375
2385
  userId: string;
2376
- assetId: string;
2386
+ assetId: string | null;
2377
2387
  createdAt: string;
2378
2388
  size: number;
2379
2389
  bookmarkCount: number;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@karakeep/sdk",
4
- "version": "0.29.0",
4
+ "version": "0.30.0",
5
5
  "description": "Typescript SDK for Karakeep",
6
6
  "license": "GNU Affero General Public License version 3",
7
7
  "keywords": [