From 21de35919f400f735612fdcff4c8b0982d90093f Mon Sep 17 00:00:00 2001 From: karlssonivan Date: Sun, 12 Nov 2023 16:55:40 +0200 Subject: [PATCH] location and filter added as possible type to get function --- types/client-data.interface.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/client-data.interface.ts b/types/client-data.interface.ts index a3d3b8e1..c7e1ad20 100644 --- a/types/client-data.interface.ts +++ b/types/client-data.interface.ts @@ -50,7 +50,8 @@ export interface ClientData { * - `'sessionToken'` A JWT token which is decoded with your app's secret and can be used as a session token between your app's frontend & backend * @param params Reserved for future use */ - get(type: 'context' | 'settings' | 'itemIds' | 'sessionToken', params?: object): Promise; + get(type: 'context' | 'settings' | 'itemIds' | 'sessionToken' | 'filter' | 'location', params?: object): Promise; + /** * Creates a listener which allows subscribing to certain types of client-side events.