MohamedHalat commented on code in PR #31331:
URL: https://github.com/apache/superset/pull/31331#discussion_r1894174170
##########
superset-embedded-sdk/src/index.ts:
##########
@@ -71,11 +71,12 @@ export type Size = {
}
export type EmbeddedDashboard = {
- getScrollSize: () => Promise<Size>
- unmount: () => void
- getDashboardPermalink: (anchor: string) => Promise<string>
- getActiveTabs: () => Promise<string[]>
-}
+ getScrollSize: () => Promise<Size>;
+ unmount: () => void;
+ getDashboardPermalink: (anchor: string) => Promise<string>;
+ getActiveTabs: () => Promise<string[]>;
+ getDataMasks: (callbackFn: (dataMasks: any[]) => void) => void;
Review Comment:
No need to unsubscribe as Switchboard will continue to send requests
nonetheless
##########
superset-embedded-sdk/src/index.ts:
##########
@@ -71,11 +71,12 @@ export type Size = {
}
export type EmbeddedDashboard = {
- getScrollSize: () => Promise<Size>
- unmount: () => void
- getDashboardPermalink: (anchor: string) => Promise<string>
- getActiveTabs: () => Promise<string[]>
-}
+ getScrollSize: () => Promise<Size>;
+ unmount: () => void;
+ getDashboardPermalink: (anchor: string) => Promise<string>;
+ getActiveTabs: () => Promise<string[]>;
+ getDataMasks: (callbackFn: (dataMasks: any[]) => void) => void;
Review Comment:
No need to unsubscribe as Switchboard will continue to send messages
nonetheless
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]