@contrail/cli 3.6.0-alpha-8-alpha.d292a3d → 3.6.0-alpha-8-alpha.19e980d
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/README.md
CHANGED
|
@@ -17,7 +17,7 @@ $ npm install -g @contrail/cli
|
|
|
17
17
|
$ contrail COMMAND
|
|
18
18
|
running command...
|
|
19
19
|
$ contrail (--version)
|
|
20
|
-
@contrail/cli/3.6.0-alpha-8-alpha.
|
|
20
|
+
@contrail/cli/3.6.0-alpha-8-alpha.19e980d linux-x64 node-v24.21.0
|
|
21
21
|
$ contrail --help [COMMAND]
|
|
22
22
|
USAGE
|
|
23
23
|
$ contrail COMMAND
|
|
@@ -290,8 +290,6 @@ class CreateEntity extends basecommand_1.BaseCommand {
|
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
292
|
exports.default = CreateEntity;
|
|
293
|
-
// Every row is attempted; a failed row never stops the run. The summary pairs
|
|
294
|
-
// each failed input with its error so the failed rows can be retried as-is.
|
|
295
293
|
function summarizeSettledCreates(inputs, settled) {
|
|
296
294
|
const created = [];
|
|
297
295
|
const failed = [];
|
|
@@ -538,9 +536,7 @@ function castValueToPropertyType(value, propertyType) {
|
|
|
538
536
|
if (Array.isArray(value)) {
|
|
539
537
|
return value;
|
|
540
538
|
}
|
|
541
|
-
//
|
|
542
|
-
// comma in it. Warn with the repeated-key equivalent instead of
|
|
543
|
-
// guessing at a split.
|
|
539
|
+
// the old comma syntax parses as one literal value; warn instead of guessing at a split
|
|
544
540
|
if (typeof value === 'string' && value.includes(',')) {
|
|
545
541
|
console.error(`Value "${value}" for a multi-value property contains a comma and is treated as one literal value. To pass several values, repeat the key: slug=${value
|
|
546
542
|
.split(',')
|
|
@@ -333,8 +333,6 @@ describe('Entity Creation E2E Happy Path', () => {
|
|
|
333
333
|
const propertySpecs = (0, propertySpecifications_1.parsePropertySpecificationsIntoMap)([
|
|
334
334
|
'roles=option',
|
|
335
335
|
]);
|
|
336
|
-
// a single roles value stays scalar at the parse layer and is
|
|
337
|
-
// normalized to an array where it is consumed
|
|
338
336
|
const roles = [].concat(propertySpecs.get('roles'));
|
|
339
337
|
// Test that property level matching works with specified roles
|
|
340
338
|
expect((0, create_1.doesPropertyLevelMatchRole)(types_1.PropertyLevel.OPTION, roles[0])).toBe(true);
|
|
@@ -123,8 +123,6 @@ class UpdateEntity extends basecommand_1.BaseCommand {
|
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
125
|
exports.default = UpdateEntity;
|
|
126
|
-
// Every row is attempted; a failed row never stops the run. The summary pairs
|
|
127
|
-
// each failed id with its error so the failed rows can be retried.
|
|
128
126
|
function summarizeSettledUpdates(inputs, settled, skipped) {
|
|
129
127
|
const updated = [];
|
|
130
128
|
const failed = [];
|
package/oclif.manifest.json
CHANGED