@sanity/cli 5.10.0-next.28 → 5.10.0-next.29
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/cli.js
CHANGED
|
@@ -41923,8 +41923,7 @@ Examples
|
|
|
41923
41923
|
isGroupRoot: !0,
|
|
41924
41924
|
description: "Manages telemetry settings, opting in or out of data collection"
|
|
41925
41925
|
}, description = "Generates TypeScript types from schema types and GROQ queries", helpText = `
|
|
41926
|
-
Sanity TypeGen
|
|
41927
|
-
This command is currently in beta and may undergo significant changes. Feedback is welcome!
|
|
41926
|
+
Sanity TypeGen
|
|
41928
41927
|
|
|
41929
41928
|
Usage
|
|
41930
41929
|
sanity typegen generate [--watch] [--config-path <value>]
|
|
@@ -41961,7 +41960,6 @@ The default configuration values listed above are used if not overridden in your
|
|
|
41961
41960
|
|
|
41962
41961
|
Note:
|
|
41963
41962
|
- The \`sanity schema extract\` command is a prerequisite for extracting your Sanity Studio schema into a \`schema.json\` file, which is then used by the \`sanity typegen generate\` command to generate type definitions.
|
|
41964
|
-
- While this tool is in beta, we encourage you to experiment with these configurations and provide feedback to help improve its functionality and usability.
|
|
41965
41963
|
`, generateTypegenCommand = {
|
|
41966
41964
|
name: "generate",
|
|
41967
41965
|
group: "typegen",
|