Skip to content

Commit

Permalink
Feat/karlssonivan/sdk get method type update (#128)
Browse files Browse the repository at this point in the history
* location and filter added as possible type to get function

* filter and location added to get type options list
  • Loading branch information
KarlssonIvan authored Nov 12, 2023
1 parent 0c4a962 commit 4565ac3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion types/client-data.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,12 @@ export interface ClientData {
* - `'settings'` The application settings as configured by the user that installed the app
* - `'itemIds'` The list of item IDs that are filtered in the current board (or all items if no filters are applied)
* - `'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
* - `'filter'` The state of the search filter
* - `'location'` The URL location within an app
* @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 4565ac3

Please sign in to comment.