@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,45 +1,39 @@
|
|
|
1
1
|
import { SchemaRegistry } from '@sprucelabs/schema'
|
|
2
2
|
import { SpruceSchemas } from '../../schemas.types'
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
-
{ label: 'Deleted', value: 'deleted' },
|
|
38
|
-
],
|
|
39
|
-
},
|
|
40
|
-
},
|
|
41
|
-
},
|
|
42
|
-
}
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
const generatedDirSchema: SpruceSchemas.SpruceCli.v2020_07_22.GeneratedDirSchema = {
|
|
7
|
+
id: 'generatedDir',
|
|
8
|
+
version: 'v2020_07_22',
|
|
9
|
+
namespace: 'SpruceCli',
|
|
10
|
+
name: '',
|
|
11
|
+
fields: {
|
|
12
|
+
/** . */
|
|
13
|
+
'name': {
|
|
14
|
+
type: 'text',
|
|
15
|
+
isRequired: true,
|
|
16
|
+
options: undefined
|
|
17
|
+
},
|
|
18
|
+
/** . */
|
|
19
|
+
'path': {
|
|
20
|
+
type: 'text',
|
|
21
|
+
isRequired: true,
|
|
22
|
+
options: undefined
|
|
23
|
+
},
|
|
24
|
+
/** . */
|
|
25
|
+
'description': {
|
|
26
|
+
type: 'text',
|
|
27
|
+
options: undefined
|
|
28
|
+
},
|
|
29
|
+
/** . */
|
|
30
|
+
'action': {
|
|
31
|
+
type: 'select',
|
|
32
|
+
isRequired: true,
|
|
33
|
+
options: {choices: [{"label":"Skipped","value":"skipped"},{"label":"Generated","value":"generated"},{"label":"Updated","value":"updated"},{"label":"Deleted","value":"deleted"}],}
|
|
34
|
+
},
|
|
35
|
+
}
|
|
36
|
+
}
|
|
43
37
|
|
|
44
38
|
SchemaRegistry.getInstance().trackSchema(generatedDirSchema)
|
|
45
39
|
|
|
@@ -1,45 +1,39 @@
|
|
|
1
1
|
import { SchemaRegistry } from '@sprucelabs/schema'
|
|
2
2
|
import { SpruceSchemas } from '../../schemas.types'
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
-
{ label: 'Deleted', value: 'deleted' },
|
|
38
|
-
],
|
|
39
|
-
},
|
|
40
|
-
},
|
|
41
|
-
},
|
|
42
|
-
}
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
const generatedFileSchema: SpruceSchemas.SpruceCli.v2020_07_22.GeneratedFileSchema = {
|
|
7
|
+
id: 'generatedFile',
|
|
8
|
+
version: 'v2020_07_22',
|
|
9
|
+
namespace: 'SpruceCli',
|
|
10
|
+
name: '',
|
|
11
|
+
fields: {
|
|
12
|
+
/** . */
|
|
13
|
+
'name': {
|
|
14
|
+
type: 'text',
|
|
15
|
+
isRequired: true,
|
|
16
|
+
options: undefined
|
|
17
|
+
},
|
|
18
|
+
/** . */
|
|
19
|
+
'path': {
|
|
20
|
+
type: 'text',
|
|
21
|
+
isRequired: true,
|
|
22
|
+
options: undefined
|
|
23
|
+
},
|
|
24
|
+
/** . */
|
|
25
|
+
'description': {
|
|
26
|
+
type: 'text',
|
|
27
|
+
options: undefined
|
|
28
|
+
},
|
|
29
|
+
/** . */
|
|
30
|
+
'action': {
|
|
31
|
+
type: 'select',
|
|
32
|
+
isRequired: true,
|
|
33
|
+
options: {choices: [{"label":"Skipped","value":"skipped"},{"label":"Generated","value":"generated"},{"label":"Updated","value":"updated"},{"label":"Deleted","value":"deleted"}],}
|
|
34
|
+
},
|
|
35
|
+
}
|
|
36
|
+
}
|
|
43
37
|
|
|
44
38
|
SchemaRegistry.getInstance().trackSchema(generatedFileSchema)
|
|
45
39
|
|
package/src/.spruce/schemas/spruceCli/v2020_07_22/installSkillAtOrganizationOptions.schema.ts
CHANGED
|
@@ -1,26 +1,24 @@
|
|
|
1
1
|
import { SchemaRegistry } from '@sprucelabs/schema'
|
|
2
2
|
import { SpruceSchemas } from '../../schemas.types'
|
|
3
3
|
|
|
4
|
-
const installSkillAtOrganizationOptionsSchema: SpruceSchemas.SpruceCli.v2020_07_22.InstallSkillAtOrganizationOptionsSchema =
|
|
5
|
-
{
|
|
6
|
-
id: 'installSkillAtOrganizationOptions',
|
|
7
|
-
version: 'v2020_07_22',
|
|
8
|
-
namespace: 'SpruceCli',
|
|
9
|
-
name: 'install skill at organization action',
|
|
10
|
-
description:
|
|
11
|
-
'Install your skill at any organization you are connected to.',
|
|
12
|
-
fields: {
|
|
13
|
-
/** Organization id. */
|
|
14
|
-
organizationId: {
|
|
15
|
-
label: 'Organization id',
|
|
16
|
-
type: 'id',
|
|
17
|
-
options: undefined,
|
|
18
|
-
},
|
|
19
|
-
},
|
|
20
|
-
}
|
|
21
4
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
5
|
+
|
|
6
|
+
const installSkillAtOrganizationOptionsSchema: SpruceSchemas.SpruceCli.v2020_07_22.InstallSkillAtOrganizationOptionsSchema = {
|
|
7
|
+
id: 'installSkillAtOrganizationOptions',
|
|
8
|
+
version: 'v2020_07_22',
|
|
9
|
+
namespace: 'SpruceCli',
|
|
10
|
+
name: 'install skill at organization action',
|
|
11
|
+
description: 'Install your skill at any organization you are connected to.',
|
|
12
|
+
fields: {
|
|
13
|
+
/** Organization id. */
|
|
14
|
+
'organizationId': {
|
|
15
|
+
label: 'Organization id',
|
|
16
|
+
type: 'id',
|
|
17
|
+
options: undefined
|
|
18
|
+
},
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
SchemaRegistry.getInstance().trackSchema(installSkillAtOrganizationOptionsSchema)
|
|
25
23
|
|
|
26
24
|
export default installSkillAtOrganizationOptionsSchema
|
|
@@ -1,82 +1,82 @@
|
|
|
1
1
|
import { SchemaRegistry } from '@sprucelabs/schema'
|
|
2
2
|
import { SpruceSchemas } from '../../schemas.types'
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
-
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
const listenEventOptionsSchema: SpruceSchemas.SpruceCli.v2020_07_22.ListenEventOptionsSchema = {
|
|
7
|
+
id: 'listenEventOptions',
|
|
8
|
+
version: 'v2020_07_22',
|
|
9
|
+
namespace: 'SpruceCli',
|
|
10
|
+
name: 'Listen to event action',
|
|
11
|
+
description: 'Options for event.listen.',
|
|
12
|
+
fields: {
|
|
13
|
+
/** Contract destination. Where I will generate event contracts. */
|
|
14
|
+
'contractDestinationDir': {
|
|
15
|
+
label: 'Contract destination',
|
|
16
|
+
type: 'text',
|
|
17
|
+
hint: 'Where I will generate event contracts.',
|
|
18
|
+
defaultValue: "#spruce/events",
|
|
19
|
+
options: undefined
|
|
20
|
+
},
|
|
21
|
+
/** Schema types lookup directory. Where I will lookup schema types and interfaces. */
|
|
22
|
+
'schemaTypesLookupDir': {
|
|
23
|
+
label: 'Schema types lookup directory',
|
|
24
|
+
type: 'text',
|
|
25
|
+
hint: 'Where I will lookup schema types and interfaces.',
|
|
26
|
+
defaultValue: "#spruce/schemas",
|
|
27
|
+
options: undefined
|
|
28
|
+
},
|
|
29
|
+
/** Sync only core events. For use in @sprucelabs/mercury-types */
|
|
30
|
+
'shouldSyncOnlyCoreEvents': {
|
|
31
|
+
label: 'Sync only core events',
|
|
32
|
+
type: 'boolean',
|
|
33
|
+
hint: 'For use in @sprucelabs/mercury-types',
|
|
34
|
+
options: undefined
|
|
35
|
+
},
|
|
36
|
+
/** Event signature types file. */
|
|
37
|
+
'skillEventContractTypesFile': {
|
|
38
|
+
label: 'Event signature types file',
|
|
39
|
+
type: 'text',
|
|
40
|
+
defaultValue: "@sprucelabs/mercury-types/build/types/mercury.types",
|
|
41
|
+
options: undefined
|
|
42
|
+
},
|
|
43
|
+
/** Event builder file. */
|
|
44
|
+
'eventBuilderFile': {
|
|
45
|
+
label: 'Event builder file',
|
|
46
|
+
type: 'text',
|
|
47
|
+
defaultValue: "@sprucelabs/mercury-types",
|
|
48
|
+
options: undefined
|
|
49
|
+
},
|
|
50
|
+
/** Namespace. */
|
|
51
|
+
'namespace': {
|
|
52
|
+
label: 'Namespace',
|
|
53
|
+
type: 'text',
|
|
54
|
+
options: undefined
|
|
55
|
+
},
|
|
56
|
+
/** Event name. */
|
|
57
|
+
'eventName': {
|
|
58
|
+
label: 'Event name',
|
|
59
|
+
type: 'text',
|
|
60
|
+
options: undefined
|
|
61
|
+
},
|
|
62
|
+
/** Events destination directory. Where should I add your listeners? */
|
|
63
|
+
'listenerDestinationDir': {
|
|
64
|
+
label: 'Events destination directory',
|
|
65
|
+
type: 'text',
|
|
66
|
+
hint: 'Where should I add your listeners?',
|
|
67
|
+
defaultValue: "src/listeners",
|
|
68
|
+
options: undefined
|
|
69
|
+
},
|
|
70
|
+
/** Version. Set a version yourself instead of letting me generate one for you */
|
|
71
|
+
'version': {
|
|
72
|
+
label: 'Version',
|
|
73
|
+
type: 'text',
|
|
74
|
+
isPrivate: true,
|
|
75
|
+
hint: 'Set a version yourself instead of letting me generate one for you',
|
|
76
|
+
options: undefined
|
|
77
|
+
},
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
80
|
|
|
81
81
|
SchemaRegistry.getInstance().trackSchema(listenEventOptionsSchema)
|
|
82
82
|
|
|
@@ -1,97 +1,97 @@
|
|
|
1
1
|
import { SchemaRegistry } from '@sprucelabs/schema'
|
|
2
2
|
import { SpruceSchemas } from '../../schemas.types'
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
-
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
const namedTemplateItemSchema: SpruceSchemas.SpruceCli.v2020_07_22.NamedTemplateItemSchema = {
|
|
7
|
+
id: 'namedTemplateItem',
|
|
8
|
+
version: 'v2020_07_22',
|
|
9
|
+
namespace: 'SpruceCli',
|
|
10
|
+
name: 'NamedTemplateItem',
|
|
11
|
+
description: 'Used to collect input on the names of a class or interface',
|
|
12
|
+
fields: {
|
|
13
|
+
/** Readable name. The name people will read */
|
|
14
|
+
'nameReadable': {
|
|
15
|
+
label: 'Readable name',
|
|
16
|
+
type: 'text',
|
|
17
|
+
isRequired: true,
|
|
18
|
+
hint: 'The name people will read',
|
|
19
|
+
options: undefined
|
|
20
|
+
},
|
|
21
|
+
/** Readable name (plural). The plural form of the name people will read */
|
|
22
|
+
'nameReadablePlural': {
|
|
23
|
+
label: 'Readable name (plural)',
|
|
24
|
+
type: 'text',
|
|
25
|
+
isRequired: true,
|
|
26
|
+
hint: 'The plural form of the name people will read',
|
|
27
|
+
options: undefined
|
|
28
|
+
},
|
|
29
|
+
/** Camel case name. camelCase version of the name */
|
|
30
|
+
'nameCamel': {
|
|
31
|
+
label: 'Camel case name',
|
|
32
|
+
type: 'text',
|
|
33
|
+
isRequired: true,
|
|
34
|
+
hint: 'camelCase version of the name',
|
|
35
|
+
options: undefined
|
|
36
|
+
},
|
|
37
|
+
/** Plural camel case name. camelCase version of the name */
|
|
38
|
+
'nameCamelPlural': {
|
|
39
|
+
label: 'Plural camel case name',
|
|
40
|
+
type: 'text',
|
|
41
|
+
hint: 'camelCase version of the name',
|
|
42
|
+
options: undefined
|
|
43
|
+
},
|
|
44
|
+
/** Pascal case name. PascalCase of the name */
|
|
45
|
+
'namePascal': {
|
|
46
|
+
label: 'Pascal case name',
|
|
47
|
+
type: 'text',
|
|
48
|
+
hint: 'PascalCase of the name',
|
|
49
|
+
options: undefined
|
|
50
|
+
},
|
|
51
|
+
/** Plural Pascal case name. PascalCase of the name */
|
|
52
|
+
'namePascalPlural': {
|
|
53
|
+
label: 'Plural Pascal case name',
|
|
54
|
+
type: 'text',
|
|
55
|
+
hint: 'PascalCase of the name',
|
|
56
|
+
options: undefined
|
|
57
|
+
},
|
|
58
|
+
/** Constant case name. CONST_CASE of the name */
|
|
59
|
+
'nameConst': {
|
|
60
|
+
label: 'Constant case name',
|
|
61
|
+
type: 'text',
|
|
62
|
+
hint: 'CONST_CASE of the name',
|
|
63
|
+
options: undefined
|
|
64
|
+
},
|
|
65
|
+
/** Kebab case name. kebab-case of the name */
|
|
66
|
+
'nameKebab': {
|
|
67
|
+
label: 'Kebab case name',
|
|
68
|
+
type: 'text',
|
|
69
|
+
hint: 'kebab-case of the name',
|
|
70
|
+
options: undefined
|
|
71
|
+
},
|
|
72
|
+
/** Snake case name. snake_case of the name */
|
|
73
|
+
'nameSnake': {
|
|
74
|
+
label: 'Snake case name',
|
|
75
|
+
type: 'text',
|
|
76
|
+
hint: 'snake_case of the name',
|
|
77
|
+
options: undefined
|
|
78
|
+
},
|
|
79
|
+
/** Snake case name (plural). snakes_case of the name */
|
|
80
|
+
'nameSnakePlural': {
|
|
81
|
+
label: 'Snake case name (plural)',
|
|
82
|
+
type: 'text',
|
|
83
|
+
hint: 'snakes_case of the name',
|
|
84
|
+
options: undefined
|
|
85
|
+
},
|
|
86
|
+
/** Description. Describe a bit more here */
|
|
87
|
+
'description': {
|
|
88
|
+
label: 'Description',
|
|
89
|
+
type: 'text',
|
|
90
|
+
hint: 'Describe a bit more here',
|
|
91
|
+
options: undefined
|
|
92
|
+
},
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
95
|
|
|
96
96
|
SchemaRegistry.getInstance().trackSchema(namedTemplateItemSchema)
|
|
97
97
|
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import { SchemaRegistry } from '@sprucelabs/schema'
|
|
2
2
|
import { SpruceSchemas } from '../../schemas.types'
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
const nodeFeatureOptionsSchema: SpruceSchemas.SpruceCli.v2020_07_22.NodeFeatureOptionsSchema = {
|
|
7
|
+
id: 'nodeFeatureOptions',
|
|
8
|
+
version: 'v2020_07_22',
|
|
9
|
+
namespace: 'SpruceCli',
|
|
10
|
+
name: 'Create node module',
|
|
11
|
+
description: 'Create a new node module, to be written in typescript, ready to rock!',
|
|
12
|
+
fields: {
|
|
13
|
+
/** . */
|
|
14
|
+
'destination': {
|
|
15
|
+
type: 'text',
|
|
16
|
+
defaultValue: ".",
|
|
17
|
+
options: undefined
|
|
18
|
+
},
|
|
19
|
+
/** What's the name of your module?. */
|
|
20
|
+
'name': {
|
|
21
|
+
label: 'What\'s the name of your module?',
|
|
22
|
+
type: 'text',
|
|
23
|
+
isRequired: true,
|
|
24
|
+
options: undefined
|
|
25
|
+
},
|
|
26
|
+
/** How would you describe your module?. */
|
|
27
|
+
'description': {
|
|
28
|
+
label: 'How would you describe your module?',
|
|
29
|
+
type: 'text',
|
|
30
|
+
isRequired: true,
|
|
31
|
+
options: undefined
|
|
32
|
+
},
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
35
|
|
|
36
36
|
SchemaRegistry.getInstance().trackSchema(nodeFeatureOptionsSchema)
|
|
37
37
|
|