@sprucelabs/spruce-core-schemas 40.1.687 → 40.1.689

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': {
@@ -2,8 +2,11 @@ declare const _default: {
2
2
  id: string;
3
3
  fields: {
4
4
  value: {
5
- type: "text";
5
+ type: "raw";
6
6
  isRequired: true;
7
+ options: {
8
+ valueType: string;
9
+ };
7
10
  };
8
11
  label: {
9
12
  type: "text";
@@ -3,8 +3,11 @@ export default buildSchema({
3
3
  id: 'choice',
4
4
  fields: {
5
5
  value: {
6
- type: 'text',
6
+ type: 'raw',
7
7
  isRequired: true,
8
+ options: {
9
+ valueType: `string | number`,
10
+ },
8
11
  },
9
12
  label: {
10
13
  type: 'text',
@@ -103,8 +103,11 @@ declare const _default: {
103
103
  id: string;
104
104
  fields: {
105
105
  value: {
106
- type: "text";
106
+ type: "raw";
107
107
  isRequired: true;
108
+ options: {
109
+ valueType: string;
110
+ };
108
111
  };
109
112
  label: {
110
113
  type: "text";
@@ -211,8 +211,11 @@ declare const _default: {
211
211
  id: string;
212
212
  fields: {
213
213
  value: {
214
- type: "text";
214
+ type: "raw";
215
215
  isRequired: true;
216
+ options: {
217
+ valueType: string;
218
+ };
216
219
  };
217
220
  label: {
218
221
  type: "text";
@@ -127,8 +127,11 @@ declare const _default: {
127
127
  id: string;
128
128
  fields: {
129
129
  value: {
130
- type: "text";
130
+ type: "raw";
131
131
  isRequired: true;
132
+ options: {
133
+ valueType: string;
134
+ };
132
135
  };
133
136
  label: {
134
137
  type: "text";
@@ -2,8 +2,11 @@ declare const _default: {
2
2
  id: string;
3
3
  fields: {
4
4
  value: {
5
- type: "text";
5
+ type: "raw";
6
6
  isRequired: true;
7
+ options: {
8
+ valueType: string;
9
+ };
7
10
  };
8
11
  label: {
9
12
  type: "text";
@@ -5,8 +5,11 @@ exports.default = (0, schema_1.buildSchema)({
5
5
  id: 'choice',
6
6
  fields: {
7
7
  value: {
8
- type: 'text',
8
+ type: 'raw',
9
9
  isRequired: true,
10
+ options: {
11
+ valueType: `string | number`,
12
+ },
10
13
  },
11
14
  label: {
12
15
  type: 'text',
@@ -103,8 +103,11 @@ declare const _default: {
103
103
  id: string;
104
104
  fields: {
105
105
  value: {
106
- type: "text";
106
+ type: "raw";
107
107
  isRequired: true;
108
+ options: {
109
+ valueType: string;
110
+ };
108
111
  };
109
112
  label: {
110
113
  type: "text";
@@ -211,8 +211,11 @@ declare const _default: {
211
211
  id: string;
212
212
  fields: {
213
213
  value: {
214
- type: "text";
214
+ type: "raw";
215
215
  isRequired: true;
216
+ options: {
217
+ valueType: string;
218
+ };
216
219
  };
217
220
  label: {
218
221
  type: "text";
@@ -127,8 +127,11 @@ declare const _default: {
127
127
  id: string;
128
128
  fields: {
129
129
  value: {
130
- type: "text";
130
+ type: "raw";
131
131
  isRequired: true;
132
+ options: {
133
+ valueType: string;
134
+ };
132
135
  };
133
136
  label: {
134
137
  type: "text";
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "40.1.687",
6
+ "version": "40.1.689",
7
7
  "files": [
8
8
  "build/**/*",
9
9
  "tsconfig.json"