@sanity/cli 7.10.0 → 7.12.0
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 +31 -22
- package/dist/actions/auth/ensureAuthenticated.js +2 -0
- package/dist/actions/auth/ensureAuthenticated.js.map +1 -1
- package/dist/actions/auth/login/loginInstructions.js +19 -0
- package/dist/actions/auth/login/loginInstructions.js.map +1 -0
- package/dist/actions/build/buildApp.js +10 -7
- package/dist/actions/build/buildApp.js.map +1 -1
- package/dist/actions/build/buildStudio.js +9 -6
- package/dist/actions/build/buildStudio.js.map +1 -1
- package/dist/actions/build/types.js.map +1 -1
- package/dist/actions/dataset/resolveDataset.js +7 -1
- package/dist/actions/dataset/resolveDataset.js.map +1 -1
- package/dist/actions/deploy/deployApp.js +205 -157
- package/dist/actions/deploy/deployApp.js.map +1 -1
- package/dist/actions/deploy/deployChecks.js +1 -1
- package/dist/actions/deploy/deployChecks.js.map +1 -1
- package/dist/actions/deploy/deployStudio.js +127 -86
- package/dist/actions/deploy/deployStudio.js.map +1 -1
- package/dist/actions/deploy/resolveDeployTarget.js +5 -9
- package/dist/actions/deploy/resolveDeployTarget.js.map +1 -1
- package/dist/actions/dev/devAction.js +1 -2
- package/dist/actions/dev/devAction.js.map +1 -1
- package/dist/actions/dev/servers/getDevServerConfig.js +8 -2
- package/dist/actions/dev/servers/getDevServerConfig.js.map +1 -1
- package/dist/actions/graphql/resolveApiGeneration.js +9 -6
- package/dist/actions/graphql/resolveApiGeneration.js.map +1 -1
- package/dist/actions/init/bootstrapLocalTemplate.js +18 -9
- package/dist/actions/init/bootstrapLocalTemplate.js.map +1 -1
- package/dist/actions/init/createAppCliConfig.js.map +1 -1
- package/dist/actions/init/createCliConfig.js.map +1 -1
- package/dist/actions/init/initAction.js +23 -15
- package/dist/actions/init/initAction.js.map +1 -1
- package/dist/actions/manifest/extractCoreAppManifest.js +5 -3
- package/dist/actions/manifest/extractCoreAppManifest.js.map +1 -1
- package/dist/actions/migration/constants.js +10 -0
- package/dist/actions/migration/constants.js.map +1 -0
- package/dist/actions/migration/ensureApiVersionFormat.js +16 -0
- package/dist/actions/migration/ensureApiVersionFormat.js.map +1 -0
- package/dist/actions/migration/fileExists.js +13 -0
- package/dist/actions/migration/fileExists.js.map +1 -0
- package/dist/actions/migration/prettyMutationFormatter.js +155 -0
- package/dist/actions/migration/prettyMutationFormatter.js.map +1 -0
- package/dist/actions/migration/resolveMigrationScript.js +75 -0
- package/dist/actions/migration/resolveMigrationScript.js.map +1 -0
- package/dist/actions/migration/resolveMigrations.js +50 -0
- package/dist/actions/migration/resolveMigrations.js.map +1 -0
- package/dist/actions/migration/templates/index.js +7 -0
- package/dist/actions/migration/templates/index.js.map +1 -0
- package/dist/actions/migration/templates/minimalAdvanced.js +21 -0
- package/dist/actions/migration/templates/minimalAdvanced.js.map +1 -0
- package/dist/actions/migration/templates/minimalSimple.js +61 -0
- package/dist/actions/migration/templates/minimalSimple.js.map +1 -0
- package/dist/actions/migration/templates/renameField.js +20 -0
- package/dist/actions/migration/templates/renameField.js.map +1 -0
- package/dist/actions/migration/templates/renameType.js +19 -0
- package/dist/actions/migration/templates/renameType.js.map +1 -0
- package/dist/actions/migration/templates/stringToPTE.js +32 -0
- package/dist/actions/migration/templates/stringToPTE.js.map +1 -0
- package/dist/actions/migration/tree.js +111 -0
- package/dist/actions/migration/tree.js.map +1 -0
- package/dist/actions/preview/previewAction.js +33 -1
- package/dist/actions/preview/previewAction.js.map +1 -1
- package/dist/actions/schema/listSchemas.js +6 -4
- package/dist/actions/schema/listSchemas.js.map +1 -1
- package/dist/actions/tokens/validateRole.js +2 -1
- package/dist/actions/tokens/validateRole.js.map +1 -1
- package/dist/actions/undeploy/runUndeploy.js +13 -4
- package/dist/actions/undeploy/runUndeploy.js.map +1 -1
- package/dist/commands/backups/disable.js +5 -1
- package/dist/commands/backups/disable.js.map +1 -1
- package/dist/commands/backups/download.js +30 -6
- package/dist/commands/backups/download.js.map +1 -1
- package/dist/commands/backups/enable.js +5 -1
- package/dist/commands/backups/enable.js.map +1 -1
- package/dist/commands/backups/list.js +5 -1
- package/dist/commands/backups/list.js.map +1 -1
- package/dist/commands/cors/add.js +15 -7
- package/dist/commands/cors/add.js.map +1 -1
- package/dist/commands/cors/delete.js +6 -1
- package/dist/commands/cors/delete.js.map +1 -1
- package/dist/commands/datasets/alias/create.js +25 -18
- package/dist/commands/datasets/alias/create.js.map +1 -1
- package/dist/commands/datasets/alias/delete.js +15 -8
- package/dist/commands/datasets/alias/delete.js.map +1 -1
- package/dist/commands/datasets/alias/link.js +39 -17
- package/dist/commands/datasets/alias/link.js.map +1 -1
- package/dist/commands/datasets/alias/unlink.js +23 -2
- package/dist/commands/datasets/alias/unlink.js.map +1 -1
- package/dist/commands/datasets/copy.js +18 -2
- package/dist/commands/datasets/copy.js.map +1 -1
- package/dist/commands/datasets/create.js +8 -2
- package/dist/commands/datasets/create.js.map +1 -1
- package/dist/commands/datasets/delete.js +14 -17
- package/dist/commands/datasets/delete.js.map +1 -1
- package/dist/commands/datasets/embeddings/disable.js +3 -0
- package/dist/commands/datasets/embeddings/disable.js.map +1 -1
- package/dist/commands/datasets/embeddings/enable.js +5 -2
- package/dist/commands/datasets/embeddings/enable.js.map +1 -1
- package/dist/commands/datasets/embeddings/status.js +3 -0
- package/dist/commands/datasets/embeddings/status.js.map +1 -1
- package/dist/commands/datasets/export.js +27 -15
- package/dist/commands/datasets/export.js.map +1 -1
- package/dist/commands/datasets/import.js +3 -3
- package/dist/commands/datasets/import.js.map +1 -1
- package/dist/commands/datasets/visibility/get.js +2 -2
- package/dist/commands/datasets/visibility/get.js.map +1 -1
- package/dist/commands/datasets/visibility/set.js +2 -2
- package/dist/commands/datasets/visibility/set.js.map +1 -1
- package/dist/commands/docs/read.js +3 -3
- package/dist/commands/docs/read.js.map +1 -1
- package/dist/commands/documents/create.js +18 -13
- package/dist/commands/documents/create.js.map +1 -1
- package/dist/commands/documents/delete.js +3 -3
- package/dist/commands/documents/delete.js.map +1 -1
- package/dist/commands/documents/get.js +3 -3
- package/dist/commands/documents/get.js.map +1 -1
- package/dist/commands/documents/query.js +3 -3
- package/dist/commands/documents/query.js.map +1 -1
- package/dist/commands/documents/validate.js +29 -26
- package/dist/commands/documents/validate.js.map +1 -1
- package/dist/commands/graphql/deploy.js +20 -16
- package/dist/commands/graphql/deploy.js.map +1 -1
- package/dist/commands/graphql/undeploy.js +15 -18
- package/dist/commands/graphql/undeploy.js.map +1 -1
- package/dist/commands/hooks/delete.js +2 -2
- package/dist/commands/hooks/delete.js.map +1 -1
- package/dist/commands/hooks/logs.js +2 -2
- package/dist/commands/hooks/logs.js.map +1 -1
- package/dist/commands/login.js +2 -1
- package/dist/commands/login.js.map +1 -1
- package/dist/commands/media/create-aspect.js +20 -8
- package/dist/commands/media/create-aspect.js.map +1 -1
- package/dist/commands/media/delete-aspect.js +31 -16
- package/dist/commands/media/delete-aspect.js.map +1 -1
- package/dist/commands/media/deploy-aspect.js +10 -5
- package/dist/commands/media/deploy-aspect.js.map +1 -1
- package/dist/commands/media/export.js +9 -4
- package/dist/commands/media/export.js.map +1 -1
- package/dist/commands/media/import.js +6 -1
- package/dist/commands/media/import.js.map +1 -1
- package/dist/commands/migrations/create.js +150 -0
- package/dist/commands/migrations/create.js.map +1 -0
- package/dist/commands/migrations/list.js +64 -0
- package/dist/commands/migrations/list.js.map +1 -0
- package/dist/commands/migrations/run.js +306 -0
- package/dist/commands/migrations/run.js.map +1 -0
- package/dist/commands/preview.js +1 -0
- package/dist/commands/preview.js.map +1 -1
- package/dist/commands/projects/create.js +2 -1
- package/dist/commands/projects/create.js.map +1 -1
- package/dist/commands/schemas/delete.js +23 -2
- package/dist/commands/schemas/delete.js.map +1 -1
- package/dist/commands/schemas/deploy.js +6 -4
- package/dist/commands/schemas/deploy.js.map +1 -1
- package/dist/commands/schemas/extract.js +22 -1
- package/dist/commands/schemas/extract.js.map +1 -1
- package/dist/commands/schemas/list.js +8 -8
- package/dist/commands/schemas/list.js.map +1 -1
- package/dist/commands/tokens/{add.js → create.js} +25 -18
- package/dist/commands/tokens/create.js.map +1 -0
- package/dist/commands/tokens/delete.js +41 -23
- package/dist/commands/tokens/delete.js.map +1 -1
- package/dist/commands/undeploy.js +2 -7
- package/dist/commands/undeploy.js.map +1 -1
- package/dist/commands/users/invite.js +25 -3
- package/dist/commands/users/invite.js.map +1 -1
- package/dist/topicAliases.js +3 -0
- package/dist/topicAliases.js.map +1 -1
- package/dist/util/formatCliErrorMessages.js +5 -0
- package/dist/util/formatCliErrorMessages.js.map +1 -0
- package/oclif.config.js +5 -1
- package/oclif.manifest.json +579 -374
- package/package.json +7 -7
- package/dist/commands/tokens/add.js.map +0 -1
package/oclif.manifest.json
CHANGED
|
@@ -863,7 +863,7 @@
|
|
|
863
863
|
"type": "boolean"
|
|
864
864
|
},
|
|
865
865
|
"provider": {
|
|
866
|
-
"description": "Log in using
|
|
866
|
+
"description": "Log in using a provider ID (google, github, sanity, vercel)",
|
|
867
867
|
"exclusive": [
|
|
868
868
|
"sso",
|
|
869
869
|
"with-token"
|
|
@@ -1391,6 +1391,13 @@
|
|
|
1391
1391
|
"required": false,
|
|
1392
1392
|
"allowNo": true,
|
|
1393
1393
|
"type": "boolean"
|
|
1394
|
+
},
|
|
1395
|
+
"yes": {
|
|
1396
|
+
"char": "y",
|
|
1397
|
+
"description": "Confirm risky wildcard origins without prompting",
|
|
1398
|
+
"name": "yes",
|
|
1399
|
+
"allowNo": false,
|
|
1400
|
+
"type": "boolean"
|
|
1394
1401
|
}
|
|
1395
1402
|
},
|
|
1396
1403
|
"hasDynamicHelp": false,
|
|
@@ -2642,7 +2649,7 @@
|
|
|
2642
2649
|
"type": "option"
|
|
2643
2650
|
},
|
|
2644
2651
|
"file": {
|
|
2645
|
-
"description": "
|
|
2652
|
+
"description": "Path to an NDJSON file or tar archive containing an NDJSON file (optionally gzip-compressed)",
|
|
2646
2653
|
"name": "file",
|
|
2647
2654
|
"hasDynamicHelp": false,
|
|
2648
2655
|
"multiple": false,
|
|
@@ -2653,6 +2660,11 @@
|
|
|
2653
2660
|
"name": "format",
|
|
2654
2661
|
"hasDynamicHelp": false,
|
|
2655
2662
|
"multiple": false,
|
|
2663
|
+
"options": [
|
|
2664
|
+
"json",
|
|
2665
|
+
"ndjson",
|
|
2666
|
+
"pretty"
|
|
2667
|
+
],
|
|
2656
2668
|
"type": "option"
|
|
2657
2669
|
},
|
|
2658
2670
|
"level": {
|
|
@@ -2716,98 +2728,43 @@
|
|
|
2716
2728
|
"validate.js"
|
|
2717
2729
|
]
|
|
2718
2730
|
},
|
|
2719
|
-
"
|
|
2731
|
+
"hooks:attempt": {
|
|
2720
2732
|
"aliases": [],
|
|
2721
|
-
"args": {
|
|
2722
|
-
|
|
2733
|
+
"args": {
|
|
2734
|
+
"attemptId": {
|
|
2735
|
+
"description": "The delivery attempt ID to get details for",
|
|
2736
|
+
"name": "attemptId",
|
|
2737
|
+
"required": true
|
|
2738
|
+
}
|
|
2739
|
+
},
|
|
2740
|
+
"description": "Print details of a given webhook delivery attempt",
|
|
2723
2741
|
"examples": [
|
|
2724
2742
|
{
|
|
2725
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
2726
|
-
"description": "
|
|
2727
|
-
},
|
|
2728
|
-
{
|
|
2729
|
-
"command": "<%= config.bin %> <%= command.id %> --dry-run",
|
|
2730
|
-
"description": "Validate defined GraphQL APIs, check for breaking changes, skip deploy"
|
|
2731
|
-
},
|
|
2732
|
-
{
|
|
2733
|
-
"command": "<%= config.bin %> <%= command.id %> --api staging --api ios",
|
|
2734
|
-
"description": "Deploy only the GraphQL APIs with the IDs \"staging\" and \"ios\""
|
|
2743
|
+
"command": "<%= config.bin %> <%= command.id %> abc123",
|
|
2744
|
+
"description": "Print details of webhook delivery attempt with ID abc123"
|
|
2735
2745
|
},
|
|
2736
2746
|
{
|
|
2737
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
2738
|
-
"description": "
|
|
2747
|
+
"command": "<%= config.bin %> <%= command.id %> abc123 --project-id projectId",
|
|
2748
|
+
"description": "Get attempt details for a specific project"
|
|
2739
2749
|
}
|
|
2740
2750
|
],
|
|
2741
2751
|
"flags": {
|
|
2742
|
-
"
|
|
2743
|
-
"
|
|
2744
|
-
"
|
|
2745
|
-
"
|
|
2746
|
-
"
|
|
2747
|
-
"type": "option"
|
|
2748
|
-
},
|
|
2749
|
-
"dataset": {
|
|
2750
|
-
"char": "d",
|
|
2751
|
-
"description": "Deploy API for the given dataset",
|
|
2752
|
-
"name": "dataset",
|
|
2753
|
-
"hasDynamicHelp": false,
|
|
2754
|
-
"helpValue": "<name>",
|
|
2755
|
-
"multiple": false,
|
|
2756
|
-
"type": "option"
|
|
2757
|
-
},
|
|
2758
|
-
"dry-run": {
|
|
2759
|
-
"description": "Validate defined GraphQL APIs, check for breaking changes, skip deploy",
|
|
2760
|
-
"name": "dry-run",
|
|
2761
|
-
"allowNo": false,
|
|
2762
|
-
"type": "boolean"
|
|
2763
|
-
},
|
|
2764
|
-
"force": {
|
|
2765
|
-
"description": "Deploy API without confirming breaking changes",
|
|
2766
|
-
"name": "force",
|
|
2767
|
-
"allowNo": false,
|
|
2768
|
-
"type": "boolean"
|
|
2769
|
-
},
|
|
2770
|
-
"generation": {
|
|
2771
|
-
"description": "API generation to deploy (defaults to \"gen3\")",
|
|
2772
|
-
"name": "generation",
|
|
2773
|
-
"hasDynamicHelp": false,
|
|
2774
|
-
"multiple": false,
|
|
2775
|
-
"options": [
|
|
2776
|
-
"gen1",
|
|
2777
|
-
"gen2",
|
|
2778
|
-
"gen3"
|
|
2779
|
-
],
|
|
2780
|
-
"type": "option"
|
|
2781
|
-
},
|
|
2782
|
-
"non-null-document-fields": {
|
|
2783
|
-
"description": "Use non-null document fields (_id, _type etc)",
|
|
2784
|
-
"name": "non-null-document-fields",
|
|
2785
|
-
"allowNo": false,
|
|
2786
|
-
"type": "boolean"
|
|
2787
|
-
},
|
|
2788
|
-
"playground": {
|
|
2789
|
-
"description": "Enable GraphQL playground for easier debugging",
|
|
2790
|
-
"name": "playground",
|
|
2791
|
-
"allowNo": true,
|
|
2792
|
-
"type": "boolean"
|
|
2793
|
-
},
|
|
2794
|
-
"tag": {
|
|
2795
|
-
"description": "Deploy API(s) to given tag (defaults to \"default\")",
|
|
2796
|
-
"name": "tag",
|
|
2752
|
+
"project-id": {
|
|
2753
|
+
"char": "p",
|
|
2754
|
+
"description": "Project ID to view webhook attempt for (overrides CLI configuration)",
|
|
2755
|
+
"helpGroup": "OVERRIDE",
|
|
2756
|
+
"name": "project-id",
|
|
2797
2757
|
"hasDynamicHelp": false,
|
|
2758
|
+
"helpValue": "<id>",
|
|
2798
2759
|
"multiple": false,
|
|
2799
2760
|
"type": "option"
|
|
2800
|
-
},
|
|
2801
|
-
"with-union-cache": {
|
|
2802
|
-
"description": "Cache union types (faster for schemas with many self-references)",
|
|
2803
|
-
"name": "with-union-cache",
|
|
2804
|
-
"allowNo": false,
|
|
2805
|
-
"type": "boolean"
|
|
2806
2761
|
}
|
|
2807
2762
|
},
|
|
2808
2763
|
"hasDynamicHelp": false,
|
|
2809
|
-
"hiddenAliases": [
|
|
2810
|
-
|
|
2764
|
+
"hiddenAliases": [
|
|
2765
|
+
"hook:attempt"
|
|
2766
|
+
],
|
|
2767
|
+
"id": "hooks:attempt",
|
|
2811
2768
|
"pluginAlias": "@sanity/cli",
|
|
2812
2769
|
"pluginName": "@sanity/cli",
|
|
2813
2770
|
"pluginType": "core",
|
|
@@ -2816,28 +2773,28 @@
|
|
|
2816
2773
|
"relativePath": [
|
|
2817
2774
|
"dist",
|
|
2818
2775
|
"commands",
|
|
2819
|
-
"
|
|
2820
|
-
"
|
|
2776
|
+
"hooks",
|
|
2777
|
+
"attempt.js"
|
|
2821
2778
|
]
|
|
2822
2779
|
},
|
|
2823
|
-
"
|
|
2780
|
+
"hooks:create": {
|
|
2824
2781
|
"aliases": [],
|
|
2825
2782
|
"args": {},
|
|
2826
|
-
"description": "
|
|
2783
|
+
"description": "Create a new webhook for the project",
|
|
2827
2784
|
"examples": [
|
|
2828
2785
|
{
|
|
2829
2786
|
"command": "<%= config.bin %> <%= command.id %>",
|
|
2830
|
-
"description": "
|
|
2787
|
+
"description": "Create a new webhook for the project"
|
|
2831
2788
|
},
|
|
2832
2789
|
{
|
|
2833
2790
|
"command": "<%= config.bin %> <%= command.id %> --project-id abc123",
|
|
2834
|
-
"description": "
|
|
2791
|
+
"description": "Create a webhook for a specific project"
|
|
2835
2792
|
}
|
|
2836
2793
|
],
|
|
2837
2794
|
"flags": {
|
|
2838
2795
|
"project-id": {
|
|
2839
2796
|
"char": "p",
|
|
2840
|
-
"description": "Project ID to
|
|
2797
|
+
"description": "Project ID to create webhook for (overrides CLI configuration)",
|
|
2841
2798
|
"helpGroup": "OVERRIDE",
|
|
2842
2799
|
"name": "project-id",
|
|
2843
2800
|
"hasDynamicHelp": false,
|
|
@@ -2847,8 +2804,10 @@
|
|
|
2847
2804
|
}
|
|
2848
2805
|
},
|
|
2849
2806
|
"hasDynamicHelp": false,
|
|
2850
|
-
"hiddenAliases": [
|
|
2851
|
-
|
|
2807
|
+
"hiddenAliases": [
|
|
2808
|
+
"hook:create"
|
|
2809
|
+
],
|
|
2810
|
+
"id": "hooks:create",
|
|
2852
2811
|
"pluginAlias": "@sanity/cli",
|
|
2853
2812
|
"pluginName": "@sanity/cli",
|
|
2854
2813
|
"pluginType": "core",
|
|
@@ -2857,105 +2816,51 @@
|
|
|
2857
2816
|
"relativePath": [
|
|
2858
2817
|
"dist",
|
|
2859
2818
|
"commands",
|
|
2860
|
-
"
|
|
2861
|
-
"
|
|
2819
|
+
"hooks",
|
|
2820
|
+
"create.js"
|
|
2862
2821
|
]
|
|
2863
2822
|
},
|
|
2864
|
-
"
|
|
2823
|
+
"hooks:delete": {
|
|
2865
2824
|
"aliases": [],
|
|
2866
|
-
"args": {
|
|
2867
|
-
|
|
2825
|
+
"args": {
|
|
2826
|
+
"name": {
|
|
2827
|
+
"description": "Name of webhook to delete (will prompt if not provided)",
|
|
2828
|
+
"name": "name",
|
|
2829
|
+
"required": false
|
|
2830
|
+
}
|
|
2831
|
+
},
|
|
2832
|
+
"description": "Delete a webhook from the project",
|
|
2868
2833
|
"examples": [
|
|
2869
2834
|
{
|
|
2870
2835
|
"command": "<%= config.bin %> <%= command.id %>",
|
|
2871
|
-
"description": "
|
|
2872
|
-
},
|
|
2873
|
-
{
|
|
2874
|
-
"command": "<%= config.bin %> <%= command.id %> --api ios",
|
|
2875
|
-
"description": "Undeploy API with ID \"ios\""
|
|
2876
|
-
},
|
|
2877
|
-
{
|
|
2878
|
-
"command": "<%= config.bin %> <%= command.id %> --dataset staging",
|
|
2879
|
-
"description": "Undeploy GraphQL API for staging dataset"
|
|
2880
|
-
},
|
|
2881
|
-
{
|
|
2882
|
-
"command": "<%= config.bin %> <%= command.id %> --dataset staging --tag next",
|
|
2883
|
-
"description": "Undeploy GraphQL API for staging dataset with \"next\" tag"
|
|
2836
|
+
"description": "Interactively select and delete a webhook"
|
|
2884
2837
|
},
|
|
2885
2838
|
{
|
|
2886
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
2887
|
-
"description": "
|
|
2839
|
+
"command": "<%= config.bin %> <%= command.id %> my-hook",
|
|
2840
|
+
"description": "Delete a specific webhook by name"
|
|
2888
2841
|
},
|
|
2889
2842
|
{
|
|
2890
|
-
"command": "<%= config.bin %> <%= command.id %> --project-id abc123
|
|
2891
|
-
"description": "
|
|
2843
|
+
"command": "<%= config.bin %> <%= command.id %> --project-id abc123",
|
|
2844
|
+
"description": "Delete a webhook from a specific project"
|
|
2892
2845
|
}
|
|
2893
2846
|
],
|
|
2894
2847
|
"flags": {
|
|
2895
2848
|
"project-id": {
|
|
2896
2849
|
"char": "p",
|
|
2897
|
-
"description": "Project ID to
|
|
2850
|
+
"description": "Project ID to delete webhook from (overrides CLI configuration)",
|
|
2898
2851
|
"helpGroup": "OVERRIDE",
|
|
2899
2852
|
"name": "project-id",
|
|
2900
2853
|
"hasDynamicHelp": false,
|
|
2901
2854
|
"helpValue": "<id>",
|
|
2902
2855
|
"multiple": false,
|
|
2903
2856
|
"type": "option"
|
|
2904
|
-
},
|
|
2905
|
-
"api": {
|
|
2906
|
-
"description": "Undeploy API with this ID",
|
|
2907
|
-
"exclusive": [
|
|
2908
|
-
"project-id",
|
|
2909
|
-
"project"
|
|
2910
|
-
],
|
|
2911
|
-
"name": "api",
|
|
2912
|
-
"required": false,
|
|
2913
|
-
"hasDynamicHelp": false,
|
|
2914
|
-
"multiple": false,
|
|
2915
|
-
"type": "option"
|
|
2916
|
-
},
|
|
2917
|
-
"dataset": {
|
|
2918
|
-
"char": "d",
|
|
2919
|
-
"description": "Dataset to undeploy GraphQL API from (overrides CLI configuration)",
|
|
2920
|
-
"helpGroup": "OVERRIDE",
|
|
2921
|
-
"name": "dataset",
|
|
2922
|
-
"hasDynamicHelp": false,
|
|
2923
|
-
"helpValue": "<name>",
|
|
2924
|
-
"multiple": false,
|
|
2925
|
-
"type": "option"
|
|
2926
|
-
},
|
|
2927
|
-
"force": {
|
|
2928
|
-
"description": "Skip confirmation prompt",
|
|
2929
|
-
"name": "force",
|
|
2930
|
-
"required": false,
|
|
2931
|
-
"allowNo": false,
|
|
2932
|
-
"type": "boolean"
|
|
2933
|
-
},
|
|
2934
|
-
"project": {
|
|
2935
|
-
"deprecated": {
|
|
2936
|
-
"to": "project-id"
|
|
2937
|
-
},
|
|
2938
|
-
"description": "Project ID to delete GraphQL API for",
|
|
2939
|
-
"hidden": true,
|
|
2940
|
-
"name": "project",
|
|
2941
|
-
"required": false,
|
|
2942
|
-
"hasDynamicHelp": false,
|
|
2943
|
-
"multiple": false,
|
|
2944
|
-
"type": "option"
|
|
2945
|
-
},
|
|
2946
|
-
"tag": {
|
|
2947
|
-
"description": "Tag to undeploy GraphQL API from",
|
|
2948
|
-
"name": "tag",
|
|
2949
|
-
"required": false,
|
|
2950
|
-
"default": "default",
|
|
2951
|
-
"hasDynamicHelp": false,
|
|
2952
|
-
"multiple": false,
|
|
2953
|
-
"type": "option"
|
|
2954
2857
|
}
|
|
2955
2858
|
},
|
|
2956
2859
|
"hasDynamicHelp": false,
|
|
2957
|
-
"hiddenAliases": [
|
|
2958
|
-
|
|
2860
|
+
"hiddenAliases": [
|
|
2861
|
+
"hook:delete"
|
|
2862
|
+
],
|
|
2863
|
+
"id": "hooks:delete",
|
|
2959
2864
|
"pluginAlias": "@sanity/cli",
|
|
2960
2865
|
"pluginName": "@sanity/cli",
|
|
2961
2866
|
"pluginType": "core",
|
|
@@ -2964,34 +2869,28 @@
|
|
|
2964
2869
|
"relativePath": [
|
|
2965
2870
|
"dist",
|
|
2966
2871
|
"commands",
|
|
2967
|
-
"
|
|
2968
|
-
"
|
|
2872
|
+
"hooks",
|
|
2873
|
+
"delete.js"
|
|
2969
2874
|
]
|
|
2970
2875
|
},
|
|
2971
|
-
"hooks:
|
|
2876
|
+
"hooks:list": {
|
|
2972
2877
|
"aliases": [],
|
|
2973
|
-
"args": {
|
|
2974
|
-
|
|
2975
|
-
"description": "The delivery attempt ID to get details for",
|
|
2976
|
-
"name": "attemptId",
|
|
2977
|
-
"required": true
|
|
2978
|
-
}
|
|
2979
|
-
},
|
|
2980
|
-
"description": "Print details of a given webhook delivery attempt",
|
|
2878
|
+
"args": {},
|
|
2879
|
+
"description": "List webhooks for the project",
|
|
2981
2880
|
"examples": [
|
|
2982
2881
|
{
|
|
2983
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
2984
|
-
"description": "
|
|
2882
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
2883
|
+
"description": "List webhooks for the project"
|
|
2985
2884
|
},
|
|
2986
2885
|
{
|
|
2987
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
2988
|
-
"description": "
|
|
2886
|
+
"command": "<%= config.bin %> <%= command.id %> --project-id abc123",
|
|
2887
|
+
"description": "List webhooks for a specific project"
|
|
2989
2888
|
}
|
|
2990
2889
|
],
|
|
2991
2890
|
"flags": {
|
|
2992
2891
|
"project-id": {
|
|
2993
2892
|
"char": "p",
|
|
2994
|
-
"description": "Project ID to
|
|
2893
|
+
"description": "Project ID to list webhooks for (overrides CLI configuration)",
|
|
2995
2894
|
"helpGroup": "OVERRIDE",
|
|
2996
2895
|
"name": "project-id",
|
|
2997
2896
|
"hasDynamicHelp": false,
|
|
@@ -3002,9 +2901,9 @@
|
|
|
3002
2901
|
},
|
|
3003
2902
|
"hasDynamicHelp": false,
|
|
3004
2903
|
"hiddenAliases": [
|
|
3005
|
-
"hook:
|
|
2904
|
+
"hook:list"
|
|
3006
2905
|
],
|
|
3007
|
-
"id": "hooks:
|
|
2906
|
+
"id": "hooks:list",
|
|
3008
2907
|
"pluginAlias": "@sanity/cli",
|
|
3009
2908
|
"pluginName": "@sanity/cli",
|
|
3010
2909
|
"pluginType": "core",
|
|
@@ -3014,40 +2913,57 @@
|
|
|
3014
2913
|
"dist",
|
|
3015
2914
|
"commands",
|
|
3016
2915
|
"hooks",
|
|
3017
|
-
"
|
|
2916
|
+
"list.js"
|
|
3018
2917
|
]
|
|
3019
2918
|
},
|
|
3020
|
-
"hooks:
|
|
2919
|
+
"hooks:logs": {
|
|
3021
2920
|
"aliases": [],
|
|
3022
|
-
"args": {
|
|
3023
|
-
|
|
2921
|
+
"args": {
|
|
2922
|
+
"name": {
|
|
2923
|
+
"description": "Name of the webhook to show logs for",
|
|
2924
|
+
"name": "name",
|
|
2925
|
+
"required": false
|
|
2926
|
+
}
|
|
2927
|
+
},
|
|
2928
|
+
"description": "Show log entries for project webhooks",
|
|
3024
2929
|
"examples": [
|
|
3025
2930
|
{
|
|
3026
2931
|
"command": "<%= config.bin %> <%= command.id %>",
|
|
3027
|
-
"description": "
|
|
2932
|
+
"description": "Show log entries for project webhooks"
|
|
2933
|
+
},
|
|
2934
|
+
{
|
|
2935
|
+
"command": "<%= config.bin %> <%= command.id %> [NAME]",
|
|
2936
|
+
"description": "Show log entries for a specific webhook by name"
|
|
3028
2937
|
},
|
|
3029
2938
|
{
|
|
3030
2939
|
"command": "<%= config.bin %> <%= command.id %> --project-id abc123",
|
|
3031
|
-
"description": "
|
|
2940
|
+
"description": "Show log entries for a specific project"
|
|
3032
2941
|
}
|
|
3033
2942
|
],
|
|
3034
2943
|
"flags": {
|
|
3035
2944
|
"project-id": {
|
|
3036
2945
|
"char": "p",
|
|
3037
|
-
"description": "Project ID to
|
|
2946
|
+
"description": "Project ID to view webhook logs for (overrides CLI configuration)",
|
|
3038
2947
|
"helpGroup": "OVERRIDE",
|
|
3039
2948
|
"name": "project-id",
|
|
3040
2949
|
"hasDynamicHelp": false,
|
|
3041
2950
|
"helpValue": "<id>",
|
|
3042
2951
|
"multiple": false,
|
|
3043
2952
|
"type": "option"
|
|
2953
|
+
},
|
|
2954
|
+
"detailed": {
|
|
2955
|
+
"description": "Include detailed payload and attempts",
|
|
2956
|
+
"name": "detailed",
|
|
2957
|
+
"required": false,
|
|
2958
|
+
"allowNo": false,
|
|
2959
|
+
"type": "boolean"
|
|
3044
2960
|
}
|
|
3045
2961
|
},
|
|
3046
2962
|
"hasDynamicHelp": false,
|
|
3047
2963
|
"hiddenAliases": [
|
|
3048
|
-
"hook:
|
|
2964
|
+
"hook:logs"
|
|
3049
2965
|
],
|
|
3050
|
-
"id": "hooks:
|
|
2966
|
+
"id": "hooks:logs",
|
|
3051
2967
|
"pluginAlias": "@sanity/cli",
|
|
3052
2968
|
"pluginName": "@sanity/cli",
|
|
3053
2969
|
"pluginType": "core",
|
|
@@ -3057,50 +2973,101 @@
|
|
|
3057
2973
|
"dist",
|
|
3058
2974
|
"commands",
|
|
3059
2975
|
"hooks",
|
|
3060
|
-
"
|
|
2976
|
+
"logs.js"
|
|
3061
2977
|
]
|
|
3062
2978
|
},
|
|
3063
|
-
"
|
|
2979
|
+
"graphql:deploy": {
|
|
3064
2980
|
"aliases": [],
|
|
3065
|
-
"args": {
|
|
3066
|
-
|
|
3067
|
-
"description": "Name of webhook to delete (will prompt if not provided)",
|
|
3068
|
-
"name": "name",
|
|
3069
|
-
"required": false
|
|
3070
|
-
}
|
|
3071
|
-
},
|
|
3072
|
-
"description": "Delete a webhook from the project",
|
|
2981
|
+
"args": {},
|
|
2982
|
+
"description": "Deploy a GraphQL API from the current Sanity schema",
|
|
3073
2983
|
"examples": [
|
|
3074
2984
|
{
|
|
3075
2985
|
"command": "<%= config.bin %> <%= command.id %>",
|
|
3076
|
-
"description": "
|
|
2986
|
+
"description": "Deploy all defined GraphQL APIs"
|
|
3077
2987
|
},
|
|
3078
2988
|
{
|
|
3079
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
3080
|
-
"description": "
|
|
2989
|
+
"command": "<%= config.bin %> <%= command.id %> --dry-run",
|
|
2990
|
+
"description": "Validate defined GraphQL APIs, check for breaking changes, skip deploy"
|
|
3081
2991
|
},
|
|
3082
2992
|
{
|
|
3083
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
3084
|
-
"description": "
|
|
2993
|
+
"command": "<%= config.bin %> <%= command.id %> --api staging --api ios",
|
|
2994
|
+
"description": "Deploy only the GraphQL APIs with the IDs \"staging\" and \"ios\""
|
|
2995
|
+
},
|
|
2996
|
+
{
|
|
2997
|
+
"command": "<%= config.bin %> <%= command.id %> --playground",
|
|
2998
|
+
"description": "Deploy all defined GraphQL APIs, overriding any playground setting"
|
|
3085
2999
|
}
|
|
3086
3000
|
],
|
|
3087
3001
|
"flags": {
|
|
3088
|
-
"
|
|
3089
|
-
"
|
|
3090
|
-
"
|
|
3091
|
-
"
|
|
3092
|
-
"
|
|
3002
|
+
"api": {
|
|
3003
|
+
"description": "Only deploy API with this ID (can be specified multiple times)",
|
|
3004
|
+
"name": "api",
|
|
3005
|
+
"hasDynamicHelp": false,
|
|
3006
|
+
"multiple": true,
|
|
3007
|
+
"type": "option"
|
|
3008
|
+
},
|
|
3009
|
+
"dataset": {
|
|
3010
|
+
"char": "d",
|
|
3011
|
+
"description": "Deploy API for the given dataset",
|
|
3012
|
+
"name": "dataset",
|
|
3013
|
+
"hasDynamicHelp": false,
|
|
3014
|
+
"helpValue": "<name>",
|
|
3015
|
+
"multiple": false,
|
|
3016
|
+
"type": "option"
|
|
3017
|
+
},
|
|
3018
|
+
"dry-run": {
|
|
3019
|
+
"description": "Validate defined GraphQL APIs, check for breaking changes, skip deploy",
|
|
3020
|
+
"name": "dry-run",
|
|
3021
|
+
"allowNo": false,
|
|
3022
|
+
"type": "boolean"
|
|
3023
|
+
},
|
|
3024
|
+
"force": {
|
|
3025
|
+
"description": "Deploy API without confirming breaking changes",
|
|
3026
|
+
"name": "force",
|
|
3027
|
+
"allowNo": false,
|
|
3028
|
+
"type": "boolean"
|
|
3029
|
+
},
|
|
3030
|
+
"generation": {
|
|
3031
|
+
"description": "API generation to deploy (defaults to \"gen3\")",
|
|
3032
|
+
"name": "generation",
|
|
3093
3033
|
"hasDynamicHelp": false,
|
|
3094
|
-
"helpValue": "<id>",
|
|
3095
3034
|
"multiple": false,
|
|
3035
|
+
"options": [
|
|
3036
|
+
"gen1",
|
|
3037
|
+
"gen2",
|
|
3038
|
+
"gen3"
|
|
3039
|
+
],
|
|
3096
3040
|
"type": "option"
|
|
3041
|
+
},
|
|
3042
|
+
"non-null-document-fields": {
|
|
3043
|
+
"description": "Use non-null document fields (_id, _type etc)",
|
|
3044
|
+
"name": "non-null-document-fields",
|
|
3045
|
+
"allowNo": false,
|
|
3046
|
+
"type": "boolean"
|
|
3047
|
+
},
|
|
3048
|
+
"playground": {
|
|
3049
|
+
"description": "Enable GraphQL playground for easier debugging",
|
|
3050
|
+
"name": "playground",
|
|
3051
|
+
"allowNo": true,
|
|
3052
|
+
"type": "boolean"
|
|
3053
|
+
},
|
|
3054
|
+
"tag": {
|
|
3055
|
+
"description": "Deploy API(s) to given tag (defaults to \"default\")",
|
|
3056
|
+
"name": "tag",
|
|
3057
|
+
"hasDynamicHelp": false,
|
|
3058
|
+
"multiple": false,
|
|
3059
|
+
"type": "option"
|
|
3060
|
+
},
|
|
3061
|
+
"with-union-cache": {
|
|
3062
|
+
"description": "Cache union types (faster for schemas with many self-references)",
|
|
3063
|
+
"name": "with-union-cache",
|
|
3064
|
+
"allowNo": false,
|
|
3065
|
+
"type": "boolean"
|
|
3097
3066
|
}
|
|
3098
3067
|
},
|
|
3099
3068
|
"hasDynamicHelp": false,
|
|
3100
|
-
"hiddenAliases": [
|
|
3101
|
-
|
|
3102
|
-
],
|
|
3103
|
-
"id": "hooks:delete",
|
|
3069
|
+
"hiddenAliases": [],
|
|
3070
|
+
"id": "graphql:deploy",
|
|
3104
3071
|
"pluginAlias": "@sanity/cli",
|
|
3105
3072
|
"pluginName": "@sanity/cli",
|
|
3106
3073
|
"pluginType": "core",
|
|
@@ -3109,28 +3076,28 @@
|
|
|
3109
3076
|
"relativePath": [
|
|
3110
3077
|
"dist",
|
|
3111
3078
|
"commands",
|
|
3112
|
-
"
|
|
3113
|
-
"
|
|
3079
|
+
"graphql",
|
|
3080
|
+
"deploy.js"
|
|
3114
3081
|
]
|
|
3115
3082
|
},
|
|
3116
|
-
"
|
|
3083
|
+
"graphql:list": {
|
|
3117
3084
|
"aliases": [],
|
|
3118
3085
|
"args": {},
|
|
3119
|
-
"description": "List
|
|
3086
|
+
"description": "List deployed GraphQL endpoints for the project",
|
|
3120
3087
|
"examples": [
|
|
3121
3088
|
{
|
|
3122
3089
|
"command": "<%= config.bin %> <%= command.id %>",
|
|
3123
|
-
"description": "List
|
|
3090
|
+
"description": "List GraphQL endpoints for the project"
|
|
3124
3091
|
},
|
|
3125
3092
|
{
|
|
3126
3093
|
"command": "<%= config.bin %> <%= command.id %> --project-id abc123",
|
|
3127
|
-
"description": "List
|
|
3094
|
+
"description": "List GraphQL endpoints for a specific project"
|
|
3128
3095
|
}
|
|
3129
3096
|
],
|
|
3130
3097
|
"flags": {
|
|
3131
3098
|
"project-id": {
|
|
3132
3099
|
"char": "p",
|
|
3133
|
-
"description": "Project ID to list
|
|
3100
|
+
"description": "Project ID to list GraphQL endpoints for (overrides CLI configuration)",
|
|
3134
3101
|
"helpGroup": "OVERRIDE",
|
|
3135
3102
|
"name": "project-id",
|
|
3136
3103
|
"hasDynamicHelp": false,
|
|
@@ -3140,10 +3107,8 @@
|
|
|
3140
3107
|
}
|
|
3141
3108
|
},
|
|
3142
3109
|
"hasDynamicHelp": false,
|
|
3143
|
-
"hiddenAliases": [
|
|
3144
|
-
|
|
3145
|
-
],
|
|
3146
|
-
"id": "hooks:list",
|
|
3110
|
+
"hiddenAliases": [],
|
|
3111
|
+
"id": "graphql:list",
|
|
3147
3112
|
"pluginAlias": "@sanity/cli",
|
|
3148
3113
|
"pluginName": "@sanity/cli",
|
|
3149
3114
|
"pluginType": "core",
|
|
@@ -3152,38 +3117,44 @@
|
|
|
3152
3117
|
"relativePath": [
|
|
3153
3118
|
"dist",
|
|
3154
3119
|
"commands",
|
|
3155
|
-
"
|
|
3120
|
+
"graphql",
|
|
3156
3121
|
"list.js"
|
|
3157
3122
|
]
|
|
3158
3123
|
},
|
|
3159
|
-
"
|
|
3124
|
+
"graphql:undeploy": {
|
|
3160
3125
|
"aliases": [],
|
|
3161
|
-
"args": {
|
|
3162
|
-
|
|
3163
|
-
"description": "Name of the webhook to show logs for",
|
|
3164
|
-
"name": "name",
|
|
3165
|
-
"required": false
|
|
3166
|
-
}
|
|
3167
|
-
},
|
|
3168
|
-
"description": "Show log entries for project webhooks",
|
|
3126
|
+
"args": {},
|
|
3127
|
+
"description": "Remove a deployed GraphQL API",
|
|
3169
3128
|
"examples": [
|
|
3170
3129
|
{
|
|
3171
3130
|
"command": "<%= config.bin %> <%= command.id %>",
|
|
3172
|
-
"description": "
|
|
3131
|
+
"description": "Undeploy GraphQL API for current project and dataset"
|
|
3173
3132
|
},
|
|
3174
3133
|
{
|
|
3175
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
3176
|
-
"description": "
|
|
3134
|
+
"command": "<%= config.bin %> <%= command.id %> --api ios",
|
|
3135
|
+
"description": "Undeploy API with ID \"ios\""
|
|
3177
3136
|
},
|
|
3178
3137
|
{
|
|
3179
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
3180
|
-
"description": "
|
|
3138
|
+
"command": "<%= config.bin %> <%= command.id %> --dataset staging",
|
|
3139
|
+
"description": "Undeploy GraphQL API for staging dataset"
|
|
3140
|
+
},
|
|
3141
|
+
{
|
|
3142
|
+
"command": "<%= config.bin %> <%= command.id %> --dataset staging --tag next",
|
|
3143
|
+
"description": "Undeploy GraphQL API for staging dataset with \"next\" tag"
|
|
3144
|
+
},
|
|
3145
|
+
{
|
|
3146
|
+
"command": "<%= config.bin %> <%= command.id %> --force",
|
|
3147
|
+
"description": "Undeploy GraphQL API without confirmation prompt"
|
|
3148
|
+
},
|
|
3149
|
+
{
|
|
3150
|
+
"command": "<%= config.bin %> <%= command.id %> --project-id abc123 --dataset production",
|
|
3151
|
+
"description": "Undeploy GraphQL API for a specific project and dataset"
|
|
3181
3152
|
}
|
|
3182
3153
|
],
|
|
3183
3154
|
"flags": {
|
|
3184
3155
|
"project-id": {
|
|
3185
3156
|
"char": "p",
|
|
3186
|
-
"description": "Project ID to
|
|
3157
|
+
"description": "Project ID to undeploy GraphQL API from (overrides CLI configuration)",
|
|
3187
3158
|
"helpGroup": "OVERRIDE",
|
|
3188
3159
|
"name": "project-id",
|
|
3189
3160
|
"hasDynamicHelp": false,
|
|
@@ -3191,19 +3162,60 @@
|
|
|
3191
3162
|
"multiple": false,
|
|
3192
3163
|
"type": "option"
|
|
3193
3164
|
},
|
|
3194
|
-
"
|
|
3195
|
-
"description": "
|
|
3196
|
-
"
|
|
3165
|
+
"api": {
|
|
3166
|
+
"description": "Undeploy API with this ID",
|
|
3167
|
+
"exclusive": [
|
|
3168
|
+
"project-id",
|
|
3169
|
+
"project"
|
|
3170
|
+
],
|
|
3171
|
+
"name": "api",
|
|
3172
|
+
"required": false,
|
|
3173
|
+
"hasDynamicHelp": false,
|
|
3174
|
+
"multiple": false,
|
|
3175
|
+
"type": "option"
|
|
3176
|
+
},
|
|
3177
|
+
"dataset": {
|
|
3178
|
+
"char": "d",
|
|
3179
|
+
"description": "Dataset to undeploy GraphQL API from (overrides CLI configuration)",
|
|
3180
|
+
"helpGroup": "OVERRIDE",
|
|
3181
|
+
"name": "dataset",
|
|
3182
|
+
"hasDynamicHelp": false,
|
|
3183
|
+
"helpValue": "<name>",
|
|
3184
|
+
"multiple": false,
|
|
3185
|
+
"type": "option"
|
|
3186
|
+
},
|
|
3187
|
+
"force": {
|
|
3188
|
+
"description": "Skip confirmation prompt",
|
|
3189
|
+
"name": "force",
|
|
3197
3190
|
"required": false,
|
|
3198
3191
|
"allowNo": false,
|
|
3199
3192
|
"type": "boolean"
|
|
3193
|
+
},
|
|
3194
|
+
"project": {
|
|
3195
|
+
"deprecated": {
|
|
3196
|
+
"to": "project-id"
|
|
3197
|
+
},
|
|
3198
|
+
"description": "Project ID to delete GraphQL API for",
|
|
3199
|
+
"hidden": true,
|
|
3200
|
+
"name": "project",
|
|
3201
|
+
"required": false,
|
|
3202
|
+
"hasDynamicHelp": false,
|
|
3203
|
+
"multiple": false,
|
|
3204
|
+
"type": "option"
|
|
3205
|
+
},
|
|
3206
|
+
"tag": {
|
|
3207
|
+
"description": "Tag to undeploy GraphQL API from",
|
|
3208
|
+
"name": "tag",
|
|
3209
|
+
"required": false,
|
|
3210
|
+
"default": "default",
|
|
3211
|
+
"hasDynamicHelp": false,
|
|
3212
|
+
"multiple": false,
|
|
3213
|
+
"type": "option"
|
|
3200
3214
|
}
|
|
3201
3215
|
},
|
|
3202
3216
|
"hasDynamicHelp": false,
|
|
3203
|
-
"hiddenAliases": [
|
|
3204
|
-
|
|
3205
|
-
],
|
|
3206
|
-
"id": "hooks:logs",
|
|
3217
|
+
"hiddenAliases": [],
|
|
3218
|
+
"id": "graphql:undeploy",
|
|
3207
3219
|
"pluginAlias": "@sanity/cli",
|
|
3208
3220
|
"pluginName": "@sanity/cli",
|
|
3209
3221
|
"pluginType": "core",
|
|
@@ -3212,8 +3224,8 @@
|
|
|
3212
3224
|
"relativePath": [
|
|
3213
3225
|
"dist",
|
|
3214
3226
|
"commands",
|
|
3215
|
-
"
|
|
3216
|
-
"
|
|
3227
|
+
"graphql",
|
|
3228
|
+
"undeploy.js"
|
|
3217
3229
|
]
|
|
3218
3230
|
},
|
|
3219
3231
|
"manifest:extract": {
|
|
@@ -3281,118 +3293,6 @@
|
|
|
3281
3293
|
"configure.js"
|
|
3282
3294
|
]
|
|
3283
3295
|
},
|
|
3284
|
-
"openapi:get": {
|
|
3285
|
-
"aliases": [],
|
|
3286
|
-
"args": {
|
|
3287
|
-
"slug": {
|
|
3288
|
-
"description": "Slug of the OpenAPI specification to retrieve",
|
|
3289
|
-
"name": "slug",
|
|
3290
|
-
"required": true
|
|
3291
|
-
}
|
|
3292
|
-
},
|
|
3293
|
-
"description": "Get an OpenAPI specification by slug",
|
|
3294
|
-
"examples": [
|
|
3295
|
-
{
|
|
3296
|
-
"command": "<%= config.bin %> <%= command.id %> query",
|
|
3297
|
-
"description": "Get a specification (YAML format, default)"
|
|
3298
|
-
},
|
|
3299
|
-
{
|
|
3300
|
-
"command": "<%= config.bin %> <%= command.id %> query --format=json",
|
|
3301
|
-
"description": "Get specification in JSON format"
|
|
3302
|
-
},
|
|
3303
|
-
{
|
|
3304
|
-
"command": "<%= config.bin %> <%= command.id %> query --web",
|
|
3305
|
-
"description": "Open specification in browser"
|
|
3306
|
-
},
|
|
3307
|
-
{
|
|
3308
|
-
"command": "<%= config.bin %> <%= command.id %> query > query-api.yaml",
|
|
3309
|
-
"description": "Pipe to file"
|
|
3310
|
-
}
|
|
3311
|
-
],
|
|
3312
|
-
"flags": {
|
|
3313
|
-
"format": {
|
|
3314
|
-
"description": "Output format: yaml (default), json",
|
|
3315
|
-
"name": "format",
|
|
3316
|
-
"default": "yaml",
|
|
3317
|
-
"hasDynamicHelp": false,
|
|
3318
|
-
"multiple": false,
|
|
3319
|
-
"options": [
|
|
3320
|
-
"yaml",
|
|
3321
|
-
"json"
|
|
3322
|
-
],
|
|
3323
|
-
"type": "option"
|
|
3324
|
-
},
|
|
3325
|
-
"web": {
|
|
3326
|
-
"char": "w",
|
|
3327
|
-
"description": "Open in web browser",
|
|
3328
|
-
"name": "web",
|
|
3329
|
-
"allowNo": false,
|
|
3330
|
-
"type": "boolean"
|
|
3331
|
-
}
|
|
3332
|
-
},
|
|
3333
|
-
"hasDynamicHelp": false,
|
|
3334
|
-
"hiddenAliases": [],
|
|
3335
|
-
"id": "openapi:get",
|
|
3336
|
-
"pluginAlias": "@sanity/cli",
|
|
3337
|
-
"pluginName": "@sanity/cli",
|
|
3338
|
-
"pluginType": "core",
|
|
3339
|
-
"strict": true,
|
|
3340
|
-
"isESM": true,
|
|
3341
|
-
"relativePath": [
|
|
3342
|
-
"dist",
|
|
3343
|
-
"commands",
|
|
3344
|
-
"openapi",
|
|
3345
|
-
"get.js"
|
|
3346
|
-
]
|
|
3347
|
-
},
|
|
3348
|
-
"openapi:list": {
|
|
3349
|
-
"aliases": [],
|
|
3350
|
-
"args": {},
|
|
3351
|
-
"description": "List all available OpenAPI specifications",
|
|
3352
|
-
"examples": [
|
|
3353
|
-
{
|
|
3354
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
3355
|
-
"description": "List all available OpenAPI specs"
|
|
3356
|
-
},
|
|
3357
|
-
{
|
|
3358
|
-
"command": "<%= config.bin %> <%= command.id %> --json",
|
|
3359
|
-
"description": "List with JSON output"
|
|
3360
|
-
},
|
|
3361
|
-
{
|
|
3362
|
-
"command": "<%= config.bin %> <%= command.id %> --web",
|
|
3363
|
-
"description": "Open HTTP Reference in browser"
|
|
3364
|
-
}
|
|
3365
|
-
],
|
|
3366
|
-
"flags": {
|
|
3367
|
-
"json": {
|
|
3368
|
-
"description": "Output JSON",
|
|
3369
|
-
"name": "json",
|
|
3370
|
-
"allowNo": false,
|
|
3371
|
-
"type": "boolean"
|
|
3372
|
-
},
|
|
3373
|
-
"web": {
|
|
3374
|
-
"char": "w",
|
|
3375
|
-
"description": "Open HTTP Reference in web browser",
|
|
3376
|
-
"name": "web",
|
|
3377
|
-
"allowNo": false,
|
|
3378
|
-
"type": "boolean"
|
|
3379
|
-
}
|
|
3380
|
-
},
|
|
3381
|
-
"hasDynamicHelp": false,
|
|
3382
|
-
"hiddenAliases": [],
|
|
3383
|
-
"id": "openapi:list",
|
|
3384
|
-
"pluginAlias": "@sanity/cli",
|
|
3385
|
-
"pluginName": "@sanity/cli",
|
|
3386
|
-
"pluginType": "core",
|
|
3387
|
-
"strict": true,
|
|
3388
|
-
"isESM": true,
|
|
3389
|
-
"relativePath": [
|
|
3390
|
-
"dist",
|
|
3391
|
-
"commands",
|
|
3392
|
-
"openapi",
|
|
3393
|
-
"list.js"
|
|
3394
|
-
]
|
|
3395
|
-
},
|
|
3396
3296
|
"media:create-aspect": {
|
|
3397
3297
|
"aliases": [],
|
|
3398
3298
|
"args": {},
|
|
@@ -3402,8 +3302,23 @@
|
|
|
3402
3302
|
"command": "<%= config.bin %> <%= command.id %>",
|
|
3403
3303
|
"description": "Create a new aspect definition file"
|
|
3404
3304
|
}
|
|
3405
|
-
],
|
|
3406
|
-
"flags": {
|
|
3305
|
+
],
|
|
3306
|
+
"flags": {
|
|
3307
|
+
"name": {
|
|
3308
|
+
"description": "Aspect name. Defaults to the title in camel case",
|
|
3309
|
+
"name": "name",
|
|
3310
|
+
"hasDynamicHelp": false,
|
|
3311
|
+
"multiple": false,
|
|
3312
|
+
"type": "option"
|
|
3313
|
+
},
|
|
3314
|
+
"title": {
|
|
3315
|
+
"description": "Aspect title",
|
|
3316
|
+
"name": "title",
|
|
3317
|
+
"hasDynamicHelp": false,
|
|
3318
|
+
"multiple": false,
|
|
3319
|
+
"type": "option"
|
|
3320
|
+
}
|
|
3321
|
+
},
|
|
3407
3322
|
"hasDynamicHelp": false,
|
|
3408
3323
|
"hiddenAliases": [],
|
|
3409
3324
|
"id": "media:create-aspect",
|
|
@@ -3458,7 +3373,7 @@
|
|
|
3458
3373
|
"aliases": [
|
|
3459
3374
|
"y"
|
|
3460
3375
|
],
|
|
3461
|
-
"description": "
|
|
3376
|
+
"description": "Run without prompts and confirm deletion",
|
|
3462
3377
|
"name": "yes",
|
|
3463
3378
|
"required": false,
|
|
3464
3379
|
"allowNo": false,
|
|
@@ -3683,6 +3598,281 @@
|
|
|
3683
3598
|
"import.js"
|
|
3684
3599
|
]
|
|
3685
3600
|
},
|
|
3601
|
+
"migrations:create": {
|
|
3602
|
+
"aliases": [],
|
|
3603
|
+
"args": {
|
|
3604
|
+
"title": {
|
|
3605
|
+
"description": "Title of migration",
|
|
3606
|
+
"name": "title",
|
|
3607
|
+
"required": false
|
|
3608
|
+
}
|
|
3609
|
+
},
|
|
3610
|
+
"description": "Create a new migration within your project",
|
|
3611
|
+
"examples": [
|
|
3612
|
+
{
|
|
3613
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
3614
|
+
"description": "Create a new migration, prompting for title and options"
|
|
3615
|
+
},
|
|
3616
|
+
{
|
|
3617
|
+
"command": "<%= config.bin %> <%= command.id %> \"Rename field from location to address\"",
|
|
3618
|
+
"description": "Create a new migration with the provided title, prompting for options"
|
|
3619
|
+
}
|
|
3620
|
+
],
|
|
3621
|
+
"flags": {},
|
|
3622
|
+
"hasDynamicHelp": false,
|
|
3623
|
+
"hiddenAliases": [
|
|
3624
|
+
"migration:create"
|
|
3625
|
+
],
|
|
3626
|
+
"id": "migrations:create",
|
|
3627
|
+
"pluginAlias": "@sanity/cli",
|
|
3628
|
+
"pluginName": "@sanity/cli",
|
|
3629
|
+
"pluginType": "core",
|
|
3630
|
+
"strict": true,
|
|
3631
|
+
"isESM": true,
|
|
3632
|
+
"relativePath": [
|
|
3633
|
+
"dist",
|
|
3634
|
+
"commands",
|
|
3635
|
+
"migrations",
|
|
3636
|
+
"create.js"
|
|
3637
|
+
]
|
|
3638
|
+
},
|
|
3639
|
+
"migrations:list": {
|
|
3640
|
+
"aliases": [],
|
|
3641
|
+
"args": {},
|
|
3642
|
+
"description": "List available migrations",
|
|
3643
|
+
"examples": [
|
|
3644
|
+
{
|
|
3645
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
3646
|
+
"description": "List all available migrations in the project"
|
|
3647
|
+
}
|
|
3648
|
+
],
|
|
3649
|
+
"flags": {},
|
|
3650
|
+
"hasDynamicHelp": false,
|
|
3651
|
+
"hiddenAliases": [
|
|
3652
|
+
"migration:list"
|
|
3653
|
+
],
|
|
3654
|
+
"id": "migrations:list",
|
|
3655
|
+
"pluginAlias": "@sanity/cli",
|
|
3656
|
+
"pluginName": "@sanity/cli",
|
|
3657
|
+
"pluginType": "core",
|
|
3658
|
+
"strict": true,
|
|
3659
|
+
"isESM": true,
|
|
3660
|
+
"relativePath": [
|
|
3661
|
+
"dist",
|
|
3662
|
+
"commands",
|
|
3663
|
+
"migrations",
|
|
3664
|
+
"list.js"
|
|
3665
|
+
]
|
|
3666
|
+
},
|
|
3667
|
+
"migrations:run": {
|
|
3668
|
+
"aliases": [],
|
|
3669
|
+
"args": {
|
|
3670
|
+
"id": {
|
|
3671
|
+
"description": "ID",
|
|
3672
|
+
"name": "id",
|
|
3673
|
+
"required": false
|
|
3674
|
+
}
|
|
3675
|
+
},
|
|
3676
|
+
"description": "Run a migration against a dataset",
|
|
3677
|
+
"examples": [
|
|
3678
|
+
{
|
|
3679
|
+
"command": "<%= config.bin %> <%= command.id %> <id>",
|
|
3680
|
+
"description": "dry run the migration"
|
|
3681
|
+
},
|
|
3682
|
+
{
|
|
3683
|
+
"command": "<%= config.bin %> <%= command.id %> <id> --no-dry-run --project xyz --dataset staging",
|
|
3684
|
+
"description": "execute the migration against a dataset"
|
|
3685
|
+
},
|
|
3686
|
+
{
|
|
3687
|
+
"command": "<%= config.bin %> <%= command.id %> <id> --from-export=production.tar.gz --no-dry-run --project xyz --dataset staging",
|
|
3688
|
+
"description": "execute the migration using a dataset export as the source"
|
|
3689
|
+
}
|
|
3690
|
+
],
|
|
3691
|
+
"flags": {
|
|
3692
|
+
"api-version": {
|
|
3693
|
+
"description": "API version to use when migrating. Defaults to v2024-01-29.",
|
|
3694
|
+
"name": "api-version",
|
|
3695
|
+
"hasDynamicHelp": false,
|
|
3696
|
+
"multiple": false,
|
|
3697
|
+
"type": "option"
|
|
3698
|
+
},
|
|
3699
|
+
"concurrency": {
|
|
3700
|
+
"description": "How many mutation requests to run in parallel. Must be between 1 and 10. Default: 6.",
|
|
3701
|
+
"name": "concurrency",
|
|
3702
|
+
"default": 6,
|
|
3703
|
+
"hasDynamicHelp": false,
|
|
3704
|
+
"multiple": false,
|
|
3705
|
+
"type": "option"
|
|
3706
|
+
},
|
|
3707
|
+
"confirm": {
|
|
3708
|
+
"description": "Prompt for confirmation before running the migration (default: true). Use --no-confirm to skip.",
|
|
3709
|
+
"name": "confirm",
|
|
3710
|
+
"allowNo": true,
|
|
3711
|
+
"type": "boolean"
|
|
3712
|
+
},
|
|
3713
|
+
"dataset": {
|
|
3714
|
+
"description": "Dataset to migrate. Defaults to the dataset configured in your Sanity CLI config.",
|
|
3715
|
+
"name": "dataset",
|
|
3716
|
+
"hasDynamicHelp": false,
|
|
3717
|
+
"multiple": false,
|
|
3718
|
+
"type": "option"
|
|
3719
|
+
},
|
|
3720
|
+
"dry-run": {
|
|
3721
|
+
"description": "By default the migration runs in dry mode. Use --no-dry-run to migrate dataset.",
|
|
3722
|
+
"name": "dry-run",
|
|
3723
|
+
"allowNo": true,
|
|
3724
|
+
"type": "boolean"
|
|
3725
|
+
},
|
|
3726
|
+
"from-export": {
|
|
3727
|
+
"description": "Use a local dataset export as source for migration instead of calling the Sanity API. Note: this is only supported for dry runs.",
|
|
3728
|
+
"name": "from-export",
|
|
3729
|
+
"hasDynamicHelp": false,
|
|
3730
|
+
"multiple": false,
|
|
3731
|
+
"type": "option"
|
|
3732
|
+
},
|
|
3733
|
+
"progress": {
|
|
3734
|
+
"description": "Display progress during migration (default: true). Use --no-progress to hide output.",
|
|
3735
|
+
"name": "progress",
|
|
3736
|
+
"allowNo": true,
|
|
3737
|
+
"type": "boolean"
|
|
3738
|
+
},
|
|
3739
|
+
"project": {
|
|
3740
|
+
"description": "Project ID of the dataset to migrate. Defaults to the projectId configured in your Sanity CLI config.",
|
|
3741
|
+
"name": "project",
|
|
3742
|
+
"hasDynamicHelp": false,
|
|
3743
|
+
"multiple": false,
|
|
3744
|
+
"type": "option"
|
|
3745
|
+
}
|
|
3746
|
+
},
|
|
3747
|
+
"hasDynamicHelp": false,
|
|
3748
|
+
"hiddenAliases": [
|
|
3749
|
+
"migration:run"
|
|
3750
|
+
],
|
|
3751
|
+
"id": "migrations:run",
|
|
3752
|
+
"pluginAlias": "@sanity/cli",
|
|
3753
|
+
"pluginName": "@sanity/cli",
|
|
3754
|
+
"pluginType": "core",
|
|
3755
|
+
"strict": true,
|
|
3756
|
+
"isESM": true,
|
|
3757
|
+
"relativePath": [
|
|
3758
|
+
"dist",
|
|
3759
|
+
"commands",
|
|
3760
|
+
"migrations",
|
|
3761
|
+
"run.js"
|
|
3762
|
+
]
|
|
3763
|
+
},
|
|
3764
|
+
"openapi:get": {
|
|
3765
|
+
"aliases": [],
|
|
3766
|
+
"args": {
|
|
3767
|
+
"slug": {
|
|
3768
|
+
"description": "Slug of the OpenAPI specification to retrieve",
|
|
3769
|
+
"name": "slug",
|
|
3770
|
+
"required": true
|
|
3771
|
+
}
|
|
3772
|
+
},
|
|
3773
|
+
"description": "Get an OpenAPI specification by slug",
|
|
3774
|
+
"examples": [
|
|
3775
|
+
{
|
|
3776
|
+
"command": "<%= config.bin %> <%= command.id %> query",
|
|
3777
|
+
"description": "Get a specification (YAML format, default)"
|
|
3778
|
+
},
|
|
3779
|
+
{
|
|
3780
|
+
"command": "<%= config.bin %> <%= command.id %> query --format=json",
|
|
3781
|
+
"description": "Get specification in JSON format"
|
|
3782
|
+
},
|
|
3783
|
+
{
|
|
3784
|
+
"command": "<%= config.bin %> <%= command.id %> query --web",
|
|
3785
|
+
"description": "Open specification in browser"
|
|
3786
|
+
},
|
|
3787
|
+
{
|
|
3788
|
+
"command": "<%= config.bin %> <%= command.id %> query > query-api.yaml",
|
|
3789
|
+
"description": "Pipe to file"
|
|
3790
|
+
}
|
|
3791
|
+
],
|
|
3792
|
+
"flags": {
|
|
3793
|
+
"format": {
|
|
3794
|
+
"description": "Output format: yaml (default), json",
|
|
3795
|
+
"name": "format",
|
|
3796
|
+
"default": "yaml",
|
|
3797
|
+
"hasDynamicHelp": false,
|
|
3798
|
+
"multiple": false,
|
|
3799
|
+
"options": [
|
|
3800
|
+
"yaml",
|
|
3801
|
+
"json"
|
|
3802
|
+
],
|
|
3803
|
+
"type": "option"
|
|
3804
|
+
},
|
|
3805
|
+
"web": {
|
|
3806
|
+
"char": "w",
|
|
3807
|
+
"description": "Open in web browser",
|
|
3808
|
+
"name": "web",
|
|
3809
|
+
"allowNo": false,
|
|
3810
|
+
"type": "boolean"
|
|
3811
|
+
}
|
|
3812
|
+
},
|
|
3813
|
+
"hasDynamicHelp": false,
|
|
3814
|
+
"hiddenAliases": [],
|
|
3815
|
+
"id": "openapi:get",
|
|
3816
|
+
"pluginAlias": "@sanity/cli",
|
|
3817
|
+
"pluginName": "@sanity/cli",
|
|
3818
|
+
"pluginType": "core",
|
|
3819
|
+
"strict": true,
|
|
3820
|
+
"isESM": true,
|
|
3821
|
+
"relativePath": [
|
|
3822
|
+
"dist",
|
|
3823
|
+
"commands",
|
|
3824
|
+
"openapi",
|
|
3825
|
+
"get.js"
|
|
3826
|
+
]
|
|
3827
|
+
},
|
|
3828
|
+
"openapi:list": {
|
|
3829
|
+
"aliases": [],
|
|
3830
|
+
"args": {},
|
|
3831
|
+
"description": "List all available OpenAPI specifications",
|
|
3832
|
+
"examples": [
|
|
3833
|
+
{
|
|
3834
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
3835
|
+
"description": "List all available OpenAPI specs"
|
|
3836
|
+
},
|
|
3837
|
+
{
|
|
3838
|
+
"command": "<%= config.bin %> <%= command.id %> --json",
|
|
3839
|
+
"description": "List with JSON output"
|
|
3840
|
+
},
|
|
3841
|
+
{
|
|
3842
|
+
"command": "<%= config.bin %> <%= command.id %> --web",
|
|
3843
|
+
"description": "Open HTTP Reference in browser"
|
|
3844
|
+
}
|
|
3845
|
+
],
|
|
3846
|
+
"flags": {
|
|
3847
|
+
"json": {
|
|
3848
|
+
"description": "Output JSON",
|
|
3849
|
+
"name": "json",
|
|
3850
|
+
"allowNo": false,
|
|
3851
|
+
"type": "boolean"
|
|
3852
|
+
},
|
|
3853
|
+
"web": {
|
|
3854
|
+
"char": "w",
|
|
3855
|
+
"description": "Open HTTP Reference in web browser",
|
|
3856
|
+
"name": "web",
|
|
3857
|
+
"allowNo": false,
|
|
3858
|
+
"type": "boolean"
|
|
3859
|
+
}
|
|
3860
|
+
},
|
|
3861
|
+
"hasDynamicHelp": false,
|
|
3862
|
+
"hiddenAliases": [],
|
|
3863
|
+
"id": "openapi:list",
|
|
3864
|
+
"pluginAlias": "@sanity/cli",
|
|
3865
|
+
"pluginName": "@sanity/cli",
|
|
3866
|
+
"pluginType": "core",
|
|
3867
|
+
"strict": true,
|
|
3868
|
+
"isESM": true,
|
|
3869
|
+
"relativePath": [
|
|
3870
|
+
"dist",
|
|
3871
|
+
"commands",
|
|
3872
|
+
"openapi",
|
|
3873
|
+
"list.js"
|
|
3874
|
+
]
|
|
3875
|
+
},
|
|
3686
3876
|
"organizations:create": {
|
|
3687
3877
|
"aliases": [],
|
|
3688
3878
|
"args": {},
|
|
@@ -4144,6 +4334,13 @@
|
|
|
4144
4334
|
"name": "verbose",
|
|
4145
4335
|
"allowNo": false,
|
|
4146
4336
|
"type": "boolean"
|
|
4337
|
+
},
|
|
4338
|
+
"yes": {
|
|
4339
|
+
"char": "y",
|
|
4340
|
+
"description": "Delete schemas without prompting for confirmation",
|
|
4341
|
+
"name": "yes",
|
|
4342
|
+
"allowNo": false,
|
|
4343
|
+
"type": "boolean"
|
|
4147
4344
|
}
|
|
4148
4345
|
},
|
|
4149
4346
|
"hasDynamicHelp": false,
|
|
@@ -4258,6 +4455,12 @@
|
|
|
4258
4455
|
"allowNo": false,
|
|
4259
4456
|
"type": "boolean"
|
|
4260
4457
|
},
|
|
4458
|
+
"force": {
|
|
4459
|
+
"description": "Overwrite an existing schema file",
|
|
4460
|
+
"name": "force",
|
|
4461
|
+
"allowNo": false,
|
|
4462
|
+
"type": "boolean"
|
|
4463
|
+
},
|
|
4261
4464
|
"format": {
|
|
4262
4465
|
"description": "Output format (currently only groq-type-nodes)",
|
|
4263
4466
|
"name": "format",
|
|
@@ -4571,7 +4774,7 @@
|
|
|
4571
4774
|
"status.js"
|
|
4572
4775
|
]
|
|
4573
4776
|
},
|
|
4574
|
-
"tokens:
|
|
4777
|
+
"tokens:create": {
|
|
4575
4778
|
"aliases": [],
|
|
4576
4779
|
"args": {
|
|
4577
4780
|
"label": {
|
|
@@ -4606,7 +4809,7 @@
|
|
|
4606
4809
|
"flags": {
|
|
4607
4810
|
"project-id": {
|
|
4608
4811
|
"char": "p",
|
|
4609
|
-
"description": "Project ID to
|
|
4812
|
+
"description": "Project ID to create token in (overrides CLI configuration)",
|
|
4610
4813
|
"helpGroup": "OVERRIDE",
|
|
4611
4814
|
"name": "project-id",
|
|
4612
4815
|
"hasDynamicHelp": false,
|
|
@@ -4621,7 +4824,7 @@
|
|
|
4621
4824
|
"type": "boolean"
|
|
4622
4825
|
},
|
|
4623
4826
|
"role": {
|
|
4624
|
-
"description": "Role to assign to the token",
|
|
4827
|
+
"description": "Role to assign to the token (defaults to viewer in unattended mode)",
|
|
4625
4828
|
"name": "role",
|
|
4626
4829
|
"hasDynamicHelp": false,
|
|
4627
4830
|
"helpValue": "viewer",
|
|
@@ -4638,9 +4841,11 @@
|
|
|
4638
4841
|
},
|
|
4639
4842
|
"hasDynamicHelp": false,
|
|
4640
4843
|
"hiddenAliases": [
|
|
4641
|
-
"
|
|
4844
|
+
"tokens:add",
|
|
4845
|
+
"token:add",
|
|
4846
|
+
"token:create"
|
|
4642
4847
|
],
|
|
4643
|
-
"id": "tokens:
|
|
4848
|
+
"id": "tokens:create",
|
|
4644
4849
|
"pluginAlias": "@sanity/cli",
|
|
4645
4850
|
"pluginName": "@sanity/cli",
|
|
4646
4851
|
"pluginType": "core",
|
|
@@ -4650,7 +4855,7 @@
|
|
|
4650
4855
|
"dist",
|
|
4651
4856
|
"commands",
|
|
4652
4857
|
"tokens",
|
|
4653
|
-
"
|
|
4858
|
+
"create.js"
|
|
4654
4859
|
]
|
|
4655
4860
|
},
|
|
4656
4861
|
"tokens:delete": {
|
|
@@ -5444,5 +5649,5 @@
|
|
|
5444
5649
|
]
|
|
5445
5650
|
}
|
|
5446
5651
|
},
|
|
5447
|
-
"version": "7.
|
|
5652
|
+
"version": "7.12.0"
|
|
5448
5653
|
}
|