From 5ecdc36b7d60aa66b49e01e9fec8ba61ad537376 Mon Sep 17 00:00:00 2001 From: Mohamed Bassem Date: Thu, 2 Jan 2025 13:00:58 +0200 Subject: feat: Add support for smart lists (#802) * feat: Add support for smart lists * i18n * Fix update list endpoint * Add a test for smart lists * Add header to the query explainer * Hide remove from lists in the smart context list * Add proper validation to list form --------- Co-authored-by: Deepak Kapoor <41769111+orthdron@users.noreply.github.com> --- packages/sdk/src/hoarder-api.d.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'packages/sdk') diff --git a/packages/sdk/src/hoarder-api.d.ts b/packages/sdk/src/hoarder-api.d.ts index 25907bcb..fbe345d0 100644 --- a/packages/sdk/src/hoarder-api.d.ts +++ b/packages/sdk/src/hoarder-api.d.ts @@ -400,6 +400,12 @@ export interface paths { "application/json": { name: string; icon: string; + /** + * @default manual + * @enum {string} + */ + type?: "manual" | "smart"; + query?: string; parentId?: string | null; }; }; @@ -503,6 +509,7 @@ export interface paths { name?: string; icon?: string; parentId?: string | null; + query?: string; }; }; }; @@ -1089,6 +1096,12 @@ export interface components { name: string; icon: string; parentId: string | null; + /** + * @default manual + * @enum {string} + */ + type: "manual" | "smart"; + query?: string | null; }; Tag: { id: string; -- cgit v1.2.3-70-g09d2