@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
|
@@ -9,221 +9,221 @@ const createSchemaOptionsSchema = {
|
|
|
9
9
|
description: 'Create the builder to a fresh new schema!',
|
|
10
10
|
fields: {
|
|
11
11
|
/** Field types directory. Where field types and interfaces will be generated. */
|
|
12
|
-
fieldTypesDestinationDir: {
|
|
12
|
+
'fieldTypesDestinationDir': {
|
|
13
13
|
label: 'Field types directory',
|
|
14
14
|
type: 'text',
|
|
15
15
|
isPrivate: true,
|
|
16
16
|
hint: 'Where field types and interfaces will be generated.',
|
|
17
|
-
defaultValue:
|
|
18
|
-
options: undefined
|
|
17
|
+
defaultValue: "#spruce/schemas",
|
|
18
|
+
options: undefined
|
|
19
19
|
},
|
|
20
20
|
/** Addons lookup directory. Where I'll look for new schema fields to be registered. */
|
|
21
|
-
addonsLookupDir: {
|
|
21
|
+
'addonsLookupDir': {
|
|
22
22
|
label: 'Addons lookup directory',
|
|
23
23
|
type: 'text',
|
|
24
|
-
hint:
|
|
25
|
-
defaultValue:
|
|
26
|
-
options: undefined
|
|
24
|
+
hint: 'Where I\'ll look for new schema fields to be registered.',
|
|
25
|
+
defaultValue: "src/addons",
|
|
26
|
+
options: undefined
|
|
27
27
|
},
|
|
28
28
|
/** Generate field types. Should I generate field types too? */
|
|
29
|
-
generateFieldTypes: {
|
|
29
|
+
'generateFieldTypes': {
|
|
30
30
|
label: 'Generate field types',
|
|
31
31
|
type: 'boolean',
|
|
32
32
|
isPrivate: true,
|
|
33
33
|
hint: 'Should I generate field types too?',
|
|
34
34
|
defaultValue: true,
|
|
35
|
-
options: undefined
|
|
35
|
+
options: undefined
|
|
36
36
|
},
|
|
37
37
|
/** Schema types destination directory. Where I will generate schema types and interfaces. */
|
|
38
|
-
schemaTypesDestinationDirOrFile: {
|
|
38
|
+
'schemaTypesDestinationDirOrFile': {
|
|
39
39
|
label: 'Schema types destination directory',
|
|
40
40
|
type: 'text',
|
|
41
41
|
hint: 'Where I will generate schema types and interfaces.',
|
|
42
|
-
defaultValue:
|
|
43
|
-
options: undefined
|
|
42
|
+
defaultValue: "#spruce/schemas",
|
|
43
|
+
options: undefined
|
|
44
44
|
},
|
|
45
45
|
/** . Where I should look for your schema builders? */
|
|
46
|
-
schemaLookupDir: {
|
|
46
|
+
'schemaLookupDir': {
|
|
47
47
|
type: 'text',
|
|
48
48
|
hint: 'Where I should look for your schema builders?',
|
|
49
|
-
defaultValue:
|
|
50
|
-
options: undefined
|
|
49
|
+
defaultValue: "src/schemas",
|
|
50
|
+
options: undefined
|
|
51
51
|
},
|
|
52
52
|
/** Source module. If this schema should be imported from a node module vs generated locally. */
|
|
53
|
-
moduleToImportFromWhenRemote: {
|
|
53
|
+
'moduleToImportFromWhenRemote': {
|
|
54
54
|
label: 'Source module',
|
|
55
55
|
type: 'text',
|
|
56
56
|
hint: 'If this schema should be imported from a node module vs generated locally.',
|
|
57
|
-
options: undefined
|
|
57
|
+
options: undefined
|
|
58
58
|
},
|
|
59
59
|
/** Auto install missing dependencies. */
|
|
60
|
-
shouldInstallMissingDependencies: {
|
|
60
|
+
'shouldInstallMissingDependencies': {
|
|
61
61
|
label: 'Auto install missing dependencies',
|
|
62
62
|
type: 'boolean',
|
|
63
|
-
options: undefined
|
|
63
|
+
options: undefined
|
|
64
64
|
},
|
|
65
65
|
/** Enable versioning. Should we use versioning? */
|
|
66
|
-
shouldEnableVersioning: {
|
|
66
|
+
'shouldEnableVersioning': {
|
|
67
67
|
label: 'Enable versioning',
|
|
68
68
|
type: 'boolean',
|
|
69
69
|
isPrivate: true,
|
|
70
70
|
hint: 'Should we use versioning?',
|
|
71
71
|
defaultValue: true,
|
|
72
|
-
options: undefined
|
|
72
|
+
options: undefined
|
|
73
73
|
},
|
|
74
74
|
/** Global namespace. The name you'll use when accessing these schemas, e.g. SpruceSchemas */
|
|
75
|
-
globalSchemaNamespace: {
|
|
75
|
+
'globalSchemaNamespace': {
|
|
76
76
|
label: 'Global namespace',
|
|
77
77
|
type: 'text',
|
|
78
78
|
isPrivate: true,
|
|
79
|
-
hint:
|
|
80
|
-
defaultValue:
|
|
81
|
-
options: undefined
|
|
79
|
+
hint: 'The name you\'ll use when accessing these schemas, e.g. SpruceSchemas',
|
|
80
|
+
defaultValue: "SpruceSchemas",
|
|
81
|
+
options: undefined
|
|
82
82
|
},
|
|
83
83
|
/** Fetch remote schemas. I will pull in schemas from other features. */
|
|
84
|
-
shouldFetchRemoteSchemas: {
|
|
84
|
+
'shouldFetchRemoteSchemas': {
|
|
85
85
|
label: 'Fetch remote schemas',
|
|
86
86
|
type: 'boolean',
|
|
87
87
|
isPrivate: true,
|
|
88
88
|
hint: 'I will pull in schemas from other features.',
|
|
89
89
|
defaultValue: true,
|
|
90
|
-
options: undefined
|
|
90
|
+
options: undefined
|
|
91
91
|
},
|
|
92
92
|
/** Fetch local schemas. I will look in schemaLookupDir to load local schemas. */
|
|
93
|
-
shouldFetchLocalSchemas: {
|
|
93
|
+
'shouldFetchLocalSchemas': {
|
|
94
94
|
label: 'Fetch local schemas',
|
|
95
95
|
type: 'boolean',
|
|
96
96
|
isPrivate: true,
|
|
97
97
|
hint: 'I will look in schemaLookupDir to load local schemas.',
|
|
98
98
|
defaultValue: true,
|
|
99
|
-
options: undefined
|
|
99
|
+
options: undefined
|
|
100
100
|
},
|
|
101
101
|
/** Fetch core schemas. Should I pull in core schemas too? */
|
|
102
|
-
shouldFetchCoreSchemas: {
|
|
102
|
+
'shouldFetchCoreSchemas': {
|
|
103
103
|
label: 'Fetch core schemas',
|
|
104
104
|
type: 'boolean',
|
|
105
105
|
isPrivate: true,
|
|
106
106
|
hint: 'Should I pull in core schemas too?',
|
|
107
107
|
defaultValue: true,
|
|
108
|
-
options: undefined
|
|
108
|
+
options: undefined
|
|
109
109
|
},
|
|
110
110
|
/** 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. */
|
|
111
|
-
shouldGenerateCoreSchemaTypes: {
|
|
111
|
+
'shouldGenerateCoreSchemaTypes': {
|
|
112
112
|
label: 'Generate core schemas',
|
|
113
113
|
type: 'boolean',
|
|
114
114
|
isPrivate: true,
|
|
115
115
|
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.',
|
|
116
|
-
options: undefined
|
|
116
|
+
options: undefined
|
|
117
117
|
},
|
|
118
118
|
/** Register built schemas. Should the schemas use the SchemaRegistry for tracking? */
|
|
119
|
-
registerBuiltSchemas: {
|
|
119
|
+
'registerBuiltSchemas': {
|
|
120
120
|
label: 'Register built schemas',
|
|
121
121
|
type: 'boolean',
|
|
122
122
|
isPrivate: true,
|
|
123
123
|
hint: 'Should the schemas use the SchemaRegistry for tracking?',
|
|
124
124
|
defaultValue: true,
|
|
125
|
-
options: undefined
|
|
125
|
+
options: undefined
|
|
126
126
|
},
|
|
127
127
|
/** Delete directory if no schemas. Should I delete the schema directory if no schemas are found? */
|
|
128
|
-
deleteDestinationDirIfNoSchemas: {
|
|
128
|
+
'deleteDestinationDirIfNoSchemas': {
|
|
129
129
|
label: 'Delete directory if no schemas',
|
|
130
130
|
type: 'boolean',
|
|
131
131
|
isPrivate: true,
|
|
132
132
|
hint: 'Should I delete the schema directory if no schemas are found?',
|
|
133
133
|
defaultValue: false,
|
|
134
|
-
options: undefined
|
|
134
|
+
options: undefined
|
|
135
135
|
},
|
|
136
136
|
/** Delete orphaned schemas. Should I delete schemas where the builders are missing? */
|
|
137
|
-
deleteOrphanedSchemas: {
|
|
137
|
+
'deleteOrphanedSchemas': {
|
|
138
138
|
label: 'Delete orphaned schemas',
|
|
139
139
|
type: 'boolean',
|
|
140
140
|
isPrivate: true,
|
|
141
141
|
hint: 'Should I delete schemas where the builders are missing?',
|
|
142
142
|
defaultValue: true,
|
|
143
|
-
options: undefined
|
|
143
|
+
options: undefined
|
|
144
144
|
},
|
|
145
145
|
/** 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. */
|
|
146
|
-
generateStandaloneTypesFile: {
|
|
146
|
+
'generateStandaloneTypesFile': {
|
|
147
147
|
label: 'Generate standalone types file',
|
|
148
148
|
type: 'boolean',
|
|
149
149
|
isPrivate: true,
|
|
150
|
-
hint:
|
|
150
|
+
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.',
|
|
151
151
|
defaultValue: false,
|
|
152
|
-
options: undefined
|
|
152
|
+
options: undefined
|
|
153
153
|
},
|
|
154
154
|
/** message. */
|
|
155
|
-
syncingMessage: {
|
|
155
|
+
'syncingMessage': {
|
|
156
156
|
label: ' message',
|
|
157
157
|
type: 'text',
|
|
158
158
|
isPrivate: true,
|
|
159
|
-
defaultValue:
|
|
160
|
-
options: undefined
|
|
159
|
+
defaultValue: "Syncing schemas...",
|
|
160
|
+
options: undefined
|
|
161
161
|
},
|
|
162
162
|
/** Schema builder destination directory. Where I'll save the new schema builder. */
|
|
163
|
-
schemaBuilderDestinationDir: {
|
|
163
|
+
'schemaBuilderDestinationDir': {
|
|
164
164
|
label: 'Schema builder destination directory',
|
|
165
165
|
type: 'text',
|
|
166
|
-
hint:
|
|
167
|
-
defaultValue:
|
|
168
|
-
options: undefined
|
|
166
|
+
hint: 'Where I\'ll save the new schema builder.',
|
|
167
|
+
defaultValue: "src/schemas",
|
|
168
|
+
options: undefined
|
|
169
169
|
},
|
|
170
170
|
/** Builder function. The function that builds this schema */
|
|
171
|
-
builderFunction: {
|
|
171
|
+
'builderFunction': {
|
|
172
172
|
label: 'Builder function',
|
|
173
173
|
type: 'text',
|
|
174
174
|
isPrivate: true,
|
|
175
175
|
hint: 'The function that builds this schema',
|
|
176
|
-
defaultValue:
|
|
177
|
-
options: undefined
|
|
176
|
+
defaultValue: "buildSchema",
|
|
177
|
+
options: undefined
|
|
178
178
|
},
|
|
179
179
|
/** Sync after creation. This will ensure types and schemas are in sync after you create your builder. */
|
|
180
|
-
syncAfterCreate: {
|
|
180
|
+
'syncAfterCreate': {
|
|
181
181
|
label: 'Sync after creation',
|
|
182
182
|
type: 'boolean',
|
|
183
183
|
isPrivate: true,
|
|
184
184
|
hint: 'This will ensure types and schemas are in sync after you create your builder.',
|
|
185
185
|
defaultValue: true,
|
|
186
|
-
options: undefined
|
|
186
|
+
options: undefined
|
|
187
187
|
},
|
|
188
188
|
/** Version. Set a version yourself instead of letting me generate one for you */
|
|
189
|
-
version: {
|
|
189
|
+
'version': {
|
|
190
190
|
label: 'Version',
|
|
191
191
|
type: 'text',
|
|
192
192
|
isPrivate: true,
|
|
193
193
|
hint: 'Set a version yourself instead of letting me generate one for you',
|
|
194
|
-
options: undefined
|
|
194
|
+
options: undefined
|
|
195
195
|
},
|
|
196
196
|
/** Readable name. The name people will read */
|
|
197
|
-
nameReadable: {
|
|
197
|
+
'nameReadable': {
|
|
198
198
|
label: 'Readable name',
|
|
199
199
|
type: 'text',
|
|
200
200
|
isRequired: true,
|
|
201
201
|
hint: 'The name people will read',
|
|
202
|
-
options: undefined
|
|
202
|
+
options: undefined
|
|
203
203
|
},
|
|
204
204
|
/** Pascal case name. PascalCase of the name */
|
|
205
|
-
namePascal: {
|
|
205
|
+
'namePascal': {
|
|
206
206
|
label: 'Pascal case name',
|
|
207
207
|
type: 'text',
|
|
208
208
|
hint: 'PascalCase of the name',
|
|
209
|
-
options: undefined
|
|
209
|
+
options: undefined
|
|
210
210
|
},
|
|
211
211
|
/** Camel case name. camelCase version of the name */
|
|
212
|
-
nameCamel: {
|
|
212
|
+
'nameCamel': {
|
|
213
213
|
label: 'Camel case name',
|
|
214
214
|
type: 'text',
|
|
215
215
|
isRequired: true,
|
|
216
216
|
hint: 'camelCase version of the name',
|
|
217
|
-
options: undefined
|
|
217
|
+
options: undefined
|
|
218
218
|
},
|
|
219
219
|
/** Description. Describe a bit more here */
|
|
220
|
-
description: {
|
|
220
|
+
'description': {
|
|
221
221
|
label: 'Description',
|
|
222
222
|
type: 'text',
|
|
223
223
|
hint: 'Describe a bit more here',
|
|
224
|
-
options: undefined
|
|
224
|
+
options: undefined
|
|
225
225
|
},
|
|
226
|
-
}
|
|
226
|
+
}
|
|
227
227
|
};
|
|
228
228
|
schema_1.SchemaRegistry.getInstance().trackSchema(createSchemaOptionsSchema);
|
|
229
229
|
exports.default = createSchemaOptionsSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createSchemaOptions.schema.js","sourceRoot":"","sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/createSchemaOptions.schema.ts"],"names":[],"mappings":";;AAAA,+CAAmD;
|
|
1
|
+
{"version":3,"file":"createSchemaOptions.schema.js","sourceRoot":"","sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/createSchemaOptions.schema.ts"],"names":[],"mappings":";;AAAA,+CAAmD;AAKnD,MAAM,yBAAyB,GAAmE;IACjG,EAAE,EAAE,qBAAqB;IACzB,OAAO,EAAE,aAAa;IACtB,SAAS,EAAE,WAAW;IACtB,IAAI,EAAE,eAAe;IACrB,WAAW,EAAE,2CAA2C;IACpD,MAAM,EAAE;QACA,iFAAiF;QACjF,0BAA0B,EAAE;YACxB,KAAK,EAAE,uBAAuB;YAC9B,IAAI,EAAE,MAAM;YACZ,SAAS,EAAE,IAAI;YACf,IAAI,EAAE,qDAAqD;YAC3D,YAAY,EAAE,iBAAiB;YAC/B,OAAO,EAAE,SAAS;SACrB;QACD,uFAAuF;QACvF,iBAAiB,EAAE;YACf,KAAK,EAAE,yBAAyB;YAChC,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,0DAA0D;YAChE,YAAY,EAAE,YAAY;YAC1B,OAAO,EAAE,SAAS;SACrB;QACD,+DAA+D;QAC/D,oBAAoB,EAAE;YAClB,KAAK,EAAE,sBAAsB;YAC7B,IAAI,EAAE,SAAS;YACf,SAAS,EAAE,IAAI;YACf,IAAI,EAAE,oCAAoC;YAC1C,YAAY,EAAE,IAAI;YAClB,OAAO,EAAE,SAAS;SACrB;QACD,6FAA6F;QAC7F,iCAAiC,EAAE;YAC/B,KAAK,EAAE,oCAAoC;YAC3C,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,oDAAoD;YAC1D,YAAY,EAAE,iBAAiB;YAC/B,OAAO,EAAE,SAAS;SACrB;QACD,sDAAsD;QACtD,iBAAiB,EAAE;YACf,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,+CAA+C;YACrD,YAAY,EAAE,aAAa;YAC3B,O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kBAAe,yBAAyB,CAAA"}
|
|
@@ -9,49 +9,44 @@ const createTestOptionsSchema = {
|
|
|
9
9
|
description: 'Your first failing test just a command away! ⚔️',
|
|
10
10
|
fields: {
|
|
11
11
|
/** Type of test. */
|
|
12
|
-
type: {
|
|
12
|
+
'type': {
|
|
13
13
|
label: 'Type of test',
|
|
14
14
|
type: 'select',
|
|
15
15
|
isRequired: true,
|
|
16
|
-
options: {
|
|
17
|
-
choices: [
|
|
18
|
-
{ value: 'behavioral', label: 'Behavioral' },
|
|
19
|
-
{ value: 'implementation', label: 'Implementation' },
|
|
20
|
-
],
|
|
21
|
-
},
|
|
16
|
+
options: { choices: [{ "value": "behavioral", "label": "Behavioral" }, { "value": "implementation", "label": "Implementation" }], }
|
|
22
17
|
},
|
|
23
18
|
/** What are you testing?. E.g. Todo Card or Systems List */
|
|
24
|
-
nameReadable: {
|
|
19
|
+
'nameReadable': {
|
|
25
20
|
label: 'What are you testing?',
|
|
26
21
|
type: 'text',
|
|
27
22
|
isRequired: true,
|
|
28
23
|
hint: 'E.g. Todo Card or Systems List',
|
|
29
|
-
options: undefined
|
|
24
|
+
options: undefined
|
|
30
25
|
},
|
|
31
26
|
/** Test destination directory. Where I'll save your new test. */
|
|
32
|
-
testDestinationDir: {
|
|
27
|
+
'testDestinationDir': {
|
|
33
28
|
label: 'Test destination directory',
|
|
34
29
|
type: 'text',
|
|
35
|
-
hint:
|
|
36
|
-
defaultValue:
|
|
37
|
-
options: undefined
|
|
30
|
+
hint: 'Where I\'ll save your new test.',
|
|
31
|
+
defaultValue: "src/__tests__",
|
|
32
|
+
options: undefined
|
|
38
33
|
},
|
|
39
34
|
/** Camel case name. camelCase version of the name */
|
|
40
|
-
nameCamel: {
|
|
35
|
+
'nameCamel': {
|
|
41
36
|
label: 'Camel case name',
|
|
42
37
|
type: 'text',
|
|
43
38
|
isRequired: true,
|
|
44
39
|
hint: 'camelCase version of the name',
|
|
45
|
-
options: undefined
|
|
40
|
+
options: undefined
|
|
46
41
|
},
|
|
47
42
|
/** Pascal case name. PascalCase of the name */
|
|
48
|
-
namePascal: {
|
|
43
|
+
'namePascal': {
|
|
49
44
|
label: 'Pascal case name',
|
|
50
45
|
type: 'text',
|
|
51
46
|
hint: 'PascalCase of the name',
|
|
52
|
-
options: undefined
|
|
47
|
+
options: undefined
|
|
53
48
|
},
|
|
54
|
-
}
|
|
49
|
+
}
|
|
55
50
|
};
|
|
56
51
|
schema_1.SchemaRegistry.getInstance().trackSchema(createTestOptionsSchema);
|
|
57
52
|
exports.default = createTestOptionsSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createTestOptions.schema.js","sourceRoot":"","sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/createTestOptions.schema.ts"],"names":[],"mappings":";;AAAA,+CAAmD;
|
|
1
|
+
{"version":3,"file":"createTestOptions.schema.js","sourceRoot":"","sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/createTestOptions.schema.ts"],"names":[],"mappings":";;AAAA,+CAAmD;AAKnD,MAAM,uBAAuB,GAAiE;IAC7F,EAAE,EAAE,mBAAmB;IACvB,OAAO,EAAE,aAAa;IACtB,SAAS,EAAE,WAAW;IACtB,IAAI,EAAE,oBAAoB;IAC1B,WAAW,EAAE,iDAAiD;IAC1D,MAAM,EAAE;QACA,oBAAoB;QACpB,MAAM,EAAE;YACJ,KAAK,EAAE,cAAc;YACrB,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE,IAAI;YAChB,OAAO,EAAE,EAAC,OAAO,EAAE,CAAC,EAAC,OAAO,EAAC,YAAY,EAAC,OAAO,EAAC,YAAY,EAAC,EAAC,EAAC,OAAO,EAAC,gBAAgB,EAAC,OAAO,EAAC,gBAAgB,EAAC,CAAC,GAAE;SACzH;QACD,4DAA4D;QAC5D,cAAc,EAAE;YACZ,KAAK,EAAE,uBAAuB;YAC9B,IAAI,EAAE,MAAM;YACZ,UAAU,EAAE,IAAI;YAChB,IAAI,EAAE,gCAAgC;YACtC,OAAO,EAAE,SAAS;SACrB;QACD,iEAAiE;QACjE,oBAAoB,EAAE;YAClB,KAAK,EAAE,4BAA4B;YACnC,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,iCAAiC;YACvC,YAAY,EAAE,eAAe;YAC7B,OAAO,EAAE,SAAS;SACrB;QACD,qDAAqD;QACrD,WAAW,EAAE;YACT,KAAK,EAAE,iBAAiB;YACxB,IAAI,EAAE,MAAM;YACZ,UAAU,EAAE,IAAI;YAChB,IAAI,EAAE,+BAA+B;YACrC,OAAO,EAAE,SAAS;SACrB;QACD,+CAA+C;QAC/C,YAAY,EAAE;YACV,KAAK,EAAE,kBAAkB;YACzB,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,wBAAwB;YAC9B,OAAO,EAAE,SAAS;SACrB;KACR;CACL,CAAA;AAED,uBAAc,CAAC,WAAW,EAAE,CAAC,WAAW,CAAC,uBAAuB,CAAC,CAAA;AAEjE,kBAAe,uBAAuB,CAAA"}
|
|
@@ -8,36 +8,29 @@ const generatedDirSchema = {
|
|
|
8
8
|
name: '',
|
|
9
9
|
fields: {
|
|
10
10
|
/** . */
|
|
11
|
-
name: {
|
|
11
|
+
'name': {
|
|
12
12
|
type: 'text',
|
|
13
13
|
isRequired: true,
|
|
14
|
-
options: undefined
|
|
14
|
+
options: undefined
|
|
15
15
|
},
|
|
16
16
|
/** . */
|
|
17
|
-
path: {
|
|
17
|
+
'path': {
|
|
18
18
|
type: 'text',
|
|
19
19
|
isRequired: true,
|
|
20
|
-
options: undefined
|
|
20
|
+
options: undefined
|
|
21
21
|
},
|
|
22
22
|
/** . */
|
|
23
|
-
description: {
|
|
23
|
+
'description': {
|
|
24
24
|
type: 'text',
|
|
25
|
-
options: undefined
|
|
25
|
+
options: undefined
|
|
26
26
|
},
|
|
27
27
|
/** . */
|
|
28
|
-
action: {
|
|
28
|
+
'action': {
|
|
29
29
|
type: 'select',
|
|
30
30
|
isRequired: true,
|
|
31
|
-
options: {
|
|
32
|
-
choices: [
|
|
33
|
-
{ label: 'Skipped', value: 'skipped' },
|
|
34
|
-
{ label: 'Generated', value: 'generated' },
|
|
35
|
-
{ label: 'Updated', value: 'updated' },
|
|
36
|
-
{ label: 'Deleted', value: 'deleted' },
|
|
37
|
-
],
|
|
38
|
-
},
|
|
31
|
+
options: { choices: [{ "label": "Skipped", "value": "skipped" }, { "label": "Generated", "value": "generated" }, { "label": "Updated", "value": "updated" }, { "label": "Deleted", "value": "deleted" }], }
|
|
39
32
|
},
|
|
40
|
-
}
|
|
33
|
+
}
|
|
41
34
|
};
|
|
42
35
|
schema_1.SchemaRegistry.getInstance().trackSchema(generatedDirSchema);
|
|
43
36
|
exports.default = generatedDirSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generatedDir.schema.js","sourceRoot":"","sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/generatedDir.schema.ts"],"names":[],"mappings":";;AAAA,+CAAmD;
|
|
1
|
+
{"version":3,"file":"generatedDir.schema.js","sourceRoot":"","sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/generatedDir.schema.ts"],"names":[],"mappings":";;AAAA,+CAAmD;AAKnD,MAAM,kBAAkB,GAA4D;IACnF,EAAE,EAAE,cAAc;IAClB,OAAO,EAAE,aAAa;IACtB,SAAS,EAAE,WAAW;IACtB,IAAI,EAAE,EAAE;IACJ,MAAM,EAAE;QACA,QAAQ;QACR,MAAM,EAAE;YACJ,IAAI,EAAE,MAAM;YACZ,UAAU,EAAE,IAAI;YAChB,OAAO,EAAE,SAAS;SACrB;QACD,QAAQ;QACR,MAAM,EAAE;YACJ,IAAI,EAAE,MAAM;YACZ,UAAU,EAAE,IAAI;YAChB,OAAO,EAAE,SAAS;SACrB;QACD,QAAQ;QACR,aAAa,EAAE;YACX,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;SACrB;QACD,QAAQ;QACR,QAAQ,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE,IAAI;YAChB,OAAO,EAAE,EAAC,OAAO,EAAE,CAAC,EAAC,OAAO,EAAC,SAAS,EAAC,OAAO,EAAC,SAAS,EAAC,EAAC,EAAC,OAAO,EAAC,WAAW,EAAC,OAAO,EAAC,WAAW,EAAC,EAAC,EAAC,OAAO,EAAC,SAAS,EAAC,OAAO,EAAC,SAAS,EAAC,EAAC,EAAC,OAAO,EAAC,SAAS,EAAC,OAAO,EAAC,SAAS,EAAC,CAAC,GAAE;SACrL;KACR;CACL,CAAA;AAED,uBAAc,CAAC,WAAW,EAAE,CAAC,WAAW,CAAC,kBAAkB,CAAC,CAAA;AAE5D,kBAAe,kBAAkB,CAAA"}
|
|
@@ -8,36 +8,29 @@ const generatedFileSchema = {
|
|
|
8
8
|
name: '',
|
|
9
9
|
fields: {
|
|
10
10
|
/** . */
|
|
11
|
-
name: {
|
|
11
|
+
'name': {
|
|
12
12
|
type: 'text',
|
|
13
13
|
isRequired: true,
|
|
14
|
-
options: undefined
|
|
14
|
+
options: undefined
|
|
15
15
|
},
|
|
16
16
|
/** . */
|
|
17
|
-
path: {
|
|
17
|
+
'path': {
|
|
18
18
|
type: 'text',
|
|
19
19
|
isRequired: true,
|
|
20
|
-
options: undefined
|
|
20
|
+
options: undefined
|
|
21
21
|
},
|
|
22
22
|
/** . */
|
|
23
|
-
description: {
|
|
23
|
+
'description': {
|
|
24
24
|
type: 'text',
|
|
25
|
-
options: undefined
|
|
25
|
+
options: undefined
|
|
26
26
|
},
|
|
27
27
|
/** . */
|
|
28
|
-
action: {
|
|
28
|
+
'action': {
|
|
29
29
|
type: 'select',
|
|
30
30
|
isRequired: true,
|
|
31
|
-
options: {
|
|
32
|
-
choices: [
|
|
33
|
-
{ label: 'Skipped', value: 'skipped' },
|
|
34
|
-
{ label: 'Generated', value: 'generated' },
|
|
35
|
-
{ label: 'Updated', value: 'updated' },
|
|
36
|
-
{ label: 'Deleted', value: 'deleted' },
|
|
37
|
-
],
|
|
38
|
-
},
|
|
31
|
+
options: { choices: [{ "label": "Skipped", "value": "skipped" }, { "label": "Generated", "value": "generated" }, { "label": "Updated", "value": "updated" }, { "label": "Deleted", "value": "deleted" }], }
|
|
39
32
|
},
|
|
40
|
-
}
|
|
33
|
+
}
|
|
41
34
|
};
|
|
42
35
|
schema_1.SchemaRegistry.getInstance().trackSchema(generatedFileSchema);
|
|
43
36
|
exports.default = generatedFileSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generatedFile.schema.js","sourceRoot":"","sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/generatedFile.schema.ts"],"names":[],"mappings":";;AAAA,+CAAmD;
|
|
1
|
+
{"version":3,"file":"generatedFile.schema.js","sourceRoot":"","sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/generatedFile.schema.ts"],"names":[],"mappings":";;AAAA,+CAAmD;AAKnD,MAAM,mBAAmB,GAA6D;IACrF,EAAE,EAAE,eAAe;IACnB,OAAO,EAAE,aAAa;IACtB,SAAS,EAAE,WAAW;IACtB,IAAI,EAAE,EAAE;IACJ,MAAM,EAAE;QACA,QAAQ;QACR,MAAM,EAAE;YACJ,IAAI,EAAE,MAAM;YACZ,UAAU,EAAE,IAAI;YAChB,OAAO,EAAE,SAAS;SACrB;QACD,QAAQ;QACR,MAAM,EAAE;YACJ,IAAI,EAAE,MAAM;YACZ,UAAU,EAAE,IAAI;YAChB,OAAO,EAAE,SAAS;SACrB;QACD,QAAQ;QACR,aAAa,EAAE;YACX,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;SACrB;QACD,QAAQ;QACR,QAAQ,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE,IAAI;YAChB,OAAO,EAAE,EAAC,OAAO,EAAE,CAAC,EAAC,OAAO,EAAC,SAAS,EAAC,OAAO,EAAC,SAAS,EAAC,EAAC,EAAC,OAAO,EAAC,WAAW,EAAC,OAAO,EAAC,WAAW,EAAC,EAAC,EAAC,OAAO,EAAC,SAAS,EAAC,OAAO,EAAC,SAAS,EAAC,EAAC,EAAC,OAAO,EAAC,SAAS,EAAC,OAAO,EAAC,SAAS,EAAC,CAAC,GAAE;SACrL;KACR;CACL,CAAA;AAED,uBAAc,CAAC,WAAW,EAAE,CAAC,WAAW,CAAC,mBAAmB,CAAC,CAAA;AAE7D,kBAAe,mBAAmB,CAAA"}
|
package/build/.spruce/schemas/spruceCli/v2020_07_22/installSkillAtOrganizationOptions.schema.js
CHANGED
|
@@ -9,12 +9,12 @@ const installSkillAtOrganizationOptionsSchema = {
|
|
|
9
9
|
description: 'Install your skill at any organization you are connected to.',
|
|
10
10
|
fields: {
|
|
11
11
|
/** Organization id. */
|
|
12
|
-
organizationId: {
|
|
12
|
+
'organizationId': {
|
|
13
13
|
label: 'Organization id',
|
|
14
14
|
type: 'id',
|
|
15
|
-
options: undefined
|
|
15
|
+
options: undefined
|
|
16
16
|
},
|
|
17
|
-
}
|
|
17
|
+
}
|
|
18
18
|
};
|
|
19
19
|
schema_1.SchemaRegistry.getInstance().trackSchema(installSkillAtOrganizationOptionsSchema);
|
|
20
20
|
exports.default = installSkillAtOrganizationOptionsSchema;
|
package/build/.spruce/schemas/spruceCli/v2020_07_22/installSkillAtOrganizationOptions.schema.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"installSkillAtOrganizationOptions.schema.js","sourceRoot":"","sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/installSkillAtOrganizationOptions.schema.ts"],"names":[],"mappings":";;AAAA,+CAAmD;
|
|
1
|
+
{"version":3,"file":"installSkillAtOrganizationOptions.schema.js","sourceRoot":"","sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/installSkillAtOrganizationOptions.schema.ts"],"names":[],"mappings":";;AAAA,+CAAmD;AAKnD,MAAM,uCAAuC,GAAiF;IAC7H,EAAE,EAAE,mCAAmC;IACvC,OAAO,EAAE,aAAa;IACtB,SAAS,EAAE,WAAW;IACtB,IAAI,EAAE,sCAAsC;IAC5C,WAAW,EAAE,8DAA8D;IACvE,MAAM,EAAE;QACA,uBAAuB;QACvB,gBAAgB,EAAE;YACd,KAAK,EAAE,iBAAiB;YACxB,IAAI,EAAE,IAAI;YACV,OAAO,EAAE,SAAS;SACrB;KACR;CACL,CAAA;AAED,uBAAc,CAAC,WAAW,EAAE,CAAC,WAAW,CAAC,uCAAuC,CAAC,CAAA;AAEjF,kBAAe,uCAAuC,CAAA"}
|
|
@@ -9,71 +9,71 @@ const listenEventOptionsSchema = {
|
|
|
9
9
|
description: 'Options for event.listen.',
|
|
10
10
|
fields: {
|
|
11
11
|
/** Contract destination. Where I will generate event contracts. */
|
|
12
|
-
contractDestinationDir: {
|
|
12
|
+
'contractDestinationDir': {
|
|
13
13
|
label: 'Contract destination',
|
|
14
14
|
type: 'text',
|
|
15
15
|
hint: 'Where I will generate event contracts.',
|
|
16
|
-
defaultValue:
|
|
17
|
-
options: undefined
|
|
16
|
+
defaultValue: "#spruce/events",
|
|
17
|
+
options: undefined
|
|
18
18
|
},
|
|
19
19
|
/** Schema types lookup directory. Where I will lookup schema types and interfaces. */
|
|
20
|
-
schemaTypesLookupDir: {
|
|
20
|
+
'schemaTypesLookupDir': {
|
|
21
21
|
label: 'Schema types lookup directory',
|
|
22
22
|
type: 'text',
|
|
23
23
|
hint: 'Where I will lookup schema types and interfaces.',
|
|
24
|
-
defaultValue:
|
|
25
|
-
options: undefined
|
|
24
|
+
defaultValue: "#spruce/schemas",
|
|
25
|
+
options: undefined
|
|
26
26
|
},
|
|
27
27
|
/** Sync only core events. For use in @sprucelabs/mercury-types */
|
|
28
|
-
shouldSyncOnlyCoreEvents: {
|
|
28
|
+
'shouldSyncOnlyCoreEvents': {
|
|
29
29
|
label: 'Sync only core events',
|
|
30
30
|
type: 'boolean',
|
|
31
31
|
hint: 'For use in @sprucelabs/mercury-types',
|
|
32
|
-
options: undefined
|
|
32
|
+
options: undefined
|
|
33
33
|
},
|
|
34
34
|
/** Event signature types file. */
|
|
35
|
-
skillEventContractTypesFile: {
|
|
35
|
+
'skillEventContractTypesFile': {
|
|
36
36
|
label: 'Event signature types file',
|
|
37
37
|
type: 'text',
|
|
38
|
-
defaultValue:
|
|
39
|
-
options: undefined
|
|
38
|
+
defaultValue: "@sprucelabs/mercury-types/build/types/mercury.types",
|
|
39
|
+
options: undefined
|
|
40
40
|
},
|
|
41
41
|
/** Event builder file. */
|
|
42
|
-
eventBuilderFile: {
|
|
42
|
+
'eventBuilderFile': {
|
|
43
43
|
label: 'Event builder file',
|
|
44
44
|
type: 'text',
|
|
45
|
-
defaultValue:
|
|
46
|
-
options: undefined
|
|
45
|
+
defaultValue: "@sprucelabs/mercury-types",
|
|
46
|
+
options: undefined
|
|
47
47
|
},
|
|
48
48
|
/** Namespace. */
|
|
49
|
-
namespace: {
|
|
49
|
+
'namespace': {
|
|
50
50
|
label: 'Namespace',
|
|
51
51
|
type: 'text',
|
|
52
|
-
options: undefined
|
|
52
|
+
options: undefined
|
|
53
53
|
},
|
|
54
54
|
/** Event name. */
|
|
55
|
-
eventName: {
|
|
55
|
+
'eventName': {
|
|
56
56
|
label: 'Event name',
|
|
57
57
|
type: 'text',
|
|
58
|
-
options: undefined
|
|
58
|
+
options: undefined
|
|
59
59
|
},
|
|
60
60
|
/** Events destination directory. Where should I add your listeners? */
|
|
61
|
-
listenerDestinationDir: {
|
|
61
|
+
'listenerDestinationDir': {
|
|
62
62
|
label: 'Events destination directory',
|
|
63
63
|
type: 'text',
|
|
64
64
|
hint: 'Where should I add your listeners?',
|
|
65
|
-
defaultValue:
|
|
66
|
-
options: undefined
|
|
65
|
+
defaultValue: "src/listeners",
|
|
66
|
+
options: undefined
|
|
67
67
|
},
|
|
68
68
|
/** Version. Set a version yourself instead of letting me generate one for you */
|
|
69
|
-
version: {
|
|
69
|
+
'version': {
|
|
70
70
|
label: 'Version',
|
|
71
71
|
type: 'text',
|
|
72
72
|
isPrivate: true,
|
|
73
73
|
hint: 'Set a version yourself instead of letting me generate one for you',
|
|
74
|
-
options: undefined
|
|
74
|
+
options: undefined
|
|
75
75
|
},
|
|
76
|
-
}
|
|
76
|
+
}
|
|
77
77
|
};
|
|
78
78
|
schema_1.SchemaRegistry.getInstance().trackSchema(listenEventOptionsSchema);
|
|
79
79
|
exports.default = listenEventOptionsSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listenEventOptions.schema.js","sourceRoot":"","sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/listenEventOptions.schema.ts"],"names":[],"mappings":";;AAAA,+CAAmD;
|
|
1
|
+
{"version":3,"file":"listenEventOptions.schema.js","sourceRoot":"","sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/listenEventOptions.schema.ts"],"names":[],"mappings":";;AAAA,+CAAmD;AAKnD,MAAM,wBAAwB,GAAkE;IAC/F,EAAE,EAAE,oBAAoB;IACxB,OAAO,EAAE,aAAa;IACtB,SAAS,EAAE,WAAW;IACtB,IAAI,EAAE,wBAAwB;IAC9B,WAAW,EAAE,2BAA2B;IACpC,MAAM,EAAE;QACA,mEAAmE;QACnE,wBAAwB,EAAE;YACtB,KAAK,EAAE,sBAAsB;YAC7B,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,wCAAwC;YAC9C,YAAY,EAAE,gBAAgB;YAC9B,OAAO,EAAE,SAAS;SACrB;QACD,sFAAsF;QACtF,sBAAsB,EAAE;YACpB,KAAK,EAAE,+BAA+B;YACtC,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,kDAAkD;YACxD,YAAY,EAAE,iBAAiB;YAC/B,OAAO,EAAE,SAAS;SACrB;QACD,kEAAkE;QAClE,0BAA0B,EAAE;YACxB,KAAK,EAAE,uBAAuB;YAC9B,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,sCAAsC;YAC5C,OAAO,EAAE,SAAS;SACrB;QACD,kCAAkC;QAClC,6BAA6B,EAAE;YAC3B,KAAK,EAAE,4BAA4B;Y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