@kwirthmagnify/kwirth-common-front 0.5.17 → 0.5.19
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.
- package/dist/index.d.ts +9 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export interface IChannelObject {
|
|
|
18
18
|
config: any;
|
|
19
19
|
data: any;
|
|
20
20
|
accessString?: string;
|
|
21
|
+
userName?: string;
|
|
21
22
|
isDesktop: boolean;
|
|
22
23
|
channelId: string;
|
|
23
24
|
frontChannels?: Map<string, TChannelConstructor>;
|
|
@@ -144,9 +145,17 @@ export interface IHomepageProps {
|
|
|
144
145
|
pods: number;
|
|
145
146
|
maxPods: number;
|
|
146
147
|
} | null>;
|
|
148
|
+
config?: Record<string, any>;
|
|
149
|
+
}
|
|
150
|
+
export interface IHomepageSetupProps {
|
|
151
|
+
config: Record<string, any>;
|
|
152
|
+
onSave: (config: Record<string, any>) => void;
|
|
153
|
+
onClose: () => void;
|
|
147
154
|
}
|
|
148
155
|
export interface IHomepageExtension {
|
|
149
156
|
homepageId: string;
|
|
150
157
|
displayName: string;
|
|
151
158
|
Component: FC<IHomepageProps>;
|
|
159
|
+
SetupDialog?: FC<IHomepageSetupProps>;
|
|
160
|
+
defaultConfig?: Record<string, any>;
|
|
152
161
|
}
|