sanity 3.77.2-server-side-schemas.21 → 3.77.2-server-side-schemas.25
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/lib/_chunks-cjs/_internal.js +19 -4
- package/lib/_chunks-cjs/_internal.js.map +1 -1
- package/lib/_chunks-cjs/deleteSchemaAction.js +34 -19
- package/lib/_chunks-cjs/deleteSchemaAction.js.map +1 -1
- package/lib/_chunks-cjs/deployAction.js +2 -2
- package/lib/_chunks-cjs/deployAction.js.map +1 -1
- package/lib/_chunks-cjs/storeSchemasAction.js +95 -20
- package/lib/_chunks-cjs/storeSchemasAction.js.map +1 -1
- package/lib/_chunks-cjs/version.js +1 -1
- package/lib/_chunks-es/version.mjs +1 -1
- package/lib/_legacy/version.esm.js +1 -1
- package/package.json +10 -10
- package/src/_internal/cli/actions/schema/deleteSchemaAction.ts +60 -19
- package/src/_internal/cli/actions/schema/schemaListAction.ts +63 -41
- package/src/_internal/cli/actions/schema/storeSchemasAction.ts +51 -35
- package/src/_internal/cli/commands/schema/deleteSchemaCommand.ts +2 -0
- package/src/_internal/cli/commands/schema/storeSchemaCommand.ts +12 -1
- package/lib/_chunks-cjs/schemaListAction.js +0 -61
- package/lib/_chunks-cjs/schemaListAction.js.map +0 -1
@@ -3483,6 +3483,8 @@ const description$4 = "Delete schemas by their IDs.", helpText$7 = `
|
|
3483
3483
|
|
3484
3484
|
Options
|
3485
3485
|
--ids <schema_id_1,schema_id_2,...> comma-separated list of schema IDs to delete
|
3486
|
+
--dataset <dataset_name> delete schemas from a specific dataset
|
3487
|
+
--path <path> path to the manifest file if it is not in the default location
|
3486
3488
|
|
3487
3489
|
Examples
|
3488
3490
|
# Delete single schema
|
@@ -3547,7 +3549,9 @@ Examples
|
|
3547
3549
|
description: description$2,
|
3548
3550
|
helpText: helpText$5,
|
3549
3551
|
action: async (args, context) => (await Promise.resolve().then(function() {
|
3550
|
-
return require("./
|
3552
|
+
return require("./storeSchemasAction.js");
|
3553
|
+
}).then(function(n) {
|
3554
|
+
return n.schemaListAction;
|
3551
3555
|
})).default(args, context)
|
3552
3556
|
}, description$1 = "Store schemas into the current dataset.", helpText$4 = `
|
3553
3557
|
**Note**: This command is experimental and subject to change.
|
@@ -3569,9 +3573,20 @@ Examples
|
|
3569
3573
|
signature: "",
|
3570
3574
|
description: description$1,
|
3571
3575
|
helpText: helpText$4,
|
3572
|
-
action: async (args, context) =>
|
3573
|
-
|
3574
|
-
|
3576
|
+
action: async (args, context) => {
|
3577
|
+
const mod = await Promise.resolve().then(function() {
|
3578
|
+
return require("./storeSchemasAction.js");
|
3579
|
+
}).then(function(n) {
|
3580
|
+
return n.storeSchemasAction$1;
|
3581
|
+
}), extendedArgs = {
|
3582
|
+
...args,
|
3583
|
+
extOptions: {
|
3584
|
+
...args.extOptions,
|
3585
|
+
"schema-required": !0
|
3586
|
+
}
|
3587
|
+
};
|
3588
|
+
return mod.default(extendedArgs, context);
|
3589
|
+
}
|
3575
3590
|
}, description = "Validates all schema types specified in a workspace.", helpText$3 = `
|
3576
3591
|
Options
|
3577
3592
|
--workspace <name> The name of the workspace to use when validating all schema types.
|