@sanity/cli 6.5.2 → 6.5.3
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/oclif.manifest.json +86 -86
- package/package.json +2 -2
package/oclif.manifest.json
CHANGED
|
@@ -4816,26 +4816,26 @@
|
|
|
4816
4816
|
"unlink.js"
|
|
4817
4817
|
]
|
|
4818
4818
|
},
|
|
4819
|
-
"datasets:
|
|
4819
|
+
"datasets:visibility:get": {
|
|
4820
4820
|
"aliases": [],
|
|
4821
4821
|
"args": {
|
|
4822
4822
|
"dataset": {
|
|
4823
|
-
"description": "
|
|
4823
|
+
"description": "The name of the dataset to get visibility for",
|
|
4824
4824
|
"name": "dataset",
|
|
4825
|
-
"required":
|
|
4825
|
+
"required": true
|
|
4826
4826
|
}
|
|
4827
4827
|
},
|
|
4828
|
-
"description": "
|
|
4828
|
+
"description": "Get the visibility of a dataset",
|
|
4829
4829
|
"examples": [
|
|
4830
4830
|
{
|
|
4831
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
4832
|
-
"description": "
|
|
4831
|
+
"command": "<%= config.bin %> <%= command.id %> my-dataset",
|
|
4832
|
+
"description": "Check the visibility of a dataset"
|
|
4833
4833
|
}
|
|
4834
4834
|
],
|
|
4835
4835
|
"flags": {
|
|
4836
4836
|
"project-id": {
|
|
4837
4837
|
"char": "p",
|
|
4838
|
-
"description": "Project ID to
|
|
4838
|
+
"description": "Project ID to get dataset visibility for (overrides CLI configuration)",
|
|
4839
4839
|
"helpGroup": "OVERRIDE",
|
|
4840
4840
|
"name": "project-id",
|
|
4841
4841
|
"hasDynamicHelp": false,
|
|
@@ -4846,9 +4846,9 @@
|
|
|
4846
4846
|
},
|
|
4847
4847
|
"hasDynamicHelp": false,
|
|
4848
4848
|
"hiddenAliases": [
|
|
4849
|
-
"dataset:
|
|
4849
|
+
"dataset:visibility:get"
|
|
4850
4850
|
],
|
|
4851
|
-
"id": "datasets:
|
|
4851
|
+
"id": "datasets:visibility:get",
|
|
4852
4852
|
"pluginAlias": "@sanity/cli",
|
|
4853
4853
|
"pluginName": "@sanity/cli",
|
|
4854
4854
|
"pluginType": "core",
|
|
@@ -4858,65 +4858,56 @@
|
|
|
4858
4858
|
"dist",
|
|
4859
4859
|
"commands",
|
|
4860
4860
|
"datasets",
|
|
4861
|
-
"
|
|
4862
|
-
"
|
|
4861
|
+
"visibility",
|
|
4862
|
+
"get.js"
|
|
4863
4863
|
]
|
|
4864
4864
|
},
|
|
4865
|
-
"datasets:
|
|
4865
|
+
"datasets:visibility:set": {
|
|
4866
4866
|
"aliases": [],
|
|
4867
4867
|
"args": {
|
|
4868
4868
|
"dataset": {
|
|
4869
|
-
"description": "
|
|
4869
|
+
"description": "The name of the dataset to set visibility for",
|
|
4870
4870
|
"name": "dataset",
|
|
4871
|
-
"required":
|
|
4871
|
+
"required": true
|
|
4872
|
+
},
|
|
4873
|
+
"mode": {
|
|
4874
|
+
"description": "The visibility mode to set",
|
|
4875
|
+
"name": "mode",
|
|
4876
|
+
"options": [
|
|
4877
|
+
"public",
|
|
4878
|
+
"private"
|
|
4879
|
+
],
|
|
4880
|
+
"required": true
|
|
4872
4881
|
}
|
|
4873
4882
|
},
|
|
4874
|
-
"description": "
|
|
4883
|
+
"description": "Set the visibility of a dataset",
|
|
4875
4884
|
"examples": [
|
|
4876
4885
|
{
|
|
4877
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
4878
|
-
"description": "
|
|
4879
|
-
},
|
|
4880
|
-
{
|
|
4881
|
-
"command": "<%= config.bin %> <%= command.id %> production --projection \"{ title, body }\"",
|
|
4882
|
-
"description": "Enable embeddings with a specific projection"
|
|
4886
|
+
"command": "<%= config.bin %> <%= command.id %> my-dataset private",
|
|
4887
|
+
"description": "Make a dataset private"
|
|
4883
4888
|
},
|
|
4884
4889
|
{
|
|
4885
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
4886
|
-
"description": "
|
|
4890
|
+
"command": "<%= config.bin %> <%= command.id %> my-dataset public",
|
|
4891
|
+
"description": "Make a dataset public"
|
|
4887
4892
|
}
|
|
4888
4893
|
],
|
|
4889
4894
|
"flags": {
|
|
4890
4895
|
"project-id": {
|
|
4891
4896
|
"char": "p",
|
|
4892
|
-
"description": "Project ID to
|
|
4897
|
+
"description": "Project ID to set dataset visibility for (overrides CLI configuration)",
|
|
4893
4898
|
"helpGroup": "OVERRIDE",
|
|
4894
4899
|
"name": "project-id",
|
|
4895
4900
|
"hasDynamicHelp": false,
|
|
4896
4901
|
"helpValue": "<id>",
|
|
4897
4902
|
"multiple": false,
|
|
4898
4903
|
"type": "option"
|
|
4899
|
-
},
|
|
4900
|
-
"projection": {
|
|
4901
|
-
"description": "GROQ projection defining which fields to embed (e.g. \"{ title, body }\")",
|
|
4902
|
-
"name": "projection",
|
|
4903
|
-
"required": false,
|
|
4904
|
-
"hasDynamicHelp": false,
|
|
4905
|
-
"multiple": false,
|
|
4906
|
-
"type": "option"
|
|
4907
|
-
},
|
|
4908
|
-
"wait": {
|
|
4909
|
-
"description": "Wait for embeddings processing to complete before returning",
|
|
4910
|
-
"name": "wait",
|
|
4911
|
-
"allowNo": false,
|
|
4912
|
-
"type": "boolean"
|
|
4913
4904
|
}
|
|
4914
4905
|
},
|
|
4915
4906
|
"hasDynamicHelp": false,
|
|
4916
4907
|
"hiddenAliases": [
|
|
4917
|
-
"dataset:
|
|
4908
|
+
"dataset:visibility:set"
|
|
4918
4909
|
],
|
|
4919
|
-
"id": "datasets:
|
|
4910
|
+
"id": "datasets:visibility:set",
|
|
4920
4911
|
"pluginAlias": "@sanity/cli",
|
|
4921
4912
|
"pluginName": "@sanity/cli",
|
|
4922
4913
|
"pluginType": "core",
|
|
@@ -4926,30 +4917,30 @@
|
|
|
4926
4917
|
"dist",
|
|
4927
4918
|
"commands",
|
|
4928
4919
|
"datasets",
|
|
4929
|
-
"
|
|
4930
|
-
"
|
|
4920
|
+
"visibility",
|
|
4921
|
+
"set.js"
|
|
4931
4922
|
]
|
|
4932
4923
|
},
|
|
4933
|
-
"datasets:embeddings:
|
|
4924
|
+
"datasets:embeddings:disable": {
|
|
4934
4925
|
"aliases": [],
|
|
4935
4926
|
"args": {
|
|
4936
4927
|
"dataset": {
|
|
4937
|
-
"description": "
|
|
4928
|
+
"description": "Dataset name to disable embeddings for",
|
|
4938
4929
|
"name": "dataset",
|
|
4939
4930
|
"required": false
|
|
4940
4931
|
}
|
|
4941
4932
|
},
|
|
4942
|
-
"description": "
|
|
4933
|
+
"description": "Disable embeddings for a dataset",
|
|
4943
4934
|
"examples": [
|
|
4944
4935
|
{
|
|
4945
4936
|
"command": "<%= config.bin %> <%= command.id %> production",
|
|
4946
|
-
"description": "
|
|
4937
|
+
"description": "Disable embeddings for the production dataset"
|
|
4947
4938
|
}
|
|
4948
4939
|
],
|
|
4949
4940
|
"flags": {
|
|
4950
4941
|
"project-id": {
|
|
4951
4942
|
"char": "p",
|
|
4952
|
-
"description": "Project ID to
|
|
4943
|
+
"description": "Project ID to disable embeddings for (overrides CLI configuration)",
|
|
4953
4944
|
"helpGroup": "OVERRIDE",
|
|
4954
4945
|
"name": "project-id",
|
|
4955
4946
|
"hasDynamicHelp": false,
|
|
@@ -4960,9 +4951,9 @@
|
|
|
4960
4951
|
},
|
|
4961
4952
|
"hasDynamicHelp": false,
|
|
4962
4953
|
"hiddenAliases": [
|
|
4963
|
-
"dataset:embeddings:
|
|
4954
|
+
"dataset:embeddings:disable"
|
|
4964
4955
|
],
|
|
4965
|
-
"id": "datasets:embeddings:
|
|
4956
|
+
"id": "datasets:embeddings:disable",
|
|
4966
4957
|
"pluginAlias": "@sanity/cli",
|
|
4967
4958
|
"pluginName": "@sanity/cli",
|
|
4968
4959
|
"pluginType": "core",
|
|
@@ -4973,42 +4964,64 @@
|
|
|
4973
4964
|
"commands",
|
|
4974
4965
|
"datasets",
|
|
4975
4966
|
"embeddings",
|
|
4976
|
-
"
|
|
4967
|
+
"disable.js"
|
|
4977
4968
|
]
|
|
4978
4969
|
},
|
|
4979
|
-
"datasets:
|
|
4970
|
+
"datasets:embeddings:enable": {
|
|
4980
4971
|
"aliases": [],
|
|
4981
4972
|
"args": {
|
|
4982
4973
|
"dataset": {
|
|
4983
|
-
"description": "
|
|
4974
|
+
"description": "Dataset name to enable embeddings for",
|
|
4984
4975
|
"name": "dataset",
|
|
4985
|
-
"required":
|
|
4976
|
+
"required": false
|
|
4986
4977
|
}
|
|
4987
4978
|
},
|
|
4988
|
-
"description": "
|
|
4979
|
+
"description": "Enable embeddings for a dataset",
|
|
4989
4980
|
"examples": [
|
|
4990
4981
|
{
|
|
4991
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
4992
|
-
"description": "
|
|
4982
|
+
"command": "<%= config.bin %> <%= command.id %> production",
|
|
4983
|
+
"description": "Enable embeddings for the production dataset"
|
|
4984
|
+
},
|
|
4985
|
+
{
|
|
4986
|
+
"command": "<%= config.bin %> <%= command.id %> production --projection \"{ title, body }\"",
|
|
4987
|
+
"description": "Enable embeddings with a specific projection"
|
|
4988
|
+
},
|
|
4989
|
+
{
|
|
4990
|
+
"command": "<%= config.bin %> <%= command.id %> production --wait",
|
|
4991
|
+
"description": "Enable embeddings and wait for processing to complete"
|
|
4993
4992
|
}
|
|
4994
4993
|
],
|
|
4995
4994
|
"flags": {
|
|
4996
4995
|
"project-id": {
|
|
4997
4996
|
"char": "p",
|
|
4998
|
-
"description": "Project ID to
|
|
4997
|
+
"description": "Project ID to enable embeddings for (overrides CLI configuration)",
|
|
4999
4998
|
"helpGroup": "OVERRIDE",
|
|
5000
4999
|
"name": "project-id",
|
|
5001
5000
|
"hasDynamicHelp": false,
|
|
5002
5001
|
"helpValue": "<id>",
|
|
5003
5002
|
"multiple": false,
|
|
5004
5003
|
"type": "option"
|
|
5004
|
+
},
|
|
5005
|
+
"projection": {
|
|
5006
|
+
"description": "GROQ projection defining which fields to embed (e.g. \"{ title, body }\")",
|
|
5007
|
+
"name": "projection",
|
|
5008
|
+
"required": false,
|
|
5009
|
+
"hasDynamicHelp": false,
|
|
5010
|
+
"multiple": false,
|
|
5011
|
+
"type": "option"
|
|
5012
|
+
},
|
|
5013
|
+
"wait": {
|
|
5014
|
+
"description": "Wait for embeddings processing to complete before returning",
|
|
5015
|
+
"name": "wait",
|
|
5016
|
+
"allowNo": false,
|
|
5017
|
+
"type": "boolean"
|
|
5005
5018
|
}
|
|
5006
5019
|
},
|
|
5007
5020
|
"hasDynamicHelp": false,
|
|
5008
5021
|
"hiddenAliases": [
|
|
5009
|
-
"dataset:
|
|
5022
|
+
"dataset:embeddings:enable"
|
|
5010
5023
|
],
|
|
5011
|
-
"id": "datasets:
|
|
5024
|
+
"id": "datasets:embeddings:enable",
|
|
5012
5025
|
"pluginAlias": "@sanity/cli",
|
|
5013
5026
|
"pluginName": "@sanity/cli",
|
|
5014
5027
|
"pluginType": "core",
|
|
@@ -5018,43 +5031,30 @@
|
|
|
5018
5031
|
"dist",
|
|
5019
5032
|
"commands",
|
|
5020
5033
|
"datasets",
|
|
5021
|
-
"
|
|
5022
|
-
"
|
|
5034
|
+
"embeddings",
|
|
5035
|
+
"enable.js"
|
|
5023
5036
|
]
|
|
5024
5037
|
},
|
|
5025
|
-
"datasets:
|
|
5038
|
+
"datasets:embeddings:status": {
|
|
5026
5039
|
"aliases": [],
|
|
5027
5040
|
"args": {
|
|
5028
5041
|
"dataset": {
|
|
5029
|
-
"description": "The name of the dataset to
|
|
5042
|
+
"description": "The name of the dataset to check embeddings status for",
|
|
5030
5043
|
"name": "dataset",
|
|
5031
|
-
"required":
|
|
5032
|
-
},
|
|
5033
|
-
"mode": {
|
|
5034
|
-
"description": "The visibility mode to set",
|
|
5035
|
-
"name": "mode",
|
|
5036
|
-
"options": [
|
|
5037
|
-
"public",
|
|
5038
|
-
"private"
|
|
5039
|
-
],
|
|
5040
|
-
"required": true
|
|
5044
|
+
"required": false
|
|
5041
5045
|
}
|
|
5042
5046
|
},
|
|
5043
|
-
"description": "
|
|
5047
|
+
"description": "Show embeddings settings and status for a dataset",
|
|
5044
5048
|
"examples": [
|
|
5045
5049
|
{
|
|
5046
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
5047
|
-
"description": "
|
|
5048
|
-
},
|
|
5049
|
-
{
|
|
5050
|
-
"command": "<%= config.bin %> <%= command.id %> my-dataset public",
|
|
5051
|
-
"description": "Make a dataset public"
|
|
5050
|
+
"command": "<%= config.bin %> <%= command.id %> production",
|
|
5051
|
+
"description": "Show embeddings status for the production dataset"
|
|
5052
5052
|
}
|
|
5053
5053
|
],
|
|
5054
5054
|
"flags": {
|
|
5055
5055
|
"project-id": {
|
|
5056
5056
|
"char": "p",
|
|
5057
|
-
"description": "Project ID to
|
|
5057
|
+
"description": "Project ID to check embeddings status for (overrides CLI configuration)",
|
|
5058
5058
|
"helpGroup": "OVERRIDE",
|
|
5059
5059
|
"name": "project-id",
|
|
5060
5060
|
"hasDynamicHelp": false,
|
|
@@ -5065,9 +5065,9 @@
|
|
|
5065
5065
|
},
|
|
5066
5066
|
"hasDynamicHelp": false,
|
|
5067
5067
|
"hiddenAliases": [
|
|
5068
|
-
"dataset:
|
|
5068
|
+
"dataset:embeddings:status"
|
|
5069
5069
|
],
|
|
5070
|
-
"id": "datasets:
|
|
5070
|
+
"id": "datasets:embeddings:status",
|
|
5071
5071
|
"pluginAlias": "@sanity/cli",
|
|
5072
5072
|
"pluginName": "@sanity/cli",
|
|
5073
5073
|
"pluginType": "core",
|
|
@@ -5077,10 +5077,10 @@
|
|
|
5077
5077
|
"dist",
|
|
5078
5078
|
"commands",
|
|
5079
5079
|
"datasets",
|
|
5080
|
-
"
|
|
5081
|
-
"
|
|
5080
|
+
"embeddings",
|
|
5081
|
+
"status.js"
|
|
5082
5082
|
]
|
|
5083
5083
|
}
|
|
5084
5084
|
},
|
|
5085
|
-
"version": "6.5.
|
|
5085
|
+
"version": "6.5.3"
|
|
5086
5086
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/cli",
|
|
3
|
-
"version": "6.5.
|
|
3
|
+
"version": "6.5.3",
|
|
4
4
|
"description": "Sanity CLI tool for managing Sanity projects and organizations",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"which": "^6.0.1",
|
|
117
117
|
"yaml": "^2.8.4",
|
|
118
118
|
"zod": "^4.3.6",
|
|
119
|
-
"@sanity/cli-build": "^0.1.
|
|
119
|
+
"@sanity/cli-build": "^0.1.1",
|
|
120
120
|
"@sanity/cli-core": "^1.3.2"
|
|
121
121
|
},
|
|
122
122
|
"devDependencies": {
|