adminizer 4.4.0-build.168 → 4.4.0-build.170

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.
@@ -364,6 +364,7 @@ export interface MediaManagerOptionsField {
364
364
  accept: string[];
365
365
  initTab?: 'tile-image' | 'table-video' | 'table-text' | 'table-application' | 'table-all' | 'tile-all';
366
366
  config?: Record<string, any>;
367
+ onlyView?: boolean;
367
368
  }
368
369
  interface RangeType {
369
370
  min?: number;
@@ -12,6 +12,10 @@ declare const _default: {
12
12
  type: string;
13
13
  };
14
14
  modelId: {
15
+ /**
16
+ * type: "json"
17
+ * is a generic type for any model id, type parsing should be done by specific model
18
+ */
15
19
  type: string;
16
20
  };
17
21
  widgetName: {
@@ -8,9 +8,13 @@ export default {
8
8
  type: "string"
9
9
  },
10
10
  model: {
11
- type: "json"
11
+ type: "string"
12
12
  },
13
13
  modelId: {
14
+ /**
15
+ * type: "json"
16
+ * is a generic type for any model id, type parsing should be done by specific model
17
+ */
14
18
  type: "json"
15
19
  },
16
20
  widgetName: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "adminizer",
3
3
  "type": "module",
4
- "version": "4.4.0-build.168",
4
+ "version": "4.4.0-build.170",
5
5
  "main": "index.js",
6
6
  "exports": {
7
7
  ".": "./index.js",