jmapcloud-ng-core-types 1.0.38 → 1.0.39

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jmapcloud-ng-core-types",
3
- "version": "1.0.38",
3
+ "version": "1.0.39",
4
4
  "description": "JMap Cloud specific version of JMap Cloud NG Core types and interfaces",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -12,7 +12,7 @@ declare interface JFormSchemaJMC {
12
12
  }
13
13
 
14
14
  declare interface JFormSchemaPropertyJMC {
15
- type: string
15
+ type: FORMSCHEMA_TYPES
16
16
  format?: string
17
17
  title?: string
18
18
  default?: any
@@ -21,6 +21,14 @@ declare interface JFormSchemaPropertyJMC {
21
21
  enum?: any[]
22
22
  }
23
23
 
24
+ declare const enum FORMSCHEMA_TYPES {
25
+ STRING = "string",
26
+ INTEGER = "integer",
27
+ NUMBER = "number",
28
+ BOOLEAN = "boolean",
29
+ ARRAY = "array"
30
+ }
31
+
24
32
  declare interface JFormJMC {
25
33
  id: string
26
34
  name: any