Skip to content

Commit

Permalink
Merge pull request #108 from thoughtspot/SCAL-245709-add-fetch-featur…
Browse files Browse the repository at this point in the history
…e-flags

update types
  • Loading branch information
harshmeetTS authored Mar 6, 2025
2 parents 6b2c558 + b671b9e commit fa89029
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@thoughtspot/ts-chart-sdk",
"private": false,
"version": "1.2.7",
"version": "1.2.8",
"module": "lib/index",
"main": "lib/index",
"types": "lib/index",
Expand Down
6 changes: 5 additions & 1 deletion src/types/chart-to-ts-event.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export interface ChartToTSEventsPayloadMap {
* Trigger to fetch blink flags from session service if exists
* @version SDK: 0.0.1-alpha.7 | ThoughtSpot:
*/
[ChartToTSEvent.GetBlinkFlags]: string[];
[ChartToTSEvent.GetBlinkFlags]: [GetBlinkFlagsPayload];
}

/**
Expand All @@ -166,6 +166,10 @@ export interface UpdateVisualPropsEventPayload {
visualProps: VisualProps;
}

export interface GetBlinkFlagsPayload {
flags: string[];
}

/**
*
* @group Chart to ThoughtSpot Events
Expand Down

0 comments on commit fa89029

Please sign in to comment.