@sprucelabs/spruce-cli 22.1.2 → 22.1.4
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/CHANGELOG.md +16 -0
- package/build/.spruce/schemas/fields/fieldClassMap.js.map +1 -1
- package/build/.spruce/schemas/fields/fields.types.d.ts +1 -1
- package/build/.spruce/schemas/schemas.types.d.ts +485 -512
- package/build/.spruce/schemas/schemas.types.js +4 -0
- package/build/.spruce/schemas/schemas.types.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/actionResponse.schema.js +15 -15
- package/build/.spruce/schemas/spruceCli/v2020_07_22/actionResponse.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/bootSkillOptions.schema.js +9 -9
- package/build/.spruce/schemas/spruceCli/v2020_07_22/bootSkillOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/createConversationTopicOptions.schema.js +5 -5
- package/build/.spruce/schemas/spruceCli/v2020_07_22/createConversationTopicOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/createErrorOptions.schema.js +64 -64
- package/build/.spruce/schemas/spruceCli/v2020_07_22/createErrorOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/createOrganizationOptions.schema.js +5 -5
- package/build/.spruce/schemas/spruceCli/v2020_07_22/createOrganizationOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/createSchemaOptions.schema.js +65 -65
- package/build/.spruce/schemas/spruceCli/v2020_07_22/createSchemaOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/createTestOptions.schema.js +13 -18
- package/build/.spruce/schemas/spruceCli/v2020_07_22/createTestOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/generatedDir.schema.js +9 -16
- package/build/.spruce/schemas/spruceCli/v2020_07_22/generatedDir.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/generatedFile.schema.js +9 -16
- package/build/.spruce/schemas/spruceCli/v2020_07_22/generatedFile.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/installSkillAtOrganizationOptions.schema.js +3 -3
- package/build/.spruce/schemas/spruceCli/v2020_07_22/installSkillAtOrganizationOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/listenEventOptions.schema.js +24 -24
- package/build/.spruce/schemas/spruceCli/v2020_07_22/listenEventOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/namedTemplateItem.schema.js +23 -23
- package/build/.spruce/schemas/spruceCli/v2020_07_22/namedTemplateItem.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/nodeFeatureOptions.schema.js +9 -9
- package/build/.spruce/schemas/spruceCli/v2020_07_22/nodeFeatureOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/npmPackage.schema.js +7 -7
- package/build/.spruce/schemas/spruceCli/v2020_07_22/npmPackage.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/onboardOptions.schema.js +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/onboardOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/onboarding.schema.js +5 -16
- package/build/.spruce/schemas/spruceCli/v2020_07_22/onboarding.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/personWithToken.schema.js +9 -9
- package/build/.spruce/schemas/spruceCli/v2020_07_22/personWithToken.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/registerDashboardWidgetsEmitPayloadSchema.schema.js +3 -3
- package/build/.spruce/schemas/spruceCli/v2020_07_22/registerDashboardWidgetsEmitPayloadSchema.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/setupTestsOptions.schema.js +5 -5
- package/build/.spruce/schemas/spruceCli/v2020_07_22/setupTestsOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/setupVscodeOptions.schema.js +3 -3
- package/build/.spruce/schemas/spruceCli/v2020_07_22/setupVscodeOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/skillFeature.schema.js +11 -10
- package/build/.spruce/schemas/spruceCli/v2020_07_22/skillFeature.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/syncErrorOptions.schema.js +52 -52
- package/build/.spruce/schemas/spruceCli/v2020_07_22/syncErrorOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/syncEventOptions.schema.js +15 -15
- package/build/.spruce/schemas/spruceCli/v2020_07_22/syncEventOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/syncSchemaFieldsOptions.schema.js +10 -10
- package/build/.spruce/schemas/spruceCli/v2020_07_22/syncSchemaFieldsOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/syncSchemasOptions.schema.js +46 -46
- package/build/.spruce/schemas/spruceCli/v2020_07_22/syncSchemasOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/testOptions.schema.js +14 -20
- package/build/.spruce/schemas/spruceCli/v2020_07_22/testOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/upgradeSkillOptions.schema.js +4 -16
- package/build/.spruce/schemas/spruceCli/v2020_07_22/upgradeSkillOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/watcherDidDetectChangesEmitPayload.schema.js +4 -9
- package/build/.spruce/schemas/spruceCli/v2020_07_22/watcherDidDetectChangesEmitPayload.schema.js.map +1 -1
- package/build/features/schema/utilities/schema.utility.d.ts +1 -1
- package/build/features/skill/actions/CreateAction.d.ts +2 -0
- package/build/features/skill/actions/RegisterAction.js +2 -2
- package/build/features/skill/actions/RegisterAction.js.map +1 -1
- package/build/features/skill/stores/SkillStore.d.ts +1 -1
- package/build/features/vscode/actions/SetupAction.js +7 -3
- package/build/features/vscode/actions/SetupAction.js.map +1 -1
- package/build/schemas/v2020_07_22/skillFeature.builder.d.ts +1 -0
- package/build/schemas/v2020_07_22/skillFeature.builder.js +1 -0
- package/build/schemas/v2020_07_22/skillFeature.builder.js.map +1 -1
- package/package.json +3 -3
- package/src/.spruce/schemas/fields/fieldClassMap.ts +3 -0
- package/src/.spruce/schemas/fields/fields.types.ts +1 -6
- package/src/.spruce/schemas/schemas.types.ts +2257 -2237
- package/src/.spruce/schemas/spruceCli/v2020_07_22/actionResponse.schema.ts +49 -50
- package/src/.spruce/schemas/spruceCli/v2020_07_22/bootSkillOptions.schema.ts +37 -36
- package/src/.spruce/schemas/spruceCli/v2020_07_22/createConversationTopicOptions.schema.ts +27 -26
- package/src/.spruce/schemas/spruceCli/v2020_07_22/createErrorOptions.schema.ts +209 -208
- package/src/.spruce/schemas/spruceCli/v2020_07_22/createOrganizationOptions.schema.ts +26 -26
- package/src/.spruce/schemas/spruceCli/v2020_07_22/createSchemaOptions.schema.ts +226 -225
- package/src/.spruce/schemas/spruceCli/v2020_07_22/createTestOptions.schema.ts +49 -53
- package/src/.spruce/schemas/spruceCli/v2020_07_22/generatedDir.schema.ts +33 -39
- package/src/.spruce/schemas/spruceCli/v2020_07_22/generatedFile.schema.ts +33 -39
- package/src/.spruce/schemas/spruceCli/v2020_07_22/installSkillAtOrganizationOptions.schema.ts +18 -20
- package/src/.spruce/schemas/spruceCli/v2020_07_22/listenEventOptions.schema.ts +76 -76
- package/src/.spruce/schemas/spruceCli/v2020_07_22/namedTemplateItem.schema.ts +91 -91
- package/src/.spruce/schemas/spruceCli/v2020_07_22/nodeFeatureOptions.schema.ts +31 -31
- package/src/.spruce/schemas/spruceCli/v2020_07_22/npmPackage.schema.ts +25 -23
- package/src/.spruce/schemas/spruceCli/v2020_07_22/onboardOptions.schema.ts +11 -9
- package/src/.spruce/schemas/spruceCli/v2020_07_22/onboarding.schema.ts +23 -32
- package/src/.spruce/schemas/spruceCli/v2020_07_22/personWithToken.schema.ts +38 -37
- package/src/.spruce/schemas/spruceCli/v2020_07_22/registerDashboardWidgetsEmitPayloadSchema.schema.ts +16 -17
- package/src/.spruce/schemas/spruceCli/v2020_07_22/setupTestsOptions.schema.ts +25 -25
- package/src/.spruce/schemas/spruceCli/v2020_07_22/setupVscodeOptions.schema.ts +17 -17
- package/src/.spruce/schemas/spruceCli/v2020_07_22/skillFeature.schema.ts +31 -29
- package/src/.spruce/schemas/spruceCli/v2020_07_22/syncErrorOptions.schema.ts +169 -168
- package/src/.spruce/schemas/spruceCli/v2020_07_22/syncEventOptions.schema.ts +48 -49
- package/src/.spruce/schemas/spruceCli/v2020_07_22/syncSchemaFieldsOptions.schema.ts +37 -36
- package/src/.spruce/schemas/spruceCli/v2020_07_22/syncSchemasOptions.schema.ts +162 -161
- package/src/.spruce/schemas/spruceCli/v2020_07_22/testOptions.schema.ts +55 -60
- package/src/.spruce/schemas/spruceCli/v2020_07_22/upgradeSkillOptions.schema.ts +18 -30
- package/src/.spruce/schemas/spruceCli/v2020_07_22/watcherDidDetectChangesEmitPayload.schema.ts +19 -26
- package/src/features/skill/actions/RegisterAction.ts +2 -2
- package/src/features/vscode/actions/SetupAction.ts +7 -3
- package/src/schemas/v2020_07_22/skillFeature.builder.ts +1 -0
|
@@ -1,2247 +1,2267 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-namespace */
|
|
2
|
+
/* eslint-disable no-redeclare */
|
|
3
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
4
|
+
/* eslint-disable import/order */
|
|
5
|
+
|
|
1
6
|
export { SpruceSchemas } from '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schemas.types'
|
|
2
7
|
|
|
3
|
-
import AbstractSpruceError from '@sprucelabs/error'
|
|
4
8
|
import { default as SchemaEntity } from '@sprucelabs/schema'
|
|
5
9
|
|
|
10
|
+
|
|
11
|
+
|
|
6
12
|
import * as SpruceSchema from '@sprucelabs/schema'
|
|
7
13
|
|
|
8
14
|
import { BaseWidget } from '#spruce/../widgets/types/widgets.types'
|
|
15
|
+
import AbstractSpruceError from '@sprucelabs/error'
|
|
9
16
|
|
|
10
17
|
declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schemas.types' {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
namespace SpruceSchemas.SpruceCli.v2020_07_22 {
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
interface GeneratedDir {
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
'name': string
|
|
27
|
+
|
|
28
|
+
'path': string
|
|
29
|
+
|
|
30
|
+
'description'?: string| undefined | null
|
|
31
|
+
|
|
32
|
+
'action': ("skipped" | "generated" | "updated" | "deleted")
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
interface GeneratedDirSchema extends SpruceSchema.Schema {
|
|
36
|
+
id: 'generatedDir',
|
|
37
|
+
version: 'v2020_07_22',
|
|
38
|
+
namespace: 'SpruceCli',
|
|
39
|
+
name: '',
|
|
40
|
+
fields: {
|
|
41
|
+
/** . */
|
|
42
|
+
'name': {
|
|
43
|
+
type: 'text',
|
|
44
|
+
isRequired: true,
|
|
45
|
+
options: undefined
|
|
46
|
+
},
|
|
47
|
+
/** . */
|
|
48
|
+
'path': {
|
|
49
|
+
type: 'text',
|
|
50
|
+
isRequired: true,
|
|
51
|
+
options: undefined
|
|
52
|
+
},
|
|
53
|
+
/** . */
|
|
54
|
+
'description': {
|
|
55
|
+
type: 'text',
|
|
56
|
+
options: undefined
|
|
57
|
+
},
|
|
58
|
+
/** . */
|
|
59
|
+
'action': {
|
|
60
|
+
type: 'select',
|
|
61
|
+
isRequired: true,
|
|
62
|
+
options: {choices: [{"label":"Skipped","value":"skipped"},{"label":"Generated","value":"generated"},{"label":"Updated","value":"updated"},{"label":"Deleted","value":"deleted"}],}
|
|
63
|
+
},
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
interface GeneratedDirEntity extends SchemaEntity<SpruceSchemas.SpruceCli.v2020_07_22.GeneratedDirSchema> {}
|
|
68
|
+
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
namespace SpruceSchemas.SpruceCli.v2020_07_22 {
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
interface WatcherDidDetectChangesEmitPayload {
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
'changes': ({ schemaId: 'generatedFile', version: 'v2020_07_22', values: SpruceSchemas.SpruceCli.v2020_07_22.GeneratedFile } | { schemaId: 'generatedDir', version: 'v2020_07_22', values: SpruceSchemas.SpruceCli.v2020_07_22.GeneratedDir })[]
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
interface WatcherDidDetectChangesEmitPayloadSchema extends SpruceSchema.Schema {
|
|
82
|
+
id: 'watcherDidDetectChangesEmitPayload',
|
|
83
|
+
version: 'v2020_07_22',
|
|
84
|
+
namespace: 'SpruceCli',
|
|
85
|
+
name: 'Watcher did detect changes emit payload',
|
|
86
|
+
fields: {
|
|
87
|
+
/** . */
|
|
88
|
+
'changes': {
|
|
89
|
+
type: 'schema',
|
|
90
|
+
isRequired: true,
|
|
91
|
+
isArray: true,
|
|
92
|
+
options: {schemas: (SpruceSchemas.SpruceCli.v2020_07_22.GeneratedFileSchema | SpruceSchemas.SpruceCli.v2020_07_22.GeneratedDirSchema)[],}
|
|
93
|
+
},
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
interface WatcherDidDetectChangesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.SpruceCli.v2020_07_22.WatcherDidDetectChangesEmitPayloadSchema> {}
|
|
98
|
+
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
namespace SpruceSchemas.SpruceCli.v2020_07_22 {
|
|
103
|
+
|
|
104
|
+
/** Upgrade. Everything. Heads up, this can take a few minutes. ⏱ */
|
|
105
|
+
interface UpgradeSkillOptions {
|
|
106
|
+
|
|
107
|
+
/** Upgrade mode. */
|
|
108
|
+
'upgradeMode'?: ("askForChanged" | "forceEverything" | "forceRequiredSkipRest")| undefined | null
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
interface UpgradeSkillOptionsSchema extends SpruceSchema.Schema {
|
|
112
|
+
id: 'upgradeSkillOptions',
|
|
113
|
+
version: 'v2020_07_22',
|
|
114
|
+
namespace: 'SpruceCli',
|
|
115
|
+
name: 'Upgrade skill action',
|
|
116
|
+
description: 'Upgrade. Everything. Heads up, this can take a few minutes. ⏱',
|
|
117
|
+
fields: {
|
|
118
|
+
/** Upgrade mode. */
|
|
119
|
+
'upgradeMode': {
|
|
120
|
+
label: 'Upgrade mode',
|
|
121
|
+
type: 'select',
|
|
122
|
+
defaultValue: "askForChanged",
|
|
123
|
+
options: {choices: [{"value":"askForChanged","label":"Ask for changed files"},{"value":"forceEverything","label":"Force everything"},{"value":"forceRequiredSkipRest","label":"Force required (skipping all non-essential)"}],}
|
|
124
|
+
},
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
interface UpgradeSkillOptionsEntity extends SchemaEntity<SpruceSchemas.SpruceCli.v2020_07_22.UpgradeSkillOptionsSchema> {}
|
|
129
|
+
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
namespace SpruceSchemas.SpruceCli.v2020_07_22 {
|
|
134
|
+
|
|
135
|
+
/** Test your might! 💪 */
|
|
136
|
+
interface TestOptions {
|
|
137
|
+
|
|
138
|
+
/** Report while running. Should I output the test results while they are running? */
|
|
139
|
+
'shouldReportWhileRunning'?: boolean| undefined | null
|
|
140
|
+
/** Pattern. I'll filter all tests that match this pattern */
|
|
141
|
+
'pattern'?: string| undefined | null
|
|
142
|
+
/** Inspect. Pass --inspect related args to test process. */
|
|
143
|
+
'inspect'?: number| undefined | null
|
|
144
|
+
/** Should wait for manual start?. */
|
|
145
|
+
'shouldHoldAtStart'?: boolean| undefined | null
|
|
146
|
+
/** Wait until tests are finished. For testing. Returns immediately after executing test so the running process can be managed programatically. */
|
|
147
|
+
'shouldReturnImmediately'?: boolean| undefined | null
|
|
148
|
+
/** Watch. */
|
|
149
|
+
'watchMode'?: ("off" | "standard" | "smart")| undefined | null
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
interface TestOptionsSchema extends SpruceSchema.Schema {
|
|
153
|
+
id: 'testOptions',
|
|
154
|
+
version: 'v2020_07_22',
|
|
155
|
+
namespace: 'SpruceCli',
|
|
156
|
+
name: 'Test skill',
|
|
157
|
+
description: 'Test your might! 💪',
|
|
158
|
+
fields: {
|
|
159
|
+
/** Report while running. Should I output the test results while they are running? */
|
|
160
|
+
'shouldReportWhileRunning': {
|
|
161
|
+
label: 'Report while running',
|
|
162
|
+
type: 'boolean',
|
|
163
|
+
hint: 'Should I output the test results while they are running?',
|
|
164
|
+
defaultValue: true,
|
|
165
|
+
options: undefined
|
|
166
|
+
},
|
|
167
|
+
/** Pattern. I'll filter all tests that match this pattern */
|
|
168
|
+
'pattern': {
|
|
169
|
+
label: 'Pattern',
|
|
170
|
+
type: 'text',
|
|
171
|
+
hint: 'I\'ll filter all tests that match this pattern',
|
|
172
|
+
options: undefined
|
|
173
|
+
},
|
|
174
|
+
/** Inspect. Pass --inspect related args to test process. */
|
|
175
|
+
'inspect': {
|
|
176
|
+
label: 'Inspect',
|
|
177
|
+
type: 'number',
|
|
178
|
+
hint: 'Pass --inspect related args to test process.',
|
|
179
|
+
options: undefined
|
|
180
|
+
},
|
|
181
|
+
/** Should wait for manual start?. */
|
|
182
|
+
'shouldHoldAtStart': {
|
|
183
|
+
label: 'Should wait for manual start?',
|
|
184
|
+
type: 'boolean',
|
|
185
|
+
defaultValue: false,
|
|
186
|
+
options: undefined
|
|
187
|
+
},
|
|
188
|
+
/** Wait until tests are finished. For testing. Returns immediately after executing test so the running process can be managed programatically. */
|
|
189
|
+
'shouldReturnImmediately': {
|
|
190
|
+
label: 'Wait until tests are finished',
|
|
191
|
+
type: 'boolean',
|
|
192
|
+
isPrivate: true,
|
|
193
|
+
hint: 'For testing. Returns immediately after executing test so the running process can be managed programatically.',
|
|
194
|
+
defaultValue: false,
|
|
195
|
+
options: undefined
|
|
196
|
+
},
|
|
197
|
+
/** Watch. */
|
|
198
|
+
'watchMode': {
|
|
199
|
+
label: 'Watch',
|
|
200
|
+
type: 'select',
|
|
201
|
+
options: {choices: [{"value":"off","label":"Off"},{"value":"standard","label":"Standard"},{"value":"smart","label":"Smart"}],}
|
|
202
|
+
},
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
interface TestOptionsEntity extends SchemaEntity<SpruceSchemas.SpruceCli.v2020_07_22.TestOptionsSchema> {}
|
|
207
|
+
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
namespace SpruceSchemas.SpruceCli.v2020_07_22 {
|
|
212
|
+
|
|
213
|
+
/** Options for schema.sync. */
|
|
214
|
+
interface SyncSchemasOptions {
|
|
215
|
+
|
|
216
|
+
/** Field types directory. Where field types and interfaces will be generated. */
|
|
217
|
+
'fieldTypesDestinationDir'?: string| undefined | null
|
|
218
|
+
/** Addons lookup directory. Where I'll look for new schema fields to be registered. */
|
|
219
|
+
'addonsLookupDir'?: string| undefined | null
|
|
220
|
+
/** Generate field types. Should I generate field types too? */
|
|
221
|
+
'generateFieldTypes'?: boolean| undefined | null
|
|
222
|
+
/** Schema types destination directory. Where I will generate schema types and interfaces. */
|
|
223
|
+
'schemaTypesDestinationDirOrFile'?: string| undefined | null
|
|
224
|
+
/** . Where I should look for your schema builders? */
|
|
225
|
+
'schemaLookupDir'?: string| undefined | null
|
|
226
|
+
/** Module import. When other skills use your schemas, will they import them from a module? */
|
|
227
|
+
'moduleToImportFromWhenRemote'?: string| undefined | null
|
|
228
|
+
/** Auto install missing dependencies. */
|
|
229
|
+
'shouldInstallMissingDependencies'?: boolean| undefined | null
|
|
230
|
+
/** Enable versioning. Should we use versioning? */
|
|
231
|
+
'shouldEnableVersioning'?: boolean| undefined | null
|
|
232
|
+
/** Global namespace. The name you'll use when accessing these schemas, e.g. SpruceSchemas */
|
|
233
|
+
'globalSchemaNamespace'?: string| undefined | null
|
|
234
|
+
/** Fetch remote schemas. I will pull in schemas from other features. */
|
|
235
|
+
'shouldFetchRemoteSchemas'?: boolean| undefined | null
|
|
236
|
+
/** Fetch local schemas. I will look in schemaLookupDir to load local schemas. */
|
|
237
|
+
'shouldFetchLocalSchemas'?: boolean| undefined | null
|
|
238
|
+
/** Fetch core schemas. Should I pull in core schemas too? */
|
|
239
|
+
'shouldFetchCoreSchemas'?: boolean| undefined | null
|
|
240
|
+
/** Generate core schemas. Used only for updating the @sprucelabs/spruce-core-schemas. Ensures core schemas are generated like local schemas. Also an alias for `--shouldFetchRemoteSchemas=false --shouldFetchCoreSchemas=false --generateStandaloneTypesFile. */
|
|
241
|
+
'shouldGenerateCoreSchemaTypes'?: boolean| undefined | null
|
|
242
|
+
/** Register built schemas. Should the schemas use the SchemaRegistry for tracking? */
|
|
243
|
+
'registerBuiltSchemas'?: boolean| undefined | null
|
|
244
|
+
/** Delete directory if no schemas. Should I delete the schema directory if no schemas are found? */
|
|
245
|
+
'deleteDestinationDirIfNoSchemas'?: boolean| undefined | null
|
|
246
|
+
/** Delete orphaned schemas. Should I delete schemas where the builders are missing? */
|
|
247
|
+
'deleteOrphanedSchemas'?: boolean| undefined | null
|
|
248
|
+
/** Generate standalone types file. By default, I'll generate a types file that augments core types from @sprucelabs/spruce-core-schemas. Setting this to true will generate a stand alone types file. */
|
|
249
|
+
'generateStandaloneTypesFile'?: boolean| undefined | null
|
|
250
|
+
/** message. */
|
|
251
|
+
'syncingMessage'?: string| undefined | null
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
interface SyncSchemasOptionsSchema extends SpruceSchema.Schema {
|
|
255
|
+
id: 'syncSchemasOptions',
|
|
256
|
+
version: 'v2020_07_22',
|
|
257
|
+
namespace: 'SpruceCli',
|
|
258
|
+
name: 'Sync schemas action',
|
|
259
|
+
description: 'Options for schema.sync.',
|
|
260
|
+
fields: {
|
|
261
|
+
/** Field types directory. Where field types and interfaces will be generated. */
|
|
262
|
+
'fieldTypesDestinationDir': {
|
|
263
|
+
label: 'Field types directory',
|
|
264
|
+
type: 'text',
|
|
265
|
+
isPrivate: true,
|
|
266
|
+
hint: 'Where field types and interfaces will be generated.',
|
|
267
|
+
defaultValue: "#spruce/schemas",
|
|
268
|
+
options: undefined
|
|
269
|
+
},
|
|
270
|
+
/** Addons lookup directory. Where I'll look for new schema fields to be registered. */
|
|
271
|
+
'addonsLookupDir': {
|
|
272
|
+
label: 'Addons lookup directory',
|
|
273
|
+
type: 'text',
|
|
274
|
+
hint: 'Where I\'ll look for new schema fields to be registered.',
|
|
275
|
+
defaultValue: "src/addons",
|
|
276
|
+
options: undefined
|
|
277
|
+
},
|
|
278
|
+
/** Generate field types. Should I generate field types too? */
|
|
279
|
+
'generateFieldTypes': {
|
|
280
|
+
label: 'Generate field types',
|
|
281
|
+
type: 'boolean',
|
|
282
|
+
isPrivate: true,
|
|
283
|
+
hint: 'Should I generate field types too?',
|
|
284
|
+
defaultValue: true,
|
|
285
|
+
options: undefined
|
|
286
|
+
},
|
|
287
|
+
/** Schema types destination directory. Where I will generate schema types and interfaces. */
|
|
288
|
+
'schemaTypesDestinationDirOrFile': {
|
|
289
|
+
label: 'Schema types destination directory',
|
|
290
|
+
type: 'text',
|
|
291
|
+
hint: 'Where I will generate schema types and interfaces.',
|
|
292
|
+
defaultValue: "#spruce/schemas",
|
|
293
|
+
options: undefined
|
|
294
|
+
},
|
|
295
|
+
/** . Where I should look for your schema builders? */
|
|
296
|
+
'schemaLookupDir': {
|
|
297
|
+
type: 'text',
|
|
298
|
+
hint: 'Where I should look for your schema builders?',
|
|
299
|
+
defaultValue: "src/schemas",
|
|
300
|
+
options: undefined
|
|
301
|
+
},
|
|
302
|
+
/** Module import. When other skills use your schemas, will they import them from a module? */
|
|
303
|
+
'moduleToImportFromWhenRemote': {
|
|
304
|
+
label: 'Module import',
|
|
305
|
+
type: 'text',
|
|
306
|
+
hint: 'When other skills use your schemas, will they import them from a module?',
|
|
307
|
+
options: undefined
|
|
308
|
+
},
|
|
309
|
+
/** Auto install missing dependencies. */
|
|
310
|
+
'shouldInstallMissingDependencies': {
|
|
311
|
+
label: 'Auto install missing dependencies',
|
|
312
|
+
type: 'boolean',
|
|
313
|
+
options: undefined
|
|
314
|
+
},
|
|
315
|
+
/** Enable versioning. Should we use versioning? */
|
|
316
|
+
'shouldEnableVersioning': {
|
|
317
|
+
label: 'Enable versioning',
|
|
318
|
+
type: 'boolean',
|
|
319
|
+
isPrivate: true,
|
|
320
|
+
hint: 'Should we use versioning?',
|
|
321
|
+
defaultValue: true,
|
|
322
|
+
options: undefined
|
|
323
|
+
},
|
|
324
|
+
/** Global namespace. The name you'll use when accessing these schemas, e.g. SpruceSchemas */
|
|
325
|
+
'globalSchemaNamespace': {
|
|
326
|
+
label: 'Global namespace',
|
|
327
|
+
type: 'text',
|
|
328
|
+
isPrivate: true,
|
|
329
|
+
hint: 'The name you\'ll use when accessing these schemas, e.g. SpruceSchemas',
|
|
330
|
+
defaultValue: "SpruceSchemas",
|
|
331
|
+
options: undefined
|
|
332
|
+
},
|
|
333
|
+
/** Fetch remote schemas. I will pull in schemas from other features. */
|
|
334
|
+
'shouldFetchRemoteSchemas': {
|
|
335
|
+
label: 'Fetch remote schemas',
|
|
336
|
+
type: 'boolean',
|
|
337
|
+
isPrivate: true,
|
|
338
|
+
hint: 'I will pull in schemas from other features.',
|
|
339
|
+
defaultValue: true,
|
|
340
|
+
options: undefined
|
|
341
|
+
},
|
|
342
|
+
/** Fetch local schemas. I will look in schemaLookupDir to load local schemas. */
|
|
343
|
+
'shouldFetchLocalSchemas': {
|
|
344
|
+
label: 'Fetch local schemas',
|
|
345
|
+
type: 'boolean',
|
|
346
|
+
isPrivate: true,
|
|
347
|
+
hint: 'I will look in schemaLookupDir to load local schemas.',
|
|
348
|
+
defaultValue: true,
|
|
349
|
+
options: undefined
|
|
350
|
+
},
|
|
351
|
+
/** Fetch core schemas. Should I pull in core schemas too? */
|
|
352
|
+
'shouldFetchCoreSchemas': {
|
|
353
|
+
label: 'Fetch core schemas',
|
|
354
|
+
type: 'boolean',
|
|
355
|
+
isPrivate: true,
|
|
356
|
+
hint: 'Should I pull in core schemas too?',
|
|
357
|
+
defaultValue: true,
|
|
358
|
+
options: undefined
|
|
359
|
+
},
|
|
360
|
+
/** Generate core schemas. Used only for updating the @sprucelabs/spruce-core-schemas. Ensures core schemas are generated like local schemas. Also an alias for `--shouldFetchRemoteSchemas=false --shouldFetchCoreSchemas=false --generateStandaloneTypesFile. */
|
|
361
|
+
'shouldGenerateCoreSchemaTypes': {
|
|
362
|
+
label: 'Generate core schemas',
|
|
363
|
+
type: 'boolean',
|
|
364
|
+
isPrivate: true,
|
|
365
|
+
hint: 'Used only for updating the @sprucelabs/spruce-core-schemas. Ensures core schemas are generated like local schemas. Also an alias for `--shouldFetchRemoteSchemas=false --shouldFetchCoreSchemas=false --generateStandaloneTypesFile.',
|
|
366
|
+
options: undefined
|
|
367
|
+
},
|
|
368
|
+
/** Register built schemas. Should the schemas use the SchemaRegistry for tracking? */
|
|
369
|
+
'registerBuiltSchemas': {
|
|
370
|
+
label: 'Register built schemas',
|
|
371
|
+
type: 'boolean',
|
|
372
|
+
isPrivate: true,
|
|
373
|
+
hint: 'Should the schemas use the SchemaRegistry for tracking?',
|
|
374
|
+
defaultValue: true,
|
|
375
|
+
options: undefined
|
|
376
|
+
},
|
|
377
|
+
/** Delete directory if no schemas. Should I delete the schema directory if no schemas are found? */
|
|
378
|
+
'deleteDestinationDirIfNoSchemas': {
|
|
379
|
+
label: 'Delete directory if no schemas',
|
|
380
|
+
type: 'boolean',
|
|
381
|
+
isPrivate: true,
|
|
382
|
+
hint: 'Should I delete the schema directory if no schemas are found?',
|
|
383
|
+
defaultValue: false,
|
|
384
|
+
options: undefined
|
|
385
|
+
},
|
|
386
|
+
/** Delete orphaned schemas. Should I delete schemas where the builders are missing? */
|
|
387
|
+
'deleteOrphanedSchemas': {
|
|
388
|
+
label: 'Delete orphaned schemas',
|
|
389
|
+
type: 'boolean',
|
|
390
|
+
isPrivate: true,
|
|
391
|
+
hint: 'Should I delete schemas where the builders are missing?',
|
|
392
|
+
defaultValue: true,
|
|
393
|
+
options: undefined
|
|
394
|
+
},
|
|
395
|
+
/** Generate standalone types file. By default, I'll generate a types file that augments core types from @sprucelabs/spruce-core-schemas. Setting this to true will generate a stand alone types file. */
|
|
396
|
+
'generateStandaloneTypesFile': {
|
|
397
|
+
label: 'Generate standalone types file',
|
|
398
|
+
type: 'boolean',
|
|
399
|
+
isPrivate: true,
|
|
400
|
+
hint: 'By default, I\'ll generate a types file that augments core types from @sprucelabs/spruce-core-schemas. Setting this to true will generate a stand alone types file.',
|
|
401
|
+
defaultValue: false,
|
|
402
|
+
options: undefined
|
|
403
|
+
},
|
|
404
|
+
/** message. */
|
|
405
|
+
'syncingMessage': {
|
|
406
|
+
label: ' message',
|
|
407
|
+
type: 'text',
|
|
408
|
+
isPrivate: true,
|
|
409
|
+
defaultValue: "Syncing schemas...",
|
|
410
|
+
options: undefined
|
|
411
|
+
},
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
interface SyncSchemasOptionsEntity extends SchemaEntity<SpruceSchemas.SpruceCli.v2020_07_22.SyncSchemasOptionsSchema> {}
|
|
416
|
+
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
namespace SpruceSchemas.SpruceCli.v2020_07_22 {
|
|
421
|
+
|
|
422
|
+
/** Sync schema fields so you can use schemas! */
|
|
423
|
+
interface SyncSchemaFieldsOptions {
|
|
424
|
+
|
|
425
|
+
/** Field types directory. Where field types and interfaces will be generated. */
|
|
426
|
+
'fieldTypesDestinationDir'?: string| undefined | null
|
|
427
|
+
/** Addons lookup directory. Where I'll look for new schema fields to be registered. */
|
|
428
|
+
'addonsLookupDir'?: string| undefined | null
|
|
429
|
+
/** Generate field types. Should I generate field types too? */
|
|
430
|
+
'generateFieldTypes'?: boolean| undefined | null
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
interface SyncSchemaFieldsOptionsSchema extends SpruceSchema.Schema {
|
|
434
|
+
id: 'syncSchemaFieldsOptions',
|
|
435
|
+
version: 'v2020_07_22',
|
|
436
|
+
namespace: 'SpruceCli',
|
|
437
|
+
name: 'syncSchemaFieldsOptions',
|
|
438
|
+
description: 'Sync schema fields so you can use schemas!',
|
|
439
|
+
fields: {
|
|
440
|
+
/** Field types directory. Where field types and interfaces will be generated. */
|
|
441
|
+
'fieldTypesDestinationDir': {
|
|
442
|
+
label: 'Field types directory',
|
|
443
|
+
type: 'text',
|
|
444
|
+
isPrivate: true,
|
|
445
|
+
hint: 'Where field types and interfaces will be generated.',
|
|
446
|
+
defaultValue: "#spruce/schemas",
|
|
447
|
+
options: undefined
|
|
448
|
+
},
|
|
449
|
+
/** Addons lookup directory. Where I'll look for new schema fields to be registered. */
|
|
450
|
+
'addonsLookupDir': {
|
|
451
|
+
label: 'Addons lookup directory',
|
|
452
|
+
type: 'text',
|
|
453
|
+
hint: 'Where I\'ll look for new schema fields to be registered.',
|
|
454
|
+
defaultValue: "src/addons",
|
|
455
|
+
options: undefined
|
|
456
|
+
},
|
|
457
|
+
/** Generate field types. Should I generate field types too? */
|
|
458
|
+
'generateFieldTypes': {
|
|
459
|
+
label: 'Generate field types',
|
|
460
|
+
type: 'boolean',
|
|
461
|
+
isPrivate: true,
|
|
462
|
+
hint: 'Should I generate field types too?',
|
|
463
|
+
defaultValue: true,
|
|
464
|
+
options: undefined
|
|
465
|
+
},
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
interface SyncSchemaFieldsOptionsEntity extends SchemaEntity<SpruceSchemas.SpruceCli.v2020_07_22.SyncSchemaFieldsOptionsSchema> {}
|
|
470
|
+
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
namespace SpruceSchemas.SpruceCli.v2020_07_22 {
|
|
475
|
+
|
|
476
|
+
/** Pull down event contracts from Mercury to make them available in your skill. */
|
|
477
|
+
interface SyncEventOptions {
|
|
478
|
+
|
|
479
|
+
/** Contract destination. Where I will generate event contracts. */
|
|
480
|
+
'contractDestinationDir'?: string| undefined | null
|
|
481
|
+
/** Schema types lookup directory. Where I will lookup schema types and interfaces. */
|
|
482
|
+
'schemaTypesLookupDir'?: string| undefined | null
|
|
483
|
+
/** Sync only core events. For use in @sprucelabs/mercury-types */
|
|
484
|
+
'shouldSyncOnlyCoreEvents'?: boolean| undefined | null
|
|
485
|
+
/** Event signature types file. */
|
|
486
|
+
'skillEventContractTypesFile'?: string| undefined | null
|
|
487
|
+
/** Event builder file. */
|
|
488
|
+
'eventBuilderFile'?: string| undefined | null
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
interface SyncEventOptionsSchema extends SpruceSchema.Schema {
|
|
492
|
+
id: 'syncEventOptions',
|
|
493
|
+
version: 'v2020_07_22',
|
|
494
|
+
namespace: 'SpruceCli',
|
|
495
|
+
name: 'sync event action',
|
|
496
|
+
description: 'Pull down event contracts from Mercury to make them available in your skill.',
|
|
497
|
+
fields: {
|
|
498
|
+
/** Contract destination. Where I will generate event contracts. */
|
|
499
|
+
'contractDestinationDir': {
|
|
500
|
+
label: 'Contract destination',
|
|
501
|
+
type: 'text',
|
|
502
|
+
hint: 'Where I will generate event contracts.',
|
|
503
|
+
defaultValue: "#spruce/events",
|
|
504
|
+
options: undefined
|
|
505
|
+
},
|
|
506
|
+
/** Schema types lookup directory. Where I will lookup schema types and interfaces. */
|
|
507
|
+
'schemaTypesLookupDir': {
|
|
508
|
+
label: 'Schema types lookup directory',
|
|
509
|
+
type: 'text',
|
|
510
|
+
hint: 'Where I will lookup schema types and interfaces.',
|
|
511
|
+
defaultValue: "#spruce/schemas",
|
|
512
|
+
options: undefined
|
|
513
|
+
},
|
|
514
|
+
/** Sync only core events. For use in @sprucelabs/mercury-types */
|
|
515
|
+
'shouldSyncOnlyCoreEvents': {
|
|
516
|
+
label: 'Sync only core events',
|
|
517
|
+
type: 'boolean',
|
|
518
|
+
hint: 'For use in @sprucelabs/mercury-types',
|
|
519
|
+
options: undefined
|
|
520
|
+
},
|
|
521
|
+
/** Event signature types file. */
|
|
522
|
+
'skillEventContractTypesFile': {
|
|
523
|
+
label: 'Event signature types file',
|
|
524
|
+
type: 'text',
|
|
525
|
+
defaultValue: "@sprucelabs/mercury-types/build/types/mercury.types",
|
|
526
|
+
options: undefined
|
|
527
|
+
},
|
|
528
|
+
/** Event builder file. */
|
|
529
|
+
'eventBuilderFile': {
|
|
530
|
+
label: 'Event builder file',
|
|
531
|
+
type: 'text',
|
|
532
|
+
defaultValue: "@sprucelabs/mercury-types",
|
|
533
|
+
options: undefined
|
|
534
|
+
},
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
interface SyncEventOptionsEntity extends SchemaEntity<SpruceSchemas.SpruceCli.v2020_07_22.SyncEventOptionsSchema> {}
|
|
539
|
+
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
namespace SpruceSchemas.SpruceCli.v2020_07_22 {
|
|
544
|
+
|
|
545
|
+
/** Keep your errors types in sync with your builders */
|
|
546
|
+
interface SyncErrorOptions {
|
|
547
|
+
|
|
548
|
+
/** Field types directory. Where field types and interfaces will be generated. */
|
|
549
|
+
'fieldTypesDestinationDir'?: string| undefined | null
|
|
550
|
+
/** Addons lookup directory. Where I'll look for new schema fields to be registered. */
|
|
551
|
+
'addonsLookupDir'?: string| undefined | null
|
|
552
|
+
/** Generate field types. Should I generate field types too? */
|
|
553
|
+
'generateFieldTypes'?: boolean| undefined | null
|
|
554
|
+
/** Schema types destination directory. Where I will generate schema types and interfaces. */
|
|
555
|
+
'schemaTypesDestinationDirOrFile'?: string| undefined | null
|
|
556
|
+
/** . Where I should look for your schema builders? */
|
|
557
|
+
'schemaLookupDir'?: string| undefined | null
|
|
558
|
+
/** Module import. When other skills use your schemas, will they import them from a module? */
|
|
559
|
+
'moduleToImportFromWhenRemote'?: string| undefined | null
|
|
560
|
+
/** Auto install missing dependencies. */
|
|
561
|
+
'shouldInstallMissingDependencies'?: boolean| undefined | null
|
|
562
|
+
/** Enable versioning. Should we use versioning? */
|
|
563
|
+
'shouldEnableVersioning'?: boolean| undefined | null
|
|
564
|
+
/** Global namespace. The name you'll use when accessing these schemas, e.g. SpruceSchemas */
|
|
565
|
+
'globalSchemaNamespace'?: string| undefined | null
|
|
566
|
+
/** Fetch remote schemas. I will pull in schemas from other features. */
|
|
567
|
+
'shouldFetchRemoteSchemas'?: boolean| undefined | null
|
|
568
|
+
/** Fetch local schemas. I will look in schemaLookupDir to load local schemas. */
|
|
569
|
+
'shouldFetchLocalSchemas'?: boolean| undefined | null
|
|
570
|
+
/** Fetch core schemas. Should I pull in core schemas too? */
|
|
571
|
+
'shouldFetchCoreSchemas'?: boolean| undefined | null
|
|
572
|
+
/** Generate core schemas. Used only for updating the @sprucelabs/spruce-core-schemas. Ensures core schemas are generated like local schemas. Also an alias for `--shouldFetchRemoteSchemas=false --shouldFetchCoreSchemas=false --generateStandaloneTypesFile. */
|
|
573
|
+
'shouldGenerateCoreSchemaTypes'?: boolean| undefined | null
|
|
574
|
+
/** Register built schemas. Should the schemas use the SchemaRegistry for tracking? */
|
|
575
|
+
'registerBuiltSchemas'?: boolean| undefined | null
|
|
576
|
+
/** Generate standalone types file. By default, I'll generate a types file that augments core types from @sprucelabs/spruce-core-schemas. Setting this to true will generate a stand alone types file. */
|
|
577
|
+
'generateStandaloneTypesFile'?: boolean| undefined | null
|
|
578
|
+
/** message. */
|
|
579
|
+
'syncingMessage'?: string| undefined | null
|
|
580
|
+
/** Error class destination. Where I'll save your new Error class file? */
|
|
581
|
+
'errorClassDestinationDir': string
|
|
582
|
+
/** . Where I should look for your error builders? */
|
|
583
|
+
'errorLookupDir'?: string| undefined | null
|
|
584
|
+
/** Types destination dir. This is where error options and type information will be written */
|
|
585
|
+
'errorTypesDestinationDir'?: string| undefined | null
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
interface SyncErrorOptionsSchema extends SpruceSchema.Schema {
|
|
589
|
+
id: 'syncErrorOptions',
|
|
590
|
+
version: 'v2020_07_22',
|
|
591
|
+
namespace: 'SpruceCli',
|
|
592
|
+
name: 'Sync error action',
|
|
593
|
+
description: 'Keep your errors types in sync with your builders',
|
|
594
|
+
fields: {
|
|
595
|
+
/** Field types directory. Where field types and interfaces will be generated. */
|
|
596
|
+
'fieldTypesDestinationDir': {
|
|
597
|
+
label: 'Field types directory',
|
|
598
|
+
type: 'text',
|
|
599
|
+
isPrivate: true,
|
|
600
|
+
hint: 'Where field types and interfaces will be generated.',
|
|
601
|
+
defaultValue: "#spruce/schemas",
|
|
602
|
+
options: undefined
|
|
603
|
+
},
|
|
604
|
+
/** Addons lookup directory. Where I'll look for new schema fields to be registered. */
|
|
605
|
+
'addonsLookupDir': {
|
|
606
|
+
label: 'Addons lookup directory',
|
|
607
|
+
type: 'text',
|
|
608
|
+
hint: 'Where I\'ll look for new schema fields to be registered.',
|
|
609
|
+
defaultValue: "src/addons",
|
|
610
|
+
options: undefined
|
|
611
|
+
},
|
|
612
|
+
/** Generate field types. Should I generate field types too? */
|
|
613
|
+
'generateFieldTypes': {
|
|
614
|
+
label: 'Generate field types',
|
|
615
|
+
type: 'boolean',
|
|
616
|
+
isPrivate: true,
|
|
617
|
+
hint: 'Should I generate field types too?',
|
|
618
|
+
defaultValue: true,
|
|
619
|
+
options: undefined
|
|
620
|
+
},
|
|
621
|
+
/** Schema types destination directory. Where I will generate schema types and interfaces. */
|
|
622
|
+
'schemaTypesDestinationDirOrFile': {
|
|
623
|
+
label: 'Schema types destination directory',
|
|
624
|
+
type: 'text',
|
|
625
|
+
hint: 'Where I will generate schema types and interfaces.',
|
|
626
|
+
defaultValue: "#spruce/schemas",
|
|
627
|
+
options: undefined
|
|
628
|
+
},
|
|
629
|
+
/** . Where I should look for your schema builders? */
|
|
630
|
+
'schemaLookupDir': {
|
|
631
|
+
type: 'text',
|
|
632
|
+
hint: 'Where I should look for your schema builders?',
|
|
633
|
+
defaultValue: "src/schemas",
|
|
634
|
+
options: undefined
|
|
635
|
+
},
|
|
636
|
+
/** Module import. When other skills use your schemas, will they import them from a module? */
|
|
637
|
+
'moduleToImportFromWhenRemote': {
|
|
638
|
+
label: 'Module import',
|
|
639
|
+
type: 'text',
|
|
640
|
+
hint: 'When other skills use your schemas, will they import them from a module?',
|
|
641
|
+
options: undefined
|
|
642
|
+
},
|
|
643
|
+
/** Auto install missing dependencies. */
|
|
644
|
+
'shouldInstallMissingDependencies': {
|
|
645
|
+
label: 'Auto install missing dependencies',
|
|
646
|
+
type: 'boolean',
|
|
647
|
+
options: undefined
|
|
648
|
+
},
|
|
649
|
+
/** Enable versioning. Should we use versioning? */
|
|
650
|
+
'shouldEnableVersioning': {
|
|
651
|
+
label: 'Enable versioning',
|
|
652
|
+
type: 'boolean',
|
|
653
|
+
isPrivate: true,
|
|
654
|
+
hint: 'Should we use versioning?',
|
|
655
|
+
defaultValue: true,
|
|
656
|
+
options: undefined
|
|
657
|
+
},
|
|
658
|
+
/** Global namespace. The name you'll use when accessing these schemas, e.g. SpruceSchemas */
|
|
659
|
+
'globalSchemaNamespace': {
|
|
660
|
+
label: 'Global namespace',
|
|
661
|
+
type: 'text',
|
|
662
|
+
isPrivate: true,
|
|
663
|
+
hint: 'The name you\'ll use when accessing these schemas, e.g. SpruceSchemas',
|
|
664
|
+
defaultValue: "SpruceSchemas",
|
|
665
|
+
options: undefined
|
|
666
|
+
},
|
|
667
|
+
/** Fetch remote schemas. I will pull in schemas from other features. */
|
|
668
|
+
'shouldFetchRemoteSchemas': {
|
|
669
|
+
label: 'Fetch remote schemas',
|
|
670
|
+
type: 'boolean',
|
|
671
|
+
isPrivate: true,
|
|
672
|
+
hint: 'I will pull in schemas from other features.',
|
|
673
|
+
defaultValue: true,
|
|
674
|
+
options: undefined
|
|
675
|
+
},
|
|
676
|
+
/** Fetch local schemas. I will look in schemaLookupDir to load local schemas. */
|
|
677
|
+
'shouldFetchLocalSchemas': {
|
|
678
|
+
label: 'Fetch local schemas',
|
|
679
|
+
type: 'boolean',
|
|
680
|
+
isPrivate: true,
|
|
681
|
+
hint: 'I will look in schemaLookupDir to load local schemas.',
|
|
682
|
+
defaultValue: true,
|
|
683
|
+
options: undefined
|
|
684
|
+
},
|
|
685
|
+
/** Fetch core schemas. Should I pull in core schemas too? */
|
|
686
|
+
'shouldFetchCoreSchemas': {
|
|
687
|
+
label: 'Fetch core schemas',
|
|
688
|
+
type: 'boolean',
|
|
689
|
+
isPrivate: true,
|
|
690
|
+
hint: 'Should I pull in core schemas too?',
|
|
691
|
+
defaultValue: true,
|
|
692
|
+
options: undefined
|
|
693
|
+
},
|
|
694
|
+
/** Generate core schemas. Used only for updating the @sprucelabs/spruce-core-schemas. Ensures core schemas are generated like local schemas. Also an alias for `--shouldFetchRemoteSchemas=false --shouldFetchCoreSchemas=false --generateStandaloneTypesFile. */
|
|
695
|
+
'shouldGenerateCoreSchemaTypes': {
|
|
696
|
+
label: 'Generate core schemas',
|
|
697
|
+
type: 'boolean',
|
|
698
|
+
isPrivate: true,
|
|
699
|
+
hint: 'Used only for updating the @sprucelabs/spruce-core-schemas. Ensures core schemas are generated like local schemas. Also an alias for `--shouldFetchRemoteSchemas=false --shouldFetchCoreSchemas=false --generateStandaloneTypesFile.',
|
|
700
|
+
options: undefined
|
|
701
|
+
},
|
|
702
|
+
/** Register built schemas. Should the schemas use the SchemaRegistry for tracking? */
|
|
703
|
+
'registerBuiltSchemas': {
|
|
704
|
+
label: 'Register built schemas',
|
|
705
|
+
type: 'boolean',
|
|
706
|
+
isPrivate: true,
|
|
707
|
+
hint: 'Should the schemas use the SchemaRegistry for tracking?',
|
|
708
|
+
defaultValue: true,
|
|
709
|
+
options: undefined
|
|
710
|
+
},
|
|
711
|
+
/** Generate standalone types file. By default, I'll generate a types file that augments core types from @sprucelabs/spruce-core-schemas. Setting this to true will generate a stand alone types file. */
|
|
712
|
+
'generateStandaloneTypesFile': {
|
|
713
|
+
label: 'Generate standalone types file',
|
|
714
|
+
type: 'boolean',
|
|
715
|
+
isPrivate: true,
|
|
716
|
+
hint: 'By default, I\'ll generate a types file that augments core types from @sprucelabs/spruce-core-schemas. Setting this to true will generate a stand alone types file.',
|
|
717
|
+
defaultValue: false,
|
|
718
|
+
options: undefined
|
|
719
|
+
},
|
|
720
|
+
/** message. */
|
|
721
|
+
'syncingMessage': {
|
|
722
|
+
label: ' message',
|
|
723
|
+
type: 'text',
|
|
724
|
+
isPrivate: true,
|
|
725
|
+
defaultValue: "Syncing schemas...",
|
|
726
|
+
options: undefined
|
|
727
|
+
},
|
|
728
|
+
/** Error class destination. Where I'll save your new Error class file? */
|
|
729
|
+
'errorClassDestinationDir': {
|
|
730
|
+
label: 'Error class destination',
|
|
731
|
+
type: 'text',
|
|
732
|
+
isPrivate: true,
|
|
733
|
+
isRequired: true,
|
|
734
|
+
hint: 'Where I\'ll save your new Error class file?',
|
|
735
|
+
defaultValue: "src/errors",
|
|
736
|
+
options: undefined
|
|
737
|
+
},
|
|
738
|
+
/** . Where I should look for your error builders? */
|
|
739
|
+
'errorLookupDir': {
|
|
740
|
+
type: 'text',
|
|
741
|
+
hint: 'Where I should look for your error builders?',
|
|
742
|
+
defaultValue: "src/errors",
|
|
743
|
+
options: undefined
|
|
744
|
+
},
|
|
745
|
+
/** Types destination dir. This is where error options and type information will be written */
|
|
746
|
+
'errorTypesDestinationDir': {
|
|
747
|
+
label: 'Types destination dir',
|
|
748
|
+
type: 'text',
|
|
749
|
+
hint: 'This is where error options and type information will be written',
|
|
750
|
+
defaultValue: "#spruce/errors",
|
|
751
|
+
options: undefined
|
|
752
|
+
},
|
|
753
|
+
}
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
interface SyncErrorOptionsEntity extends SchemaEntity<SpruceSchemas.SpruceCli.v2020_07_22.SyncErrorOptionsSchema> {}
|
|
757
|
+
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
|
|
761
|
+
namespace SpruceSchemas.SpruceCli.v2020_07_22 {
|
|
762
|
+
|
|
763
|
+
|
|
764
|
+
interface SkillFeature {
|
|
765
|
+
|
|
766
|
+
|
|
767
|
+
'destination'?: string| undefined | null
|
|
768
|
+
/** What's the name of your skill?. This marketing focused, like "8-bit Stories" or "Adventures". */
|
|
769
|
+
'name': string
|
|
770
|
+
/** How would you describe your skill?. */
|
|
771
|
+
'description': string
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
interface SkillFeatureSchema extends SpruceSchema.Schema {
|
|
775
|
+
id: 'skillFeature',
|
|
776
|
+
version: 'v2020_07_22',
|
|
777
|
+
namespace: 'SpruceCli',
|
|
778
|
+
name: 'Skill feature options',
|
|
779
|
+
fields: {
|
|
780
|
+
/** . */
|
|
781
|
+
'destination': {
|
|
782
|
+
type: 'text',
|
|
783
|
+
defaultValue: ".",
|
|
784
|
+
options: undefined
|
|
785
|
+
},
|
|
786
|
+
/** What's the name of your skill?. This marketing focused, like "8-bit Stories" or "Adventures". */
|
|
787
|
+
'name': {
|
|
788
|
+
label: 'What\'s the name of your skill?',
|
|
789
|
+
type: 'text',
|
|
790
|
+
isRequired: true,
|
|
791
|
+
hint: 'This marketing focused, like "8-bit Stories" or "Adventures".',
|
|
792
|
+
options: undefined
|
|
793
|
+
},
|
|
794
|
+
/** How would you describe your skill?. */
|
|
795
|
+
'description': {
|
|
796
|
+
label: 'How would you describe your skill?',
|
|
797
|
+
type: 'text',
|
|
798
|
+
isRequired: true,
|
|
799
|
+
options: undefined
|
|
800
|
+
},
|
|
801
|
+
}
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
interface SkillFeatureEntity extends SchemaEntity<SpruceSchemas.SpruceCli.v2020_07_22.SkillFeatureSchema> {}
|
|
805
|
+
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
|
|
809
|
+
namespace SpruceSchemas.SpruceCli.v2020_07_22 {
|
|
810
|
+
|
|
811
|
+
/** Install vscode extensions, launch configs, and settings the Spruce team uses in-house! */
|
|
812
|
+
interface SetupVscodeOptions {
|
|
813
|
+
|
|
814
|
+
/** Install everything. */
|
|
815
|
+
'all'?: boolean| undefined | null
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
interface SetupVscodeOptionsSchema extends SpruceSchema.Schema {
|
|
819
|
+
id: 'setupVscodeOptions',
|
|
820
|
+
version: 'v2020_07_22',
|
|
821
|
+
namespace: 'SpruceCli',
|
|
822
|
+
name: 'Setup vscode action',
|
|
823
|
+
description: 'Install vscode extensions, launch configs, and settings the Spruce team uses in-house!',
|
|
824
|
+
fields: {
|
|
825
|
+
/** Install everything. */
|
|
826
|
+
'all': {
|
|
827
|
+
label: 'Install everything',
|
|
828
|
+
type: 'boolean',
|
|
829
|
+
options: undefined
|
|
830
|
+
},
|
|
831
|
+
}
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
interface SetupVscodeOptionsEntity extends SchemaEntity<SpruceSchemas.SpruceCli.v2020_07_22.SetupVscodeOptionsSchema> {}
|
|
835
|
+
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
|
|
839
|
+
namespace SpruceSchemas.SpruceCli.v2020_07_22 {
|
|
840
|
+
|
|
841
|
+
/** Use this with in your CI/CD environment to get your skill ready to run tests. */
|
|
842
|
+
interface SetupTestsOptions {
|
|
843
|
+
|
|
844
|
+
/** Demo phone number. */
|
|
845
|
+
'demoNumber': string
|
|
846
|
+
/** Namespace. */
|
|
847
|
+
'skillSlug': string
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
interface SetupTestsOptionsSchema extends SpruceSchema.Schema {
|
|
851
|
+
id: 'setupTestsOptions',
|
|
852
|
+
version: 'v2020_07_22',
|
|
853
|
+
namespace: 'SpruceCli',
|
|
854
|
+
name: 'Setup tests options',
|
|
855
|
+
description: 'Use this with in your CI/CD environment to get your skill ready to run tests.',
|
|
856
|
+
fields: {
|
|
857
|
+
/** Demo phone number. */
|
|
858
|
+
'demoNumber': {
|
|
859
|
+
label: 'Demo phone number',
|
|
860
|
+
type: 'phone',
|
|
861
|
+
isRequired: true,
|
|
862
|
+
options: undefined
|
|
863
|
+
},
|
|
864
|
+
/** Namespace. */
|
|
865
|
+
'skillSlug': {
|
|
866
|
+
label: 'Namespace',
|
|
867
|
+
type: 'text',
|
|
868
|
+
isRequired: true,
|
|
869
|
+
options: undefined
|
|
870
|
+
},
|
|
871
|
+
}
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
interface SetupTestsOptionsEntity extends SchemaEntity<SpruceSchemas.SpruceCli.v2020_07_22.SetupTestsOptionsSchema> {}
|
|
875
|
+
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
|
|
879
|
+
namespace SpruceSchemas.SpruceCli.v2020_07_22 {
|
|
880
|
+
|
|
881
|
+
|
|
882
|
+
interface RegisterDashboardWidgetsEmitPayloadSchema {
|
|
883
|
+
|
|
884
|
+
|
|
885
|
+
'widgets'?: (BaseWidget)| undefined | null
|
|
886
|
+
}
|
|
887
|
+
|
|
888
|
+
interface RegisterDashboardWidgetsEmitPayloadSchemaSchema extends SpruceSchema.Schema {
|
|
889
|
+
id: 'registerDashboardWidgetsEmitPayloadSchema',
|
|
890
|
+
version: 'v2020_07_22',
|
|
891
|
+
namespace: 'SpruceCli',
|
|
892
|
+
name: 'register dashboard widgets emit payload schema',
|
|
893
|
+
fields: {
|
|
894
|
+
/** . */
|
|
895
|
+
'widgets': {
|
|
896
|
+
type: 'raw',
|
|
897
|
+
options: {valueType: `BaseWidget`,}
|
|
898
|
+
},
|
|
899
|
+
}
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
interface RegisterDashboardWidgetsEmitPayloadSchemaEntity extends SchemaEntity<SpruceSchemas.SpruceCli.v2020_07_22.RegisterDashboardWidgetsEmitPayloadSchemaSchema> {}
|
|
903
|
+
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
|
|
907
|
+
namespace SpruceSchemas.SpruceCli.v2020_07_22 {
|
|
908
|
+
|
|
909
|
+
/** A stripped down cli user with token details for login */
|
|
910
|
+
interface PersonWithToken {
|
|
911
|
+
|
|
912
|
+
/** Id. */
|
|
913
|
+
'id': string
|
|
914
|
+
/** Casual name. The name you can use when talking to this person. */
|
|
915
|
+
'casualName': string
|
|
916
|
+
|
|
917
|
+
'token': string
|
|
918
|
+
/** Logged in. */
|
|
919
|
+
'isLoggedIn'?: boolean| undefined | null
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
interface PersonWithTokenSchema extends SpruceSchema.Schema {
|
|
923
|
+
id: 'personWithToken',
|
|
924
|
+
version: 'v2020_07_22',
|
|
925
|
+
namespace: 'SpruceCli',
|
|
926
|
+
name: '',
|
|
927
|
+
description: 'A stripped down cli user with token details for login',
|
|
928
|
+
fields: {
|
|
929
|
+
/** Id. */
|
|
930
|
+
'id': {
|
|
931
|
+
label: 'Id',
|
|
932
|
+
type: 'id',
|
|
933
|
+
isRequired: true,
|
|
934
|
+
options: undefined
|
|
935
|
+
},
|
|
936
|
+
/** Casual name. The name you can use when talking to this person. */
|
|
937
|
+
'casualName': {
|
|
938
|
+
label: 'Casual name',
|
|
939
|
+
type: 'text',
|
|
940
|
+
isRequired: true,
|
|
941
|
+
hint: 'The name you can use when talking to this person.',
|
|
942
|
+
options: undefined
|
|
943
|
+
},
|
|
944
|
+
/** . */
|
|
945
|
+
'token': {
|
|
946
|
+
type: 'text',
|
|
947
|
+
isRequired: true,
|
|
948
|
+
options: undefined
|
|
949
|
+
},
|
|
950
|
+
/** Logged in. */
|
|
951
|
+
'isLoggedIn': {
|
|
952
|
+
label: 'Logged in',
|
|
953
|
+
type: 'boolean',
|
|
954
|
+
options: undefined
|
|
955
|
+
},
|
|
956
|
+
}
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
interface PersonWithTokenEntity extends SchemaEntity<SpruceSchemas.SpruceCli.v2020_07_22.PersonWithTokenSchema> {}
|
|
960
|
+
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
|
|
964
|
+
namespace SpruceSchemas.SpruceCli.v2020_07_22 {
|
|
965
|
+
|
|
966
|
+
/** Track onboarding progress and tutorials & quizzes completed. */
|
|
967
|
+
interface Onboarding {
|
|
968
|
+
|
|
969
|
+
/** mode. */
|
|
970
|
+
'mode': ("short" | "immersive" | "off")
|
|
971
|
+
/** Stage. */
|
|
972
|
+
'stage'?: ("create.skill" | "test")| undefined | null
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
interface OnboardingSchema extends SpruceSchema.Schema {
|
|
976
|
+
id: 'onboarding',
|
|
977
|
+
version: 'v2020_07_22',
|
|
978
|
+
namespace: 'SpruceCli',
|
|
979
|
+
name: 'Onboarding',
|
|
980
|
+
description: 'Track onboarding progress and tutorials & quizzes completed.',
|
|
981
|
+
fields: {
|
|
982
|
+
/** mode. */
|
|
983
|
+
'mode': {
|
|
984
|
+
label: 'mode',
|
|
985
|
+
type: 'select',
|
|
986
|
+
isRequired: true,
|
|
987
|
+
options: {choices: [{"label":"Short","value":"short"},{"label":"Immersive","value":"immersive"},{"label":"Off","value":"off"}],}
|
|
988
|
+
},
|
|
989
|
+
/** Stage. */
|
|
990
|
+
'stage': {
|
|
991
|
+
label: 'Stage',
|
|
992
|
+
type: 'select',
|
|
993
|
+
options: {choices: [{"label":"Create skill","value":"create.skill"},{"label":"Test","value":"test"}],}
|
|
994
|
+
},
|
|
995
|
+
}
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
interface OnboardingEntity extends SchemaEntity<SpruceSchemas.SpruceCli.v2020_07_22.OnboardingSchema> {}
|
|
999
|
+
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
|
|
1003
|
+
namespace SpruceSchemas.SpruceCli.v2020_07_22 {
|
|
1004
|
+
|
|
1005
|
+
/** The question is; Are you read? ⚡️ */
|
|
1006
|
+
interface OnboardOptions {
|
|
1007
|
+
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
interface OnboardOptionsSchema extends SpruceSchema.Schema {
|
|
1011
|
+
id: 'onboardOptions',
|
|
1012
|
+
version: 'v2020_07_22',
|
|
1013
|
+
namespace: 'SpruceCli',
|
|
1014
|
+
name: 'Onboard action',
|
|
1015
|
+
description: 'The question is; Are you read? ⚡️',
|
|
1016
|
+
fields: {
|
|
1017
|
+
}
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
interface OnboardOptionsEntity extends SchemaEntity<SpruceSchemas.SpruceCli.v2020_07_22.OnboardOptionsSchema> {}
|
|
1021
|
+
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1024
|
+
|
|
1025
|
+
namespace SpruceSchemas.SpruceCli.v2020_07_22 {
|
|
1026
|
+
|
|
1027
|
+
/** Create a new node module, to be written in typescript, ready to rock! */
|
|
1028
|
+
interface NodeFeatureOptions {
|
|
1029
|
+
|
|
1030
|
+
|
|
1031
|
+
'destination'?: string| undefined | null
|
|
1032
|
+
/** What's the name of your module?. */
|
|
1033
|
+
'name': string
|
|
1034
|
+
/** How would you describe your module?. */
|
|
1035
|
+
'description': string
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
interface NodeFeatureOptionsSchema extends SpruceSchema.Schema {
|
|
1039
|
+
id: 'nodeFeatureOptions',
|
|
1040
|
+
version: 'v2020_07_22',
|
|
1041
|
+
namespace: 'SpruceCli',
|
|
1042
|
+
name: 'Create node module',
|
|
1043
|
+
description: 'Create a new node module, to be written in typescript, ready to rock!',
|
|
1044
|
+
fields: {
|
|
1045
|
+
/** . */
|
|
1046
|
+
'destination': {
|
|
1047
|
+
type: 'text',
|
|
1048
|
+
defaultValue: ".",
|
|
1049
|
+
options: undefined
|
|
1050
|
+
},
|
|
1051
|
+
/** What's the name of your module?. */
|
|
1052
|
+
'name': {
|
|
1053
|
+
label: 'What\'s the name of your module?',
|
|
1054
|
+
type: 'text',
|
|
1055
|
+
isRequired: true,
|
|
1056
|
+
options: undefined
|
|
1057
|
+
},
|
|
1058
|
+
/** How would you describe your module?. */
|
|
1059
|
+
'description': {
|
|
1060
|
+
label: 'How would you describe your module?',
|
|
1061
|
+
type: 'text',
|
|
1062
|
+
isRequired: true,
|
|
1063
|
+
options: undefined
|
|
1064
|
+
},
|
|
1065
|
+
}
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1068
|
+
interface NodeFeatureOptionsEntity extends SchemaEntity<SpruceSchemas.SpruceCli.v2020_07_22.NodeFeatureOptionsSchema> {}
|
|
1069
|
+
|
|
1070
|
+
}
|
|
1071
|
+
|
|
1072
|
+
|
|
1073
|
+
namespace SpruceSchemas.SpruceCli.v2020_07_22 {
|
|
1074
|
+
|
|
1075
|
+
/** Used to collect input on the names of a class or interface */
|
|
1076
|
+
interface NamedTemplateItem {
|
|
1077
|
+
|
|
1078
|
+
/** Readable name. The name people will read */
|
|
1079
|
+
'nameReadable': string
|
|
1080
|
+
/** Readable name (plural). The plural form of the name people will read */
|
|
1081
|
+
'nameReadablePlural': string
|
|
1082
|
+
/** Camel case name. camelCase version of the name */
|
|
1083
|
+
'nameCamel': string
|
|
1084
|
+
/** Plural camel case name. camelCase version of the name */
|
|
1085
|
+
'nameCamelPlural'?: string| undefined | null
|
|
1086
|
+
/** Pascal case name. PascalCase of the name */
|
|
1087
|
+
'namePascal'?: string| undefined | null
|
|
1088
|
+
/** Plural Pascal case name. PascalCase of the name */
|
|
1089
|
+
'namePascalPlural'?: string| undefined | null
|
|
1090
|
+
/** Constant case name. CONST_CASE of the name */
|
|
1091
|
+
'nameConst'?: string| undefined | null
|
|
1092
|
+
/** Kebab case name. kebab-case of the name */
|
|
1093
|
+
'nameKebab'?: string| undefined | null
|
|
1094
|
+
/** Snake case name. snake_case of the name */
|
|
1095
|
+
'nameSnake'?: string| undefined | null
|
|
1096
|
+
/** Snake case name (plural). snakes_case of the name */
|
|
1097
|
+
'nameSnakePlural'?: string| undefined | null
|
|
1098
|
+
/** Description. Describe a bit more here */
|
|
1099
|
+
'description'?: string| undefined | null
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1102
|
+
interface NamedTemplateItemSchema extends SpruceSchema.Schema {
|
|
1103
|
+
id: 'namedTemplateItem',
|
|
1104
|
+
version: 'v2020_07_22',
|
|
1105
|
+
namespace: 'SpruceCli',
|
|
1106
|
+
name: 'NamedTemplateItem',
|
|
1107
|
+
description: 'Used to collect input on the names of a class or interface',
|
|
1108
|
+
fields: {
|
|
1109
|
+
/** Readable name. The name people will read */
|
|
1110
|
+
'nameReadable': {
|
|
1111
|
+
label: 'Readable name',
|
|
1112
|
+
type: 'text',
|
|
1113
|
+
isRequired: true,
|
|
1114
|
+
hint: 'The name people will read',
|
|
1115
|
+
options: undefined
|
|
1116
|
+
},
|
|
1117
|
+
/** Readable name (plural). The plural form of the name people will read */
|
|
1118
|
+
'nameReadablePlural': {
|
|
1119
|
+
label: 'Readable name (plural)',
|
|
1120
|
+
type: 'text',
|
|
1121
|
+
isRequired: true,
|
|
1122
|
+
hint: 'The plural form of the name people will read',
|
|
1123
|
+
options: undefined
|
|
1124
|
+
},
|
|
1125
|
+
/** Camel case name. camelCase version of the name */
|
|
1126
|
+
'nameCamel': {
|
|
1127
|
+
label: 'Camel case name',
|
|
1128
|
+
type: 'text',
|
|
1129
|
+
isRequired: true,
|
|
1130
|
+
hint: 'camelCase version of the name',
|
|
1131
|
+
options: undefined
|
|
1132
|
+
},
|
|
1133
|
+
/** Plural camel case name. camelCase version of the name */
|
|
1134
|
+
'nameCamelPlural': {
|
|
1135
|
+
label: 'Plural camel case name',
|
|
1136
|
+
type: 'text',
|
|
1137
|
+
hint: 'camelCase version of the name',
|
|
1138
|
+
options: undefined
|
|
1139
|
+
},
|
|
1140
|
+
/** Pascal case name. PascalCase of the name */
|
|
1141
|
+
'namePascal': {
|
|
1142
|
+
label: 'Pascal case name',
|
|
1143
|
+
type: 'text',
|
|
1144
|
+
hint: 'PascalCase of the name',
|
|
1145
|
+
options: undefined
|
|
1146
|
+
},
|
|
1147
|
+
/** Plural Pascal case name. PascalCase of the name */
|
|
1148
|
+
'namePascalPlural': {
|
|
1149
|
+
label: 'Plural Pascal case name',
|
|
1150
|
+
type: 'text',
|
|
1151
|
+
hint: 'PascalCase of the name',
|
|
1152
|
+
options: undefined
|
|
1153
|
+
},
|
|
1154
|
+
/** Constant case name. CONST_CASE of the name */
|
|
1155
|
+
'nameConst': {
|
|
1156
|
+
label: 'Constant case name',
|
|
1157
|
+
type: 'text',
|
|
1158
|
+
hint: 'CONST_CASE of the name',
|
|
1159
|
+
options: undefined
|
|
1160
|
+
},
|
|
1161
|
+
/** Kebab case name. kebab-case of the name */
|
|
1162
|
+
'nameKebab': {
|
|
1163
|
+
label: 'Kebab case name',
|
|
1164
|
+
type: 'text',
|
|
1165
|
+
hint: 'kebab-case of the name',
|
|
1166
|
+
options: undefined
|
|
1167
|
+
},
|
|
1168
|
+
/** Snake case name. snake_case of the name */
|
|
1169
|
+
'nameSnake': {
|
|
1170
|
+
label: 'Snake case name',
|
|
1171
|
+
type: 'text',
|
|
1172
|
+
hint: 'snake_case of the name',
|
|
1173
|
+
options: undefined
|
|
1174
|
+
},
|
|
1175
|
+
/** Snake case name (plural). snakes_case of the name */
|
|
1176
|
+
'nameSnakePlural': {
|
|
1177
|
+
label: 'Snake case name (plural)',
|
|
1178
|
+
type: 'text',
|
|
1179
|
+
hint: 'snakes_case of the name',
|
|
1180
|
+
options: undefined
|
|
1181
|
+
},
|
|
1182
|
+
/** Description. Describe a bit more here */
|
|
1183
|
+
'description': {
|
|
1184
|
+
label: 'Description',
|
|
1185
|
+
type: 'text',
|
|
1186
|
+
hint: 'Describe a bit more here',
|
|
1187
|
+
options: undefined
|
|
1188
|
+
},
|
|
1189
|
+
}
|
|
1190
|
+
}
|
|
1191
|
+
|
|
1192
|
+
interface NamedTemplateItemEntity extends SchemaEntity<SpruceSchemas.SpruceCli.v2020_07_22.NamedTemplateItemSchema> {}
|
|
1193
|
+
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
|
|
1197
|
+
namespace SpruceSchemas.SpruceCli.v2020_07_22 {
|
|
1198
|
+
|
|
1199
|
+
/** Options for event.listen. */
|
|
1200
|
+
interface ListenEventOptions {
|
|
1201
|
+
|
|
1202
|
+
/** Contract destination. Where I will generate event contracts. */
|
|
1203
|
+
'contractDestinationDir'?: string| undefined | null
|
|
1204
|
+
/** Schema types lookup directory. Where I will lookup schema types and interfaces. */
|
|
1205
|
+
'schemaTypesLookupDir'?: string| undefined | null
|
|
1206
|
+
/** Sync only core events. For use in @sprucelabs/mercury-types */
|
|
1207
|
+
'shouldSyncOnlyCoreEvents'?: boolean| undefined | null
|
|
1208
|
+
/** Event signature types file. */
|
|
1209
|
+
'skillEventContractTypesFile'?: string| undefined | null
|
|
1210
|
+
/** Event builder file. */
|
|
1211
|
+
'eventBuilderFile'?: string| undefined | null
|
|
1212
|
+
/** Namespace. */
|
|
1213
|
+
'namespace'?: string| undefined | null
|
|
1214
|
+
/** Event name. */
|
|
1215
|
+
'eventName'?: string| undefined | null
|
|
1216
|
+
/** Events destination directory. Where should I add your listeners? */
|
|
1217
|
+
'listenerDestinationDir'?: string| undefined | null
|
|
1218
|
+
/** Version. Set a version yourself instead of letting me generate one for you */
|
|
1219
|
+
'version'?: string| undefined | null
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
interface ListenEventOptionsSchema extends SpruceSchema.Schema {
|
|
1223
|
+
id: 'listenEventOptions',
|
|
1224
|
+
version: 'v2020_07_22',
|
|
1225
|
+
namespace: 'SpruceCli',
|
|
1226
|
+
name: 'Listen to event action',
|
|
1227
|
+
description: 'Options for event.listen.',
|
|
1228
|
+
fields: {
|
|
1229
|
+
/** Contract destination. Where I will generate event contracts. */
|
|
1230
|
+
'contractDestinationDir': {
|
|
1231
|
+
label: 'Contract destination',
|
|
1232
|
+
type: 'text',
|
|
1233
|
+
hint: 'Where I will generate event contracts.',
|
|
1234
|
+
defaultValue: "#spruce/events",
|
|
1235
|
+
options: undefined
|
|
1236
|
+
},
|
|
1237
|
+
/** Schema types lookup directory. Where I will lookup schema types and interfaces. */
|
|
1238
|
+
'schemaTypesLookupDir': {
|
|
1239
|
+
label: 'Schema types lookup directory',
|
|
1240
|
+
type: 'text',
|
|
1241
|
+
hint: 'Where I will lookup schema types and interfaces.',
|
|
1242
|
+
defaultValue: "#spruce/schemas",
|
|
1243
|
+
options: undefined
|
|
1244
|
+
},
|
|
1245
|
+
/** Sync only core events. For use in @sprucelabs/mercury-types */
|
|
1246
|
+
'shouldSyncOnlyCoreEvents': {
|
|
1247
|
+
label: 'Sync only core events',
|
|
1248
|
+
type: 'boolean',
|
|
1249
|
+
hint: 'For use in @sprucelabs/mercury-types',
|
|
1250
|
+
options: undefined
|
|
1251
|
+
},
|
|
1252
|
+
/** Event signature types file. */
|
|
1253
|
+
'skillEventContractTypesFile': {
|
|
1254
|
+
label: 'Event signature types file',
|
|
1255
|
+
type: 'text',
|
|
1256
|
+
defaultValue: "@sprucelabs/mercury-types/build/types/mercury.types",
|
|
1257
|
+
options: undefined
|
|
1258
|
+
},
|
|
1259
|
+
/** Event builder file. */
|
|
1260
|
+
'eventBuilderFile': {
|
|
1261
|
+
label: 'Event builder file',
|
|
1262
|
+
type: 'text',
|
|
1263
|
+
defaultValue: "@sprucelabs/mercury-types",
|
|
1264
|
+
options: undefined
|
|
1265
|
+
},
|
|
1266
|
+
/** Namespace. */
|
|
1267
|
+
'namespace': {
|
|
1268
|
+
label: 'Namespace',
|
|
1269
|
+
type: 'text',
|
|
1270
|
+
options: undefined
|
|
1271
|
+
},
|
|
1272
|
+
/** Event name. */
|
|
1273
|
+
'eventName': {
|
|
1274
|
+
label: 'Event name',
|
|
1275
|
+
type: 'text',
|
|
1276
|
+
options: undefined
|
|
1277
|
+
},
|
|
1278
|
+
/** Events destination directory. Where should I add your listeners? */
|
|
1279
|
+
'listenerDestinationDir': {
|
|
1280
|
+
label: 'Events destination directory',
|
|
1281
|
+
type: 'text',
|
|
1282
|
+
hint: 'Where should I add your listeners?',
|
|
1283
|
+
defaultValue: "src/listeners",
|
|
1284
|
+
options: undefined
|
|
1285
|
+
},
|
|
1286
|
+
/** Version. Set a version yourself instead of letting me generate one for you */
|
|
1287
|
+
'version': {
|
|
1288
|
+
label: 'Version',
|
|
1289
|
+
type: 'text',
|
|
1290
|
+
isPrivate: true,
|
|
1291
|
+
hint: 'Set a version yourself instead of letting me generate one for you',
|
|
1292
|
+
options: undefined
|
|
1293
|
+
},
|
|
1294
|
+
}
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
interface ListenEventOptionsEntity extends SchemaEntity<SpruceSchemas.SpruceCli.v2020_07_22.ListenEventOptionsSchema> {}
|
|
1298
|
+
|
|
1299
|
+
}
|
|
1300
|
+
|
|
1301
|
+
|
|
1302
|
+
namespace SpruceSchemas.SpruceCli.v2020_07_22 {
|
|
1303
|
+
|
|
1304
|
+
/** Install your skill at any organization you are connected to. */
|
|
1305
|
+
interface InstallSkillAtOrganizationOptions {
|
|
1306
|
+
|
|
1307
|
+
/** Organization id. */
|
|
1308
|
+
'organizationId'?: string| undefined | null
|
|
1309
|
+
}
|
|
1310
|
+
|
|
1311
|
+
interface InstallSkillAtOrganizationOptionsSchema extends SpruceSchema.Schema {
|
|
1312
|
+
id: 'installSkillAtOrganizationOptions',
|
|
1313
|
+
version: 'v2020_07_22',
|
|
1314
|
+
namespace: 'SpruceCli',
|
|
1315
|
+
name: 'install skill at organization action',
|
|
1316
|
+
description: 'Install your skill at any organization you are connected to.',
|
|
1317
|
+
fields: {
|
|
1318
|
+
/** Organization id. */
|
|
1319
|
+
'organizationId': {
|
|
1320
|
+
label: 'Organization id',
|
|
1321
|
+
type: 'id',
|
|
1322
|
+
options: undefined
|
|
1323
|
+
},
|
|
1324
|
+
}
|
|
1325
|
+
}
|
|
1326
|
+
|
|
1327
|
+
interface InstallSkillAtOrganizationOptionsEntity extends SchemaEntity<SpruceSchemas.SpruceCli.v2020_07_22.InstallSkillAtOrganizationOptionsSchema> {}
|
|
1328
|
+
|
|
1329
|
+
}
|
|
1330
|
+
|
|
1331
|
+
|
|
1332
|
+
namespace SpruceSchemas.SpruceCli.v2020_07_22 {
|
|
1333
|
+
|
|
1334
|
+
/** Your first failing test just a command away! ⚔️ */
|
|
1335
|
+
interface CreateTestOptions {
|
|
1336
|
+
|
|
1337
|
+
/** Type of test. */
|
|
1338
|
+
'type': ("behavioral" | "implementation")
|
|
1339
|
+
/** What are you testing?. E.g. Todo Card or Systems List */
|
|
1340
|
+
'nameReadable': string
|
|
1341
|
+
/** Test destination directory. Where I'll save your new test. */
|
|
1342
|
+
'testDestinationDir'?: string| undefined | null
|
|
1343
|
+
/** Camel case name. camelCase version of the name */
|
|
1344
|
+
'nameCamel': string
|
|
1345
|
+
/** Pascal case name. PascalCase of the name */
|
|
1346
|
+
'namePascal'?: string| undefined | null
|
|
1347
|
+
}
|
|
1348
|
+
|
|
1349
|
+
interface CreateTestOptionsSchema extends SpruceSchema.Schema {
|
|
1350
|
+
id: 'createTestOptions',
|
|
1351
|
+
version: 'v2020_07_22',
|
|
1352
|
+
namespace: 'SpruceCli',
|
|
1353
|
+
name: 'Create test action',
|
|
1354
|
+
description: 'Your first failing test just a command away! ⚔️',
|
|
1355
|
+
fields: {
|
|
1356
|
+
/** Type of test. */
|
|
1357
|
+
'type': {
|
|
1358
|
+
label: 'Type of test',
|
|
1359
|
+
type: 'select',
|
|
1360
|
+
isRequired: true,
|
|
1361
|
+
options: {choices: [{"value":"behavioral","label":"Behavioral"},{"value":"implementation","label":"Implementation"}],}
|
|
1362
|
+
},
|
|
1363
|
+
/** What are you testing?. E.g. Todo Card or Systems List */
|
|
1364
|
+
'nameReadable': {
|
|
1365
|
+
label: 'What are you testing?',
|
|
1366
|
+
type: 'text',
|
|
1367
|
+
isRequired: true,
|
|
1368
|
+
hint: 'E.g. Todo Card or Systems List',
|
|
1369
|
+
options: undefined
|
|
1370
|
+
},
|
|
1371
|
+
/** Test destination directory. Where I'll save your new test. */
|
|
1372
|
+
'testDestinationDir': {
|
|
1373
|
+
label: 'Test destination directory',
|
|
1374
|
+
type: 'text',
|
|
1375
|
+
hint: 'Where I\'ll save your new test.',
|
|
1376
|
+
defaultValue: "src/__tests__",
|
|
1377
|
+
options: undefined
|
|
1378
|
+
},
|
|
1379
|
+
/** Camel case name. camelCase version of the name */
|
|
1380
|
+
'nameCamel': {
|
|
1381
|
+
label: 'Camel case name',
|
|
1382
|
+
type: 'text',
|
|
1383
|
+
isRequired: true,
|
|
1384
|
+
hint: 'camelCase version of the name',
|
|
1385
|
+
options: undefined
|
|
1386
|
+
},
|
|
1387
|
+
/** Pascal case name. PascalCase of the name */
|
|
1388
|
+
'namePascal': {
|
|
1389
|
+
label: 'Pascal case name',
|
|
1390
|
+
type: 'text',
|
|
1391
|
+
hint: 'PascalCase of the name',
|
|
1392
|
+
options: undefined
|
|
1393
|
+
},
|
|
1394
|
+
}
|
|
1395
|
+
}
|
|
1396
|
+
|
|
1397
|
+
interface CreateTestOptionsEntity extends SchemaEntity<SpruceSchemas.SpruceCli.v2020_07_22.CreateTestOptionsSchema> {}
|
|
1398
|
+
|
|
1399
|
+
}
|
|
1400
|
+
|
|
1401
|
+
|
|
1402
|
+
namespace SpruceSchemas.SpruceCli.v2020_07_22 {
|
|
1403
|
+
|
|
1404
|
+
/** Create the builder to a fresh new schema! */
|
|
1405
|
+
interface CreateSchemaOptions {
|
|
1406
|
+
|
|
1407
|
+
/** Field types directory. Where field types and interfaces will be generated. */
|
|
1408
|
+
'fieldTypesDestinationDir'?: string| undefined | null
|
|
1409
|
+
/** Addons lookup directory. Where I'll look for new schema fields to be registered. */
|
|
1410
|
+
'addonsLookupDir'?: string| undefined | null
|
|
1411
|
+
/** Generate field types. Should I generate field types too? */
|
|
1412
|
+
'generateFieldTypes'?: boolean| undefined | null
|
|
1413
|
+
/** Schema types destination directory. Where I will generate schema types and interfaces. */
|
|
1414
|
+
'schemaTypesDestinationDirOrFile'?: string| undefined | null
|
|
1415
|
+
/** . Where I should look for your schema builders? */
|
|
1416
|
+
'schemaLookupDir'?: string| undefined | null
|
|
1417
|
+
/** Source module. If this schema should be imported from a node module vs generated locally. */
|
|
1418
|
+
'moduleToImportFromWhenRemote'?: string| undefined | null
|
|
1419
|
+
/** Auto install missing dependencies. */
|
|
1420
|
+
'shouldInstallMissingDependencies'?: boolean| undefined | null
|
|
1421
|
+
/** Enable versioning. Should we use versioning? */
|
|
1422
|
+
'shouldEnableVersioning'?: boolean| undefined | null
|
|
1423
|
+
/** Global namespace. The name you'll use when accessing these schemas, e.g. SpruceSchemas */
|
|
1424
|
+
'globalSchemaNamespace'?: string| undefined | null
|
|
1425
|
+
/** Fetch remote schemas. I will pull in schemas from other features. */
|
|
1426
|
+
'shouldFetchRemoteSchemas'?: boolean| undefined | null
|
|
1427
|
+
/** Fetch local schemas. I will look in schemaLookupDir to load local schemas. */
|
|
1428
|
+
'shouldFetchLocalSchemas'?: boolean| undefined | null
|
|
1429
|
+
/** Fetch core schemas. Should I pull in core schemas too? */
|
|
1430
|
+
'shouldFetchCoreSchemas'?: boolean| undefined | null
|
|
1431
|
+
/** Generate core schemas. Used only for updating the @sprucelabs/spruce-core-schemas. Ensures core schemas are generated like local schemas. Also an alias for `--shouldFetchRemoteSchemas=false --shouldFetchCoreSchemas=false --generateStandaloneTypesFile. */
|
|
1432
|
+
'shouldGenerateCoreSchemaTypes'?: boolean| undefined | null
|
|
1433
|
+
/** Register built schemas. Should the schemas use the SchemaRegistry for tracking? */
|
|
1434
|
+
'registerBuiltSchemas'?: boolean| undefined | null
|
|
1435
|
+
/** Delete directory if no schemas. Should I delete the schema directory if no schemas are found? */
|
|
1436
|
+
'deleteDestinationDirIfNoSchemas'?: boolean| undefined | null
|
|
1437
|
+
/** Delete orphaned schemas. Should I delete schemas where the builders are missing? */
|
|
1438
|
+
'deleteOrphanedSchemas'?: boolean| undefined | null
|
|
1439
|
+
/** Generate standalone types file. By default, I'll generate a types file that augments core types from @sprucelabs/spruce-core-schemas. Setting this to true will generate a stand alone types file. */
|
|
1440
|
+
'generateStandaloneTypesFile'?: boolean| undefined | null
|
|
1441
|
+
/** message. */
|
|
1442
|
+
'syncingMessage'?: string| undefined | null
|
|
1443
|
+
/** Schema builder destination directory. Where I'll save the new schema builder. */
|
|
1444
|
+
'schemaBuilderDestinationDir'?: string| undefined | null
|
|
1445
|
+
/** Builder function. The function that builds this schema */
|
|
1446
|
+
'builderFunction'?: string| undefined | null
|
|
1447
|
+
/** Sync after creation. This will ensure types and schemas are in sync after you create your builder. */
|
|
1448
|
+
'syncAfterCreate'?: boolean| undefined | null
|
|
1449
|
+
/** Version. Set a version yourself instead of letting me generate one for you */
|
|
1450
|
+
'version'?: string| undefined | null
|
|
1451
|
+
/** Readable name. The name people will read */
|
|
1452
|
+
'nameReadable': string
|
|
1453
|
+
/** Pascal case name. PascalCase of the name */
|
|
1454
|
+
'namePascal'?: string| undefined | null
|
|
1455
|
+
/** Camel case name. camelCase version of the name */
|
|
1456
|
+
'nameCamel': string
|
|
1457
|
+
/** Description. Describe a bit more here */
|
|
1458
|
+
'description'?: string| undefined | null
|
|
1459
|
+
}
|
|
1460
|
+
|
|
1461
|
+
interface CreateSchemaOptionsSchema extends SpruceSchema.Schema {
|
|
1462
|
+
id: 'createSchemaOptions',
|
|
1463
|
+
version: 'v2020_07_22',
|
|
1464
|
+
namespace: 'SpruceCli',
|
|
1465
|
+
name: 'Create schema',
|
|
1466
|
+
description: 'Create the builder to a fresh new schema!',
|
|
1467
|
+
fields: {
|
|
1468
|
+
/** Field types directory. Where field types and interfaces will be generated. */
|
|
1469
|
+
'fieldTypesDestinationDir': {
|
|
1470
|
+
label: 'Field types directory',
|
|
1471
|
+
type: 'text',
|
|
1472
|
+
isPrivate: true,
|
|
1473
|
+
hint: 'Where field types and interfaces will be generated.',
|
|
1474
|
+
defaultValue: "#spruce/schemas",
|
|
1475
|
+
options: undefined
|
|
1476
|
+
},
|
|
1477
|
+
/** Addons lookup directory. Where I'll look for new schema fields to be registered. */
|
|
1478
|
+
'addonsLookupDir': {
|
|
1479
|
+
label: 'Addons lookup directory',
|
|
1480
|
+
type: 'text',
|
|
1481
|
+
hint: 'Where I\'ll look for new schema fields to be registered.',
|
|
1482
|
+
defaultValue: "src/addons",
|
|
1483
|
+
options: undefined
|
|
1484
|
+
},
|
|
1485
|
+
/** Generate field types. Should I generate field types too? */
|
|
1486
|
+
'generateFieldTypes': {
|
|
1487
|
+
label: 'Generate field types',
|
|
1488
|
+
type: 'boolean',
|
|
1489
|
+
isPrivate: true,
|
|
1490
|
+
hint: 'Should I generate field types too?',
|
|
1491
|
+
defaultValue: true,
|
|
1492
|
+
options: undefined
|
|
1493
|
+
},
|
|
1494
|
+
/** Schema types destination directory. Where I will generate schema types and interfaces. */
|
|
1495
|
+
'schemaTypesDestinationDirOrFile': {
|
|
1496
|
+
label: 'Schema types destination directory',
|
|
1497
|
+
type: 'text',
|
|
1498
|
+
hint: 'Where I will generate schema types and interfaces.',
|
|
1499
|
+
defaultValue: "#spruce/schemas",
|
|
1500
|
+
options: undefined
|
|
1501
|
+
},
|
|
1502
|
+
/** . Where I should look for your schema builders? */
|
|
1503
|
+
'schemaLookupDir': {
|
|
1504
|
+
type: 'text',
|
|
1505
|
+
hint: 'Where I should look for your schema builders?',
|
|
1506
|
+
defaultValue: "src/schemas",
|
|
1507
|
+
options: undefined
|
|
1508
|
+
},
|
|
1509
|
+
/** Source module. If this schema should be imported from a node module vs generated locally. */
|
|
1510
|
+
'moduleToImportFromWhenRemote': {
|
|
1511
|
+
label: 'Source module',
|
|
1512
|
+
type: 'text',
|
|
1513
|
+
hint: 'If this schema should be imported from a node module vs generated locally.',
|
|
1514
|
+
options: undefined
|
|
1515
|
+
},
|
|
1516
|
+
/** Auto install missing dependencies. */
|
|
1517
|
+
'shouldInstallMissingDependencies': {
|
|
1518
|
+
label: 'Auto install missing dependencies',
|
|
1519
|
+
type: 'boolean',
|
|
1520
|
+
options: undefined
|
|
1521
|
+
},
|
|
1522
|
+
/** Enable versioning. Should we use versioning? */
|
|
1523
|
+
'shouldEnableVersioning': {
|
|
1524
|
+
label: 'Enable versioning',
|
|
1525
|
+
type: 'boolean',
|
|
1526
|
+
isPrivate: true,
|
|
1527
|
+
hint: 'Should we use versioning?',
|
|
1528
|
+
defaultValue: true,
|
|
1529
|
+
options: undefined
|
|
1530
|
+
},
|
|
1531
|
+
/** Global namespace. The name you'll use when accessing these schemas, e.g. SpruceSchemas */
|
|
1532
|
+
'globalSchemaNamespace': {
|
|
1533
|
+
label: 'Global namespace',
|
|
1534
|
+
type: 'text',
|
|
1535
|
+
isPrivate: true,
|
|
1536
|
+
hint: 'The name you\'ll use when accessing these schemas, e.g. SpruceSchemas',
|
|
1537
|
+
defaultValue: "SpruceSchemas",
|
|
1538
|
+
options: undefined
|
|
1539
|
+
},
|
|
1540
|
+
/** Fetch remote schemas. I will pull in schemas from other features. */
|
|
1541
|
+
'shouldFetchRemoteSchemas': {
|
|
1542
|
+
label: 'Fetch remote schemas',
|
|
1543
|
+
type: 'boolean',
|
|
1544
|
+
isPrivate: true,
|
|
1545
|
+
hint: 'I will pull in schemas from other features.',
|
|
1546
|
+
defaultValue: true,
|
|
1547
|
+
options: undefined
|
|
1548
|
+
},
|
|
1549
|
+
/** Fetch local schemas. I will look in schemaLookupDir to load local schemas. */
|
|
1550
|
+
'shouldFetchLocalSchemas': {
|
|
1551
|
+
label: 'Fetch local schemas',
|
|
1552
|
+
type: 'boolean',
|
|
1553
|
+
isPrivate: true,
|
|
1554
|
+
hint: 'I will look in schemaLookupDir to load local schemas.',
|
|
1555
|
+
defaultValue: true,
|
|
1556
|
+
options: undefined
|
|
1557
|
+
},
|
|
1558
|
+
/** Fetch core schemas. Should I pull in core schemas too? */
|
|
1559
|
+
'shouldFetchCoreSchemas': {
|
|
1560
|
+
label: 'Fetch core schemas',
|
|
1561
|
+
type: 'boolean',
|
|
1562
|
+
isPrivate: true,
|
|
1563
|
+
hint: 'Should I pull in core schemas too?',
|
|
1564
|
+
defaultValue: true,
|
|
1565
|
+
options: undefined
|
|
1566
|
+
},
|
|
1567
|
+
/** Generate core schemas. Used only for updating the @sprucelabs/spruce-core-schemas. Ensures core schemas are generated like local schemas. Also an alias for `--shouldFetchRemoteSchemas=false --shouldFetchCoreSchemas=false --generateStandaloneTypesFile. */
|
|
1568
|
+
'shouldGenerateCoreSchemaTypes': {
|
|
1569
|
+
label: 'Generate core schemas',
|
|
1570
|
+
type: 'boolean',
|
|
1571
|
+
isPrivate: true,
|
|
1572
|
+
hint: 'Used only for updating the @sprucelabs/spruce-core-schemas. Ensures core schemas are generated like local schemas. Also an alias for `--shouldFetchRemoteSchemas=false --shouldFetchCoreSchemas=false --generateStandaloneTypesFile.',
|
|
1573
|
+
options: undefined
|
|
1574
|
+
},
|
|
1575
|
+
/** Register built schemas. Should the schemas use the SchemaRegistry for tracking? */
|
|
1576
|
+
'registerBuiltSchemas': {
|
|
1577
|
+
label: 'Register built schemas',
|
|
1578
|
+
type: 'boolean',
|
|
1579
|
+
isPrivate: true,
|
|
1580
|
+
hint: 'Should the schemas use the SchemaRegistry for tracking?',
|
|
1581
|
+
defaultValue: true,
|
|
1582
|
+
options: undefined
|
|
1583
|
+
},
|
|
1584
|
+
/** Delete directory if no schemas. Should I delete the schema directory if no schemas are found? */
|
|
1585
|
+
'deleteDestinationDirIfNoSchemas': {
|
|
1586
|
+
label: 'Delete directory if no schemas',
|
|
1587
|
+
type: 'boolean',
|
|
1588
|
+
isPrivate: true,
|
|
1589
|
+
hint: 'Should I delete the schema directory if no schemas are found?',
|
|
1590
|
+
defaultValue: false,
|
|
1591
|
+
options: undefined
|
|
1592
|
+
},
|
|
1593
|
+
/** Delete orphaned schemas. Should I delete schemas where the builders are missing? */
|
|
1594
|
+
'deleteOrphanedSchemas': {
|
|
1595
|
+
label: 'Delete orphaned schemas',
|
|
1596
|
+
type: 'boolean',
|
|
1597
|
+
isPrivate: true,
|
|
1598
|
+
hint: 'Should I delete schemas where the builders are missing?',
|
|
1599
|
+
defaultValue: true,
|
|
1600
|
+
options: undefined
|
|
1601
|
+
},
|
|
1602
|
+
/** Generate standalone types file. By default, I'll generate a types file that augments core types from @sprucelabs/spruce-core-schemas. Setting this to true will generate a stand alone types file. */
|
|
1603
|
+
'generateStandaloneTypesFile': {
|
|
1604
|
+
label: 'Generate standalone types file',
|
|
1605
|
+
type: 'boolean',
|
|
1606
|
+
isPrivate: true,
|
|
1607
|
+
hint: 'By default, I\'ll generate a types file that augments core types from @sprucelabs/spruce-core-schemas. Setting this to true will generate a stand alone types file.',
|
|
1608
|
+
defaultValue: false,
|
|
1609
|
+
options: undefined
|
|
1610
|
+
},
|
|
1611
|
+
/** message. */
|
|
1612
|
+
'syncingMessage': {
|
|
1613
|
+
label: ' message',
|
|
1614
|
+
type: 'text',
|
|
1615
|
+
isPrivate: true,
|
|
1616
|
+
defaultValue: "Syncing schemas...",
|
|
1617
|
+
options: undefined
|
|
1618
|
+
},
|
|
1619
|
+
/** Schema builder destination directory. Where I'll save the new schema builder. */
|
|
1620
|
+
'schemaBuilderDestinationDir': {
|
|
1621
|
+
label: 'Schema builder destination directory',
|
|
1622
|
+
type: 'text',
|
|
1623
|
+
hint: 'Where I\'ll save the new schema builder.',
|
|
1624
|
+
defaultValue: "src/schemas",
|
|
1625
|
+
options: undefined
|
|
1626
|
+
},
|
|
1627
|
+
/** Builder function. The function that builds this schema */
|
|
1628
|
+
'builderFunction': {
|
|
1629
|
+
label: 'Builder function',
|
|
1630
|
+
type: 'text',
|
|
1631
|
+
isPrivate: true,
|
|
1632
|
+
hint: 'The function that builds this schema',
|
|
1633
|
+
defaultValue: "buildSchema",
|
|
1634
|
+
options: undefined
|
|
1635
|
+
},
|
|
1636
|
+
/** Sync after creation. This will ensure types and schemas are in sync after you create your builder. */
|
|
1637
|
+
'syncAfterCreate': {
|
|
1638
|
+
label: 'Sync after creation',
|
|
1639
|
+
type: 'boolean',
|
|
1640
|
+
isPrivate: true,
|
|
1641
|
+
hint: 'This will ensure types and schemas are in sync after you create your builder.',
|
|
1642
|
+
defaultValue: true,
|
|
1643
|
+
options: undefined
|
|
1644
|
+
},
|
|
1645
|
+
/** Version. Set a version yourself instead of letting me generate one for you */
|
|
1646
|
+
'version': {
|
|
1647
|
+
label: 'Version',
|
|
1648
|
+
type: 'text',
|
|
1649
|
+
isPrivate: true,
|
|
1650
|
+
hint: 'Set a version yourself instead of letting me generate one for you',
|
|
1651
|
+
options: undefined
|
|
1652
|
+
},
|
|
1653
|
+
/** Readable name. The name people will read */
|
|
1654
|
+
'nameReadable': {
|
|
1655
|
+
label: 'Readable name',
|
|
1656
|
+
type: 'text',
|
|
1657
|
+
isRequired: true,
|
|
1658
|
+
hint: 'The name people will read',
|
|
1659
|
+
options: undefined
|
|
1660
|
+
},
|
|
1661
|
+
/** Pascal case name. PascalCase of the name */
|
|
1662
|
+
'namePascal': {
|
|
1663
|
+
label: 'Pascal case name',
|
|
1664
|
+
type: 'text',
|
|
1665
|
+
hint: 'PascalCase of the name',
|
|
1666
|
+
options: undefined
|
|
1667
|
+
},
|
|
1668
|
+
/** Camel case name. camelCase version of the name */
|
|
1669
|
+
'nameCamel': {
|
|
1670
|
+
label: 'Camel case name',
|
|
1671
|
+
type: 'text',
|
|
1672
|
+
isRequired: true,
|
|
1673
|
+
hint: 'camelCase version of the name',
|
|
1674
|
+
options: undefined
|
|
1675
|
+
},
|
|
1676
|
+
/** Description. Describe a bit more here */
|
|
1677
|
+
'description': {
|
|
1678
|
+
label: 'Description',
|
|
1679
|
+
type: 'text',
|
|
1680
|
+
hint: 'Describe a bit more here',
|
|
1681
|
+
options: undefined
|
|
1682
|
+
},
|
|
1683
|
+
}
|
|
1684
|
+
}
|
|
1685
|
+
|
|
1686
|
+
interface CreateSchemaOptionsEntity extends SchemaEntity<SpruceSchemas.SpruceCli.v2020_07_22.CreateSchemaOptionsSchema> {}
|
|
1687
|
+
|
|
1688
|
+
}
|
|
1689
|
+
|
|
1690
|
+
|
|
1691
|
+
namespace SpruceSchemas.SpruceCli.v2020_07_22 {
|
|
1692
|
+
|
|
1693
|
+
/** Skills can only communicate with people and skills associated with the same organization. This ensures people can get differentiated experiences across multiple businesses. */
|
|
1694
|
+
interface CreateOrganizationOptions {
|
|
1695
|
+
|
|
1696
|
+
/** Name. The name people will read */
|
|
1697
|
+
'nameReadable': string
|
|
1698
|
+
/** Slug. kebab-case of the name */
|
|
1699
|
+
'nameKebab'?: string| undefined | null
|
|
1700
|
+
}
|
|
1701
|
+
|
|
1702
|
+
interface CreateOrganizationOptionsSchema extends SpruceSchema.Schema {
|
|
1703
|
+
id: 'createOrganizationOptions',
|
|
1704
|
+
version: 'v2020_07_22',
|
|
1705
|
+
namespace: 'SpruceCli',
|
|
1706
|
+
name: 'create organization action',
|
|
1707
|
+
description: 'Skills can only communicate with people and skills associated with the same organization. This ensures people can get differentiated experiences across multiple businesses.',
|
|
1708
|
+
fields: {
|
|
1709
|
+
/** Name. The name people will read */
|
|
1710
|
+
'nameReadable': {
|
|
1711
|
+
label: 'Name',
|
|
1712
|
+
type: 'text',
|
|
1713
|
+
isRequired: true,
|
|
1714
|
+
hint: 'The name people will read',
|
|
1715
|
+
options: undefined
|
|
1716
|
+
},
|
|
1717
|
+
/** Slug. kebab-case of the name */
|
|
1718
|
+
'nameKebab': {
|
|
1719
|
+
label: 'Slug',
|
|
1720
|
+
type: 'text',
|
|
1721
|
+
hint: 'kebab-case of the name',
|
|
1722
|
+
options: undefined
|
|
1723
|
+
},
|
|
1724
|
+
}
|
|
1725
|
+
}
|
|
1726
|
+
|
|
1727
|
+
interface CreateOrganizationOptionsEntity extends SchemaEntity<SpruceSchemas.SpruceCli.v2020_07_22.CreateOrganizationOptionsSchema> {}
|
|
1728
|
+
|
|
1729
|
+
}
|
|
1730
|
+
|
|
1731
|
+
|
|
1732
|
+
namespace SpruceSchemas.SpruceCli.v2020_07_22 {
|
|
1733
|
+
|
|
1734
|
+
/** Create a builder for your brand new error! */
|
|
1735
|
+
interface CreateErrorOptions {
|
|
1736
|
+
|
|
1737
|
+
/** Field types directory. Where field types and interfaces will be generated. */
|
|
1738
|
+
'fieldTypesDestinationDir'?: string| undefined | null
|
|
1739
|
+
/** Addons lookup directory. Where I'll look for new schema fields to be registered. */
|
|
1740
|
+
'addonsLookupDir'?: string| undefined | null
|
|
1741
|
+
/** Generate field types. Should I generate field types too? */
|
|
1742
|
+
'generateFieldTypes'?: boolean| undefined | null
|
|
1743
|
+
/** Schema types destination directory. Where I will generate schema types and interfaces. */
|
|
1744
|
+
'schemaTypesDestinationDirOrFile'?: string| undefined | null
|
|
1745
|
+
/** . Where I should look for your schema builders? */
|
|
1746
|
+
'schemaLookupDir'?: string| undefined | null
|
|
1747
|
+
/** Module import. When other skills use your schemas, will they import them from a module? */
|
|
1748
|
+
'moduleToImportFromWhenRemote'?: string| undefined | null
|
|
1749
|
+
/** Auto install missing dependencies. */
|
|
1750
|
+
'shouldInstallMissingDependencies'?: boolean| undefined | null
|
|
1751
|
+
/** Enable versioning. Should we use versioning? */
|
|
1752
|
+
'shouldEnableVersioning'?: boolean| undefined | null
|
|
1753
|
+
/** Global namespace. The name you'll use when accessing these schemas, e.g. SpruceSchemas */
|
|
1754
|
+
'globalSchemaNamespace'?: string| undefined | null
|
|
1755
|
+
/** Fetch remote schemas. I will pull in schemas from other features. */
|
|
1756
|
+
'shouldFetchRemoteSchemas'?: boolean| undefined | null
|
|
1757
|
+
/** Fetch local schemas. I will look in schemaLookupDir to load local schemas. */
|
|
1758
|
+
'shouldFetchLocalSchemas'?: boolean| undefined | null
|
|
1759
|
+
/** Fetch core schemas. Should I pull in core schemas too? */
|
|
1760
|
+
'shouldFetchCoreSchemas'?: boolean| undefined | null
|
|
1761
|
+
/** Generate core schemas. Used only for updating the @sprucelabs/spruce-core-schemas. Ensures core schemas are generated like local schemas. Also an alias for `--shouldFetchRemoteSchemas=false --shouldFetchCoreSchemas=false --generateStandaloneTypesFile. */
|
|
1762
|
+
'shouldGenerateCoreSchemaTypes'?: boolean| undefined | null
|
|
1763
|
+
/** Register built schemas. Should the schemas use the SchemaRegistry for tracking? */
|
|
1764
|
+
'registerBuiltSchemas'?: boolean| undefined | null
|
|
1765
|
+
/** Generate standalone types file. By default, I'll generate a types file that augments core types from @sprucelabs/spruce-core-schemas. Setting this to true will generate a stand alone types file. */
|
|
1766
|
+
'generateStandaloneTypesFile'?: boolean| undefined | null
|
|
1767
|
+
/** message. */
|
|
1768
|
+
'syncingMessage'?: string| undefined | null
|
|
1769
|
+
/** Error class destination. Where I'll save your new Error class file? */
|
|
1770
|
+
'errorClassDestinationDir': string
|
|
1771
|
+
/** . Where I should look for your error builders? */
|
|
1772
|
+
'errorLookupDir'?: string| undefined | null
|
|
1773
|
+
/** Types destination dir. This is where error options and type information will be written */
|
|
1774
|
+
'errorTypesDestinationDir'?: string| undefined | null
|
|
1775
|
+
/** Error builder destination directory. Where I'll save your new builder file? */
|
|
1776
|
+
'errorBuilderDestinationDir': string
|
|
1777
|
+
/** Readable name. The name people will read */
|
|
1778
|
+
'nameReadable': string
|
|
1779
|
+
/** Pascal case name. PascalCase of the name */
|
|
1780
|
+
'namePascal'?: string| undefined | null
|
|
1781
|
+
/** Camel case name. camelCase version of the name */
|
|
1782
|
+
'nameCamel': string
|
|
1783
|
+
/** Description. Describe a bit more here */
|
|
1784
|
+
'description'?: string| undefined | null
|
|
1785
|
+
}
|
|
1786
|
+
|
|
1787
|
+
interface CreateErrorOptionsSchema extends SpruceSchema.Schema {
|
|
1788
|
+
id: 'createErrorOptions',
|
|
1789
|
+
version: 'v2020_07_22',
|
|
1790
|
+
namespace: 'SpruceCli',
|
|
1791
|
+
name: 'Create error action',
|
|
1792
|
+
description: 'Create a builder for your brand new error! ',
|
|
1793
|
+
fields: {
|
|
1794
|
+
/** Field types directory. Where field types and interfaces will be generated. */
|
|
1795
|
+
'fieldTypesDestinationDir': {
|
|
1796
|
+
label: 'Field types directory',
|
|
1797
|
+
type: 'text',
|
|
1798
|
+
isPrivate: true,
|
|
1799
|
+
hint: 'Where field types and interfaces will be generated.',
|
|
1800
|
+
defaultValue: "#spruce/schemas",
|
|
1801
|
+
options: undefined
|
|
1802
|
+
},
|
|
1803
|
+
/** Addons lookup directory. Where I'll look for new schema fields to be registered. */
|
|
1804
|
+
'addonsLookupDir': {
|
|
1805
|
+
label: 'Addons lookup directory',
|
|
1806
|
+
type: 'text',
|
|
1807
|
+
hint: 'Where I\'ll look for new schema fields to be registered.',
|
|
1808
|
+
defaultValue: "src/addons",
|
|
1809
|
+
options: undefined
|
|
1810
|
+
},
|
|
1811
|
+
/** Generate field types. Should I generate field types too? */
|
|
1812
|
+
'generateFieldTypes': {
|
|
1813
|
+
label: 'Generate field types',
|
|
1814
|
+
type: 'boolean',
|
|
1815
|
+
isPrivate: true,
|
|
1816
|
+
hint: 'Should I generate field types too?',
|
|
1817
|
+
defaultValue: true,
|
|
1818
|
+
options: undefined
|
|
1819
|
+
},
|
|
1820
|
+
/** Schema types destination directory. Where I will generate schema types and interfaces. */
|
|
1821
|
+
'schemaTypesDestinationDirOrFile': {
|
|
1822
|
+
label: 'Schema types destination directory',
|
|
1823
|
+
type: 'text',
|
|
1824
|
+
hint: 'Where I will generate schema types and interfaces.',
|
|
1825
|
+
defaultValue: "#spruce/schemas",
|
|
1826
|
+
options: undefined
|
|
1827
|
+
},
|
|
1828
|
+
/** . Where I should look for your schema builders? */
|
|
1829
|
+
'schemaLookupDir': {
|
|
1830
|
+
type: 'text',
|
|
1831
|
+
hint: 'Where I should look for your schema builders?',
|
|
1832
|
+
defaultValue: "src/schemas",
|
|
1833
|
+
options: undefined
|
|
1834
|
+
},
|
|
1835
|
+
/** Module import. When other skills use your schemas, will they import them from a module? */
|
|
1836
|
+
'moduleToImportFromWhenRemote': {
|
|
1837
|
+
label: 'Module import',
|
|
1838
|
+
type: 'text',
|
|
1839
|
+
hint: 'When other skills use your schemas, will they import them from a module?',
|
|
1840
|
+
options: undefined
|
|
1841
|
+
},
|
|
1842
|
+
/** Auto install missing dependencies. */
|
|
1843
|
+
'shouldInstallMissingDependencies': {
|
|
1844
|
+
label: 'Auto install missing dependencies',
|
|
1845
|
+
type: 'boolean',
|
|
1846
|
+
options: undefined
|
|
1847
|
+
},
|
|
1848
|
+
/** Enable versioning. Should we use versioning? */
|
|
1849
|
+
'shouldEnableVersioning': {
|
|
1850
|
+
label: 'Enable versioning',
|
|
1851
|
+
type: 'boolean',
|
|
1852
|
+
isPrivate: true,
|
|
1853
|
+
hint: 'Should we use versioning?',
|
|
1854
|
+
defaultValue: true,
|
|
1855
|
+
options: undefined
|
|
1856
|
+
},
|
|
1857
|
+
/** Global namespace. The name you'll use when accessing these schemas, e.g. SpruceSchemas */
|
|
1858
|
+
'globalSchemaNamespace': {
|
|
1859
|
+
label: 'Global namespace',
|
|
1860
|
+
type: 'text',
|
|
1861
|
+
isPrivate: true,
|
|
1862
|
+
hint: 'The name you\'ll use when accessing these schemas, e.g. SpruceSchemas',
|
|
1863
|
+
defaultValue: "SpruceSchemas",
|
|
1864
|
+
options: undefined
|
|
1865
|
+
},
|
|
1866
|
+
/** Fetch remote schemas. I will pull in schemas from other features. */
|
|
1867
|
+
'shouldFetchRemoteSchemas': {
|
|
1868
|
+
label: 'Fetch remote schemas',
|
|
1869
|
+
type: 'boolean',
|
|
1870
|
+
isPrivate: true,
|
|
1871
|
+
hint: 'I will pull in schemas from other features.',
|
|
1872
|
+
defaultValue: true,
|
|
1873
|
+
options: undefined
|
|
1874
|
+
},
|
|
1875
|
+
/** Fetch local schemas. I will look in schemaLookupDir to load local schemas. */
|
|
1876
|
+
'shouldFetchLocalSchemas': {
|
|
1877
|
+
label: 'Fetch local schemas',
|
|
1878
|
+
type: 'boolean',
|
|
1879
|
+
isPrivate: true,
|
|
1880
|
+
hint: 'I will look in schemaLookupDir to load local schemas.',
|
|
1881
|
+
defaultValue: true,
|
|
1882
|
+
options: undefined
|
|
1883
|
+
},
|
|
1884
|
+
/** Fetch core schemas. Should I pull in core schemas too? */
|
|
1885
|
+
'shouldFetchCoreSchemas': {
|
|
1886
|
+
label: 'Fetch core schemas',
|
|
1887
|
+
type: 'boolean',
|
|
1888
|
+
isPrivate: true,
|
|
1889
|
+
hint: 'Should I pull in core schemas too?',
|
|
1890
|
+
defaultValue: true,
|
|
1891
|
+
options: undefined
|
|
1892
|
+
},
|
|
1893
|
+
/** Generate core schemas. Used only for updating the @sprucelabs/spruce-core-schemas. Ensures core schemas are generated like local schemas. Also an alias for `--shouldFetchRemoteSchemas=false --shouldFetchCoreSchemas=false --generateStandaloneTypesFile. */
|
|
1894
|
+
'shouldGenerateCoreSchemaTypes': {
|
|
1895
|
+
label: 'Generate core schemas',
|
|
1896
|
+
type: 'boolean',
|
|
1897
|
+
isPrivate: true,
|
|
1898
|
+
hint: 'Used only for updating the @sprucelabs/spruce-core-schemas. Ensures core schemas are generated like local schemas. Also an alias for `--shouldFetchRemoteSchemas=false --shouldFetchCoreSchemas=false --generateStandaloneTypesFile.',
|
|
1899
|
+
options: undefined
|
|
1900
|
+
},
|
|
1901
|
+
/** Register built schemas. Should the schemas use the SchemaRegistry for tracking? */
|
|
1902
|
+
'registerBuiltSchemas': {
|
|
1903
|
+
label: 'Register built schemas',
|
|
1904
|
+
type: 'boolean',
|
|
1905
|
+
isPrivate: true,
|
|
1906
|
+
hint: 'Should the schemas use the SchemaRegistry for tracking?',
|
|
1907
|
+
defaultValue: true,
|
|
1908
|
+
options: undefined
|
|
1909
|
+
},
|
|
1910
|
+
/** Generate standalone types file. By default, I'll generate a types file that augments core types from @sprucelabs/spruce-core-schemas. Setting this to true will generate a stand alone types file. */
|
|
1911
|
+
'generateStandaloneTypesFile': {
|
|
1912
|
+
label: 'Generate standalone types file',
|
|
1913
|
+
type: 'boolean',
|
|
1914
|
+
isPrivate: true,
|
|
1915
|
+
hint: 'By default, I\'ll generate a types file that augments core types from @sprucelabs/spruce-core-schemas. Setting this to true will generate a stand alone types file.',
|
|
1916
|
+
defaultValue: false,
|
|
1917
|
+
options: undefined
|
|
1918
|
+
},
|
|
1919
|
+
/** message. */
|
|
1920
|
+
'syncingMessage': {
|
|
1921
|
+
label: ' message',
|
|
1922
|
+
type: 'text',
|
|
1923
|
+
isPrivate: true,
|
|
1924
|
+
defaultValue: "Syncing schemas...",
|
|
1925
|
+
options: undefined
|
|
1926
|
+
},
|
|
1927
|
+
/** Error class destination. Where I'll save your new Error class file? */
|
|
1928
|
+
'errorClassDestinationDir': {
|
|
1929
|
+
label: 'Error class destination',
|
|
1930
|
+
type: 'text',
|
|
1931
|
+
isPrivate: true,
|
|
1932
|
+
isRequired: true,
|
|
1933
|
+
hint: 'Where I\'ll save your new Error class file?',
|
|
1934
|
+
defaultValue: "src/errors",
|
|
1935
|
+
options: undefined
|
|
1936
|
+
},
|
|
1937
|
+
/** . Where I should look for your error builders? */
|
|
1938
|
+
'errorLookupDir': {
|
|
1939
|
+
type: 'text',
|
|
1940
|
+
hint: 'Where I should look for your error builders?',
|
|
1941
|
+
defaultValue: "src/errors",
|
|
1942
|
+
options: undefined
|
|
1943
|
+
},
|
|
1944
|
+
/** Types destination dir. This is where error options and type information will be written */
|
|
1945
|
+
'errorTypesDestinationDir': {
|
|
1946
|
+
label: 'Types destination dir',
|
|
1947
|
+
type: 'text',
|
|
1948
|
+
hint: 'This is where error options and type information will be written',
|
|
1949
|
+
defaultValue: "#spruce/errors",
|
|
1950
|
+
options: undefined
|
|
1951
|
+
},
|
|
1952
|
+
/** Error builder destination directory. Where I'll save your new builder file? */
|
|
1953
|
+
'errorBuilderDestinationDir': {
|
|
1954
|
+
label: 'Error builder destination directory',
|
|
1955
|
+
type: 'text',
|
|
1956
|
+
isPrivate: true,
|
|
1957
|
+
isRequired: true,
|
|
1958
|
+
hint: 'Where I\'ll save your new builder file?',
|
|
1959
|
+
defaultValue: "./src/errors",
|
|
1960
|
+
options: undefined
|
|
1961
|
+
},
|
|
1962
|
+
/** Readable name. The name people will read */
|
|
1963
|
+
'nameReadable': {
|
|
1964
|
+
label: 'Readable name',
|
|
1965
|
+
type: 'text',
|
|
1966
|
+
isRequired: true,
|
|
1967
|
+
hint: 'The name people will read',
|
|
1968
|
+
options: undefined
|
|
1969
|
+
},
|
|
1970
|
+
/** Pascal case name. PascalCase of the name */
|
|
1971
|
+
'namePascal': {
|
|
1972
|
+
label: 'Pascal case name',
|
|
1973
|
+
type: 'text',
|
|
1974
|
+
hint: 'PascalCase of the name',
|
|
1975
|
+
options: undefined
|
|
1976
|
+
},
|
|
1977
|
+
/** Camel case name. camelCase version of the name */
|
|
1978
|
+
'nameCamel': {
|
|
1979
|
+
label: 'Camel case name',
|
|
1980
|
+
type: 'text',
|
|
1981
|
+
isRequired: true,
|
|
1982
|
+
hint: 'camelCase version of the name',
|
|
1983
|
+
options: undefined
|
|
1984
|
+
},
|
|
1985
|
+
/** Description. Describe a bit more here */
|
|
1986
|
+
'description': {
|
|
1987
|
+
label: 'Description',
|
|
1988
|
+
type: 'text',
|
|
1989
|
+
hint: 'Describe a bit more here',
|
|
1990
|
+
options: undefined
|
|
1991
|
+
},
|
|
1992
|
+
}
|
|
1993
|
+
}
|
|
1994
|
+
|
|
1995
|
+
interface CreateErrorOptionsEntity extends SchemaEntity<SpruceSchemas.SpruceCli.v2020_07_22.CreateErrorOptionsSchema> {}
|
|
1996
|
+
|
|
1997
|
+
}
|
|
1998
|
+
|
|
1999
|
+
|
|
2000
|
+
namespace SpruceSchemas.SpruceCli.v2020_07_22 {
|
|
2001
|
+
|
|
2002
|
+
/** Define a topic you want to discuss. */
|
|
2003
|
+
interface CreateConversationTopicOptions {
|
|
2004
|
+
|
|
2005
|
+
/** Topic. What should we talk about or try and get done, e.g. Book an appointment or tell a knock knock joke. */
|
|
2006
|
+
'nameReadable': string
|
|
2007
|
+
/** Camel case name. camelCase version of the name */
|
|
2008
|
+
'nameCamel': string
|
|
2009
|
+
}
|
|
2010
|
+
|
|
2011
|
+
interface CreateConversationTopicOptionsSchema extends SpruceSchema.Schema {
|
|
2012
|
+
id: 'createConversationTopicOptions',
|
|
2013
|
+
version: 'v2020_07_22',
|
|
2014
|
+
namespace: 'SpruceCli',
|
|
2015
|
+
name: 'Create conversation options',
|
|
2016
|
+
description: 'Define a topic you want to discuss.',
|
|
2017
|
+
fields: {
|
|
2018
|
+
/** Topic. What should we talk about or try and get done, e.g. Book an appointment or tell a knock knock joke. */
|
|
2019
|
+
'nameReadable': {
|
|
2020
|
+
label: 'Topic',
|
|
2021
|
+
type: 'text',
|
|
2022
|
+
isRequired: true,
|
|
2023
|
+
hint: 'What should we talk about or try and get done, e.g. Book an appointment or tell a knock knock joke.',
|
|
2024
|
+
options: undefined
|
|
2025
|
+
},
|
|
2026
|
+
/** Camel case name. camelCase version of the name */
|
|
2027
|
+
'nameCamel': {
|
|
2028
|
+
label: 'Camel case name',
|
|
2029
|
+
type: 'text',
|
|
2030
|
+
isRequired: true,
|
|
2031
|
+
hint: 'camelCase version of the name',
|
|
2032
|
+
options: undefined
|
|
2033
|
+
},
|
|
2034
|
+
}
|
|
2035
|
+
}
|
|
2036
|
+
|
|
2037
|
+
interface CreateConversationTopicOptionsEntity extends SchemaEntity<SpruceSchemas.SpruceCli.v2020_07_22.CreateConversationTopicOptionsSchema> {}
|
|
2038
|
+
|
|
2039
|
+
}
|
|
2040
|
+
|
|
2041
|
+
|
|
2042
|
+
namespace SpruceSchemas.SpruceCli.v2020_07_22 {
|
|
2043
|
+
|
|
2044
|
+
/** Boot your skill 💪 */
|
|
2045
|
+
interface BootSkillOptions {
|
|
2046
|
+
|
|
2047
|
+
/** Run local. Will run using ts-node and typescript directly. Longer boot times */
|
|
2048
|
+
'local'?: boolean| undefined | null
|
|
2049
|
+
|
|
2050
|
+
'onData'?: ((msg: string) => void)| undefined | null
|
|
2051
|
+
|
|
2052
|
+
'onError'?: ((msg: string) => void)| undefined | null
|
|
2053
|
+
/** Wait until skill is booted. For testing. Returns immediately after executing test so the running tests can be managed programatically. */
|
|
2054
|
+
'shouldReturnImmediately'?: boolean| undefined | null
|
|
2055
|
+
}
|
|
2056
|
+
|
|
2057
|
+
interface BootSkillOptionsSchema extends SpruceSchema.Schema {
|
|
2058
|
+
id: 'bootSkillOptions',
|
|
2059
|
+
version: 'v2020_07_22',
|
|
2060
|
+
namespace: 'SpruceCli',
|
|
2061
|
+
name: 'Boot skill action',
|
|
2062
|
+
description: 'Boot your skill 💪',
|
|
2063
|
+
fields: {
|
|
2064
|
+
/** Run local. Will run using ts-node and typescript directly. Longer boot times */
|
|
2065
|
+
'local': {
|
|
2066
|
+
label: 'Run local',
|
|
2067
|
+
type: 'boolean',
|
|
2068
|
+
hint: 'Will run using ts-node and typescript directly. Longer boot times',
|
|
2069
|
+
options: undefined
|
|
2070
|
+
},
|
|
2071
|
+
/** . */
|
|
2072
|
+
'onData': {
|
|
2073
|
+
type: 'raw',
|
|
2074
|
+
options: {valueType: `(msg: string) => void`,}
|
|
2075
|
+
},
|
|
2076
|
+
/** . */
|
|
2077
|
+
'onError': {
|
|
2078
|
+
type: 'raw',
|
|
2079
|
+
options: {valueType: `(msg: string) => void`,}
|
|
2080
|
+
},
|
|
2081
|
+
/** Wait until skill is booted. For testing. Returns immediately after executing test so the running tests can be managed programatically. */
|
|
2082
|
+
'shouldReturnImmediately': {
|
|
2083
|
+
label: 'Wait until skill is booted',
|
|
2084
|
+
type: 'boolean',
|
|
2085
|
+
isPrivate: true,
|
|
2086
|
+
hint: 'For testing. Returns immediately after executing test so the running tests can be managed programatically.',
|
|
2087
|
+
defaultValue: false,
|
|
2088
|
+
options: undefined
|
|
2089
|
+
},
|
|
2090
|
+
}
|
|
2091
|
+
}
|
|
2092
|
+
|
|
2093
|
+
interface BootSkillOptionsEntity extends SchemaEntity<SpruceSchemas.SpruceCli.v2020_07_22.BootSkillOptionsSchema> {}
|
|
2094
|
+
|
|
2095
|
+
}
|
|
2096
|
+
|
|
2097
|
+
|
|
2098
|
+
namespace SpruceSchemas.SpruceCli.v2020_07_22 {
|
|
2099
|
+
|
|
2100
|
+
|
|
2101
|
+
interface NpmPackage {
|
|
2102
|
+
|
|
2103
|
+
|
|
2104
|
+
'name': string
|
|
2105
|
+
|
|
2106
|
+
'version'?: string| undefined | null
|
|
2107
|
+
|
|
2108
|
+
'isDev'?: boolean| undefined | null
|
|
2109
|
+
}
|
|
2110
|
+
|
|
2111
|
+
interface NpmPackageSchema extends SpruceSchema.Schema {
|
|
2112
|
+
id: 'npmPackage',
|
|
2113
|
+
version: 'v2020_07_22',
|
|
2114
|
+
namespace: 'SpruceCli',
|
|
2115
|
+
name: '',
|
|
2116
|
+
fields: {
|
|
2117
|
+
/** . */
|
|
2118
|
+
'name': {
|
|
2119
|
+
type: 'text',
|
|
2120
|
+
isRequired: true,
|
|
2121
|
+
options: undefined
|
|
2122
|
+
},
|
|
2123
|
+
/** . */
|
|
2124
|
+
'version': {
|
|
2125
|
+
type: 'text',
|
|
2126
|
+
options: undefined
|
|
2127
|
+
},
|
|
2128
|
+
/** . */
|
|
2129
|
+
'isDev': {
|
|
2130
|
+
type: 'boolean',
|
|
2131
|
+
options: undefined
|
|
2132
|
+
},
|
|
2133
|
+
}
|
|
2134
|
+
}
|
|
2135
|
+
|
|
2136
|
+
interface NpmPackageEntity extends SchemaEntity<SpruceSchemas.SpruceCli.v2020_07_22.NpmPackageSchema> {}
|
|
2137
|
+
|
|
2138
|
+
}
|
|
2139
|
+
|
|
2140
|
+
|
|
2141
|
+
namespace SpruceSchemas.SpruceCli.v2020_07_22 {
|
|
2142
|
+
|
|
2143
|
+
|
|
2144
|
+
interface GeneratedFile {
|
|
2145
|
+
|
|
2146
|
+
|
|
2147
|
+
'name': string
|
|
2148
|
+
|
|
2149
|
+
'path': string
|
|
2150
|
+
|
|
2151
|
+
'description'?: string| undefined | null
|
|
2152
|
+
|
|
2153
|
+
'action': ("skipped" | "generated" | "updated" | "deleted")
|
|
2154
|
+
}
|
|
2155
|
+
|
|
2156
|
+
interface GeneratedFileSchema extends SpruceSchema.Schema {
|
|
2157
|
+
id: 'generatedFile',
|
|
2158
|
+
version: 'v2020_07_22',
|
|
2159
|
+
namespace: 'SpruceCli',
|
|
2160
|
+
name: '',
|
|
2161
|
+
fields: {
|
|
2162
|
+
/** . */
|
|
2163
|
+
'name': {
|
|
2164
|
+
type: 'text',
|
|
2165
|
+
isRequired: true,
|
|
2166
|
+
options: undefined
|
|
2167
|
+
},
|
|
2168
|
+
/** . */
|
|
2169
|
+
'path': {
|
|
2170
|
+
type: 'text',
|
|
2171
|
+
isRequired: true,
|
|
2172
|
+
options: undefined
|
|
2173
|
+
},
|
|
2174
|
+
/** . */
|
|
2175
|
+
'description': {
|
|
2176
|
+
type: 'text',
|
|
2177
|
+
options: undefined
|
|
2178
|
+
},
|
|
2179
|
+
/** . */
|
|
2180
|
+
'action': {
|
|
2181
|
+
type: 'select',
|
|
2182
|
+
isRequired: true,
|
|
2183
|
+
options: {choices: [{"label":"Skipped","value":"skipped"},{"label":"Generated","value":"generated"},{"label":"Updated","value":"updated"},{"label":"Deleted","value":"deleted"}],}
|
|
2184
|
+
},
|
|
2185
|
+
}
|
|
2186
|
+
}
|
|
2187
|
+
|
|
2188
|
+
interface GeneratedFileEntity extends SchemaEntity<SpruceSchemas.SpruceCli.v2020_07_22.GeneratedFileSchema> {}
|
|
2189
|
+
|
|
2190
|
+
}
|
|
2191
|
+
|
|
2192
|
+
|
|
2193
|
+
namespace SpruceSchemas.SpruceCli.v2020_07_22 {
|
|
2194
|
+
|
|
2195
|
+
|
|
2196
|
+
interface ActionResponse {
|
|
2197
|
+
|
|
2198
|
+
|
|
2199
|
+
'files'?: SpruceSchemas.SpruceCli.v2020_07_22.GeneratedFile[]| undefined | null
|
|
2200
|
+
|
|
2201
|
+
'headline'?: string| undefined | null
|
|
2202
|
+
|
|
2203
|
+
'hints'?: string[]| undefined | null
|
|
2204
|
+
|
|
2205
|
+
'summaryLines'?: string[]| undefined | null
|
|
2206
|
+
|
|
2207
|
+
'errors'?: (AbstractSpruceError<any>)[]| undefined | null
|
|
2208
|
+
|
|
2209
|
+
'meta'?: (Record<string, any>)| undefined | null
|
|
2210
|
+
|
|
2211
|
+
'packagesInstalled'?: SpruceSchemas.SpruceCli.v2020_07_22.NpmPackage[]| undefined | null
|
|
2212
|
+
}
|
|
2213
|
+
|
|
2214
|
+
interface ActionResponseSchema extends SpruceSchema.Schema {
|
|
2215
|
+
id: 'actionResponse',
|
|
2216
|
+
version: 'v2020_07_22',
|
|
2217
|
+
namespace: 'SpruceCli',
|
|
2218
|
+
name: 'Action response',
|
|
2219
|
+
fields: {
|
|
2220
|
+
/** . */
|
|
2221
|
+
'files': {
|
|
2222
|
+
type: 'schema',
|
|
2223
|
+
isArray: true,
|
|
2224
|
+
options: {schema: SpruceSchemas.SpruceCli.v2020_07_22.GeneratedFileSchema,}
|
|
2225
|
+
},
|
|
2226
|
+
/** . */
|
|
2227
|
+
'headline': {
|
|
2228
|
+
type: 'text',
|
|
2229
|
+
options: undefined
|
|
2230
|
+
},
|
|
2231
|
+
/** . */
|
|
2232
|
+
'hints': {
|
|
2233
|
+
type: 'text',
|
|
2234
|
+
isArray: true,
|
|
2235
|
+
options: undefined
|
|
2236
|
+
},
|
|
2237
|
+
/** . */
|
|
2238
|
+
'summaryLines': {
|
|
2239
|
+
type: 'text',
|
|
2240
|
+
isArray: true,
|
|
2241
|
+
options: undefined
|
|
2242
|
+
},
|
|
2243
|
+
/** . */
|
|
2244
|
+
'errors': {
|
|
2245
|
+
type: 'raw',
|
|
2246
|
+
isArray: true,
|
|
2247
|
+
options: {valueType: `AbstractSpruceError<any>`,}
|
|
2248
|
+
},
|
|
2249
|
+
/** . */
|
|
2250
|
+
'meta': {
|
|
2251
|
+
type: 'raw',
|
|
2252
|
+
options: {valueType: `Record<string, any>`,}
|
|
2253
|
+
},
|
|
2254
|
+
/** . */
|
|
2255
|
+
'packagesInstalled': {
|
|
2256
|
+
type: 'schema',
|
|
2257
|
+
isArray: true,
|
|
2258
|
+
options: {schema: SpruceSchemas.SpruceCli.v2020_07_22.NpmPackageSchema,}
|
|
2259
|
+
},
|
|
2260
|
+
}
|
|
2261
|
+
}
|
|
2262
|
+
|
|
2263
|
+
interface ActionResponseEntity extends SchemaEntity<SpruceSchemas.SpruceCli.v2020_07_22.ActionResponseSchema> {}
|
|
2264
|
+
|
|
2265
|
+
}
|
|
2266
|
+
|
|
2247
2267
|
}
|