sanity 3.77.2-server-side-schemas.18 → 3.77.2-server-side-schemas.24

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.
@@ -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("./schemaListAction.js");
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) => (await Promise.resolve().then(function() {
3573
- return require("./storeSchemasAction.js");
3574
- })).default(args, context)
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.