@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,164 +9,164 @@ const syncErrorOptionsSchema = {
|
|
|
9
9
|
description: 'Keep your errors types in sync with your builders',
|
|
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
|
/** Module import. When other skills use your schemas, will they import them from a module? */
|
|
53
|
-
moduleToImportFromWhenRemote: {
|
|
53
|
+
'moduleToImportFromWhenRemote': {
|
|
54
54
|
label: 'Module import',
|
|
55
55
|
type: 'text',
|
|
56
56
|
hint: 'When other skills use your schemas, will they import them from a module?',
|
|
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
|
/** 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. */
|
|
128
|
-
generateStandaloneTypesFile: {
|
|
128
|
+
'generateStandaloneTypesFile': {
|
|
129
129
|
label: 'Generate standalone types file',
|
|
130
130
|
type: 'boolean',
|
|
131
131
|
isPrivate: true,
|
|
132
|
-
hint:
|
|
132
|
+
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.',
|
|
133
133
|
defaultValue: false,
|
|
134
|
-
options: undefined
|
|
134
|
+
options: undefined
|
|
135
135
|
},
|
|
136
136
|
/** message. */
|
|
137
|
-
syncingMessage: {
|
|
137
|
+
'syncingMessage': {
|
|
138
138
|
label: ' message',
|
|
139
139
|
type: 'text',
|
|
140
140
|
isPrivate: true,
|
|
141
|
-
defaultValue:
|
|
142
|
-
options: undefined
|
|
141
|
+
defaultValue: "Syncing schemas...",
|
|
142
|
+
options: undefined
|
|
143
143
|
},
|
|
144
144
|
/** Error class destination. Where I'll save your new Error class file? */
|
|
145
|
-
errorClassDestinationDir: {
|
|
145
|
+
'errorClassDestinationDir': {
|
|
146
146
|
label: 'Error class destination',
|
|
147
147
|
type: 'text',
|
|
148
148
|
isPrivate: true,
|
|
149
149
|
isRequired: true,
|
|
150
|
-
hint:
|
|
151
|
-
defaultValue:
|
|
152
|
-
options: undefined
|
|
150
|
+
hint: 'Where I\'ll save your new Error class file?',
|
|
151
|
+
defaultValue: "src/errors",
|
|
152
|
+
options: undefined
|
|
153
153
|
},
|
|
154
154
|
/** . Where I should look for your error builders? */
|
|
155
|
-
errorLookupDir: {
|
|
155
|
+
'errorLookupDir': {
|
|
156
156
|
type: 'text',
|
|
157
157
|
hint: 'Where I should look for your error builders?',
|
|
158
|
-
defaultValue:
|
|
159
|
-
options: undefined
|
|
158
|
+
defaultValue: "src/errors",
|
|
159
|
+
options: undefined
|
|
160
160
|
},
|
|
161
161
|
/** Types destination dir. This is where error options and type information will be written */
|
|
162
|
-
errorTypesDestinationDir: {
|
|
162
|
+
'errorTypesDestinationDir': {
|
|
163
163
|
label: 'Types destination dir',
|
|
164
164
|
type: 'text',
|
|
165
165
|
hint: 'This is where error options and type information will be written',
|
|
166
|
-
defaultValue:
|
|
167
|
-
options: undefined
|
|
166
|
+
defaultValue: "#spruce/errors",
|
|
167
|
+
options: undefined
|
|
168
168
|
},
|
|
169
|
-
}
|
|
169
|
+
}
|
|
170
170
|
};
|
|
171
171
|
schema_1.SchemaRegistry.getInstance().trackSchema(syncErrorOptionsSchema);
|
|
172
172
|
exports.default = syncErrorOptionsSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"syncErrorOptions.schema.js","sourceRoot":"","sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/syncErrorOptions.schema.ts"],"names":[],"mappings":";;AAAA,+CAAmD;
|
|
1
|
+
{"version":3,"file":"syncErrorOptions.schema.js","sourceRoot":"","sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/syncErrorOptions.schema.ts"],"names":[],"mappings":";;AAAA,+CAAmD;AAKnD,MAAM,sBAAsB,GAAgE;IAC3F,EAAE,EAAE,kBAAkB;IACtB,OAAO,EAAE,aAAa;IACtB,SAAS,EAAE,WAAW;IACtB,IAAI,EAAE,mBAAmB;IACzB,WAAW,EAAE,mDAAmD;IAC5D,MAAM,EAAE;QACA,iFAAiF;QACjF,0BAA0B,EAAE;YACxB,KAAK,EAAE,uBAAuB;YAC9B,IAAI,EAAE,MAAM;YACZ,SAAS,EAAE,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AE,KAAK;YACnB,OAAO,EAAE,SAAS;SACrB;QACD,gBAAgB;QAChB,gBAAgB,EAAE;YACd,KAAK,EAAE,UAAU;YACjB,IAAI,EAAE,MAAM;YACZ,SAAS,EAAE,IAAI;YACf,YAAY,EAAE,oBAAoB;YAClC,OAAO,EAAE,SAAS;SACrB;QACD,0EAA0E;QAC1E,0BAA0B,EAAE;YACxB,KAAK,EAAE,yBAAyB;YAChC,IAAI,EAAE,MAAM;YACZ,SAAS,EAAE,IAAI;YACf,UAAU,EAAE,IAAI;YAChB,IAAI,EAAE,6CAA6C;YACnD,YAAY,EAAE,YAAY;YAC1B,OAAO,EAAE,SAAS;SACrB;QACD,qDAAqD;QACrD,gBAAgB,EAAE;YACd,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,8CAA8C;YACpD,YAAY,EAAE,YAAY;YAC1B,OAAO,EAAE,SAAS;SACrB;QACD,8FAA8F;QAC9F,0BAA0B,EAAE;YACxB,KAAK,EAAE,uBAAuB;YAC9B,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,kEAAkE;YACxE,YAAY,EAAE,gBAAgB;YAC9B,OAAO,EAAE,SAAS;SACrB;KACR;CACL,CAAA;AAED,uBAAc,CAAC,WAAW,EAAE,CAAC,WAAW,CAAC,sBAAsB,CAAC,CAAA;AAEhE,kBAAe,sBAAsB,CAAA"}
|
|
@@ -9,43 +9,43 @@ const syncEventOptionsSchema = {
|
|
|
9
9
|
description: 'Pull down event contracts from Mercury to make them available in your skill.',
|
|
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
|
+
}
|
|
49
49
|
};
|
|
50
50
|
schema_1.SchemaRegistry.getInstance().trackSchema(syncEventOptionsSchema);
|
|
51
51
|
exports.default = syncEventOptionsSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"syncEventOptions.schema.js","sourceRoot":"","sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/syncEventOptions.schema.ts"],"names":[],"mappings":";;AAAA,+CAAmD;
|
|
1
|
+
{"version":3,"file":"syncEventOptions.schema.js","sourceRoot":"","sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/syncEventOptions.schema.ts"],"names":[],"mappings":";;AAAA,+CAAmD;AAKnD,MAAM,sBAAsB,GAAgE;IAC3F,EAAE,EAAE,kBAAkB;IACtB,OAAO,EAAE,aAAa;IACtB,SAAS,EAAE,WAAW;IACtB,IAAI,EAAE,mBAAmB;IACzB,WAAW,EAAE,8EAA8E;IACvF,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;YACnC,IAAI,EAAE,MAAM;YACZ,YAAY,EAAE,qDAAqD;YACnE,OAAO,EAAE,SAAS;SACrB;QACD,0BAA0B;QAC1B,kBAAkB,EAAE;YAChB,KAAK,EAAE,oBAAoB;YAC3B,IAAI,EAAE,MAAM;YACZ,YAAY,EAAE,2BAA2B;YACzC,OAAO,EAAE,SAAS;SACrB;KACR;CACL,CAAA;AAED,uBAAc,CAAC,WAAW,EAAE,CAAC,WAAW,CAAC,sBAAsB,CAAC,CAAA;AAEhE,kBAAe,sBAAsB,CAAA"}
|
|
@@ -9,32 +9,32 @@ const syncSchemaFieldsOptionsSchema = {
|
|
|
9
9
|
description: 'Sync schema fields so you can use schemas!',
|
|
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
|
+
}
|
|
38
38
|
};
|
|
39
39
|
schema_1.SchemaRegistry.getInstance().trackSchema(syncSchemaFieldsOptionsSchema);
|
|
40
40
|
exports.default = syncSchemaFieldsOptionsSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"syncSchemaFieldsOptions.schema.js","sourceRoot":"","sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/syncSchemaFieldsOptions.schema.ts"],"names":[],"mappings":";;AAAA,+CAAmD;
|
|
1
|
+
{"version":3,"file":"syncSchemaFieldsOptions.schema.js","sourceRoot":"","sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/syncSchemaFieldsOptions.schema.ts"],"names":[],"mappings":";;AAAA,+CAAmD;AAKnD,MAAM,6BAA6B,GAAuE;IACzG,EAAE,EAAE,yBAAyB;IAC7B,OAAO,EAAE,aAAa;IACtB,SAAS,EAAE,WAAW;IACtB,IAAI,EAAE,yBAAyB;IAC/B,WAAW,EAAE,4CAA4C;IACrD,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;KACR;CACL,CAAA;AAED,uBAAc,CAAC,WAAW,EAAE,CAAC,WAAW,CAAC,6BAA6B,CAAC,CAAA;AAEvE,kBAAe,6BAA6B,CAAA"}
|
|
@@ -9,157 +9,157 @@ const syncSchemasOptionsSchema = {
|
|
|
9
9
|
description: 'Options for schema.sync.',
|
|
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
|
/** Module import. When other skills use your schemas, will they import them from a module? */
|
|
53
|
-
moduleToImportFromWhenRemote: {
|
|
53
|
+
'moduleToImportFromWhenRemote': {
|
|
54
54
|
label: 'Module import',
|
|
55
55
|
type: 'text',
|
|
56
56
|
hint: 'When other skills use your schemas, will they import them from a module?',
|
|
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
|
+
}
|
|
163
163
|
};
|
|
164
164
|
schema_1.SchemaRegistry.getInstance().trackSchema(syncSchemasOptionsSchema);
|
|
165
165
|
exports.default = syncSchemasOptionsSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"syncSchemasOptions.schema.js","sourceRoot":"","sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/syncSchemasOptions.schema.ts"],"names":[],"mappings":";;AAAA,+CAAmD;
|
|
1
|
+
{"version":3,"file":"syncSchemasOptions.schema.js","sourceRoot":"","sources":["../../../../../src/.spruce/schemas/spruceCli/v2020_07_22/syncSchemasOptions.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,qBAAqB;IAC3B,WAAW,EAAE,0BAA0B;IACnC,MAAM,EAAE;QACA,iFAAiF;QACjF,0BAA0B,EAAE;YACxB,KAAK,EAAE,uBAAuB;YAC9B,I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