@appkit/dek-plugin 0.3.3 → 0.3.4

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.
@@ -1,7 +1,12 @@
1
1
  /// <reference types="react" />
2
2
  export type PluginElementFactoryWithProps = (props: any) => JSX.Element;
3
3
  export type PluginElementFactory = () => JSX.Element;
4
- export type DekPluginSchema = Record<string, Record<string, any>>;
4
+ export type DekPluginSchemaItem = {
5
+ type: string;
6
+ title?: string;
7
+ default?: any;
8
+ };
9
+ export type DekPluginSchema = Record<string, DekPluginSchemaItem>;
5
10
  export type DekPluginComponentItem = {
6
11
  key: string;
7
12
  description?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@appkit/dek-plugin",
3
3
  "private": false,
4
- "version": "0.3.3",
4
+ "version": "0.3.4",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",