Skip to content

Commit

Permalink
location and filter added as possible type to get function
Browse files Browse the repository at this point in the history
  • Loading branch information
KarlssonIvan committed Nov 12, 2023
1 parent 0c4a962 commit 21de359
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion types/client-data.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<any>;
get(type: 'context' | 'settings' | 'itemIds' | 'sessionToken' | 'filter' | 'location', params?: object): Promise<any>;


/**
* Creates a listener which allows subscribing to certain types of client-side events.
Expand Down

0 comments on commit 21de359

Please sign in to comment.