@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.
Files changed (2) hide show
  1. package/dist/index.d.ts +8 -0
  2. 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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kwirthmagnify/kwirth-common-front",
3
- "version": "0.5.17",
3
+ "version": "0.5.18",
4
4
  "description": "Frontend channel interfaces for Kwirth plugins and channels",
5
5
  "scripts": {
6
6
  "build": "del .\\dist\\* /s /q && tsc"