@sprucelabs/spruce-core-schemas 34.2.74 → 34.2.77

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.
@@ -1,9 +1,8 @@
1
1
  declare const _default: {
2
2
  id: string;
3
3
  fields: {
4
- body: {
5
- type: "text";
6
- isRequired: true;
4
+ dateSent: {
5
+ type: "number";
7
6
  };
8
7
  target: {
9
8
  type: "schema";
@@ -34,6 +33,30 @@ declare const _default: {
34
33
  };
35
34
  };
36
35
  };
36
+ errors: {
37
+ type: "text";
38
+ isArray: true;
39
+ isPrivate: true;
40
+ };
41
+ classification: {
42
+ type: "select";
43
+ isRequired: true;
44
+ options: {
45
+ choices: ({
46
+ readonly value: "auth";
47
+ readonly label: "Auth";
48
+ } | {
49
+ readonly value: "transactional";
50
+ readonly label: "transactional";
51
+ } | {
52
+ readonly value: "promotional";
53
+ readonly label: "Promotional";
54
+ } | {
55
+ readonly value: "incoming";
56
+ readonly label: "incoming";
57
+ })[];
58
+ };
59
+ };
37
60
  status: {
38
61
  type: "select";
39
62
  defaultValue: string;
@@ -57,51 +80,9 @@ declare const _default: {
57
80
  })[];
58
81
  };
59
82
  };
60
- choices: {
61
- type: "schema";
62
- isArray: true;
63
- options: {
64
- schema: {
65
- id: string;
66
- fields: {
67
- value: {
68
- type: "text";
69
- isRequired: true;
70
- };
71
- label: {
72
- type: "text";
73
- isRequired: true;
74
- };
75
- };
76
- };
77
- };
78
- };
79
- dateSent: {
80
- type: "number";
81
- };
82
- errors: {
83
+ body: {
83
84
  type: "text";
84
- isArray: true;
85
- isPrivate: true;
86
- };
87
- classification: {
88
- type: "select";
89
85
  isRequired: true;
90
- options: {
91
- choices: ({
92
- readonly value: "auth";
93
- readonly label: "Auth";
94
- } | {
95
- readonly value: "transactional";
96
- readonly label: "transactional";
97
- } | {
98
- readonly value: "promotional";
99
- readonly label: "Promotional";
100
- } | {
101
- readonly value: "incoming";
102
- readonly label: "incoming";
103
- })[];
104
- };
105
86
  };
106
87
  context: {
107
88
  type: "raw";
@@ -134,6 +115,25 @@ declare const _default: {
134
115
  };
135
116
  };
136
117
  };
118
+ choices: {
119
+ type: "schema";
120
+ isArray: true;
121
+ options: {
122
+ schema: {
123
+ id: string;
124
+ fields: {
125
+ value: {
126
+ type: "text";
127
+ isRequired: true;
128
+ };
129
+ label: {
130
+ type: "text";
131
+ isRequired: true;
132
+ };
133
+ };
134
+ };
135
+ };
136
+ };
137
137
  };
138
138
  };
139
139
  export default _default;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "34.2.74",
6
+ "version": "34.2.77",
7
7
  "files": [
8
8
  "build/**/*",
9
9
  "tsconfig.json"
@@ -21,8 +21,7 @@
21
21
  "upgradeIgnoreList": [
22
22
  "@sprucelabs/spruce-core-schemas",
23
23
  "@sprucelabs/spruce-skill-utils",
24
- "@sprucelabs/spruce-test-fixtures",
25
- "typescript"
24
+ "@sprucelabs/spruce-test-fixtures"
26
25
  ]
27
26
  },
28
27
  "description": "The schemas that Mercury and all skills use. 🤝",
@@ -65,15 +64,15 @@
65
64
  "watch.rebuild": "yarn clean.all && yarn && yarn watch.build.dev"
66
65
  },
67
66
  "dependencies": {
68
- "@sprucelabs/schema": "^28.4.29"
67
+ "@sprucelabs/schema": "^28.4.31"
69
68
  },
70
69
  "devDependencies": {
71
- "@sprucelabs/esm-postbuild": "^1.0.563",
72
- "@sprucelabs/jest-json-reporter": "^6.0.457",
73
- "@sprucelabs/resolve-path-aliases": "^1.1.86",
70
+ "@sprucelabs/esm-postbuild": "^1.0.565",
71
+ "@sprucelabs/jest-json-reporter": "^6.0.459",
72
+ "@sprucelabs/resolve-path-aliases": "^1.1.88",
74
73
  "@sprucelabs/semantic-release": "^4.0.8",
75
- "@sprucelabs/test": "^7.7.350",
76
- "@sprucelabs/test-utils": "^3.1.69",
74
+ "@sprucelabs/test": "^7.7.352",
75
+ "@sprucelabs/test-utils": "^3.1.71",
77
76
  "@types/node": "^18.7.13",
78
77
  "chokidar-cli": "^3.0.0",
79
78
  "concurrently": "^7.3.0",
package/tsconfig.json CHANGED
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "compilerOptions": {
3
+ "skipLibCheck": true,
3
4
  "module": "commonjs",
4
5
  "esModuleInterop": true,
5
6
  "target": "ES2017",
@@ -36,4 +37,4 @@
36
37
  "build",
37
38
  "esm"
38
39
  ]
39
- }
40
+ }