From 77f81e5cb235e117d105f4cb5d031837ced0114c Mon Sep 17 00:00:00 2001 From: Nikhil Agarwal <54072321+nikhilag@users.noreply.github.com> Date: Wed, 16 Aug 2023 03:20:41 +0530 Subject: [PATCH 1/2] Update Key.d.ts to fix build --- lib/Typesense/Key.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Typesense/Key.d.ts b/lib/Typesense/Key.d.ts index 38c6fc12..94f24763 100644 --- a/lib/Typesense/Key.d.ts +++ b/lib/Typesense/Key.d.ts @@ -4,7 +4,7 @@ export interface KeyCreateSchema { collections: string[]; description?: string; value?: string; - value_prefix? string; + value_prefix?: string; expires_at?: number; } export interface KeyDeleteSchema { From 28a9ab962851a6647bfd2e85fd5ee1803988736f Mon Sep 17 00:00:00 2001 From: Nikhil Agarwal <54072321+nikhilag@users.noreply.github.com> Date: Wed, 16 Aug 2023 03:43:33 +0530 Subject: [PATCH 2/2] Update Key.ts --- src/Typesense/Key.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Typesense/Key.ts b/src/Typesense/Key.ts index 04244b34..e011134b 100644 --- a/src/Typesense/Key.ts +++ b/src/Typesense/Key.ts @@ -6,6 +6,7 @@ export interface KeyCreateSchema { collections: string[]; description?: string; value?: string; + value_prefix?: string; expires_at?: number; }