@vizzly/dashboard 0.10.0 → 0.11.0-dev-ae01bcc1ecb66522b652b944f32bb87d8f9ba688
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -294,7 +294,8 @@ export declare namespace Component {
|
|
|
294
294
|
type: ComponentType;
|
|
295
295
|
defaultLabel: string;
|
|
296
296
|
viewId: string;
|
|
297
|
-
|
|
297
|
+
dimensionValues?: (string | number | string[] | null)[];
|
|
298
|
+
dimensionKeys?: string[];
|
|
298
299
|
};
|
|
299
300
|
export type Parameters = {
|
|
300
301
|
measure?: ParameterMeasure;
|
|
@@ -14,18 +14,21 @@ export declare type StateOptions = {
|
|
|
14
14
|
};
|
|
15
15
|
export declare type SubscriberOptions = StateOptions & {
|
|
16
16
|
reload?: boolean;
|
|
17
|
+
save?: boolean;
|
|
17
18
|
};
|
|
18
19
|
export declare type Subscriber = (data: SubscriberOptions) => void;
|
|
19
20
|
interface VizzlyState {
|
|
20
21
|
get: (identifier: string, listener: Subscriber) => () => void;
|
|
21
22
|
set: (identifier: string, data: StateOptions) => void;
|
|
22
23
|
reload: (identifier: string) => void;
|
|
24
|
+
save: (identifier: string) => void;
|
|
23
25
|
}
|
|
24
26
|
export declare class VizzlyStateManager implements VizzlyState {
|
|
25
27
|
private subscribers;
|
|
26
28
|
get(channel: string, listener: Subscriber): () => void;
|
|
27
29
|
set(channel: string, data: StateOptions): void;
|
|
28
30
|
reload(identifier: string): void;
|
|
31
|
+
save(identifier: string): void;
|
|
29
32
|
}
|
|
30
33
|
export declare const vizzlyState: VizzlyStateManager;
|
|
31
34
|
export {};
|
package/package.json
CHANGED