@sprucelabs/spruce-core-schemas 40.1.686 → 40.1.688

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.
@@ -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.686",
6
+ "version": "40.1.688",
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.0"
63
+ "@sprucelabs/schema": "^31.1.1"
64
64
  },
65
65
  "devDependencies": {
66
66
  "@sprucelabs/esm-postbuild": "^6.0.564",