A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
fix: Resync the openapi spec
Mohamed Bassem96c637826cca
diff --git a/packages/open-api/hoarder-openapi-spec.json b/packages/open-api/hoarder-openapi-spec.jsonindex c33d0621..7e1911cb 100644--- a/packages/open-api/hoarder-openapi-spec.json+++ b/packages/open-api/hoarder-openapi-spec.json@@ -60,8 +60,7 @@},"title": {"type": "string",- "nullable": true,- "maxLength": 250+ "nullable": true},"archived": {"type": "boolean"@@ -579,7 +578,7 @@"title": {"type": "string","nullable": true,- "maxLength": 250+ "maxLength": 1000},"archived": {"type": "boolean"@@ -840,7 +839,7 @@"title": {"type": "string","nullable": true,- "maxLength": 250+ "maxLength": 1000},"createdAt": {"type": "string",@@ -871,8 +870,7 @@},"title": {"type": "string",- "nullable": true,- "maxLength": 250+ "nullable": true},"archived": {"type": "boolean"@@ -950,8 +948,7 @@},"title": {"type": "string",- "nullable": true,- "maxLength": 250+ "nullable": true},"archived": {"type": "boolean"diff --git a/packages/sdk/src/hoarder-api.d.ts b/packages/sdk/src/hoarder-api.d.tsindex 10bd33f9..bc785995 100644--- a/packages/sdk/src/hoarder-api.d.ts+++ b/packages/sdk/src/hoarder-api.d.ts@@ -261,6 +261,58 @@ export interface paths {};trace?: never;};+ "/bookmarks/{bookmarkId}/summarize": {+ parameters: {+ query?: never;+ header?: never;+ path?: never;+ cookie?: never;+ };+ get?: never;+ put?: never;+ /**+ * Summarize a bookmark+ * @description Attaches a summary to the bookmark and returns the updated record.+ */+ post: {+ parameters: {+ query?: never;+ header?: never;+ path: {+ bookmarkId: components["parameters"]["BookmarkId"];+ };+ cookie?: never;+ };+ requestBody?: never;+ responses: {+ /** @description The updated bookmark with summary */+ 200: {+ headers: {+ [name: string]: unknown;+ };+ content: {+ "application/json": {+ id: string;+ createdAt: string;+ modifiedAt: string | null;+ title?: string | null;+ archived: boolean;+ favourited: boolean;+ /** @enum {string|null} */+ taggingStatus: "success" | "failure" | "pending" | null;+ note?: string | null;+ summary?: string | null;+ };+ };+ };+ };+ };+ delete?: never;+ options?: never;+ head?: never;+ patch?: never;+ trace?: never;+ };"/bookmarks/{bookmarkId}/tags": {parameters: {query?: never;@@ -424,6 +476,7 @@ export interface paths {/** @enum {string} */assetType:| "screenshot"+ | "assetScreenshot"| "bannerImage"| "fullPageArchive"| "video"@@ -445,6 +498,7 @@ export interface paths {/** @enum {string} */assetType:| "screenshot"+ | "assetScreenshot"| "bannerImage"| "fullPageArchive"| "video"@@ -1242,6 +1296,7 @@ export interface components {assetId: string;fileName?: string | null;sourceUrl?: string | null;+ size?: number | null;}| {/** @enum {string} */@@ -1252,6 +1307,7 @@ export interface components {/** @enum {string} */assetType:| "screenshot"+ | "assetScreenshot"| "bannerImage"| "fullPageArchive"| "video"