@sprucelabs/spruce-core-schemas 40.1.688 → 40.1.690

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.
@@ -1199,7 +1199,7 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
1199
1199
  }
1200
1200
  export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
1201
1201
  interface Choice {
1202
- 'value': string;
1202
+ 'value': (string | number);
1203
1203
  'label': string;
1204
1204
  }
1205
1205
  interface ChoiceSchema extends SpruceSchema.Schema {
@@ -1211,9 +1211,11 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
1211
1211
  fields: {
1212
1212
  /** . */
1213
1213
  'value': {
1214
- type: 'text';
1214
+ type: 'raw';
1215
1215
  isRequired: true;
1216
- options: undefined;
1216
+ options: {
1217
+ valueType: `string | number`;
1218
+ };
1217
1219
  };
1218
1220
  /** . */
1219
1221
  'label': {
@@ -10,9 +10,9 @@ const choiceSchema = {
10
10
  fields: {
11
11
  /** . */
12
12
  'value': {
13
- type: 'text',
13
+ type: 'raw',
14
14
  isRequired: true,
15
- options: undefined
15
+ options: { valueType: `string | number`, }
16
16
  },
17
17
  /** . */
18
18
  'label': {
@@ -1199,7 +1199,7 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
1199
1199
  }
1200
1200
  export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
1201
1201
  interface Choice {
1202
- 'value': string;
1202
+ 'value': (string | number);
1203
1203
  'label': string;
1204
1204
  }
1205
1205
  interface ChoiceSchema extends SpruceSchema.Schema {
@@ -1211,9 +1211,11 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
1211
1211
  fields: {
1212
1212
  /** . */
1213
1213
  'value': {
1214
- type: 'text';
1214
+ type: 'raw';
1215
1215
  isRequired: true;
1216
- options: undefined;
1216
+ options: {
1217
+ valueType: `string | number`;
1218
+ };
1217
1219
  };
1218
1220
  /** . */
1219
1221
  'label': {
@@ -8,9 +8,9 @@ const choiceSchema = {
8
8
  fields: {
9
9
  /** . */
10
10
  'value': {
11
- type: 'text',
11
+ type: 'raw',
12
12
  isRequired: true,
13
- options: undefined
13
+ options: { valueType: `string | number`, }
14
14
  },
15
15
  /** . */
16
16
  'label': {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "40.1.688",
6
+ "version": "40.1.690",
7
7
  "files": [
8
8
  "build/**/*",
9
9
  "tsconfig.json"
@@ -60,7 +60,7 @@
60
60
  "watch.rebuild": "yarn run clean.all && yarn install && yarn run watch.build.dev"
61
61
  },
62
62
  "dependencies": {
63
- "@sprucelabs/schema": "^31.1.1"
63
+ "@sprucelabs/schema": "^31.1.2"
64
64
  },
65
65
  "devDependencies": {
66
66
  "@sprucelabs/esm-postbuild": "^6.0.564",