@kwirthmagnify/kwirth-common-front 0.5.17 → 0.5.18
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 +8 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -144,9 +144,17 @@ export interface IHomepageProps {
|
|
|
144
144
|
pods: number;
|
|
145
145
|
maxPods: number;
|
|
146
146
|
} | null>;
|
|
147
|
+
config?: Record<string, any>;
|
|
148
|
+
}
|
|
149
|
+
export interface IHomepageSetupProps {
|
|
150
|
+
config: Record<string, any>;
|
|
151
|
+
onSave: (config: Record<string, any>) => void;
|
|
152
|
+
onClose: () => void;
|
|
147
153
|
}
|
|
148
154
|
export interface IHomepageExtension {
|
|
149
155
|
homepageId: string;
|
|
150
156
|
displayName: string;
|
|
151
157
|
Component: FC<IHomepageProps>;
|
|
158
|
+
SetupDialog?: FC<IHomepageSetupProps>;
|
|
159
|
+
defaultConfig?: Record<string, any>;
|
|
152
160
|
}
|