@sanity/cli 6.0.0-alpha.8 → 6.0.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 +728 -258
- package/bin/run.js +2 -0
- package/dist/SanityHelp.js +51 -23
- package/dist/SanityHelp.js.map +1 -1
- package/dist/actions/auth/authServer.js +28 -22
- package/dist/actions/auth/authServer.js.map +1 -1
- package/dist/actions/auth/login/getProvider.js +49 -38
- package/dist/actions/auth/login/getProvider.js.map +1 -1
- package/dist/actions/auth/login/getSSOProvider.js +25 -19
- package/dist/actions/auth/login/getSSOProvider.js.map +1 -1
- package/dist/actions/auth/login/login.js +24 -37
- package/dist/actions/auth/login/login.js.map +1 -1
- package/dist/actions/auth/types.js.map +1 -1
- package/dist/actions/backup/downloadAsset.js +9 -9
- package/dist/actions/backup/downloadAsset.js.map +1 -1
- package/dist/actions/backup/downloadDocument.js +8 -8
- package/dist/actions/backup/downloadDocument.js.map +1 -1
- package/dist/actions/build/buildApp.js +65 -28
- package/dist/actions/build/buildApp.js.map +1 -1
- package/dist/actions/build/buildStaticFiles.js +3 -2
- package/dist/actions/build/buildStaticFiles.js.map +1 -1
- package/dist/actions/build/buildStudio.js +82 -54
- package/dist/actions/build/buildStudio.js.map +1 -1
- package/dist/actions/build/buildVendorDependencies.js +18 -52
- package/dist/actions/build/buildVendorDependencies.js.map +1 -1
- package/dist/actions/build/checkRequiredDependencies.js +13 -8
- package/dist/actions/build/checkRequiredDependencies.js.map +1 -1
- package/dist/actions/build/checkStudioDependencyVersions.js +19 -17
- package/dist/actions/build/checkStudioDependencyVersions.js.map +1 -1
- package/dist/actions/build/createExternalFromImportMap.js +1 -1
- package/dist/actions/build/createExternalFromImportMap.js.map +1 -1
- package/dist/actions/build/determineBasePath.js +5 -2
- package/dist/actions/build/determineBasePath.js.map +1 -1
- package/dist/actions/build/getStudioEnvironmentVariables.js +1 -1
- package/dist/actions/build/getStudioEnvironmentVariables.js.map +1 -1
- package/dist/actions/build/getViteConfig.js +48 -5
- package/dist/actions/build/getViteConfig.js.map +1 -1
- package/dist/actions/build/handlePrereleaseVersions.js +44 -0
- package/dist/actions/build/handlePrereleaseVersions.js.map +1 -0
- package/dist/actions/build/renderDocument.js +6 -10
- package/dist/actions/build/renderDocument.js.map +1 -1
- package/dist/actions/build/renderDocumentWorker/components/BasicDocument.js +4 -4
- package/dist/actions/build/renderDocumentWorker/components/BasicDocument.js.map +1 -1
- package/dist/actions/build/renderDocumentWorker/components/DefaultDocument.js +3 -3
- package/dist/actions/build/renderDocumentWorker/components/DefaultDocument.js.map +1 -1
- package/dist/actions/build/renderDocumentWorker/components/GlobalErrorHandler.js +1 -0
- package/dist/actions/build/renderDocumentWorker/components/GlobalErrorHandler.js.map +1 -1
- package/dist/actions/build/renderDocumentWorker/getDocumentComponent.js +2 -2
- package/dist/actions/build/renderDocumentWorker/getDocumentComponent.js.map +1 -1
- package/dist/actions/build/renderDocumentWorker/renderDocumentWorker.js +1 -1
- package/dist/actions/build/renderDocumentWorker/renderDocumentWorker.js.map +1 -1
- package/dist/actions/build/shouldAutoUpdate.js +5 -3
- package/dist/actions/build/shouldAutoUpdate.js.map +1 -1
- package/dist/actions/build/types.js.map +1 -1
- package/dist/actions/build/writeFavicons.js +3 -5
- package/dist/actions/build/writeFavicons.js.map +1 -1
- package/dist/actions/build/writeSanityRuntime.js +6 -5
- package/dist/actions/build/writeSanityRuntime.js.map +1 -1
- package/dist/actions/codemods/reactIconsV3.js +2 -2
- package/dist/actions/codemods/reactIconsV3.js.map +1 -1
- package/dist/actions/dataset/create.js +10 -6
- package/dist/actions/dataset/create.js.map +1 -1
- package/dist/actions/dataset/determineDatasetAclMode.js.map +1 -1
- package/dist/actions/dataset/resolveDataset.js +26 -0
- package/dist/actions/dataset/resolveDataset.js.map +1 -0
- package/dist/actions/debug/formatters.js +22 -0
- package/dist/actions/debug/formatters.js.map +1 -0
- package/dist/actions/deploy/createStudioUserApplication.js +17 -4
- package/dist/actions/deploy/createStudioUserApplication.js.map +1 -1
- package/dist/actions/deploy/deployApp.js +52 -22
- package/dist/actions/deploy/deployApp.js.map +1 -1
- package/dist/actions/deploy/deployStudio.js +95 -46
- package/dist/actions/deploy/deployStudio.js.map +1 -1
- package/dist/actions/deploy/deployStudioSchemasAndManifests.js +55 -0
- package/dist/actions/deploy/deployStudioSchemasAndManifests.js.map +1 -0
- package/dist/actions/deploy/deployStudioSchemasAndManifests.worker.js +120 -0
- package/dist/actions/deploy/deployStudioSchemasAndManifests.worker.js.map +1 -0
- package/dist/actions/deploy/findUserApplicationForStudio.js +35 -12
- package/dist/actions/deploy/findUserApplicationForStudio.js.map +1 -1
- package/dist/actions/deploy/types.js +10 -1
- package/dist/actions/deploy/types.js.map +1 -1
- package/dist/actions/deploy/urlUtils.js +21 -0
- package/dist/actions/deploy/urlUtils.js.map +1 -0
- package/dist/actions/dev/getDashboardAppUrl.js +48 -0
- package/dist/actions/dev/getDashboardAppUrl.js.map +1 -0
- package/dist/actions/dev/getDevServerConfig.js +7 -3
- package/dist/actions/dev/getDevServerConfig.js.map +1 -1
- package/dist/actions/dev/startAppDevServer.js +7 -4
- package/dist/actions/dev/startAppDevServer.js.map +1 -1
- package/dist/actions/dev/startStudioDevServer.js +23 -19
- package/dist/actions/dev/startStudioDevServer.js.map +1 -1
- package/dist/actions/doctor/checks/cliInstallation.js +56 -0
- package/dist/actions/doctor/checks/cliInstallation.js.map +1 -0
- package/dist/actions/doctor/checks/index.js +16 -0
- package/dist/actions/doctor/checks/index.js.map +1 -0
- package/dist/actions/doctor/runDoctorChecks.js +56 -0
- package/dist/actions/doctor/runDoctorChecks.js.map +1 -0
- package/dist/actions/doctor/types.js.map +1 -0
- package/dist/actions/documents/types.js.map +1 -1
- package/dist/actions/documents/validate.js +15 -17
- package/dist/actions/documents/validate.js.map +1 -1
- package/dist/{threads/validateDocuments.js → actions/documents/validateDocuments.worker.js} +37 -37
- package/dist/actions/documents/validateDocuments.worker.js.map +1 -0
- package/dist/actions/documents/validation/reporters/jsonReporter.js +1 -1
- package/dist/actions/documents/validation/reporters/jsonReporter.js.map +1 -1
- package/dist/actions/documents/validation/reporters/ndjsonReporter.js +1 -1
- package/dist/actions/documents/validation/reporters/ndjsonReporter.js.map +1 -1
- package/dist/actions/documents/validation/reporters/prettyReporter/formatDocumentValidation.js +9 -8
- package/dist/actions/documents/validation/reporters/prettyReporter/formatDocumentValidation.js.map +1 -1
- package/dist/actions/documents/validation/reporters/prettyReporter/prettyReporter.js.map +1 -1
- package/dist/actions/documents/validation/reporters/prettyReporter/tree.js +108 -0
- package/dist/actions/documents/validation/reporters/prettyReporter/tree.js.map +1 -0
- package/dist/{threads/configClient.js → actions/exec/configClient.worker.js} +2 -2
- package/dist/actions/exec/configClient.worker.js.map +1 -0
- package/dist/actions/exec/execScript.js +29 -25
- package/dist/actions/exec/execScript.js.map +1 -1
- package/dist/{threads/registerBrowserEnv.js → actions/exec/registerBrowserEnv.worker.js} +1 -1
- package/dist/actions/exec/registerBrowserEnv.worker.js.map +1 -0
- package/dist/actions/graphql/SchemaError.js +15 -0
- package/dist/actions/graphql/SchemaError.js.map +1 -0
- package/dist/actions/graphql/__tests__/fixtures/many-self-refs.js +540 -0
- package/dist/actions/graphql/__tests__/fixtures/many-self-refs.js.map +1 -0
- package/dist/actions/graphql/__tests__/fixtures/test-studio.js +1143 -0
- package/dist/actions/graphql/__tests__/fixtures/test-studio.js.map +1 -0
- package/dist/actions/graphql/__tests__/fixtures/union-refs.js +591 -0
- package/dist/actions/graphql/__tests__/fixtures/union-refs.js.map +1 -0
- package/dist/actions/graphql/__tests__/helpers.js +23 -0
- package/dist/actions/graphql/__tests__/helpers.js.map +1 -0
- package/dist/actions/graphql/extractFromSanitySchema.js +659 -0
- package/dist/actions/graphql/extractFromSanitySchema.js.map +1 -0
- package/dist/actions/graphql/extractGraphQLAPIs.js +150 -0
- package/dist/actions/graphql/extractGraphQLAPIs.js.map +1 -0
- package/dist/actions/graphql/extractGraphQLAPIs.worker.js +12 -0
- package/dist/actions/graphql/extractGraphQLAPIs.worker.js.map +1 -0
- package/dist/actions/graphql/gen1/generateTypeFilters.js +226 -0
- package/dist/actions/graphql/gen1/generateTypeFilters.js.map +1 -0
- package/dist/actions/graphql/gen1/generateTypeQueries.js +86 -0
- package/dist/actions/graphql/gen1/generateTypeQueries.js.map +1 -0
- package/dist/actions/graphql/gen1/index.js +19 -0
- package/dist/actions/graphql/gen1/index.js.map +1 -0
- package/dist/actions/graphql/gen2/filters/booleanFilters.js +26 -0
- package/dist/actions/graphql/gen2/filters/booleanFilters.js.map +1 -0
- package/dist/actions/graphql/gen2/filters/dateFilters.js +46 -0
- package/dist/actions/graphql/gen2/filters/dateFilters.js.map +1 -0
- package/dist/actions/graphql/gen2/filters/dateTimeFilters.js +46 -0
- package/dist/actions/graphql/gen2/filters/dateTimeFilters.js.map +1 -0
- package/dist/actions/graphql/gen2/filters/documentFilters.js +21 -0
- package/dist/actions/graphql/gen2/filters/documentFilters.js.map +1 -0
- package/dist/actions/graphql/gen2/filters/floatFilters.js +46 -0
- package/dist/actions/graphql/gen2/filters/floatFilters.js.map +1 -0
- package/dist/actions/graphql/gen2/filters/idFilters.js +44 -0
- package/dist/actions/graphql/gen2/filters/idFilters.js.map +1 -0
- package/dist/actions/graphql/gen2/filters/integerFilters.js +46 -0
- package/dist/actions/graphql/gen2/filters/integerFilters.js.map +1 -0
- package/dist/actions/graphql/gen2/filters/stringFilters.js +49 -0
- package/dist/actions/graphql/gen2/filters/stringFilters.js.map +1 -0
- package/dist/actions/graphql/gen2/generateTypeFilters.js +85 -0
- package/dist/actions/graphql/gen2/generateTypeFilters.js.map +1 -0
- package/dist/actions/graphql/gen2/generateTypeQueries.js +107 -0
- package/dist/actions/graphql/gen2/generateTypeQueries.js.map +1 -0
- package/dist/actions/graphql/gen2/generateTypeSortings.js +70 -0
- package/dist/actions/graphql/gen2/generateTypeSortings.js.map +1 -0
- package/dist/actions/graphql/gen2/index.js +22 -0
- package/dist/actions/graphql/gen2/index.js.map +1 -0
- package/dist/actions/graphql/gen3/filters/documentFilters.js +21 -0
- package/dist/actions/graphql/gen3/filters/documentFilters.js.map +1 -0
- package/dist/actions/graphql/gen3/generateTypeFilters.js +101 -0
- package/dist/actions/graphql/gen3/generateTypeFilters.js.map +1 -0
- package/dist/actions/graphql/gen3/generateTypeQueries.js +103 -0
- package/dist/actions/graphql/gen3/generateTypeQueries.js.map +1 -0
- package/dist/actions/graphql/gen3/generateTypeSortings.js +70 -0
- package/dist/actions/graphql/gen3/generateTypeSortings.js.map +1 -0
- package/dist/actions/graphql/gen3/index.js +30 -0
- package/dist/actions/graphql/gen3/index.js.map +1 -0
- package/dist/actions/graphql/gen3/utils.js +12 -0
- package/dist/actions/graphql/gen3/utils.js.map +1 -0
- package/dist/actions/graphql/getGraphQLAPIs.js +15 -57
- package/dist/actions/graphql/getGraphQLAPIs.js.map +1 -1
- package/dist/actions/graphql/getGraphQLAPIs.worker.js +75 -106
- package/dist/actions/graphql/getGraphQLAPIs.worker.js.map +1 -1
- package/dist/actions/graphql/graphqlDebug.js +4 -0
- package/dist/actions/graphql/graphqlDebug.js.map +1 -0
- package/dist/actions/graphql/helpUrls.js +3 -0
- package/dist/actions/graphql/helpUrls.js.map +1 -0
- package/dist/actions/graphql/helpers.js +24 -0
- package/dist/actions/graphql/helpers.js.map +1 -0
- package/dist/actions/graphql/resolveApiGeneration.js +43 -0
- package/dist/actions/graphql/resolveApiGeneration.js.map +1 -0
- package/dist/actions/graphql/resolveGraphQLApisFromWorkspaces.js +187 -0
- package/dist/actions/graphql/resolveGraphQLApisFromWorkspaces.js.map +1 -0
- package/dist/actions/graphql/types.js.map +1 -1
- package/dist/actions/init/bootstrapLocalTemplate.js +13 -10
- package/dist/actions/init/bootstrapLocalTemplate.js.map +1 -1
- package/dist/actions/init/bootstrapRemoteTemplate.js +6 -5
- package/dist/actions/init/bootstrapRemoteTemplate.js.map +1 -1
- package/dist/actions/init/bootstrapTemplate.js.map +1 -1
- package/dist/actions/init/checkNextJsReactCompatibility.js +1 -1
- package/dist/actions/init/checkNextJsReactCompatibility.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/createPackageManifest.js +21 -9
- package/dist/actions/init/createPackageManifest.js.map +1 -1
- package/dist/actions/init/env/createOrAppendEnvVars.js +2 -2
- package/dist/actions/init/env/createOrAppendEnvVars.js.map +1 -1
- package/dist/actions/init/env/writeEnvVarsToFile.js +2 -2
- package/dist/actions/init/env/writeEnvVarsToFile.js.map +1 -1
- package/dist/actions/init/fetchPostInitPrompt.js +2 -2
- package/dist/actions/init/fetchPostInitPrompt.js.map +1 -1
- package/dist/actions/init/remoteTemplate.js +1 -2
- package/dist/actions/init/remoteTemplate.js.map +1 -1
- package/dist/actions/init/resolvePackageManager.js +2 -2
- package/dist/actions/init/resolvePackageManager.js.map +1 -1
- package/dist/actions/init/sdkAppDependencies.js +19 -0
- package/dist/actions/init/sdkAppDependencies.js.map +1 -0
- package/dist/actions/init/studioDependencies.js.map +1 -0
- package/dist/actions/init/templates/appQuickstart.js +1 -22
- package/dist/actions/init/templates/appQuickstart.js.map +1 -1
- package/dist/actions/init/templates/appSanityUi.js +3 -22
- package/dist/actions/init/templates/appSanityUi.js.map +1 -1
- package/dist/actions/init/types.js.map +1 -1
- package/dist/actions/manifest/SchemaIcon.js +6 -4
- package/dist/actions/manifest/SchemaIcon.js.map +1 -1
- package/dist/actions/manifest/blockTypeTransformer.js +67 -0
- package/dist/actions/manifest/blockTypeTransformer.js.map +1 -0
- package/dist/actions/manifest/debug.js +4 -0
- package/dist/actions/manifest/debug.js.map +1 -0
- package/dist/actions/manifest/extractAppManifest.js +39 -22
- package/dist/actions/manifest/extractAppManifest.js.map +1 -1
- package/dist/actions/manifest/extractManifest.js +27 -78
- package/dist/actions/manifest/extractManifest.js.map +1 -1
- package/dist/actions/manifest/extractManifest.worker.js +30 -0
- package/dist/actions/manifest/extractManifest.worker.js.map +1 -0
- package/dist/actions/manifest/extractWorkspaceManifest.js +31 -372
- package/dist/actions/manifest/extractWorkspaceManifest.js.map +1 -1
- package/dist/actions/manifest/iconResolver.js +30 -0
- package/dist/actions/manifest/iconResolver.js.map +1 -0
- package/dist/actions/manifest/referenceTransformer.js +51 -0
- package/dist/actions/manifest/referenceTransformer.js.map +1 -0
- package/dist/actions/manifest/schemaTypeHelpers.js +2 -2
- package/dist/actions/manifest/schemaTypeHelpers.js.map +1 -1
- package/dist/actions/manifest/schemaTypeTransformer.js +168 -0
- package/dist/actions/manifest/schemaTypeTransformer.js.map +1 -0
- package/dist/actions/manifest/transformerUtils.js +40 -0
- package/dist/actions/manifest/transformerUtils.js.map +1 -0
- package/dist/actions/manifest/types.js +5 -0
- package/dist/actions/manifest/types.js.map +1 -1
- package/dist/actions/manifest/validationTransformer.js +84 -0
- package/dist/actions/manifest/validationTransformer.js.map +1 -0
- package/dist/actions/manifest/writeManifestFile.js +30 -0
- package/dist/actions/manifest/writeManifestFile.js.map +1 -0
- package/dist/actions/manifest/writeWorkspaceFiles.js +30 -0
- package/dist/actions/manifest/writeWorkspaceFiles.js.map +1 -0
- package/dist/actions/mcp/detectAvailableEditors.js +75 -58
- package/dist/actions/mcp/detectAvailableEditors.js.map +1 -1
- package/dist/actions/mcp/editorConfigs.js +205 -0
- package/dist/actions/mcp/editorConfigs.js.map +1 -0
- package/dist/actions/mcp/promptForMCPSetup.js +24 -0
- package/dist/actions/mcp/promptForMCPSetup.js.map +1 -0
- package/dist/actions/mcp/setupMCP.js +88 -0
- package/dist/actions/mcp/setupMCP.js.map +1 -0
- package/dist/actions/mcp/types.js +3 -0
- package/dist/actions/mcp/types.js.map +1 -0
- package/dist/actions/mcp/writeMCPConfig.js +35 -28
- package/dist/actions/mcp/writeMCPConfig.js.map +1 -1
- package/dist/actions/media/buildNdjsonIndex.js +32 -0
- package/dist/actions/media/buildNdjsonIndex.js.map +1 -0
- package/dist/actions/media/importAspects.js +2 -11
- package/dist/actions/media/importAspects.js.map +1 -1
- package/dist/actions/media/importMedia.js +24 -20
- package/dist/actions/media/importMedia.js.map +1 -1
- package/dist/actions/organizations/findOrganizationByUserName.js +5 -0
- package/dist/actions/organizations/findOrganizationByUserName.js.map +1 -0
- package/dist/actions/organizations/getOrganization.js +68 -0
- package/dist/actions/organizations/getOrganization.js.map +1 -0
- package/dist/actions/organizations/getOrganizationChoices.js +27 -19
- package/dist/actions/organizations/getOrganizationChoices.js.map +1 -1
- package/dist/actions/organizations/hasProjectAttachGrant.js +1 -1
- package/dist/actions/organizations/hasProjectAttachGrant.js.map +1 -1
- package/dist/actions/organizations/types.js +3 -0
- package/dist/actions/organizations/types.js.map +1 -0
- package/dist/actions/organizations/validateOrganizationName.js +10 -0
- package/dist/actions/organizations/validateOrganizationName.js.map +1 -0
- package/dist/actions/preview/previewAction.js +2 -1
- package/dist/actions/preview/previewAction.js.map +1 -1
- package/dist/actions/projects/getManageUrl.js +6 -0
- package/dist/actions/projects/getManageUrl.js.map +1 -0
- package/dist/actions/projects/validateProjectName.js +11 -0
- package/dist/actions/projects/validateProjectName.js.map +1 -0
- package/dist/actions/schema/deleteSchemaAction.js +16 -32
- package/dist/actions/schema/deleteSchemaAction.js.map +1 -1
- package/dist/actions/schema/deploySchemas.js +22 -91
- package/dist/actions/schema/deploySchemas.js.map +1 -1
- package/dist/actions/schema/extractSanitySchema.worker.js +33 -0
- package/dist/actions/schema/extractSanitySchema.worker.js.map +1 -0
- package/dist/actions/schema/extractSanityWorkspace.worker.js +24 -0
- package/dist/actions/schema/extractSanityWorkspace.worker.js.map +1 -0
- package/dist/actions/schema/extractSchema.js +45 -0
- package/dist/actions/schema/extractSchema.js.map +1 -0
- package/dist/actions/schema/extractSchemaWatcher.js +128 -0
- package/dist/actions/schema/extractSchemaWatcher.js.map +1 -0
- package/dist/actions/schema/formatSchemaValidation.js +22 -6
- package/dist/actions/schema/formatSchemaValidation.js.map +1 -1
- package/dist/actions/schema/getExtractOptions.js +16 -0
- package/dist/actions/schema/getExtractOptions.js.map +1 -0
- package/dist/actions/schema/listSchemas.js +54 -57
- package/dist/actions/schema/listSchemas.js.map +1 -1
- package/dist/actions/schema/matchSchemaPattern.js +22 -0
- package/dist/actions/schema/matchSchemaPattern.js.map +1 -0
- package/dist/actions/schema/metafile.js.map +1 -1
- package/dist/actions/schema/runSchemaExtraction.js +39 -0
- package/dist/actions/schema/runSchemaExtraction.js.map +1 -0
- package/dist/actions/schema/types.js +17 -0
- package/dist/actions/schema/types.js.map +1 -0
- package/dist/actions/schema/uniqueWorkspaces.worker.js +24 -0
- package/dist/actions/schema/uniqueWorkspaces.worker.js.map +1 -0
- package/dist/actions/schema/updateWorkspaceSchema.js +63 -0
- package/dist/actions/schema/updateWorkspaceSchema.js.map +1 -0
- package/dist/actions/schema/uploadSchemaToLexicon.js +87 -0
- package/dist/actions/schema/uploadSchemaToLexicon.js.map +1 -0
- package/dist/actions/schema/utils/SchemaExtractionError.js +10 -0
- package/dist/actions/schema/utils/SchemaExtractionError.js.map +1 -0
- package/dist/actions/schema/utils/debug.js +1 -0
- package/dist/actions/schema/utils/debug.js.map +1 -1
- package/dist/actions/schema/utils/extractValidationFromSchemaError.js +12 -0
- package/dist/actions/schema/utils/extractValidationFromSchemaError.js.map +1 -0
- package/dist/actions/schema/utils/schemaStoreValidation.js +1 -15
- package/dist/actions/schema/utils/schemaStoreValidation.js.map +1 -1
- package/dist/actions/schema/utils/uniqByProjectIdDataset.js +1 -1
- package/dist/actions/schema/utils/uniqByProjectIdDataset.js.map +1 -1
- package/dist/actions/schema/validateAction.js +7 -17
- package/dist/actions/schema/validateAction.js.map +1 -1
- package/dist/{threads/validateSchema.js → actions/schema/validateSchema.worker.js} +28 -26
- package/dist/actions/schema/validateSchema.worker.js.map +1 -0
- package/dist/actions/schema/watchExtractSchema.js +72 -0
- package/dist/actions/schema/watchExtractSchema.js.map +1 -0
- package/dist/actions/telemetry/getLearnMoreMessage.js.map +1 -1
- package/dist/actions/telemetry/getStatusDisplay.js.map +1 -1
- package/dist/actions/telemetry/getStatusMessage.js.map +1 -1
- package/dist/actions/telemetry/isTrueish.js +10 -0
- package/dist/actions/telemetry/isTrueish.js.map +1 -0
- package/dist/actions/telemetry/resolveConsent.js +3 -3
- package/dist/actions/telemetry/resolveConsent.js.map +1 -1
- package/dist/actions/telemetry/setConsent.js +3 -2
- package/dist/actions/telemetry/setConsent.js.map +1 -1
- package/dist/actions/telemetry/telemetryDisclosure.js +3 -3
- package/dist/actions/telemetry/telemetryDisclosure.js.map +1 -1
- package/dist/actions/users/getMembersForProject.js.map +1 -1
- package/dist/actions/users/getPendingInvitations.js +1 -1
- package/dist/actions/users/getPendingInvitations.js.map +1 -1
- package/dist/actions/users/types.js.map +1 -1
- package/dist/actions/versions/filterSanityModules.js.map +1 -1
- package/dist/actions/versions/findSanityModulesVersions.js +2 -3
- package/dist/actions/versions/findSanityModulesVersions.js.map +1 -1
- package/dist/actions/versions/getFormatters.js +3 -3
- package/dist/actions/versions/getFormatters.js.map +1 -1
- package/dist/actions/versions/tryFindLatestVersion.js +1 -1
- package/dist/actions/versions/tryFindLatestVersion.js.map +1 -1
- package/dist/commands/backup/disable.js +26 -10
- package/dist/commands/backup/disable.js.map +1 -1
- package/dist/commands/backup/download.js +26 -17
- package/dist/commands/backup/download.js.map +1 -1
- package/dist/commands/backup/enable.js +25 -10
- package/dist/commands/backup/enable.js.map +1 -1
- package/dist/commands/backup/list.js +20 -8
- package/dist/commands/backup/list.js.map +1 -1
- package/dist/commands/build.js +2 -5
- package/dist/commands/build.js.map +1 -1
- package/dist/commands/cors/add.js +33 -16
- package/dist/commands/cors/add.js.map +1 -1
- package/dist/commands/cors/delete.js +22 -7
- package/dist/commands/cors/delete.js.map +1 -1
- package/dist/commands/cors/list.js +22 -7
- package/dist/commands/cors/list.js.map +1 -1
- package/dist/commands/dataset/alias/create.js +26 -7
- package/dist/commands/dataset/alias/create.js.map +1 -1
- package/dist/commands/dataset/alias/delete.js +20 -7
- package/dist/commands/dataset/alias/delete.js.map +1 -1
- package/dist/commands/dataset/alias/link.js +20 -7
- package/dist/commands/dataset/alias/link.js.map +1 -1
- package/dist/commands/dataset/alias/unlink.js +20 -7
- package/dist/commands/dataset/alias/unlink.js.map +1 -1
- package/dist/commands/dataset/copy.js +51 -35
- package/dist/commands/dataset/copy.js.map +1 -1
- package/dist/commands/dataset/create.js +46 -14
- package/dist/commands/dataset/create.js.map +1 -1
- package/dist/commands/dataset/delete.js +28 -9
- package/dist/commands/dataset/delete.js.map +1 -1
- package/dist/commands/dataset/embeddings/disable.js +77 -0
- package/dist/commands/dataset/embeddings/disable.js.map +1 -0
- package/dist/commands/dataset/embeddings/enable.js +141 -0
- package/dist/commands/dataset/embeddings/enable.js.map +1 -0
- package/dist/commands/dataset/embeddings/status.js +72 -0
- package/dist/commands/dataset/embeddings/status.js.map +1 -0
- package/dist/commands/dataset/export.js +26 -18
- package/dist/commands/dataset/export.js.map +1 -1
- package/dist/commands/dataset/import.js +306 -1
- package/dist/commands/dataset/import.js.map +1 -1
- package/dist/commands/dataset/list.js +22 -7
- package/dist/commands/dataset/list.js.map +1 -1
- package/dist/commands/dataset/visibility/get.js +18 -7
- package/dist/commands/dataset/visibility/get.js.map +1 -1
- package/dist/commands/dataset/visibility/set.js +22 -7
- package/dist/commands/dataset/visibility/set.js.map +1 -1
- package/dist/commands/debug.js +9 -7
- package/dist/commands/debug.js.map +1 -1
- package/dist/commands/deploy.js +22 -11
- package/dist/commands/deploy.js.map +1 -1
- package/dist/commands/dev.js +7 -6
- package/dist/commands/dev.js.map +1 -1
- package/dist/commands/docs/search.js +3 -2
- package/dist/commands/docs/search.js.map +1 -1
- package/dist/commands/doctor.js +125 -0
- package/dist/commands/doctor.js.map +1 -0
- package/dist/commands/documents/create.js +19 -12
- package/dist/commands/documents/create.js.map +1 -1
- package/dist/commands/documents/delete.js +19 -12
- package/dist/commands/documents/delete.js.map +1 -1
- package/dist/commands/documents/get.js +17 -12
- package/dist/commands/documents/get.js.map +1 -1
- package/dist/commands/documents/query.js +26 -18
- package/dist/commands/documents/query.js.map +1 -1
- package/dist/commands/documents/validate.js +74 -48
- package/dist/commands/documents/validate.js.map +1 -1
- package/dist/commands/graphql/deploy.js +457 -0
- package/dist/commands/graphql/deploy.js.map +1 -0
- package/dist/commands/graphql/list.js +21 -13
- package/dist/commands/graphql/list.js.map +1 -1
- package/dist/commands/graphql/undeploy.js +37 -19
- package/dist/commands/graphql/undeploy.js.map +1 -1
- package/dist/commands/hook/attempt.js +22 -7
- package/dist/commands/hook/attempt.js.map +1 -1
- package/dist/commands/hook/create.js +23 -8
- package/dist/commands/hook/create.js.map +1 -1
- package/dist/commands/hook/delete.js +22 -7
- package/dist/commands/hook/delete.js.map +1 -1
- package/dist/commands/hook/list.js +22 -7
- package/dist/commands/hook/list.js.map +1 -1
- package/dist/commands/hook/logs.js +25 -12
- package/dist/commands/hook/logs.js.map +1 -1
- package/dist/commands/init.js +164 -143
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/login.js +19 -6
- package/dist/commands/login.js.map +1 -1
- package/dist/commands/logout.js +8 -6
- package/dist/commands/logout.js.map +1 -1
- package/dist/commands/manage.js +2 -2
- package/dist/commands/manage.js.map +1 -1
- package/dist/commands/manifest/extract.js +14 -10
- package/dist/commands/manifest/extract.js.map +1 -1
- package/dist/commands/mcp/configure.js +14 -75
- package/dist/commands/mcp/configure.js.map +1 -1
- package/dist/commands/media/create-aspect.js +11 -10
- package/dist/commands/media/create-aspect.js.map +1 -1
- package/dist/commands/media/delete-aspect.js +14 -11
- package/dist/commands/media/delete-aspect.js.map +1 -1
- package/dist/commands/media/deploy-aspect.js +31 -17
- package/dist/commands/media/deploy-aspect.js.map +1 -1
- package/dist/commands/media/export.js +10 -9
- package/dist/commands/media/export.js.map +1 -1
- package/dist/commands/media/import.js +14 -12
- package/dist/commands/media/import.js.map +1 -1
- package/dist/commands/preview.js +12 -28
- package/dist/commands/preview.js.map +1 -1
- package/dist/commands/projects/create.js +181 -0
- package/dist/commands/projects/create.js.map +1 -0
- package/dist/commands/projects/list.js +4 -3
- package/dist/commands/projects/list.js.map +1 -1
- package/dist/commands/schema/delete.js +33 -34
- package/dist/commands/schema/delete.js.map +1 -1
- package/dist/commands/schema/deploy.js +19 -30
- package/dist/commands/schema/deploy.js.map +1 -1
- package/dist/commands/schema/extract.js +34 -11
- package/dist/commands/schema/extract.js.map +1 -1
- package/dist/commands/schema/list.js +10 -31
- package/dist/commands/schema/list.js.map +1 -1
- package/dist/commands/schema/validate.js +10 -2
- package/dist/commands/schema/validate.js.map +1 -1
- package/dist/commands/tokens/add.js +24 -7
- package/dist/commands/tokens/add.js.map +1 -1
- package/dist/commands/tokens/delete.js +20 -7
- package/dist/commands/tokens/delete.js.map +1 -1
- package/dist/commands/tokens/list.js +20 -7
- package/dist/commands/tokens/list.js.map +1 -1
- package/dist/commands/undeploy.js +9 -8
- package/dist/commands/undeploy.js.map +1 -1
- package/dist/commands/users/invite.js +24 -7
- package/dist/commands/users/invite.js.map +1 -1
- package/dist/commands/users/list.js +77 -34
- package/dist/commands/users/list.js.map +1 -1
- package/dist/commands/versions.js +3 -3
- package/dist/commands/versions.js.map +1 -1
- package/dist/config/createCliConfig.js +2 -2
- package/dist/config/createCliConfig.js.map +1 -1
- package/dist/exports/_internal.d.ts +132 -0
- package/dist/exports/_internal.js +4 -0
- package/dist/exports/_internal.js.map +1 -0
- package/dist/exports/index.d.ts +113 -0
- package/dist/exports/index.js +6 -0
- package/dist/exports/index.js.map +1 -0
- package/dist/hooks/init/checkForUpdates.js +14 -0
- package/dist/hooks/init/checkForUpdates.js.map +1 -0
- package/dist/hooks/prerun/flushTelemetry.worker.js +1 -1
- package/dist/hooks/prerun/flushTelemetry.worker.js.map +1 -1
- package/dist/hooks/prerun/injectEnvVariables.js +39 -0
- package/dist/hooks/prerun/injectEnvVariables.js.map +1 -0
- package/dist/hooks/prerun/setupTelemetry.js +14 -7
- package/dist/hooks/prerun/setupTelemetry.js.map +1 -1
- package/dist/hooks/prerun/warnings.js +6 -0
- package/dist/hooks/prerun/warnings.js.map +1 -0
- package/dist/prompts/promptForDefaultConfig.js +12 -0
- package/dist/prompts/promptForDefaultConfig.js.map +1 -0
- package/dist/prompts/promptForOrganizationName.js +11 -0
- package/dist/prompts/promptForOrganizationName.js.map +1 -0
- package/dist/prompts/promptForProject.js +64 -0
- package/dist/prompts/promptForProject.js.map +1 -0
- package/dist/prompts/promptForProjectName.js +11 -0
- package/dist/prompts/promptForProjectName.js.map +1 -0
- package/dist/{actions/auth/login/promptProviders.js → prompts/promptForProviders.js} +3 -3
- package/dist/prompts/promptForProviders.js.map +1 -0
- package/dist/prompts/selectMediaLibrary.js +1 -1
- package/dist/prompts/selectMediaLibrary.js.map +1 -1
- package/dist/server/devServer.js +4 -2
- package/dist/server/devServer.js.map +1 -1
- package/dist/server/previewServer.js +17 -11
- package/dist/server/previewServer.js.map +1 -1
- package/dist/server/vite/plugin-schema-extraction.js +201 -0
- package/dist/server/vite/plugin-schema-extraction.js.map +1 -0
- package/dist/server/vite/plugin-typegen.js +217 -0
- package/dist/server/vite/plugin-typegen.js.map +1 -0
- package/dist/services/auth.js +42 -3
- package/dist/services/auth.js.map +1 -1
- package/dist/services/datasets.js +7 -5
- package/dist/services/datasets.js.map +1 -1
- package/dist/services/docs.js +2 -2
- package/dist/services/docs.js.map +1 -1
- package/dist/services/documents.js +56 -0
- package/dist/services/documents.js.map +1 -0
- package/dist/services/embeddings.js +25 -0
- package/dist/services/embeddings.js.map +1 -0
- package/dist/services/getUrlHeaders.js +25 -0
- package/dist/services/getUrlHeaders.js.map +1 -0
- package/dist/services/grants.js +13 -0
- package/dist/services/grants.js.map +1 -0
- package/dist/services/graphql.js +64 -0
- package/dist/services/graphql.js.map +1 -1
- package/dist/services/mcp.js.map +1 -1
- package/dist/services/organizations.js +1 -1
- package/dist/services/organizations.js.map +1 -1
- package/dist/services/projects.js +4 -2
- package/dist/services/projects.js.map +1 -1
- package/dist/services/schemas.js +1 -1
- package/dist/services/schemas.js.map +1 -1
- package/dist/services/telemetry.js +63 -2
- package/dist/services/telemetry.js.map +1 -1
- package/dist/services/userApplications.js +21 -6
- package/dist/services/userApplications.js.map +1 -1
- package/dist/telemetry/build.telemetry.js +13 -0
- package/dist/telemetry/build.telemetry.js.map +1 -0
- package/dist/telemetry/extractSchema.telemetry.js +18 -0
- package/dist/telemetry/extractSchema.telemetry.js.map +1 -0
- package/dist/telemetry/init.telemetry.js +8 -0
- package/dist/telemetry/init.telemetry.js.map +1 -0
- package/dist/telemetry/login.telemetry.js +8 -0
- package/dist/telemetry/login.telemetry.js.map +1 -0
- package/dist/telemetry/mcp.telemetry.js +8 -0
- package/dist/telemetry/mcp.telemetry.js.map +1 -0
- package/dist/types/grants.js +3 -0
- package/dist/types/grants.js.map +1 -0
- package/dist/types.js +6 -1
- package/dist/types.js.map +1 -1
- package/dist/util/appId.js +5 -5
- package/dist/util/appId.js.map +1 -1
- package/dist/util/checkProjectPermissions.js +21 -0
- package/dist/util/checkProjectPermissions.js.map +1 -0
- package/dist/util/cliClient.js +13 -10
- package/dist/util/cliClient.js.map +1 -1
- package/dist/util/compareDependencyVersions.js +74 -38
- package/dist/util/compareDependencyVersions.js.map +1 -1
- package/dist/util/createExpiringConfig.js +64 -0
- package/dist/util/createExpiringConfig.js.map +1 -0
- package/dist/util/detectFramework.js +135 -0
- package/dist/util/detectFramework.js.map +1 -0
- package/dist/util/errorMessages.js +0 -1
- package/dist/util/errorMessages.js.map +1 -1
- package/dist/util/extractDocumentsFromNdjsonOrTarball.js +1 -2
- package/dist/util/extractDocumentsFromNdjsonOrTarball.js.map +1 -1
- package/dist/util/formatSize.js +2 -2
- package/dist/util/formatSize.js.map +1 -1
- package/dist/util/getCliVersion.js +1 -1
- package/dist/util/getCliVersion.js.map +1 -1
- package/dist/util/getLocalPackageVersion.js +31 -23
- package/dist/util/getLocalPackageVersion.js.map +1 -1
- package/dist/util/getProjectDefaults.js.map +1 -1
- package/dist/util/getSanityEnv.js +3 -0
- package/dist/util/getSanityEnv.js.map +1 -0
- package/dist/util/getSharedServerConfig.js +1 -0
- package/dist/util/getSharedServerConfig.js.map +1 -1
- package/dist/util/getWorkspace.js +1 -1
- package/dist/util/getWorkspace.js.map +1 -1
- package/dist/util/isSchemaError.js +11 -0
- package/dist/util/isSchemaError.js.map +1 -0
- package/dist/util/isTar.js +8 -0
- package/dist/util/isTar.js.map +1 -0
- package/dist/util/loadEnv.js +1 -6
- package/dist/util/loadEnv.js.map +1 -1
- package/dist/util/packageManager/getPeerDependencies.js +44 -0
- package/dist/util/packageManager/getPeerDependencies.js.map +1 -0
- package/dist/util/packageManager/installationInfo/analyzeIssues.js +225 -0
- package/dist/util/packageManager/installationInfo/analyzeIssues.js.map +1 -0
- package/dist/util/packageManager/installationInfo/commands.js +73 -0
- package/dist/util/packageManager/installationInfo/commands.js.map +1 -0
- package/dist/util/packageManager/installationInfo/detectCliInstallation.js +66 -0
- package/dist/util/packageManager/installationInfo/detectCliInstallation.js.map +1 -0
- package/dist/util/packageManager/installationInfo/detectGlobals.js +295 -0
- package/dist/util/packageManager/installationInfo/detectGlobals.js.map +1 -0
- package/dist/util/packageManager/installationInfo/detectPackages.js +190 -0
- package/dist/util/packageManager/installationInfo/detectPackages.js.map +1 -0
- package/dist/util/packageManager/installationInfo/detectWorkspace.js +192 -0
- package/dist/util/packageManager/installationInfo/detectWorkspace.js.map +1 -0
- package/dist/util/packageManager/installationInfo/index.js +4 -0
- package/dist/util/packageManager/installationInfo/index.js.map +1 -0
- package/dist/util/packageManager/installationInfo/readJsonFile.js +14 -0
- package/dist/util/packageManager/installationInfo/readJsonFile.js.map +1 -0
- package/dist/util/packageManager/installationInfo/resolveVersionRange.js +42 -0
- package/dist/util/packageManager/installationInfo/resolveVersionRange.js.map +1 -0
- package/dist/util/packageManager/installationInfo/types.js +3 -0
- package/dist/util/packageManager/installationInfo/types.js.map +1 -0
- package/dist/util/packageManager/packageManagerChoice.js +1 -20
- package/dist/util/packageManager/packageManagerChoice.js.map +1 -1
- package/dist/util/packageManager/upgradePackages.js +4 -1
- package/dist/util/packageManager/upgradePackages.js.map +1 -1
- package/dist/util/promiseRaceWithTimeout.js +28 -0
- package/dist/util/promiseRaceWithTimeout.js.map +1 -0
- package/dist/util/readdirRecursive.js.map +1 -1
- package/dist/util/resolveLatestVersions.js +2 -2
- package/dist/util/resolveLatestVersions.js.map +1 -1
- package/dist/util/sharedFlags.js +54 -0
- package/dist/util/sharedFlags.js.map +1 -0
- package/dist/{telemetry/store → util/telemetry}/cleanupOldTelemetryFiles.js +1 -1
- package/dist/util/telemetry/cleanupOldTelemetryFiles.js.map +1 -0
- package/dist/{telemetry/store → util/telemetry}/createTelemetryStore.js +4 -4
- package/dist/util/telemetry/createTelemetryStore.js.map +1 -0
- package/dist/util/telemetry/createTraceId.js.map +1 -0
- package/dist/{telemetry/store → util/telemetry}/findTelemetryFiles.js +4 -3
- package/dist/util/telemetry/findTelemetryFiles.js.map +1 -0
- package/dist/{telemetry/store → util/telemetry}/flushTelemetryFiles.js +29 -18
- package/dist/util/telemetry/flushTelemetryFiles.js.map +1 -0
- package/dist/{telemetry/store → util/telemetry}/generateTelemetryFilePath.js +2 -2
- package/dist/util/telemetry/generateTelemetryFilePath.js.map +1 -0
- package/dist/{telemetry/store → util/telemetry}/logger.js +7 -2
- package/dist/util/telemetry/logger.js.map +1 -0
- package/dist/util/telemetry/readNDJSON.js +28 -0
- package/dist/util/telemetry/readNDJSON.js.map +1 -0
- package/dist/util/telemetry/telemetryStoreDebug.js +7 -0
- package/dist/util/telemetry/telemetryStoreDebug.js.map +1 -0
- package/dist/{telemetry/store → util/telemetry}/trace.js +2 -2
- package/dist/util/telemetry/trace.js.map +1 -0
- package/dist/util/toForwardSlashes.js +8 -0
- package/dist/util/toForwardSlashes.js.map +1 -0
- package/dist/util/update/fetchLatestVersion.js +21 -0
- package/dist/util/update/fetchLatestVersion.js.map +1 -0
- package/dist/util/update/getUpdateCommand.js +20 -0
- package/dist/util/update/getUpdateCommand.js.map +1 -0
- package/dist/util/update/isInstalledUsingYarn.js +17 -0
- package/dist/util/update/isInstalledUsingYarn.js.map +1 -0
- package/dist/util/update/showNotificationUpdate.js +31 -0
- package/dist/util/update/showNotificationUpdate.js.map +1 -0
- package/dist/util/update/updateChecker.js +60 -0
- package/dist/util/update/updateChecker.js.map +1 -0
- package/dist/util/update/updateCheckerDebug.js +4 -0
- package/dist/util/update/updateCheckerDebug.js.map +1 -0
- package/dist/util/warnAboutMissingAppId.js +6 -2
- package/dist/util/warnAboutMissingAppId.js.map +1 -1
- package/dist/util/warnOnNonProductionEnvironment.js +18 -0
- package/dist/util/warnOnNonProductionEnvironment.js.map +1 -0
- package/oclif.config.js +7 -1
- package/oclif.manifest.json +1129 -146
- package/package.json +83 -78
- package/static/favicons/apple-touch-icon.png +0 -0
- package/static/favicons/favicon-192.png +0 -0
- package/static/favicons/favicon-512.png +0 -0
- package/static/favicons/favicon-96.png +0 -0
- package/static/favicons/favicon.ico +0 -0
- package/static/favicons/favicon.svg +12 -0
- package/dist/SanityHelp.d.ts +0 -4
- package/dist/actions/auth/authServer.d.ts +0 -33
- package/dist/actions/auth/getProviderName.d.ts +0 -8
- package/dist/actions/auth/login/getProvider.d.ts +0 -15
- package/dist/actions/auth/login/getSSOProvider.d.ts +0 -13
- package/dist/actions/auth/login/login.d.ts +0 -20
- package/dist/actions/auth/login/promptProviders.d.ts +0 -10
- package/dist/actions/auth/login/promptProviders.js.map +0 -1
- package/dist/actions/auth/login/samlProviderToLoginProvider.d.ts +0 -9
- package/dist/actions/auth/types.d.ts +0 -26
- package/dist/actions/backup/archiveDir.d.ts +0 -10
- package/dist/actions/backup/assertDatasetExist.d.ts +0 -8
- package/dist/actions/backup/backupDownloadDebug.d.ts +0 -1
- package/dist/actions/backup/cleanupTmpDir.d.ts +0 -6
- package/dist/actions/backup/constants.d.ts +0 -1
- package/dist/actions/backup/downloadAsset.d.ts +0 -9
- package/dist/actions/backup/downloadDocument.d.ts +0 -7
- package/dist/actions/backup/fetchNextBackupPage.d.ts +0 -23
- package/dist/actions/backup/progressSpinner.d.ts +0 -14
- package/dist/actions/build/buildApp.d.ts +0 -7
- package/dist/actions/build/buildDebug.d.ts +0 -1
- package/dist/actions/build/buildStaticFiles.d.ts +0 -35
- package/dist/actions/build/buildStudio.d.ts +0 -7
- package/dist/actions/build/buildVendorDependencies.d.ts +0 -11
- package/dist/actions/build/checkRequiredDependencies.d.ts +0 -22
- package/dist/actions/build/checkStudioDependencyVersions.d.ts +0 -2
- package/dist/actions/build/createExternalFromImportMap.d.ts +0 -11
- package/dist/actions/build/decorateIndexWithAutoGeneratedWarning.d.ts +0 -6
- package/dist/actions/build/decorateIndexWithBridgeScript.d.ts +0 -8
- package/dist/actions/build/determineBasePath.d.ts +0 -7
- package/dist/actions/build/generateWebManifest.d.ts +0 -15
- package/dist/actions/build/getAppEnvVars.d.ts +0 -6
- package/dist/actions/build/getAutoUpdatesImportMap.d.ts +0 -21
- package/dist/actions/build/getEntryModule.d.ts +0 -7
- package/dist/actions/build/getPossibleDocumentComponentLocations.d.ts +0 -4
- package/dist/actions/build/getStudioEnvVars.d.ts +0 -6
- package/dist/actions/build/getStudioEnvironmentVariables.d.ts +0 -52
- package/dist/actions/build/getViteConfig.d.ts +0 -66
- package/dist/actions/build/normalizeBasePath.d.ts +0 -6
- package/dist/actions/build/renderDocument.d.ts +0 -15
- package/dist/actions/build/renderDocument.worker.d.ts +0 -1
- package/dist/actions/build/renderDocumentWorker/addTimestampImportMapScriptToHtml.d.ts +0 -6
- package/dist/actions/build/renderDocumentWorker/components/BasicDocument.d.ts +0 -19
- package/dist/actions/build/renderDocumentWorker/components/DefaultDocument.d.ts +0 -13
- package/dist/actions/build/renderDocumentWorker/components/Favicons.d.ts +0 -2
- package/dist/actions/build/renderDocumentWorker/components/GlobalErrorHandler.d.ts +0 -3
- package/dist/actions/build/renderDocumentWorker/components/NoJavascript.d.ts +0 -3
- package/dist/actions/build/renderDocumentWorker/getDocumentComponent.d.ts +0 -5
- package/dist/actions/build/renderDocumentWorker/getDocumentHtml.d.ts +0 -8
- package/dist/actions/build/renderDocumentWorker/renderDocumentWorker.d.ts +0 -21
- package/dist/actions/build/renderDocumentWorker/tryLoadDocumentComponent.d.ts +0 -8
- package/dist/actions/build/renderDocumentWorker/types.d.ts +0 -8
- package/dist/actions/build/shouldAutoUpdate.d.ts +0 -16
- package/dist/actions/build/types.d.ts +0 -13
- package/dist/actions/build/writeFavicons.d.ts +0 -1
- package/dist/actions/build/writeSanityRuntime.d.ts +0 -19
- package/dist/actions/build/writeWebManifest.d.ts +0 -4
- package/dist/actions/codemods/deskRename.d.ts +0 -2
- package/dist/actions/codemods/index.d.ts +0 -5
- package/dist/actions/codemods/partsTypeDirective.d.ts +0 -2
- package/dist/actions/codemods/reactIconsV3.d.ts +0 -2
- package/dist/actions/codemods/types.d.ts +0 -8
- package/dist/actions/cors/filterAndValidateOrigin.d.ts +0 -7
- package/dist/actions/dataset/create.d.ts +0 -49
- package/dist/actions/dataset/determineDatasetAclMode.d.ts +0 -37
- package/dist/actions/dataset/processAliasName.d.ts +0 -9
- package/dist/actions/dataset/validateDatasetAliasName.d.ts +0 -1
- package/dist/actions/dataset/validateDatasetName.d.ts +0 -13
- package/dist/actions/debug/gatherDebugInfo.d.ts +0 -2
- package/dist/actions/debug/getGlobalConfigLocation.d.ts +0 -1
- package/dist/actions/debug/types.d.ts +0 -30
- package/dist/actions/deploy/checkDir.d.ts +0 -8
- package/dist/actions/deploy/createStudioUserApplication.d.ts +0 -2
- package/dist/actions/deploy/createUserApplicationForApp.d.ts +0 -2
- package/dist/actions/deploy/deployApp.d.ts +0 -7
- package/dist/actions/deploy/deployDebug.d.ts +0 -1
- package/dist/actions/deploy/deployStudio.d.ts +0 -2
- package/dist/actions/deploy/findUserApplicationForApp.d.ts +0 -15
- package/dist/actions/deploy/findUserApplicationForStudio.d.ts +0 -13
- package/dist/actions/deploy/types.d.ts +0 -11
- package/dist/actions/dev/devAction.d.ts +0 -4
- package/dist/actions/dev/devDebug.d.ts +0 -1
- package/dist/actions/dev/getCoreAppUrl.d.ts +0 -5
- package/dist/actions/dev/getCoreAppUrl.js +0 -10
- package/dist/actions/dev/getCoreAppUrl.js.map +0 -1
- package/dist/actions/dev/getDevServerConfig.d.ts +0 -9
- package/dist/actions/dev/startAppDevServer.d.ts +0 -4
- package/dist/actions/dev/startStudioDevServer.d.ts +0 -4
- package/dist/actions/dev/types.d.ts +0 -10
- package/dist/actions/docs/normalizeDocsPath.d.ts +0 -8
- package/dist/actions/documents/constants.d.ts +0 -1
- package/dist/actions/documents/editor.d.ts +0 -11
- package/dist/actions/documents/types.d.ts +0 -2
- package/dist/actions/documents/validate.d.ts +0 -26
- package/dist/actions/documents/validation/reporters/index.d.ts +0 -5
- package/dist/actions/documents/validation/reporters/jsonReporter.d.ts +0 -2
- package/dist/actions/documents/validation/reporters/ndjsonReporter.d.ts +0 -2
- package/dist/actions/documents/validation/reporters/prettyReporter/formatDocumentValidation.d.ts +0 -10
- package/dist/actions/documents/validation/reporters/prettyReporter/index.d.ts +0 -1
- package/dist/actions/documents/validation/reporters/prettyReporter/prettyReporter.d.ts +0 -5
- package/dist/actions/documents/validation/reporters/prettyReporter/util.d.ts +0 -53
- package/dist/actions/exec/execScript.d.ts +0 -11
- package/dist/actions/graphql/getGraphQLAPIs.d.ts +0 -2
- package/dist/actions/graphql/getGraphQLAPIs.worker.d.ts +0 -1
- package/dist/actions/graphql/types.d.ts +0 -68
- package/dist/actions/hook/constants.d.ts +0 -1
- package/dist/actions/hook/formatFailure.d.ts +0 -4
- package/dist/actions/hook/types.d.ts +0 -78
- package/dist/actions/init/bootstrapLocalTemplate.d.ts +0 -13
- package/dist/actions/init/bootstrapRemoteTemplate.d.ts +0 -12
- package/dist/actions/init/bootstrapTemplate.d.ts +0 -18
- package/dist/actions/init/checkNextJsReactCompatibility.d.ts +0 -9
- package/dist/actions/init/constants.d.ts +0 -1
- package/dist/actions/init/countNestedFolders.d.ts +0 -1
- package/dist/actions/init/createAppCliConfig.d.ts +0 -5
- package/dist/actions/init/createCliConfig.d.ts +0 -6
- package/dist/actions/init/createPackageManifest.d.ts +0 -6
- package/dist/actions/init/createStudioConfig.d.ts +0 -13
- package/dist/actions/init/determineAppTemplate.d.ts +0 -9
- package/dist/actions/init/env/createOrAppendEnvVars.d.ts +0 -12
- package/dist/actions/init/env/parseAndUpdateEnvVars.d.ts +0 -9
- package/dist/actions/init/env/writeEnvVarsToFile.d.ts +0 -12
- package/dist/actions/init/fetchPostInitPrompt.d.ts +0 -6
- package/dist/actions/init/git.d.ts +0 -1
- package/dist/actions/init/processTemplate.d.ts +0 -7
- package/dist/actions/init/remoteTemplate.d.ts +0 -20
- package/dist/actions/init/resolvePackageManager.d.ts +0 -10
- package/dist/actions/init/setupMCP.d.ts +0 -21
- package/dist/actions/init/setupMCP.js +0 -258
- package/dist/actions/init/setupMCP.js.map +0 -1
- package/dist/actions/init/templates/appQuickstart.d.ts +0 -3
- package/dist/actions/init/templates/appSanityUi.d.ts +0 -3
- package/dist/actions/init/templates/blog.d.ts +0 -3
- package/dist/actions/init/templates/clean.d.ts +0 -3
- package/dist/actions/init/templates/getStarted.d.ts +0 -3
- package/dist/actions/init/templates/index.d.ts +0 -3
- package/dist/actions/init/templates/moviedb.d.ts +0 -3
- package/dist/actions/init/templates/nextjs/index.d.ts +0 -6
- package/dist/actions/init/templates/nextjs/schemaTypes/blog.d.ts +0 -3
- package/dist/actions/init/templates/quickstart.d.ts +0 -3
- package/dist/actions/init/templates/shopify.d.ts +0 -3
- package/dist/actions/init/templates/shopifyOnline.d.ts +0 -3
- package/dist/actions/init/types.d.ts +0 -15
- package/dist/actions/init/updateInitialTemplateMetadata.d.ts +0 -1
- package/dist/actions/manifest/SchemaIcon.d.ts +0 -9
- package/dist/actions/manifest/extractAppManifest.d.ts +0 -20
- package/dist/actions/manifest/extractManifest.d.ts +0 -14
- package/dist/actions/manifest/extractWorkspaceManifest.d.ts +0 -3
- package/dist/actions/manifest/purifyConfig.d.ts +0 -10
- package/dist/actions/manifest/schemaTypeHelpers.d.ts +0 -17
- package/dist/actions/manifest/types.d.ts +0 -119
- package/dist/actions/mcp/detectAvailableEditors.d.ts +0 -8
- package/dist/actions/mcp/getEditorsWithExistingConfig.d.ts +0 -8
- package/dist/actions/mcp/getEditorsWithExistingConfig.js +0 -29
- package/dist/actions/mcp/getEditorsWithExistingConfig.js.map +0 -1
- package/dist/actions/mcp/writeMCPConfig.d.ts +0 -9
- package/dist/actions/media/getMediaLibraryConfig.d.ts +0 -2
- package/dist/actions/media/importAspects.d.ts +0 -52
- package/dist/actions/media/importMedia.d.ts +0 -55
- package/dist/actions/media/importMediaDebug.d.ts +0 -1
- package/dist/actions/organizations/getOrganizationChoices.d.ts +0 -6
- package/dist/actions/organizations/getOrganizationsWithAttachGrantInfo.d.ts +0 -2
- package/dist/actions/organizations/hasProjectAttachGrant.d.ts +0 -1
- package/dist/actions/preview/getPreviewServerConfig.d.ts +0 -15
- package/dist/actions/preview/previewAction.d.ts +0 -10
- package/dist/actions/preview/types.d.ts +0 -2
- package/dist/actions/schema/deleteSchemaAction.d.ts +0 -23
- package/dist/actions/schema/deploySchemas.d.ts +0 -15
- package/dist/actions/schema/extract.d.ts +0 -7
- package/dist/actions/schema/extract.js +0 -38
- package/dist/actions/schema/extract.js.map +0 -1
- package/dist/actions/schema/formatSchemaValidation.d.ts +0 -3
- package/dist/actions/schema/listSchemas.d.ts +0 -12
- package/dist/actions/schema/metafile.d.ts +0 -21
- package/dist/actions/schema/schemaStoreTypes.d.ts +0 -18
- package/dist/actions/schema/schemaStoreTypes.js +0 -19
- package/dist/actions/schema/schemaStoreTypes.js.map +0 -1
- package/dist/actions/schema/utils/debug.d.ts +0 -2
- package/dist/actions/schema/utils/manifestExtractor.d.ts +0 -9
- package/dist/actions/schema/utils/manifestExtractor.js +0 -33
- package/dist/actions/schema/utils/manifestExtractor.js.map +0 -1
- package/dist/actions/schema/utils/manifestReader.d.ts +0 -17
- package/dist/actions/schema/utils/manifestReader.js +0 -71
- package/dist/actions/schema/utils/manifestReader.js.map +0 -1
- package/dist/actions/schema/utils/schemaStoreOutStrings.d.ts +0 -2
- package/dist/actions/schema/utils/schemaStoreValidation.d.ts +0 -29
- package/dist/actions/schema/utils/uniqByProjectIdDataset.d.ts +0 -14
- package/dist/actions/schema/utils/workspaceSchemaId.d.ts +0 -8
- package/dist/actions/schema/validateAction.d.ts +0 -11
- package/dist/actions/telemetry/fetchTelemetryConsent.d.ts +0 -11
- package/dist/actions/telemetry/fetchTelemetryConsent.js +0 -38
- package/dist/actions/telemetry/fetchTelemetryConsent.js.map +0 -1
- package/dist/actions/telemetry/getLearnMoreMessage.d.ts +0 -2
- package/dist/actions/telemetry/getStatusDisplay.d.ts +0 -2
- package/dist/actions/telemetry/getStatusMessage.d.ts +0 -2
- package/dist/actions/telemetry/isValidApiConsentStatus.d.ts +0 -20
- package/dist/actions/telemetry/isValidApiConsentStatus.js +0 -25
- package/dist/actions/telemetry/isValidApiConsentStatus.js.map +0 -1
- package/dist/actions/telemetry/resolveConsent.d.ts +0 -2
- package/dist/actions/telemetry/setConsent.d.ts +0 -13
- package/dist/actions/telemetry/telemetryDebug.d.ts +0 -1
- package/dist/actions/telemetry/telemetryDisclosure.d.ts +0 -1
- package/dist/actions/telemetry/telemetryLearnMoreMessage.d.ts +0 -2
- package/dist/actions/telemetry/types.d.ts +0 -14
- package/dist/actions/telemetry/types.js.map +0 -1
- package/dist/actions/tokens/constants.d.ts +0 -4
- package/dist/actions/tokens/types.d.ts +0 -32
- package/dist/actions/tokens/validateRole.d.ts +0 -9
- package/dist/actions/undeploy/getStudioOrAppUserApplication.d.ts +0 -9
- package/dist/actions/users/getMembersForProject.d.ts +0 -24
- package/dist/actions/users/getPendingInvitations.d.ts +0 -13
- package/dist/actions/users/types.d.ts +0 -39
- package/dist/actions/users/usersDebug.d.ts +0 -1
- package/dist/actions/users/validateEmail.d.ts +0 -1
- package/dist/actions/versions/buildPackageArray.d.ts +0 -18
- package/dist/actions/versions/filterSanityModules.d.ts +0 -8
- package/dist/actions/versions/findSanityModulesVersions.d.ts +0 -14
- package/dist/actions/versions/getFormatters.d.ts +0 -17
- package/dist/actions/versions/tryFindLatestVersion.d.ts +0 -8
- package/dist/actions/versions/types.d.ts +0 -14
- package/dist/actions/versions/versionsDebug.d.ts +0 -1
- package/dist/commands/backup/disable.d.ts +0 -13
- package/dist/commands/backup/download.d.ts +0 -21
- package/dist/commands/backup/enable.d.ts +0 -12
- package/dist/commands/backup/list.d.ts +0 -19
- package/dist/commands/build.d.ts +0 -18
- package/dist/commands/codemod.d.ts +0 -19
- package/dist/commands/cors/add.d.ts +0 -29
- package/dist/commands/cors/delete.d.ts +0 -13
- package/dist/commands/cors/list.d.ts +0 -9
- package/dist/commands/dataset/alias/create.d.ts +0 -13
- package/dist/commands/dataset/alias/delete.d.ts +0 -16
- package/dist/commands/dataset/alias/link.d.ts +0 -17
- package/dist/commands/dataset/alias/unlink.d.ts +0 -16
- package/dist/commands/dataset/copy.d.ts +0 -27
- package/dist/commands/dataset/create.d.ts +0 -15
- package/dist/commands/dataset/delete.d.ts +0 -15
- package/dist/commands/dataset/export.d.ts +0 -26
- package/dist/commands/dataset/import.d.ts +0 -1
- package/dist/commands/dataset/list.d.ts +0 -9
- package/dist/commands/dataset/visibility/get.d.ts +0 -12
- package/dist/commands/dataset/visibility/set.d.ts +0 -13
- package/dist/commands/debug.d.ts +0 -9
- package/dist/commands/deploy.d.ts +0 -23
- package/dist/commands/dev.d.ts +0 -14
- package/dist/commands/docs/browse.d.ts +0 -6
- package/dist/commands/docs/read.d.ts +0 -15
- package/dist/commands/docs/search.d.ts +0 -15
- package/dist/commands/documents/create.d.ts +0 -39
- package/dist/commands/documents/delete.d.ts +0 -17
- package/dist/commands/documents/get.d.ts +0 -16
- package/dist/commands/documents/query.d.ts +0 -19
- package/dist/commands/documents/validate.d.ts +0 -29
- package/dist/commands/exec.d.ts +0 -19
- package/dist/commands/graphql/list.d.ts +0 -9
- package/dist/commands/graphql/undeploy.d.ts +0 -16
- package/dist/commands/hook/attempt.d.ts +0 -13
- package/dist/commands/hook/create.d.ts +0 -9
- package/dist/commands/hook/delete.d.ts +0 -13
- package/dist/commands/hook/list.d.ts +0 -9
- package/dist/commands/hook/logs.d.ts +0 -19
- package/dist/commands/init.d.ts +0 -65
- package/dist/commands/install.d.ts +0 -10
- package/dist/commands/learn.d.ts +0 -6
- package/dist/commands/login.d.ts +0 -13
- package/dist/commands/logout.d.ts +0 -6
- package/dist/commands/manage.d.ts +0 -6
- package/dist/commands/manifest/extract.d.ts +0 -12
- package/dist/commands/mcp/configure.d.ts +0 -9
- package/dist/commands/media/create-aspect.d.ts +0 -9
- package/dist/commands/media/delete-aspect.d.ts +0 -16
- package/dist/commands/media/deploy-aspect.d.ts +0 -20
- package/dist/commands/media/export.d.ts +0 -21
- package/dist/commands/media/import.d.ts +0 -18
- package/dist/commands/openapi/get.d.ts +0 -17
- package/dist/commands/openapi/list.d.ts +0 -14
- package/dist/commands/preview.d.ts +0 -17
- package/dist/commands/projects/list.d.ts +0 -13
- package/dist/commands/schema/delete.d.ts +0 -16
- package/dist/commands/schema/deploy.d.ts +0 -16
- package/dist/commands/schema/extract.d.ts +0 -15
- package/dist/commands/schema/list.d.ts +0 -15
- package/dist/commands/schema/validate.d.ts +0 -15
- package/dist/commands/telemetry/disable.d.ts +0 -8
- package/dist/commands/telemetry/enable.d.ts +0 -8
- package/dist/commands/telemetry/status.d.ts +0 -8
- package/dist/commands/tokens/add.d.ts +0 -19
- package/dist/commands/tokens/delete.d.ts +0 -17
- package/dist/commands/tokens/list.d.ts +0 -12
- package/dist/commands/undeploy.d.ts +0 -8
- package/dist/commands/users/invite.d.ts +0 -17
- package/dist/commands/users/list.d.ts +0 -16
- package/dist/commands/versions.d.ts +0 -6
- package/dist/config/createCliConfig.d.ts +0 -73
- package/dist/config/defineCliConfig.d.ts +0 -3
- package/dist/hooks/prerun/flushTelemetry.worker.d.ts +0 -2
- package/dist/hooks/prerun/setupTelemetry.d.ts +0 -2
- package/dist/index.d.ts +0 -6
- package/dist/index.js +0 -7
- package/dist/index.js.map +0 -1
- package/dist/prompts/init/nextjs.d.ts +0 -5
- package/dist/prompts/init/promptForTypescript.d.ts +0 -1
- package/dist/prompts/promptForDataset.d.ts +0 -17
- package/dist/prompts/promptForDatasetAclMode.d.ts +0 -9
- package/dist/prompts/promptForDatasetAliasName.d.ts +0 -4
- package/dist/prompts/promptForDatasetName.d.ts +0 -4
- package/dist/prompts/promptForMediaLibrary.d.ts +0 -15
- package/dist/prompts/selectDataset.d.ts +0 -3
- package/dist/prompts/selectMediaLibrary.d.ts +0 -5
- package/dist/server/devServer.d.ts +0 -24
- package/dist/server/gracefulServerDeath.d.ts +0 -3
- package/dist/server/previewServer.d.ts +0 -19
- package/dist/server/serverDebug.d.ts +0 -1
- package/dist/server/vite/plugin-sanity-basepath-redirect.d.ts +0 -2
- package/dist/server/vite/plugin-sanity-build-entries.d.ts +0 -9
- package/dist/server/vite/plugin-sanity-favicons.d.ts +0 -17
- package/dist/server/vite/plugin-sanity-runtime-rewrite.d.ts +0 -2
- package/dist/services/auth.d.ts +0 -2
- package/dist/services/backup.d.ts +0 -37
- package/dist/services/cors.d.ts +0 -23
- package/dist/services/datasetAliases.d.ts +0 -31
- package/dist/services/datasets.d.ts +0 -64
- package/dist/services/docs.d.ts +0 -15
- package/dist/services/getProjectFeatures.d.ts +0 -5
- package/dist/services/graphql.d.ts +0 -23
- package/dist/services/hooks.d.ts +0 -16
- package/dist/services/mcp.d.ts +0 -39
- package/dist/services/mediaLibraries.d.ts +0 -52
- package/dist/services/organizations.d.ts +0 -42
- package/dist/services/plans.d.ts +0 -2
- package/dist/services/projects.d.ts +0 -36
- package/dist/services/schemas.d.ts +0 -4
- package/dist/services/telemetry.d.ts +0 -2
- package/dist/services/tokens.d.ts +0 -43
- package/dist/services/user.d.ts +0 -15
- package/dist/services/userApplications.d.ts +0 -77
- package/dist/studioDependencies.d.ts +0 -16
- package/dist/studioDependencies.js.map +0 -1
- package/dist/telemetry/cli.telemetry.d.ts +0 -20
- package/dist/telemetry/store/cleanupOldTelemetryFiles.d.ts +0 -5
- package/dist/telemetry/store/cleanupOldTelemetryFiles.js.map +0 -1
- package/dist/telemetry/store/createTelemetryStore.d.ts +0 -39
- package/dist/telemetry/store/createTelemetryStore.js.map +0 -1
- package/dist/telemetry/store/createTraceId.d.ts +0 -10
- package/dist/telemetry/store/createTraceId.js.map +0 -1
- package/dist/telemetry/store/debug.d.ts +0 -5
- package/dist/telemetry/store/debug.js +0 -7
- package/dist/telemetry/store/debug.js.map +0 -1
- package/dist/telemetry/store/findTelemetryFiles.d.ts +0 -13
- package/dist/telemetry/store/findTelemetryFiles.js.map +0 -1
- package/dist/telemetry/store/flushTelemetryFiles.d.ts +0 -20
- package/dist/telemetry/store/flushTelemetryFiles.js.map +0 -1
- package/dist/telemetry/store/generateTelemetryFilePath.d.ts +0 -17
- package/dist/telemetry/store/generateTelemetryFilePath.js.map +0 -1
- package/dist/telemetry/store/getTelemetryBaseInfo.d.ts +0 -27
- package/dist/telemetry/store/getTelemetryBaseInfo.js +0 -34
- package/dist/telemetry/store/getTelemetryBaseInfo.js.map +0 -1
- package/dist/telemetry/store/logger.d.ts +0 -6
- package/dist/telemetry/store/logger.js.map +0 -1
- package/dist/telemetry/store/trace.d.ts +0 -6
- package/dist/telemetry/store/trace.js.map +0 -1
- package/dist/telemetry/utils/readNDJSON.d.ts +0 -10
- package/dist/telemetry/utils/readNDJSON.js +0 -18
- package/dist/telemetry/utils/readNDJSON.js.map +0 -1
- package/dist/threads/configClient.d.ts +0 -1
- package/dist/threads/configClient.js.map +0 -1
- package/dist/threads/registerBrowserEnv.d.ts +0 -1
- package/dist/threads/registerBrowserEnv.js.map +0 -1
- package/dist/threads/validateDocuments.d.ts +0 -45
- package/dist/threads/validateDocuments.js.map +0 -1
- package/dist/threads/validateSchema.d.ts +0 -35
- package/dist/threads/validateSchema.js.map +0 -1
- package/dist/types.d.ts +0 -49
- package/dist/typings/deepSortObject.d.js +0 -2
- package/dist/typings/deepSortObject.d.js.map +0 -1
- package/dist/util/absolutify.d.ts +0 -6
- package/dist/util/appId.d.ts +0 -18
- package/dist/util/canLaunchBrowser.d.ts +0 -1
- package/dist/util/cliClient.d.ts +0 -13
- package/dist/util/compareDependencyVersions.d.ts +0 -35
- package/dist/util/copy.d.ts +0 -5
- package/dist/util/copyDir.d.ts +0 -20
- package/dist/util/detectRuntime.d.ts +0 -8
- package/dist/util/determineIsApp.d.ts +0 -7
- package/dist/util/dirIsEmptyOrNonExistent.d.ts +0 -1
- package/dist/util/ensureTrailingSlash.d.ts +0 -9
- package/dist/util/errorMessages.d.ts +0 -4
- package/dist/util/extractDocumentsFromNdjsonOrTarball.d.ts +0 -6
- package/dist/util/findNdjsonEntry.d.ts +0 -7
- package/dist/util/findNdjsonEntry.js +0 -21
- package/dist/util/findNdjsonEntry.js.map +0 -1
- package/dist/util/formatSize.d.ts +0 -6
- package/dist/util/frameworkPort.d.ts +0 -12
- package/dist/util/fsUtils.d.ts +0 -2
- package/dist/util/getCliVersion.d.ts +0 -7
- package/dist/util/getErrorMessage.d.ts +0 -8
- package/dist/util/getLocalPackageVersion.d.ts +0 -9
- package/dist/util/getProjectDefaults.d.ts +0 -11
- package/dist/util/getSharedServerConfig.d.ts +0 -30
- package/dist/util/getWorkspace.d.ts +0 -3
- package/dist/util/humanFileSize.d.ts +0 -1
- package/dist/util/importStudioConfig.d.ts +0 -1
- package/dist/util/importStudioConfig.js +0 -43
- package/dist/util/importStudioConfig.js.map +0 -1
- package/dist/util/isPathDirName.d.ts +0 -1
- package/dist/util/isSanityDocumentish.d.ts +0 -19
- package/dist/util/isStaging.d.ts +0 -7
- package/dist/util/isStaging.js +0 -10
- package/dist/util/isStaging.js.map +0 -1
- package/dist/util/loadEnv.d.ts +0 -1
- package/dist/util/moduleFormatUtils.d.ts +0 -3
- package/dist/util/packageManager/installPackages.d.ts +0 -18
- package/dist/util/packageManager/packageManagerChoice.d.ts +0 -31
- package/dist/util/packageManager/upgradePackages.d.ts +0 -17
- package/dist/util/parseArguments.d.ts +0 -35
- package/dist/util/pluralize.d.ts +0 -8
- package/dist/util/readModuleVersion.d.ts +0 -8
- package/dist/util/readModuleVersion.js +0 -15
- package/dist/util/readModuleVersion.js.map +0 -1
- package/dist/util/readPackageJson.d.ts +0 -31
- package/dist/util/readPackageJson.js +0 -42
- package/dist/util/readPackageJson.js.map +0 -1
- package/dist/util/readPackageManifest.d.ts +0 -21
- package/dist/util/readPackageManifest.js +0 -46
- package/dist/util/readPackageManifest.js.map +0 -1
- package/dist/util/readdirRecursive.d.ts +0 -5
- package/dist/util/resolveLatestVersions.d.ts +0 -7
- package/dist/util/toInt.d.ts +0 -1
- package/dist/util/trimHashFromVersion.d.ts +0 -5
- package/dist/util/uniqBy.d.ts +0 -1
- package/dist/util/uniqBy.js +0 -14
- package/dist/util/uniqBy.js.map +0 -1
- package/dist/util/validation/validateDocumentsUtils.d.ts +0 -12
- package/dist/util/warnAboutMissingAppId.d.ts +0 -7
- package/dist/util/workerChannels.d.ts +0 -59
- package/dist/util/workerChannels.js +0 -172
- package/dist/util/workerChannels.js.map +0 -1
- /package/dist/actions/{telemetry → doctor}/types.js +0 -0
- /package/dist/{studioDependencies.js → actions/init/studioDependencies.js} +0 -0
- /package/dist/{telemetry/store → util/telemetry}/createTraceId.js +0 -0
package/oclif.manifest.json
CHANGED
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
"examples": [
|
|
159
159
|
{
|
|
160
160
|
"command": "<%= config.bin %> <%= command.id %>",
|
|
161
|
-
"description": "Build the studio"
|
|
161
|
+
"description": "Build and deploy the studio to Sanity hosting"
|
|
162
162
|
},
|
|
163
163
|
{
|
|
164
164
|
"command": "<%= config.bin %> <%= command.id %> --no-minify --source-maps",
|
|
@@ -167,6 +167,10 @@
|
|
|
167
167
|
{
|
|
168
168
|
"command": "<%= config.bin %> <%= command.id %> --schema-required",
|
|
169
169
|
"description": "Fail fast on schema store fails - for when other services rely on the stored schema"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"command": "<%= config.bin %> <%= command.id %> --external",
|
|
173
|
+
"description": "Register an externally hosted studio (studioHost contains full URL)"
|
|
170
174
|
}
|
|
171
175
|
],
|
|
172
176
|
"flags": {
|
|
@@ -183,6 +187,17 @@
|
|
|
183
187
|
"allowNo": true,
|
|
184
188
|
"type": "boolean"
|
|
185
189
|
},
|
|
190
|
+
"external": {
|
|
191
|
+
"description": "Register an externally hosted studio",
|
|
192
|
+
"exclusive": [
|
|
193
|
+
"source-maps",
|
|
194
|
+
"minify",
|
|
195
|
+
"build"
|
|
196
|
+
],
|
|
197
|
+
"name": "external",
|
|
198
|
+
"allowNo": false,
|
|
199
|
+
"type": "boolean"
|
|
200
|
+
},
|
|
186
201
|
"minify": {
|
|
187
202
|
"description": "Skip minifying built JavaScript (speeds up build, increases size of bundle)",
|
|
188
203
|
"name": "minify",
|
|
@@ -246,9 +261,8 @@
|
|
|
246
261
|
"type": "boolean"
|
|
247
262
|
},
|
|
248
263
|
"host": {
|
|
249
|
-
"description": "The local network interface at which to listen.",
|
|
264
|
+
"description": "[default: localhost] The local network interface at which to listen.",
|
|
250
265
|
"name": "host",
|
|
251
|
-
"default": "localhost",
|
|
252
266
|
"hasDynamicHelp": false,
|
|
253
267
|
"multiple": false,
|
|
254
268
|
"type": "option"
|
|
@@ -260,9 +274,8 @@
|
|
|
260
274
|
"type": "boolean"
|
|
261
275
|
},
|
|
262
276
|
"port": {
|
|
263
|
-
"description": "TCP port to start server on.",
|
|
277
|
+
"description": "[default: 3333] TCP port to start server on.",
|
|
264
278
|
"name": "port",
|
|
265
|
-
"default": "3333",
|
|
266
279
|
"hasDynamicHelp": false,
|
|
267
280
|
"multiple": false,
|
|
268
281
|
"type": "option"
|
|
@@ -282,6 +295,50 @@
|
|
|
282
295
|
"dev.js"
|
|
283
296
|
]
|
|
284
297
|
},
|
|
298
|
+
"doctor": {
|
|
299
|
+
"aliases": [],
|
|
300
|
+
"args": {
|
|
301
|
+
"checks": {
|
|
302
|
+
"description": "Checks to enable (defaults to all). Valid: cli",
|
|
303
|
+
"name": "checks",
|
|
304
|
+
"required": false
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
"description": "Run diagnostics on your Sanity project",
|
|
308
|
+
"examples": [
|
|
309
|
+
"<%= config.bin %> <%= command.id %>",
|
|
310
|
+
{
|
|
311
|
+
"command": "<%= config.bin %> <%= command.id %> --json",
|
|
312
|
+
"description": "Output results as JSON"
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"command": "<%= config.bin %> <%= command.id %> cli",
|
|
316
|
+
"description": "Only run CLI-related diagnostics"
|
|
317
|
+
}
|
|
318
|
+
],
|
|
319
|
+
"flags": {
|
|
320
|
+
"json": {
|
|
321
|
+
"char": "j",
|
|
322
|
+
"description": "Output results as JSON",
|
|
323
|
+
"name": "json",
|
|
324
|
+
"allowNo": false,
|
|
325
|
+
"type": "boolean"
|
|
326
|
+
}
|
|
327
|
+
},
|
|
328
|
+
"hasDynamicHelp": false,
|
|
329
|
+
"hiddenAliases": [],
|
|
330
|
+
"id": "doctor",
|
|
331
|
+
"pluginAlias": "@sanity/cli",
|
|
332
|
+
"pluginName": "@sanity/cli",
|
|
333
|
+
"pluginType": "core",
|
|
334
|
+
"strict": false,
|
|
335
|
+
"isESM": true,
|
|
336
|
+
"relativePath": [
|
|
337
|
+
"dist",
|
|
338
|
+
"commands",
|
|
339
|
+
"doctor.js"
|
|
340
|
+
]
|
|
341
|
+
},
|
|
285
342
|
"exec": {
|
|
286
343
|
"aliases": [],
|
|
287
344
|
"args": {
|
|
@@ -728,6 +785,9 @@
|
|
|
728
785
|
},
|
|
729
786
|
"provider": {
|
|
730
787
|
"description": "Log in using the given provider",
|
|
788
|
+
"exclusive": [
|
|
789
|
+
"sso"
|
|
790
|
+
],
|
|
731
791
|
"name": "provider",
|
|
732
792
|
"hasDynamicHelp": false,
|
|
733
793
|
"helpValue": "<providerId>",
|
|
@@ -736,6 +796,9 @@
|
|
|
736
796
|
},
|
|
737
797
|
"sso": {
|
|
738
798
|
"description": "Log in using Single Sign-On, using the given organization slug",
|
|
799
|
+
"exclusive": [
|
|
800
|
+
"provider"
|
|
801
|
+
],
|
|
739
802
|
"name": "sso",
|
|
740
803
|
"hasDynamicHelp": false,
|
|
741
804
|
"helpValue": "<slug>",
|
|
@@ -813,17 +876,15 @@
|
|
|
813
876
|
],
|
|
814
877
|
"flags": {
|
|
815
878
|
"host": {
|
|
816
|
-
"description": "The local network interface at which to listen.",
|
|
879
|
+
"description": "[default: localhost] The local network interface at which to listen.",
|
|
817
880
|
"name": "host",
|
|
818
|
-
"default": "localhost",
|
|
819
881
|
"hasDynamicHelp": false,
|
|
820
882
|
"multiple": false,
|
|
821
883
|
"type": "option"
|
|
822
884
|
},
|
|
823
885
|
"port": {
|
|
824
|
-
"description": "TCP port to start server on.",
|
|
886
|
+
"description": "[default: 3333] TCP port to start server on.",
|
|
825
887
|
"name": "port",
|
|
826
|
-
"default": "3333",
|
|
827
888
|
"hasDynamicHelp": false,
|
|
828
889
|
"multiple": false,
|
|
829
890
|
"type": "option"
|
|
@@ -912,7 +973,18 @@
|
|
|
912
973
|
"description": "Disable backup for the production dataset"
|
|
913
974
|
}
|
|
914
975
|
],
|
|
915
|
-
"flags": {
|
|
976
|
+
"flags": {
|
|
977
|
+
"project-id": {
|
|
978
|
+
"char": "p",
|
|
979
|
+
"description": "Project ID to disable backups for (overrides CLI configuration)",
|
|
980
|
+
"helpGroup": "OVERRIDE",
|
|
981
|
+
"name": "project-id",
|
|
982
|
+
"hasDynamicHelp": false,
|
|
983
|
+
"helpValue": "<id>",
|
|
984
|
+
"multiple": false,
|
|
985
|
+
"type": "option"
|
|
986
|
+
}
|
|
987
|
+
},
|
|
916
988
|
"hasDynamicHelp": false,
|
|
917
989
|
"hiddenAliases": [],
|
|
918
990
|
"id": "backup:disable",
|
|
@@ -957,6 +1029,16 @@
|
|
|
957
1029
|
}
|
|
958
1030
|
],
|
|
959
1031
|
"flags": {
|
|
1032
|
+
"project-id": {
|
|
1033
|
+
"char": "p",
|
|
1034
|
+
"description": "Project ID to download backup from (overrides CLI configuration)",
|
|
1035
|
+
"helpGroup": "OVERRIDE",
|
|
1036
|
+
"name": "project-id",
|
|
1037
|
+
"hasDynamicHelp": false,
|
|
1038
|
+
"helpValue": "<id>",
|
|
1039
|
+
"multiple": false,
|
|
1040
|
+
"type": "option"
|
|
1041
|
+
},
|
|
960
1042
|
"backup-id": {
|
|
961
1043
|
"description": "The backup ID to download",
|
|
962
1044
|
"name": "backup-id",
|
|
@@ -1021,7 +1103,18 @@
|
|
|
1021
1103
|
"description": "Enable backup for the production dataset"
|
|
1022
1104
|
}
|
|
1023
1105
|
],
|
|
1024
|
-
"flags": {
|
|
1106
|
+
"flags": {
|
|
1107
|
+
"project-id": {
|
|
1108
|
+
"char": "p",
|
|
1109
|
+
"description": "Project ID to enable backups for (overrides CLI configuration)",
|
|
1110
|
+
"helpGroup": "OVERRIDE",
|
|
1111
|
+
"name": "project-id",
|
|
1112
|
+
"hasDynamicHelp": false,
|
|
1113
|
+
"helpValue": "<id>",
|
|
1114
|
+
"multiple": false,
|
|
1115
|
+
"type": "option"
|
|
1116
|
+
}
|
|
1117
|
+
},
|
|
1025
1118
|
"hasDynamicHelp": false,
|
|
1026
1119
|
"hiddenAliases": [],
|
|
1027
1120
|
"id": "backup:enable",
|
|
@@ -1066,6 +1159,16 @@
|
|
|
1066
1159
|
}
|
|
1067
1160
|
],
|
|
1068
1161
|
"flags": {
|
|
1162
|
+
"project-id": {
|
|
1163
|
+
"char": "p",
|
|
1164
|
+
"description": "Project ID to list backups for (overrides CLI configuration)",
|
|
1165
|
+
"helpGroup": "OVERRIDE",
|
|
1166
|
+
"name": "project-id",
|
|
1167
|
+
"hasDynamicHelp": false,
|
|
1168
|
+
"helpValue": "<id>",
|
|
1169
|
+
"multiple": false,
|
|
1170
|
+
"type": "option"
|
|
1171
|
+
},
|
|
1069
1172
|
"after": {
|
|
1070
1173
|
"description": "Only return backups after this date (inclusive, YYYY-MM-DD format)",
|
|
1071
1174
|
"name": "after",
|
|
@@ -1127,9 +1230,23 @@
|
|
|
1127
1230
|
{
|
|
1128
1231
|
"command": "<%= config.bin %> <%= command.id %> https://myapp.com --credentials",
|
|
1129
1232
|
"description": "Add a production origin with credentials allowed"
|
|
1233
|
+
},
|
|
1234
|
+
{
|
|
1235
|
+
"command": "<%= config.bin %> <%= command.id %> https://myapp.com --project-id abc123",
|
|
1236
|
+
"description": "Add a CORS origin for a specific project"
|
|
1130
1237
|
}
|
|
1131
1238
|
],
|
|
1132
1239
|
"flags": {
|
|
1240
|
+
"project-id": {
|
|
1241
|
+
"char": "p",
|
|
1242
|
+
"description": "Project ID to add CORS origin to (overrides CLI configuration)",
|
|
1243
|
+
"helpGroup": "OVERRIDE",
|
|
1244
|
+
"name": "project-id",
|
|
1245
|
+
"hasDynamicHelp": false,
|
|
1246
|
+
"helpValue": "<id>",
|
|
1247
|
+
"multiple": false,
|
|
1248
|
+
"type": "option"
|
|
1249
|
+
},
|
|
1133
1250
|
"credentials": {
|
|
1134
1251
|
"description": "Allow credentials (token/cookie) to be sent from this origin",
|
|
1135
1252
|
"name": "credentials",
|
|
@@ -1171,9 +1288,24 @@
|
|
|
1171
1288
|
{
|
|
1172
1289
|
"command": "<%= config.bin %> <%= command.id %> https://example.com",
|
|
1173
1290
|
"description": "Delete a specific CORS origin"
|
|
1291
|
+
},
|
|
1292
|
+
{
|
|
1293
|
+
"command": "<%= config.bin %> <%= command.id %> --project-id abc123",
|
|
1294
|
+
"description": "Delete a CORS origin from a specific project"
|
|
1174
1295
|
}
|
|
1175
1296
|
],
|
|
1176
|
-
"flags": {
|
|
1297
|
+
"flags": {
|
|
1298
|
+
"project-id": {
|
|
1299
|
+
"char": "p",
|
|
1300
|
+
"description": "Project ID to delete CORS origin from (overrides CLI configuration)",
|
|
1301
|
+
"helpGroup": "OVERRIDE",
|
|
1302
|
+
"name": "project-id",
|
|
1303
|
+
"hasDynamicHelp": false,
|
|
1304
|
+
"helpValue": "<id>",
|
|
1305
|
+
"multiple": false,
|
|
1306
|
+
"type": "option"
|
|
1307
|
+
}
|
|
1308
|
+
},
|
|
1177
1309
|
"hasDynamicHelp": false,
|
|
1178
1310
|
"hiddenAliases": [],
|
|
1179
1311
|
"id": "cors:delete",
|
|
@@ -1197,9 +1329,24 @@
|
|
|
1197
1329
|
{
|
|
1198
1330
|
"command": "<%= config.bin %> <%= command.id %>",
|
|
1199
1331
|
"description": "List CORS origins for the current project"
|
|
1332
|
+
},
|
|
1333
|
+
{
|
|
1334
|
+
"command": "<%= config.bin %> <%= command.id %> --project-id abc123",
|
|
1335
|
+
"description": "List CORS origins for a specific project"
|
|
1200
1336
|
}
|
|
1201
1337
|
],
|
|
1202
|
-
"flags": {
|
|
1338
|
+
"flags": {
|
|
1339
|
+
"project-id": {
|
|
1340
|
+
"char": "p",
|
|
1341
|
+
"description": "Project ID to list CORS origins for (overrides CLI configuration)",
|
|
1342
|
+
"helpGroup": "OVERRIDE",
|
|
1343
|
+
"name": "project-id",
|
|
1344
|
+
"hasDynamicHelp": false,
|
|
1345
|
+
"helpValue": "<id>",
|
|
1346
|
+
"multiple": false,
|
|
1347
|
+
"type": "option"
|
|
1348
|
+
}
|
|
1349
|
+
},
|
|
1203
1350
|
"hasDynamicHelp": false,
|
|
1204
1351
|
"hiddenAliases": [],
|
|
1205
1352
|
"id": "cors:list",
|
|
@@ -1265,6 +1412,16 @@
|
|
|
1265
1412
|
}
|
|
1266
1413
|
],
|
|
1267
1414
|
"flags": {
|
|
1415
|
+
"project-id": {
|
|
1416
|
+
"char": "p",
|
|
1417
|
+
"description": "Project ID to copy dataset in (overrides CLI configuration)",
|
|
1418
|
+
"helpGroup": "OVERRIDE",
|
|
1419
|
+
"name": "project-id",
|
|
1420
|
+
"hasDynamicHelp": false,
|
|
1421
|
+
"helpValue": "<id>",
|
|
1422
|
+
"multiple": false,
|
|
1423
|
+
"type": "option"
|
|
1424
|
+
},
|
|
1268
1425
|
"attach": {
|
|
1269
1426
|
"description": "Attach to the running copy process to show progress",
|
|
1270
1427
|
"exclusive": [
|
|
@@ -1375,6 +1532,32 @@
|
|
|
1375
1532
|
}
|
|
1376
1533
|
],
|
|
1377
1534
|
"flags": {
|
|
1535
|
+
"project-id": {
|
|
1536
|
+
"char": "p",
|
|
1537
|
+
"description": "Project ID to create dataset in (overrides CLI configuration)",
|
|
1538
|
+
"helpGroup": "OVERRIDE",
|
|
1539
|
+
"name": "project-id",
|
|
1540
|
+
"hasDynamicHelp": false,
|
|
1541
|
+
"helpValue": "<id>",
|
|
1542
|
+
"multiple": false,
|
|
1543
|
+
"type": "option"
|
|
1544
|
+
},
|
|
1545
|
+
"embeddings": {
|
|
1546
|
+
"description": "Enable embeddings for this dataset",
|
|
1547
|
+
"name": "embeddings",
|
|
1548
|
+
"allowNo": false,
|
|
1549
|
+
"type": "boolean"
|
|
1550
|
+
},
|
|
1551
|
+
"embeddings-projection": {
|
|
1552
|
+
"dependsOn": [
|
|
1553
|
+
"embeddings"
|
|
1554
|
+
],
|
|
1555
|
+
"description": "GROQ projection for embeddings indexing (e.g. \"{ title, body }\")",
|
|
1556
|
+
"name": "embeddings-projection",
|
|
1557
|
+
"hasDynamicHelp": false,
|
|
1558
|
+
"multiple": false,
|
|
1559
|
+
"type": "option"
|
|
1560
|
+
},
|
|
1378
1561
|
"visibility": {
|
|
1379
1562
|
"description": "Set visibility for this dataset (custom/private/public)",
|
|
1380
1563
|
"name": "visibility",
|
|
@@ -1425,6 +1608,16 @@
|
|
|
1425
1608
|
}
|
|
1426
1609
|
],
|
|
1427
1610
|
"flags": {
|
|
1611
|
+
"project-id": {
|
|
1612
|
+
"char": "p",
|
|
1613
|
+
"description": "Project ID to delete dataset from (overrides CLI configuration)",
|
|
1614
|
+
"helpGroup": "OVERRIDE",
|
|
1615
|
+
"name": "project-id",
|
|
1616
|
+
"hasDynamicHelp": false,
|
|
1617
|
+
"helpValue": "<id>",
|
|
1618
|
+
"multiple": false,
|
|
1619
|
+
"type": "option"
|
|
1620
|
+
},
|
|
1428
1621
|
"force": {
|
|
1429
1622
|
"description": "Do not prompt for delete confirmation - forcefully delete",
|
|
1430
1623
|
"name": "force",
|
|
@@ -1480,6 +1673,16 @@
|
|
|
1480
1673
|
}
|
|
1481
1674
|
],
|
|
1482
1675
|
"flags": {
|
|
1676
|
+
"project-id": {
|
|
1677
|
+
"char": "p",
|
|
1678
|
+
"description": "Project ID to export dataset from (overrides CLI configuration)",
|
|
1679
|
+
"helpGroup": "OVERRIDE",
|
|
1680
|
+
"name": "project-id",
|
|
1681
|
+
"hasDynamicHelp": false,
|
|
1682
|
+
"helpValue": "<id>",
|
|
1683
|
+
"multiple": false,
|
|
1684
|
+
"type": "option"
|
|
1685
|
+
},
|
|
1483
1686
|
"asset-concurrency": {
|
|
1484
1687
|
"description": "Concurrent number of asset downloads",
|
|
1485
1688
|
"name": "asset-concurrency",
|
|
@@ -1560,25 +1763,56 @@
|
|
|
1560
1763
|
"description": "Source file (use \"-\" for stdin)",
|
|
1561
1764
|
"name": "source",
|
|
1562
1765
|
"required": true
|
|
1766
|
+
},
|
|
1767
|
+
"targetDataset": {
|
|
1768
|
+
"description": "Target dataset (prefer --dataset flag instead)",
|
|
1769
|
+
"name": "targetDataset",
|
|
1770
|
+
"required": false
|
|
1563
1771
|
}
|
|
1564
1772
|
},
|
|
1565
1773
|
"description": "Import documents to a Sanity dataset",
|
|
1566
1774
|
"examples": [
|
|
1567
1775
|
{
|
|
1568
|
-
"
|
|
1569
|
-
"
|
|
1776
|
+
"command": "<%= config.bin %> <%= command.id %> -d staging -t someSecretToken my-dataset.ndjson",
|
|
1777
|
+
"description": "Import \"./my-dataset.ndjson\" into dataset \"staging\""
|
|
1570
1778
|
},
|
|
1571
1779
|
{
|
|
1572
|
-
"
|
|
1573
|
-
"
|
|
1780
|
+
"command": "cat my-dataset.ndjson | <%= config.bin %> <%= command.id %> -d test -t someToken -",
|
|
1781
|
+
"description": "Import into dataset \"test\" from stdin"
|
|
1782
|
+
},
|
|
1783
|
+
{
|
|
1784
|
+
"command": "<%= config.bin %> <%= command.id %> -p projectId -d staging -t someSecretToken my-dataset.ndjson",
|
|
1785
|
+
"description": "Import with explicit project ID (overrides CLI configuration)"
|
|
1574
1786
|
}
|
|
1575
1787
|
],
|
|
1576
1788
|
"flags": {
|
|
1577
|
-
"
|
|
1578
|
-
"
|
|
1579
|
-
"
|
|
1580
|
-
"
|
|
1581
|
-
"
|
|
1789
|
+
"allow-assets-in-different-dataset": {
|
|
1790
|
+
"description": "Allow asset documents to reference different project/dataset",
|
|
1791
|
+
"name": "allow-assets-in-different-dataset",
|
|
1792
|
+
"allowNo": false,
|
|
1793
|
+
"type": "boolean"
|
|
1794
|
+
},
|
|
1795
|
+
"allow-failing-assets": {
|
|
1796
|
+
"description": "Skip assets that cannot be fetched/uploaded",
|
|
1797
|
+
"name": "allow-failing-assets",
|
|
1798
|
+
"allowNo": false,
|
|
1799
|
+
"type": "boolean"
|
|
1800
|
+
},
|
|
1801
|
+
"allow-replacement-characters": {
|
|
1802
|
+
"description": "Allow unicode replacement characters in imported documents",
|
|
1803
|
+
"name": "allow-replacement-characters",
|
|
1804
|
+
"allowNo": false,
|
|
1805
|
+
"type": "boolean"
|
|
1806
|
+
},
|
|
1807
|
+
"allow-system-documents": {
|
|
1808
|
+
"description": "Imports system documents",
|
|
1809
|
+
"name": "allow-system-documents",
|
|
1810
|
+
"allowNo": false,
|
|
1811
|
+
"type": "boolean"
|
|
1812
|
+
},
|
|
1813
|
+
"asset-concurrency": {
|
|
1814
|
+
"description": "Number of parallel asset imports",
|
|
1815
|
+
"name": "asset-concurrency",
|
|
1582
1816
|
"hasDynamicHelp": false,
|
|
1583
1817
|
"multiple": false,
|
|
1584
1818
|
"type": "option"
|
|
@@ -1587,30 +1821,11 @@
|
|
|
1587
1821
|
"char": "d",
|
|
1588
1822
|
"description": "Dataset to import to",
|
|
1589
1823
|
"name": "dataset",
|
|
1590
|
-
"required": true,
|
|
1591
|
-
"hasDynamicHelp": false,
|
|
1592
|
-
"multiple": false,
|
|
1593
|
-
"type": "option"
|
|
1594
|
-
},
|
|
1595
|
-
"token": {
|
|
1596
|
-
"char": "t",
|
|
1597
|
-
"description": "Token to authenticate with",
|
|
1598
|
-
"env": "SANITY_IMPORT_TOKEN",
|
|
1599
|
-
"name": "token",
|
|
1600
|
-
"required": false,
|
|
1601
1824
|
"hasDynamicHelp": false,
|
|
1825
|
+
"helpValue": "<name>",
|
|
1602
1826
|
"multiple": false,
|
|
1603
1827
|
"type": "option"
|
|
1604
1828
|
},
|
|
1605
|
-
"replace": {
|
|
1606
|
-
"description": "Replace documents with the same IDs",
|
|
1607
|
-
"exclusive": [
|
|
1608
|
-
"missing"
|
|
1609
|
-
],
|
|
1610
|
-
"name": "replace",
|
|
1611
|
-
"allowNo": false,
|
|
1612
|
-
"type": "boolean"
|
|
1613
|
-
},
|
|
1614
1829
|
"missing": {
|
|
1615
1830
|
"description": "Skip documents that already exist",
|
|
1616
1831
|
"exclusive": [
|
|
@@ -1620,15 +1835,33 @@
|
|
|
1620
1835
|
"allowNo": false,
|
|
1621
1836
|
"type": "boolean"
|
|
1622
1837
|
},
|
|
1623
|
-
"
|
|
1624
|
-
"
|
|
1625
|
-
"
|
|
1626
|
-
"
|
|
1627
|
-
"
|
|
1838
|
+
"project-id": {
|
|
1839
|
+
"char": "p",
|
|
1840
|
+
"description": "Project ID to import to (overrides CLI configuration)",
|
|
1841
|
+
"helpGroup": "OVERRIDE",
|
|
1842
|
+
"name": "project-id",
|
|
1843
|
+
"hasDynamicHelp": false,
|
|
1844
|
+
"helpValue": "<id>",
|
|
1845
|
+
"multiple": false,
|
|
1846
|
+
"type": "option"
|
|
1628
1847
|
},
|
|
1629
|
-
"
|
|
1630
|
-
"
|
|
1631
|
-
|
|
1848
|
+
"project": {
|
|
1849
|
+
"deprecated": {
|
|
1850
|
+
"to": "project-id"
|
|
1851
|
+
},
|
|
1852
|
+
"description": "Project ID to import to",
|
|
1853
|
+
"hidden": true,
|
|
1854
|
+
"name": "project",
|
|
1855
|
+
"hasDynamicHelp": false,
|
|
1856
|
+
"multiple": false,
|
|
1857
|
+
"type": "option"
|
|
1858
|
+
},
|
|
1859
|
+
"replace": {
|
|
1860
|
+
"description": "Replace documents with the same IDs",
|
|
1861
|
+
"exclusive": [
|
|
1862
|
+
"missing"
|
|
1863
|
+
],
|
|
1864
|
+
"name": "replace",
|
|
1632
1865
|
"allowNo": false,
|
|
1633
1866
|
"type": "boolean"
|
|
1634
1867
|
},
|
|
@@ -1644,21 +1877,12 @@
|
|
|
1644
1877
|
"allowNo": false,
|
|
1645
1878
|
"type": "boolean"
|
|
1646
1879
|
},
|
|
1647
|
-
"
|
|
1648
|
-
"
|
|
1649
|
-
"
|
|
1650
|
-
"
|
|
1651
|
-
"
|
|
1652
|
-
|
|
1653
|
-
"allow-system-documents": {
|
|
1654
|
-
"description": "Imports system documents",
|
|
1655
|
-
"name": "allow-system-documents",
|
|
1656
|
-
"allowNo": false,
|
|
1657
|
-
"type": "boolean"
|
|
1658
|
-
},
|
|
1659
|
-
"asset-concurrency": {
|
|
1660
|
-
"description": "Number of parallel asset imports",
|
|
1661
|
-
"name": "asset-concurrency",
|
|
1880
|
+
"token": {
|
|
1881
|
+
"char": "t",
|
|
1882
|
+
"description": "Token to authenticate with",
|
|
1883
|
+
"env": "SANITY_IMPORT_TOKEN",
|
|
1884
|
+
"name": "token",
|
|
1885
|
+
"required": false,
|
|
1662
1886
|
"hasDynamicHelp": false,
|
|
1663
1887
|
"multiple": false,
|
|
1664
1888
|
"type": "option"
|
|
@@ -1687,9 +1911,24 @@
|
|
|
1687
1911
|
{
|
|
1688
1912
|
"command": "<%= config.bin %> <%= command.id %>",
|
|
1689
1913
|
"description": "List datasets of your project"
|
|
1914
|
+
},
|
|
1915
|
+
{
|
|
1916
|
+
"command": "<%= config.bin %> <%= command.id %> --project-id abc123",
|
|
1917
|
+
"description": "List datasets for a specific project"
|
|
1690
1918
|
}
|
|
1691
1919
|
],
|
|
1692
|
-
"flags": {
|
|
1920
|
+
"flags": {
|
|
1921
|
+
"project-id": {
|
|
1922
|
+
"char": "p",
|
|
1923
|
+
"description": "Project ID to list datasets for (overrides CLI configuration)",
|
|
1924
|
+
"helpGroup": "OVERRIDE",
|
|
1925
|
+
"name": "project-id",
|
|
1926
|
+
"hasDynamicHelp": false,
|
|
1927
|
+
"helpValue": "<id>",
|
|
1928
|
+
"multiple": false,
|
|
1929
|
+
"type": "option"
|
|
1930
|
+
}
|
|
1931
|
+
},
|
|
1693
1932
|
"hasDynamicHelp": false,
|
|
1694
1933
|
"hiddenAliases": [],
|
|
1695
1934
|
"id": "dataset:list",
|
|
@@ -1855,14 +2094,30 @@
|
|
|
1855
2094
|
{
|
|
1856
2095
|
"command": "<%= config.bin %> <%= command.id %> --id myDocId --watch --replace --json5",
|
|
1857
2096
|
"description": "Open configured $EDITOR and replace the document with the given content on each save. Use JSON5 file extension and parser for simplified syntax."
|
|
2097
|
+
},
|
|
2098
|
+
{
|
|
2099
|
+
"command": "<%= config.bin %> <%= command.id %> myDocument.json --project-id abc123",
|
|
2100
|
+
"description": "Create documents in a specific project"
|
|
1858
2101
|
}
|
|
1859
2102
|
],
|
|
1860
2103
|
"flags": {
|
|
2104
|
+
"project-id": {
|
|
2105
|
+
"char": "p",
|
|
2106
|
+
"description": "Project ID to create document(s) in (overrides CLI configuration)",
|
|
2107
|
+
"helpGroup": "OVERRIDE",
|
|
2108
|
+
"name": "project-id",
|
|
2109
|
+
"hasDynamicHelp": false,
|
|
2110
|
+
"helpValue": "<id>",
|
|
2111
|
+
"multiple": false,
|
|
2112
|
+
"type": "option"
|
|
2113
|
+
},
|
|
1861
2114
|
"dataset": {
|
|
1862
2115
|
"char": "d",
|
|
1863
|
-
"description": "Dataset to create document(s) in (overrides
|
|
2116
|
+
"description": "Dataset to create document(s) in (overrides CLI configuration)",
|
|
2117
|
+
"helpGroup": "OVERRIDE",
|
|
1864
2118
|
"name": "dataset",
|
|
1865
2119
|
"hasDynamicHelp": false,
|
|
2120
|
+
"helpValue": "<name>",
|
|
1866
2121
|
"multiple": false,
|
|
1867
2122
|
"type": "option"
|
|
1868
2123
|
},
|
|
@@ -1944,13 +2199,30 @@
|
|
|
1944
2199
|
{
|
|
1945
2200
|
"command": "<%= config.bin %> <%= command.id %> doc1 doc2",
|
|
1946
2201
|
"description": "Delete the document with ID \"doc1\" and \"doc2\""
|
|
2202
|
+
},
|
|
2203
|
+
{
|
|
2204
|
+
"command": "<%= config.bin %> <%= command.id %> myDocId --project-id abc123",
|
|
2205
|
+
"description": "Delete a document from a specific project"
|
|
1947
2206
|
}
|
|
1948
2207
|
],
|
|
1949
2208
|
"flags": {
|
|
2209
|
+
"project-id": {
|
|
2210
|
+
"char": "p",
|
|
2211
|
+
"description": "Project ID to delete from (overrides CLI configuration)",
|
|
2212
|
+
"helpGroup": "OVERRIDE",
|
|
2213
|
+
"name": "project-id",
|
|
2214
|
+
"hasDynamicHelp": false,
|
|
2215
|
+
"helpValue": "<id>",
|
|
2216
|
+
"multiple": false,
|
|
2217
|
+
"type": "option"
|
|
2218
|
+
},
|
|
1950
2219
|
"dataset": {
|
|
1951
|
-
"
|
|
2220
|
+
"char": "d",
|
|
2221
|
+
"description": "Dataset to delete from (overrides CLI configuration)",
|
|
2222
|
+
"helpGroup": "OVERRIDE",
|
|
1952
2223
|
"name": "dataset",
|
|
1953
2224
|
"hasDynamicHelp": false,
|
|
2225
|
+
"helpValue": "<name>",
|
|
1954
2226
|
"multiple": false,
|
|
1955
2227
|
"type": "option"
|
|
1956
2228
|
}
|
|
@@ -1992,14 +2264,30 @@
|
|
|
1992
2264
|
{
|
|
1993
2265
|
"command": "<%= config.bin %> <%= command.id %> myDocId --dataset production",
|
|
1994
2266
|
"description": "Get document from a specific dataset"
|
|
2267
|
+
},
|
|
2268
|
+
{
|
|
2269
|
+
"command": "<%= config.bin %> <%= command.id %> myDocId --project-id abc123",
|
|
2270
|
+
"description": "Get a document from a specific project"
|
|
1995
2271
|
}
|
|
1996
2272
|
],
|
|
1997
2273
|
"flags": {
|
|
2274
|
+
"project-id": {
|
|
2275
|
+
"char": "p",
|
|
2276
|
+
"description": "Project ID to get document from (overrides CLI configuration)",
|
|
2277
|
+
"helpGroup": "OVERRIDE",
|
|
2278
|
+
"name": "project-id",
|
|
2279
|
+
"hasDynamicHelp": false,
|
|
2280
|
+
"helpValue": "<id>",
|
|
2281
|
+
"multiple": false,
|
|
2282
|
+
"type": "option"
|
|
2283
|
+
},
|
|
1998
2284
|
"dataset": {
|
|
1999
2285
|
"char": "d",
|
|
2000
|
-
"description": "Dataset to get document from (overrides
|
|
2286
|
+
"description": "Dataset to get document from (overrides CLI configuration)",
|
|
2287
|
+
"helpGroup": "OVERRIDE",
|
|
2001
2288
|
"name": "dataset",
|
|
2002
2289
|
"hasDynamicHelp": false,
|
|
2290
|
+
"helpValue": "<name>",
|
|
2003
2291
|
"multiple": false,
|
|
2004
2292
|
"type": "option"
|
|
2005
2293
|
},
|
|
@@ -2047,9 +2335,33 @@
|
|
|
2047
2335
|
{
|
|
2048
2336
|
"command": "<%= config.bin %> <%= command.id %> '*[_id == \"header\"] { \"headerText\": pt::text(body) }' --api-version v2021-06-07",
|
|
2049
2337
|
"description": "Use API version v2021-06-07 and do a query"
|
|
2338
|
+
},
|
|
2339
|
+
{
|
|
2340
|
+
"command": "<%= config.bin %> <%= command.id %> '*[_type == \"post\"]' --project-id abc123 --dataset production",
|
|
2341
|
+
"description": "Query documents in a specific project and dataset"
|
|
2050
2342
|
}
|
|
2051
2343
|
],
|
|
2052
2344
|
"flags": {
|
|
2345
|
+
"project-id": {
|
|
2346
|
+
"char": "p",
|
|
2347
|
+
"description": "Project ID to query (overrides CLI configuration)",
|
|
2348
|
+
"helpGroup": "OVERRIDE",
|
|
2349
|
+
"name": "project-id",
|
|
2350
|
+
"hasDynamicHelp": false,
|
|
2351
|
+
"helpValue": "<id>",
|
|
2352
|
+
"multiple": false,
|
|
2353
|
+
"type": "option"
|
|
2354
|
+
},
|
|
2355
|
+
"dataset": {
|
|
2356
|
+
"char": "d",
|
|
2357
|
+
"description": "Dataset to query (overrides CLI configuration)",
|
|
2358
|
+
"helpGroup": "OVERRIDE",
|
|
2359
|
+
"name": "dataset",
|
|
2360
|
+
"hasDynamicHelp": false,
|
|
2361
|
+
"helpValue": "<name>",
|
|
2362
|
+
"multiple": false,
|
|
2363
|
+
"type": "option"
|
|
2364
|
+
},
|
|
2053
2365
|
"anonymous": {
|
|
2054
2366
|
"description": "Send the query without any authorization token",
|
|
2055
2367
|
"name": "anonymous",
|
|
@@ -2064,14 +2376,6 @@
|
|
|
2064
2376
|
"multiple": false,
|
|
2065
2377
|
"type": "option"
|
|
2066
2378
|
},
|
|
2067
|
-
"dataset": {
|
|
2068
|
-
"char": "d",
|
|
2069
|
-
"description": "Dataset to query (overrides config)",
|
|
2070
|
-
"name": "dataset",
|
|
2071
|
-
"hasDynamicHelp": false,
|
|
2072
|
-
"multiple": false,
|
|
2073
|
-
"type": "option"
|
|
2074
|
-
},
|
|
2075
2379
|
"pretty": {
|
|
2076
2380
|
"description": "Colorize JSON output",
|
|
2077
2381
|
"name": "pretty",
|
|
@@ -2079,8 +2383,11 @@
|
|
|
2079
2383
|
"type": "boolean"
|
|
2080
2384
|
},
|
|
2081
2385
|
"project": {
|
|
2082
|
-
"
|
|
2083
|
-
|
|
2386
|
+
"deprecated": {
|
|
2387
|
+
"to": "project-id"
|
|
2388
|
+
},
|
|
2389
|
+
"description": "Project ID to query",
|
|
2390
|
+
"hidden": true,
|
|
2084
2391
|
"name": "project",
|
|
2085
2392
|
"hasDynamicHelp": false,
|
|
2086
2393
|
"multiple": false,
|
|
@@ -2122,14 +2429,28 @@
|
|
|
2122
2429
|
{
|
|
2123
2430
|
"command": "<%= config.bin %> <%= command.id %> --level info",
|
|
2124
2431
|
"description": "Report out info level validation markers too"
|
|
2432
|
+
},
|
|
2433
|
+
{
|
|
2434
|
+
"command": "<%= config.bin %> <%= command.id %> --project-id abc123 --dataset production",
|
|
2435
|
+
"description": "Validate documents in a specific project and dataset"
|
|
2125
2436
|
}
|
|
2126
2437
|
],
|
|
2127
2438
|
"flags": {
|
|
2439
|
+
"project-id": {
|
|
2440
|
+
"char": "p",
|
|
2441
|
+
"description": "Override the project ID used. By default, this is derived from the given workspace",
|
|
2442
|
+
"name": "project-id",
|
|
2443
|
+
"hasDynamicHelp": false,
|
|
2444
|
+
"helpValue": "<id>",
|
|
2445
|
+
"multiple": false,
|
|
2446
|
+
"type": "option"
|
|
2447
|
+
},
|
|
2128
2448
|
"dataset": {
|
|
2129
2449
|
"char": "d",
|
|
2130
2450
|
"description": "Override the dataset used. By default, this is derived from the given workspace",
|
|
2131
2451
|
"name": "dataset",
|
|
2132
2452
|
"hasDynamicHelp": false,
|
|
2453
|
+
"helpValue": "<name>",
|
|
2133
2454
|
"multiple": false,
|
|
2134
2455
|
"type": "option"
|
|
2135
2456
|
},
|
|
@@ -2148,7 +2469,7 @@
|
|
|
2148
2469
|
"type": "option"
|
|
2149
2470
|
},
|
|
2150
2471
|
"level": {
|
|
2151
|
-
"description": "The minimum level reported
|
|
2472
|
+
"description": "The minimum level reported. Defaults to warning",
|
|
2152
2473
|
"name": "level",
|
|
2153
2474
|
"default": "warning",
|
|
2154
2475
|
"hasDynamicHelp": false,
|
|
@@ -2169,7 +2490,7 @@
|
|
|
2169
2490
|
"type": "option"
|
|
2170
2491
|
},
|
|
2171
2492
|
"max-fetch-concurrency": {
|
|
2172
|
-
"description": "Specify how many `client.fetch` requests are
|
|
2493
|
+
"description": "Specify how many `client.fetch` requests are allowed to run concurrently",
|
|
2173
2494
|
"name": "max-fetch-concurrency",
|
|
2174
2495
|
"default": 25,
|
|
2175
2496
|
"hasDynamicHelp": false,
|
|
@@ -2206,6 +2527,110 @@
|
|
|
2206
2527
|
"validate.js"
|
|
2207
2528
|
]
|
|
2208
2529
|
},
|
|
2530
|
+
"graphql:deploy": {
|
|
2531
|
+
"aliases": [],
|
|
2532
|
+
"args": {},
|
|
2533
|
+
"description": "Deploy a GraphQL API from the current Sanity schema",
|
|
2534
|
+
"examples": [
|
|
2535
|
+
{
|
|
2536
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
2537
|
+
"description": "Deploy all defined GraphQL APIs"
|
|
2538
|
+
},
|
|
2539
|
+
{
|
|
2540
|
+
"command": "<%= config.bin %> <%= command.id %> --dry-run",
|
|
2541
|
+
"description": "Validate defined GraphQL APIs, check for breaking changes, skip deploy"
|
|
2542
|
+
},
|
|
2543
|
+
{
|
|
2544
|
+
"command": "<%= config.bin %> <%= command.id %> --api staging --api ios",
|
|
2545
|
+
"description": "Deploy only the GraphQL APIs with the IDs \"staging\" and \"ios\""
|
|
2546
|
+
},
|
|
2547
|
+
{
|
|
2548
|
+
"command": "<%= config.bin %> <%= command.id %> --playground",
|
|
2549
|
+
"description": "Deploy all defined GraphQL APIs, overriding any playground setting"
|
|
2550
|
+
}
|
|
2551
|
+
],
|
|
2552
|
+
"flags": {
|
|
2553
|
+
"api": {
|
|
2554
|
+
"description": "Only deploy API with this ID. Can be specified multiple times.",
|
|
2555
|
+
"name": "api",
|
|
2556
|
+
"hasDynamicHelp": false,
|
|
2557
|
+
"multiple": true,
|
|
2558
|
+
"type": "option"
|
|
2559
|
+
},
|
|
2560
|
+
"dataset": {
|
|
2561
|
+
"char": "d",
|
|
2562
|
+
"description": "Deploy API for the given dataset",
|
|
2563
|
+
"name": "dataset",
|
|
2564
|
+
"hasDynamicHelp": false,
|
|
2565
|
+
"helpValue": "<name>",
|
|
2566
|
+
"multiple": false,
|
|
2567
|
+
"type": "option"
|
|
2568
|
+
},
|
|
2569
|
+
"dry-run": {
|
|
2570
|
+
"description": "Validate defined GraphQL APIs, check for breaking changes, skip deploy",
|
|
2571
|
+
"name": "dry-run",
|
|
2572
|
+
"allowNo": false,
|
|
2573
|
+
"type": "boolean"
|
|
2574
|
+
},
|
|
2575
|
+
"force": {
|
|
2576
|
+
"description": "Deploy API without confirming breaking changes",
|
|
2577
|
+
"name": "force",
|
|
2578
|
+
"allowNo": false,
|
|
2579
|
+
"type": "boolean"
|
|
2580
|
+
},
|
|
2581
|
+
"generation": {
|
|
2582
|
+
"description": "API generation to deploy (defaults to \"gen3\")",
|
|
2583
|
+
"name": "generation",
|
|
2584
|
+
"hasDynamicHelp": false,
|
|
2585
|
+
"multiple": false,
|
|
2586
|
+
"options": [
|
|
2587
|
+
"gen1",
|
|
2588
|
+
"gen2",
|
|
2589
|
+
"gen3"
|
|
2590
|
+
],
|
|
2591
|
+
"type": "option"
|
|
2592
|
+
},
|
|
2593
|
+
"non-null-document-fields": {
|
|
2594
|
+
"description": "Use non-null document fields (_id, _type etc)",
|
|
2595
|
+
"name": "non-null-document-fields",
|
|
2596
|
+
"allowNo": false,
|
|
2597
|
+
"type": "boolean"
|
|
2598
|
+
},
|
|
2599
|
+
"playground": {
|
|
2600
|
+
"description": "Enable GraphQL playground for easier debugging",
|
|
2601
|
+
"name": "playground",
|
|
2602
|
+
"allowNo": true,
|
|
2603
|
+
"type": "boolean"
|
|
2604
|
+
},
|
|
2605
|
+
"tag": {
|
|
2606
|
+
"description": "Deploy API(s) to given tag (defaults to \"default\")",
|
|
2607
|
+
"name": "tag",
|
|
2608
|
+
"hasDynamicHelp": false,
|
|
2609
|
+
"multiple": false,
|
|
2610
|
+
"type": "option"
|
|
2611
|
+
},
|
|
2612
|
+
"with-union-cache": {
|
|
2613
|
+
"description": "Enable union cache that optimizes schema generation for schemas with many self referencing types",
|
|
2614
|
+
"name": "with-union-cache",
|
|
2615
|
+
"allowNo": false,
|
|
2616
|
+
"type": "boolean"
|
|
2617
|
+
}
|
|
2618
|
+
},
|
|
2619
|
+
"hasDynamicHelp": false,
|
|
2620
|
+
"hiddenAliases": [],
|
|
2621
|
+
"id": "graphql:deploy",
|
|
2622
|
+
"pluginAlias": "@sanity/cli",
|
|
2623
|
+
"pluginName": "@sanity/cli",
|
|
2624
|
+
"pluginType": "core",
|
|
2625
|
+
"strict": true,
|
|
2626
|
+
"isESM": true,
|
|
2627
|
+
"relativePath": [
|
|
2628
|
+
"dist",
|
|
2629
|
+
"commands",
|
|
2630
|
+
"graphql",
|
|
2631
|
+
"deploy.js"
|
|
2632
|
+
]
|
|
2633
|
+
},
|
|
2209
2634
|
"graphql:list": {
|
|
2210
2635
|
"aliases": [],
|
|
2211
2636
|
"args": {},
|
|
@@ -2214,9 +2639,24 @@
|
|
|
2214
2639
|
{
|
|
2215
2640
|
"command": "<%= config.bin %> <%= command.id %>",
|
|
2216
2641
|
"description": "List GraphQL endpoints for the current project"
|
|
2642
|
+
},
|
|
2643
|
+
{
|
|
2644
|
+
"command": "<%= config.bin %> <%= command.id %> --project-id abc123",
|
|
2645
|
+
"description": "List GraphQL endpoints for a specific project"
|
|
2217
2646
|
}
|
|
2218
2647
|
],
|
|
2219
|
-
"flags": {
|
|
2648
|
+
"flags": {
|
|
2649
|
+
"project-id": {
|
|
2650
|
+
"char": "p",
|
|
2651
|
+
"description": "Project ID to list GraphQL endpoints for (overrides CLI configuration)",
|
|
2652
|
+
"helpGroup": "OVERRIDE",
|
|
2653
|
+
"name": "project-id",
|
|
2654
|
+
"hasDynamicHelp": false,
|
|
2655
|
+
"helpValue": "<id>",
|
|
2656
|
+
"multiple": false,
|
|
2657
|
+
"type": "option"
|
|
2658
|
+
}
|
|
2659
|
+
},
|
|
2220
2660
|
"hasDynamicHelp": false,
|
|
2221
2661
|
"hiddenAliases": [],
|
|
2222
2662
|
"id": "graphql:list",
|
|
@@ -2256,11 +2696,29 @@
|
|
|
2256
2696
|
{
|
|
2257
2697
|
"command": "<%= config.bin %> <%= command.id %> --force",
|
|
2258
2698
|
"description": "Undeploy GraphQL API without confirmation prompt"
|
|
2699
|
+
},
|
|
2700
|
+
{
|
|
2701
|
+
"command": "<%= config.bin %> <%= command.id %> --project-id abc123 --dataset production",
|
|
2702
|
+
"description": "Undeploy GraphQL API for a specific project and dataset"
|
|
2259
2703
|
}
|
|
2260
2704
|
],
|
|
2261
2705
|
"flags": {
|
|
2706
|
+
"project-id": {
|
|
2707
|
+
"char": "p",
|
|
2708
|
+
"description": "Project ID to undeploy GraphQL API from (overrides CLI configuration)",
|
|
2709
|
+
"helpGroup": "OVERRIDE",
|
|
2710
|
+
"name": "project-id",
|
|
2711
|
+
"hasDynamicHelp": false,
|
|
2712
|
+
"helpValue": "<id>",
|
|
2713
|
+
"multiple": false,
|
|
2714
|
+
"type": "option"
|
|
2715
|
+
},
|
|
2262
2716
|
"api": {
|
|
2263
|
-
"description": "Undeploy API with this ID
|
|
2717
|
+
"description": "Undeploy API with this ID",
|
|
2718
|
+
"exclusive": [
|
|
2719
|
+
"project-id",
|
|
2720
|
+
"project"
|
|
2721
|
+
],
|
|
2264
2722
|
"name": "api",
|
|
2265
2723
|
"required": false,
|
|
2266
2724
|
"hasDynamicHelp": false,
|
|
@@ -2268,10 +2726,12 @@
|
|
|
2268
2726
|
"type": "option"
|
|
2269
2727
|
},
|
|
2270
2728
|
"dataset": {
|
|
2271
|
-
"
|
|
2729
|
+
"char": "d",
|
|
2730
|
+
"description": "Dataset to undeploy GraphQL API from (overrides CLI configuration)",
|
|
2731
|
+
"helpGroup": "OVERRIDE",
|
|
2272
2732
|
"name": "dataset",
|
|
2273
|
-
"required": false,
|
|
2274
2733
|
"hasDynamicHelp": false,
|
|
2734
|
+
"helpValue": "<name>",
|
|
2275
2735
|
"multiple": false,
|
|
2276
2736
|
"type": "option"
|
|
2277
2737
|
},
|
|
@@ -2283,7 +2743,11 @@
|
|
|
2283
2743
|
"type": "boolean"
|
|
2284
2744
|
},
|
|
2285
2745
|
"project": {
|
|
2746
|
+
"deprecated": {
|
|
2747
|
+
"to": "project-id"
|
|
2748
|
+
},
|
|
2286
2749
|
"description": "Project ID to delete GraphQL API for",
|
|
2750
|
+
"hidden": true,
|
|
2287
2751
|
"name": "project",
|
|
2288
2752
|
"required": false,
|
|
2289
2753
|
"hasDynamicHelp": false,
|
|
@@ -2329,9 +2793,24 @@
|
|
|
2329
2793
|
{
|
|
2330
2794
|
"command": "<%= config.bin %> <%= command.id %> abc123",
|
|
2331
2795
|
"description": "Print details of webhook delivery attempt with ID abc123"
|
|
2796
|
+
},
|
|
2797
|
+
{
|
|
2798
|
+
"command": "<%= config.bin %> <%= command.id %> abc123 --project-id projectId",
|
|
2799
|
+
"description": "Get attempt details for a specific project"
|
|
2332
2800
|
}
|
|
2333
2801
|
],
|
|
2334
|
-
"flags": {
|
|
2802
|
+
"flags": {
|
|
2803
|
+
"project-id": {
|
|
2804
|
+
"char": "p",
|
|
2805
|
+
"description": "Project ID to view webhook attempt for (overrides CLI configuration)",
|
|
2806
|
+
"helpGroup": "OVERRIDE",
|
|
2807
|
+
"name": "project-id",
|
|
2808
|
+
"hasDynamicHelp": false,
|
|
2809
|
+
"helpValue": "<id>",
|
|
2810
|
+
"multiple": false,
|
|
2811
|
+
"type": "option"
|
|
2812
|
+
}
|
|
2813
|
+
},
|
|
2335
2814
|
"hasDynamicHelp": false,
|
|
2336
2815
|
"hiddenAliases": [],
|
|
2337
2816
|
"id": "hook:attempt",
|
|
@@ -2355,9 +2834,24 @@
|
|
|
2355
2834
|
{
|
|
2356
2835
|
"command": "<%= config.bin %> <%= command.id %>",
|
|
2357
2836
|
"description": "Create a new webhook for the current project"
|
|
2837
|
+
},
|
|
2838
|
+
{
|
|
2839
|
+
"command": "<%= config.bin %> <%= command.id %> --project-id abc123",
|
|
2840
|
+
"description": "Create a webhook for a specific project"
|
|
2358
2841
|
}
|
|
2359
2842
|
],
|
|
2360
|
-
"flags": {
|
|
2843
|
+
"flags": {
|
|
2844
|
+
"project-id": {
|
|
2845
|
+
"char": "p",
|
|
2846
|
+
"description": "Project ID to create webhook for (overrides CLI configuration)",
|
|
2847
|
+
"helpGroup": "OVERRIDE",
|
|
2848
|
+
"name": "project-id",
|
|
2849
|
+
"hasDynamicHelp": false,
|
|
2850
|
+
"helpValue": "<id>",
|
|
2851
|
+
"multiple": false,
|
|
2852
|
+
"type": "option"
|
|
2853
|
+
}
|
|
2854
|
+
},
|
|
2361
2855
|
"hasDynamicHelp": false,
|
|
2362
2856
|
"hiddenAliases": [],
|
|
2363
2857
|
"id": "hook:create",
|
|
@@ -2391,9 +2885,24 @@
|
|
|
2391
2885
|
{
|
|
2392
2886
|
"command": "<%= config.bin %> <%= command.id %> my-hook",
|
|
2393
2887
|
"description": "Delete a specific hook by name"
|
|
2888
|
+
},
|
|
2889
|
+
{
|
|
2890
|
+
"command": "<%= config.bin %> <%= command.id %> --project-id abc123",
|
|
2891
|
+
"description": "Delete a hook from a specific project"
|
|
2394
2892
|
}
|
|
2395
2893
|
],
|
|
2396
|
-
"flags": {
|
|
2894
|
+
"flags": {
|
|
2895
|
+
"project-id": {
|
|
2896
|
+
"char": "p",
|
|
2897
|
+
"description": "Project ID to delete webhook from (overrides CLI configuration)",
|
|
2898
|
+
"helpGroup": "OVERRIDE",
|
|
2899
|
+
"name": "project-id",
|
|
2900
|
+
"hasDynamicHelp": false,
|
|
2901
|
+
"helpValue": "<id>",
|
|
2902
|
+
"multiple": false,
|
|
2903
|
+
"type": "option"
|
|
2904
|
+
}
|
|
2905
|
+
},
|
|
2397
2906
|
"hasDynamicHelp": false,
|
|
2398
2907
|
"hiddenAliases": [],
|
|
2399
2908
|
"id": "hook:delete",
|
|
@@ -2417,9 +2926,24 @@
|
|
|
2417
2926
|
{
|
|
2418
2927
|
"command": "<%= config.bin %> <%= command.id %>",
|
|
2419
2928
|
"description": "List hooks for a given project"
|
|
2929
|
+
},
|
|
2930
|
+
{
|
|
2931
|
+
"command": "<%= config.bin %> <%= command.id %> --project-id abc123",
|
|
2932
|
+
"description": "List hooks for a specific project"
|
|
2420
2933
|
}
|
|
2421
2934
|
],
|
|
2422
|
-
"flags": {
|
|
2935
|
+
"flags": {
|
|
2936
|
+
"project-id": {
|
|
2937
|
+
"char": "p",
|
|
2938
|
+
"description": "Project ID to list webhooks for (overrides CLI configuration)",
|
|
2939
|
+
"helpGroup": "OVERRIDE",
|
|
2940
|
+
"name": "project-id",
|
|
2941
|
+
"hasDynamicHelp": false,
|
|
2942
|
+
"helpValue": "<id>",
|
|
2943
|
+
"multiple": false,
|
|
2944
|
+
"type": "option"
|
|
2945
|
+
}
|
|
2946
|
+
},
|
|
2423
2947
|
"hasDynamicHelp": false,
|
|
2424
2948
|
"hiddenAliases": [],
|
|
2425
2949
|
"id": "hook:list",
|
|
@@ -2453,9 +2977,23 @@
|
|
|
2453
2977
|
{
|
|
2454
2978
|
"command": "<%= config.bin %> <%= command.id %> [NAME]",
|
|
2455
2979
|
"description": "List latest log entries for a specific hook by name"
|
|
2980
|
+
},
|
|
2981
|
+
{
|
|
2982
|
+
"command": "<%= config.bin %> <%= command.id %> --project-id abc123",
|
|
2983
|
+
"description": "List hook logs for a specific project"
|
|
2456
2984
|
}
|
|
2457
2985
|
],
|
|
2458
2986
|
"flags": {
|
|
2987
|
+
"project-id": {
|
|
2988
|
+
"char": "p",
|
|
2989
|
+
"description": "Project ID to view webhook logs for (overrides CLI configuration)",
|
|
2990
|
+
"helpGroup": "OVERRIDE",
|
|
2991
|
+
"name": "project-id",
|
|
2992
|
+
"hasDynamicHelp": false,
|
|
2993
|
+
"helpValue": "<id>",
|
|
2994
|
+
"multiple": false,
|
|
2995
|
+
"type": "option"
|
|
2996
|
+
},
|
|
2459
2997
|
"detailed": {
|
|
2460
2998
|
"description": "Include detailed payload and attempts",
|
|
2461
2999
|
"name": "detailed",
|
|
@@ -2497,7 +3035,7 @@
|
|
|
2497
3035
|
"path": {
|
|
2498
3036
|
"description": "Optional path to specify destination directory of the manifest files",
|
|
2499
3037
|
"name": "path",
|
|
2500
|
-
"default": "
|
|
3038
|
+
"default": "dist/static",
|
|
2501
3039
|
"hasDynamicHelp": false,
|
|
2502
3040
|
"multiple": false,
|
|
2503
3041
|
"type": "option"
|
|
@@ -2518,6 +3056,32 @@
|
|
|
2518
3056
|
"extract.js"
|
|
2519
3057
|
]
|
|
2520
3058
|
},
|
|
3059
|
+
"mcp:configure": {
|
|
3060
|
+
"aliases": [],
|
|
3061
|
+
"args": {},
|
|
3062
|
+
"description": "Configure Sanity MCP server for AI editors (Claude Code, Codex CLI, Cursor, Gemini CLI, GitHub Copilot CLI, VS Code)",
|
|
3063
|
+
"examples": [
|
|
3064
|
+
{
|
|
3065
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
3066
|
+
"description": "Configure Sanity MCP server for detected AI editors"
|
|
3067
|
+
}
|
|
3068
|
+
],
|
|
3069
|
+
"flags": {},
|
|
3070
|
+
"hasDynamicHelp": false,
|
|
3071
|
+
"hiddenAliases": [],
|
|
3072
|
+
"id": "mcp:configure",
|
|
3073
|
+
"pluginAlias": "@sanity/cli",
|
|
3074
|
+
"pluginName": "@sanity/cli",
|
|
3075
|
+
"pluginType": "core",
|
|
3076
|
+
"strict": true,
|
|
3077
|
+
"isESM": true,
|
|
3078
|
+
"relativePath": [
|
|
3079
|
+
"dist",
|
|
3080
|
+
"commands",
|
|
3081
|
+
"mcp",
|
|
3082
|
+
"configure.js"
|
|
3083
|
+
]
|
|
3084
|
+
},
|
|
2521
3085
|
"media:create-aspect": {
|
|
2522
3086
|
"aliases": [],
|
|
2523
3087
|
"args": {},
|
|
@@ -2561,6 +3125,16 @@
|
|
|
2561
3125
|
}
|
|
2562
3126
|
],
|
|
2563
3127
|
"flags": {
|
|
3128
|
+
"project-id": {
|
|
3129
|
+
"char": "p",
|
|
3130
|
+
"description": "Project ID to delete media aspect from (overrides CLI configuration)",
|
|
3131
|
+
"helpGroup": "OVERRIDE",
|
|
3132
|
+
"name": "project-id",
|
|
3133
|
+
"hasDynamicHelp": false,
|
|
3134
|
+
"helpValue": "<id>",
|
|
3135
|
+
"multiple": false,
|
|
3136
|
+
"type": "option"
|
|
3137
|
+
},
|
|
2564
3138
|
"media-library-id": {
|
|
2565
3139
|
"description": "The id of the target media library",
|
|
2566
3140
|
"name": "media-library-id",
|
|
@@ -2616,6 +3190,16 @@
|
|
|
2616
3190
|
}
|
|
2617
3191
|
],
|
|
2618
3192
|
"flags": {
|
|
3193
|
+
"project-id": {
|
|
3194
|
+
"char": "p",
|
|
3195
|
+
"description": "Project ID to deploy media aspect to (overrides CLI configuration)",
|
|
3196
|
+
"helpGroup": "OVERRIDE",
|
|
3197
|
+
"name": "project-id",
|
|
3198
|
+
"hasDynamicHelp": false,
|
|
3199
|
+
"helpValue": "<id>",
|
|
3200
|
+
"multiple": false,
|
|
3201
|
+
"type": "option"
|
|
3202
|
+
},
|
|
2619
3203
|
"all": {
|
|
2620
3204
|
"description": "Deploy all aspects",
|
|
2621
3205
|
"name": "all",
|
|
@@ -2671,6 +3255,16 @@
|
|
|
2671
3255
|
}
|
|
2672
3256
|
],
|
|
2673
3257
|
"flags": {
|
|
3258
|
+
"project-id": {
|
|
3259
|
+
"char": "p",
|
|
3260
|
+
"description": "Project ID to export media from (overrides CLI configuration)",
|
|
3261
|
+
"helpGroup": "OVERRIDE",
|
|
3262
|
+
"name": "project-id",
|
|
3263
|
+
"hasDynamicHelp": false,
|
|
3264
|
+
"helpValue": "<id>",
|
|
3265
|
+
"multiple": false,
|
|
3266
|
+
"type": "option"
|
|
3267
|
+
},
|
|
2674
3268
|
"asset-concurrency": {
|
|
2675
3269
|
"description": "Concurrent number of asset downloads",
|
|
2676
3270
|
"name": "asset-concurrency",
|
|
@@ -2739,6 +3333,16 @@
|
|
|
2739
3333
|
}
|
|
2740
3334
|
],
|
|
2741
3335
|
"flags": {
|
|
3336
|
+
"project-id": {
|
|
3337
|
+
"char": "p",
|
|
3338
|
+
"description": "Project ID to import media to (overrides CLI configuration)",
|
|
3339
|
+
"helpGroup": "OVERRIDE",
|
|
3340
|
+
"name": "project-id",
|
|
3341
|
+
"hasDynamicHelp": false,
|
|
3342
|
+
"helpValue": "<id>",
|
|
3343
|
+
"multiple": false,
|
|
3344
|
+
"type": "option"
|
|
3345
|
+
},
|
|
2742
3346
|
"media-library-id": {
|
|
2743
3347
|
"description": "The id of the target media library",
|
|
2744
3348
|
"name": "media-library-id",
|
|
@@ -2768,32 +3372,6 @@
|
|
|
2768
3372
|
"import.js"
|
|
2769
3373
|
]
|
|
2770
3374
|
},
|
|
2771
|
-
"mcp:configure": {
|
|
2772
|
-
"aliases": [],
|
|
2773
|
-
"args": {},
|
|
2774
|
-
"description": "Configure Sanity MCP server for AI editors (Cursor, VS Code, Claude Code)",
|
|
2775
|
-
"examples": [
|
|
2776
|
-
{
|
|
2777
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
2778
|
-
"description": "Configure Sanity MCP server for detected AI editors"
|
|
2779
|
-
}
|
|
2780
|
-
],
|
|
2781
|
-
"flags": {},
|
|
2782
|
-
"hasDynamicHelp": false,
|
|
2783
|
-
"hiddenAliases": [],
|
|
2784
|
-
"id": "mcp:configure",
|
|
2785
|
-
"pluginAlias": "@sanity/cli",
|
|
2786
|
-
"pluginName": "@sanity/cli",
|
|
2787
|
-
"pluginType": "core",
|
|
2788
|
-
"strict": true,
|
|
2789
|
-
"isESM": true,
|
|
2790
|
-
"relativePath": [
|
|
2791
|
-
"dist",
|
|
2792
|
-
"commands",
|
|
2793
|
-
"mcp",
|
|
2794
|
-
"configure.js"
|
|
2795
|
-
]
|
|
2796
|
-
},
|
|
2797
3375
|
"openapi:get": {
|
|
2798
3376
|
"aliases": [],
|
|
2799
3377
|
"args": {
|
|
@@ -2871,29 +3449,117 @@
|
|
|
2871
3449
|
"command": "<%= config.bin %> <%= command.id %> --json",
|
|
2872
3450
|
"description": "List with JSON output"
|
|
2873
3451
|
},
|
|
2874
|
-
{
|
|
2875
|
-
"command": "<%= config.bin %> <%= command.id %> --web",
|
|
2876
|
-
"description": "Open HTTP Reference in browser"
|
|
2877
|
-
}
|
|
2878
|
-
],
|
|
2879
|
-
"flags": {
|
|
3452
|
+
{
|
|
3453
|
+
"command": "<%= config.bin %> <%= command.id %> --web",
|
|
3454
|
+
"description": "Open HTTP Reference in browser"
|
|
3455
|
+
}
|
|
3456
|
+
],
|
|
3457
|
+
"flags": {
|
|
3458
|
+
"json": {
|
|
3459
|
+
"description": "Output JSON",
|
|
3460
|
+
"name": "json",
|
|
3461
|
+
"allowNo": false,
|
|
3462
|
+
"type": "boolean"
|
|
3463
|
+
},
|
|
3464
|
+
"web": {
|
|
3465
|
+
"char": "w",
|
|
3466
|
+
"description": "Open HTTP Reference in web browser",
|
|
3467
|
+
"name": "web",
|
|
3468
|
+
"allowNo": false,
|
|
3469
|
+
"type": "boolean"
|
|
3470
|
+
}
|
|
3471
|
+
},
|
|
3472
|
+
"hasDynamicHelp": false,
|
|
3473
|
+
"hiddenAliases": [],
|
|
3474
|
+
"id": "openapi:list",
|
|
3475
|
+
"pluginAlias": "@sanity/cli",
|
|
3476
|
+
"pluginName": "@sanity/cli",
|
|
3477
|
+
"pluginType": "core",
|
|
3478
|
+
"strict": true,
|
|
3479
|
+
"isESM": true,
|
|
3480
|
+
"relativePath": [
|
|
3481
|
+
"dist",
|
|
3482
|
+
"commands",
|
|
3483
|
+
"openapi",
|
|
3484
|
+
"list.js"
|
|
3485
|
+
]
|
|
3486
|
+
},
|
|
3487
|
+
"projects:create": {
|
|
3488
|
+
"aliases": [],
|
|
3489
|
+
"args": {
|
|
3490
|
+
"projectName": {
|
|
3491
|
+
"description": "Name of the project to create",
|
|
3492
|
+
"name": "projectName",
|
|
3493
|
+
"required": false
|
|
3494
|
+
}
|
|
3495
|
+
},
|
|
3496
|
+
"description": "Create a new Sanity project",
|
|
3497
|
+
"examples": [
|
|
3498
|
+
{
|
|
3499
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
3500
|
+
"description": "Interactively create a project"
|
|
3501
|
+
},
|
|
3502
|
+
{
|
|
3503
|
+
"command": "<%= config.bin %> <%= command.id %> \"My New Project\"",
|
|
3504
|
+
"description": "Create a project named \"My New Project\""
|
|
3505
|
+
},
|
|
3506
|
+
{
|
|
3507
|
+
"command": "<%= config.bin %> <%= command.id %> \"My Project\" --organization=my-org",
|
|
3508
|
+
"description": "Create a project in a specific organization"
|
|
3509
|
+
},
|
|
3510
|
+
{
|
|
3511
|
+
"command": "<%= config.bin %> <%= command.id %> \"My Project\" --dataset=staging --dataset-visibility=private",
|
|
3512
|
+
"description": "Create a project with a private dataset named \"staging\""
|
|
3513
|
+
},
|
|
3514
|
+
{
|
|
3515
|
+
"command": "<%= config.bin %> <%= command.id %> \"CI Project\" --yes --json",
|
|
3516
|
+
"description": "Create a project non-interactively with JSON output"
|
|
3517
|
+
}
|
|
3518
|
+
],
|
|
3519
|
+
"flags": {
|
|
3520
|
+
"dataset": {
|
|
3521
|
+
"description": "Create a dataset. Prompts for visibility unless specified or --yes used",
|
|
3522
|
+
"name": "dataset",
|
|
3523
|
+
"hasDynamicHelp": false,
|
|
3524
|
+
"multiple": false,
|
|
3525
|
+
"type": "option"
|
|
3526
|
+
},
|
|
3527
|
+
"dataset-visibility": {
|
|
3528
|
+
"description": "Dataset visibility: public or private",
|
|
3529
|
+
"name": "dataset-visibility",
|
|
3530
|
+
"hasDynamicHelp": false,
|
|
3531
|
+
"multiple": false,
|
|
3532
|
+
"options": [
|
|
3533
|
+
"private",
|
|
3534
|
+
"public"
|
|
3535
|
+
],
|
|
3536
|
+
"type": "option"
|
|
3537
|
+
},
|
|
2880
3538
|
"json": {
|
|
2881
|
-
"description": "Output JSON",
|
|
3539
|
+
"description": "Output in JSON format",
|
|
2882
3540
|
"name": "json",
|
|
2883
3541
|
"allowNo": false,
|
|
2884
3542
|
"type": "boolean"
|
|
2885
3543
|
},
|
|
2886
|
-
"
|
|
2887
|
-
"
|
|
2888
|
-
"
|
|
2889
|
-
"
|
|
3544
|
+
"organization": {
|
|
3545
|
+
"description": "Organization to create the project in",
|
|
3546
|
+
"name": "organization",
|
|
3547
|
+
"hasDynamicHelp": false,
|
|
3548
|
+
"helpValue": "<slug|id>",
|
|
3549
|
+
"multiple": false,
|
|
3550
|
+
"type": "option"
|
|
3551
|
+
},
|
|
3552
|
+
"yes": {
|
|
3553
|
+
"char": "y",
|
|
3554
|
+
"description": "Skip prompts and use defaults (project: \"My Sanity Project\", dataset: production, visibility: public)",
|
|
3555
|
+
"name": "yes",
|
|
2890
3556
|
"allowNo": false,
|
|
2891
3557
|
"type": "boolean"
|
|
2892
3558
|
}
|
|
2893
3559
|
},
|
|
2894
3560
|
"hasDynamicHelp": false,
|
|
2895
3561
|
"hiddenAliases": [],
|
|
2896
|
-
"id": "
|
|
3562
|
+
"id": "projects:create",
|
|
2897
3563
|
"pluginAlias": "@sanity/cli",
|
|
2898
3564
|
"pluginName": "@sanity/cli",
|
|
2899
3565
|
"pluginType": "core",
|
|
@@ -2902,8 +3568,8 @@
|
|
|
2902
3568
|
"relativePath": [
|
|
2903
3569
|
"dist",
|
|
2904
3570
|
"commands",
|
|
2905
|
-
"
|
|
2906
|
-
"
|
|
3571
|
+
"projects",
|
|
3572
|
+
"create.js"
|
|
2907
3573
|
]
|
|
2908
3574
|
},
|
|
2909
3575
|
"projects:list": {
|
|
@@ -2974,22 +3640,31 @@
|
|
|
2974
3640
|
{
|
|
2975
3641
|
"command": "<%= config.bin %> <%= command.id %> --ids sanity.workspace.schema.workspaceName,prefix.sanity.workspace.schema.otherWorkspace",
|
|
2976
3642
|
"description": "Delete multiple schemas"
|
|
2977
|
-
},
|
|
2978
|
-
{
|
|
2979
|
-
"command": "<%= config.bin %> <%= command.id %> --no-extract-manifest --ids sanity.workspace.schema.workspaceName",
|
|
2980
|
-
"description": "Delete using a pre-existing manifest file (config changes in sanity.config will not be picked up)"
|
|
2981
3643
|
}
|
|
2982
3644
|
],
|
|
2983
3645
|
"flags": {
|
|
3646
|
+
"project-id": {
|
|
3647
|
+
"char": "p",
|
|
3648
|
+
"description": "Project ID to delete schema from (overrides CLI configuration)",
|
|
3649
|
+
"helpGroup": "OVERRIDE",
|
|
3650
|
+
"name": "project-id",
|
|
3651
|
+
"hasDynamicHelp": false,
|
|
3652
|
+
"helpValue": "<id>",
|
|
3653
|
+
"multiple": false,
|
|
3654
|
+
"type": "option"
|
|
3655
|
+
},
|
|
2984
3656
|
"dataset": {
|
|
3657
|
+
"char": "d",
|
|
2985
3658
|
"description": "Delete schemas from a specific dataset",
|
|
2986
3659
|
"name": "dataset",
|
|
2987
3660
|
"hasDynamicHelp": false,
|
|
3661
|
+
"helpValue": "<name>",
|
|
2988
3662
|
"multiple": false,
|
|
2989
3663
|
"type": "option"
|
|
2990
3664
|
},
|
|
2991
3665
|
"extract-manifest": {
|
|
2992
3666
|
"description": "Generate manifest file (disable with --no-extract-manifest)",
|
|
3667
|
+
"hidden": true,
|
|
2993
3668
|
"name": "extract-manifest",
|
|
2994
3669
|
"allowNo": true,
|
|
2995
3670
|
"type": "boolean"
|
|
@@ -3004,6 +3679,7 @@
|
|
|
3004
3679
|
},
|
|
3005
3680
|
"manifest-dir": {
|
|
3006
3681
|
"description": "Directory containing manifest file",
|
|
3682
|
+
"hidden": true,
|
|
3007
3683
|
"name": "manifest-dir",
|
|
3008
3684
|
"default": "./dist/static",
|
|
3009
3685
|
"hasDynamicHelp": false,
|
|
@@ -3044,10 +3720,6 @@
|
|
|
3044
3720
|
{
|
|
3045
3721
|
"command": "<%= config.bin %> <%= command.id %> --workspace default",
|
|
3046
3722
|
"description": "Deploy the schema for only the workspace \"default\""
|
|
3047
|
-
},
|
|
3048
|
-
{
|
|
3049
|
-
"command": "<%= config.bin %> <%= command.id %> --no-extract-manifest",
|
|
3050
|
-
"description": "Runs using a pre-existing manifest file. Config changes in sanity.config will not be picked up in this case."
|
|
3051
3723
|
}
|
|
3052
3724
|
],
|
|
3053
3725
|
"flags": {
|
|
@@ -3112,6 +3784,14 @@
|
|
|
3112
3784
|
{
|
|
3113
3785
|
"command": "<%= config.bin %> <%= command.id %> --workspace default",
|
|
3114
3786
|
"description": "Extracts schema types in a Sanity project with more than one workspace"
|
|
3787
|
+
},
|
|
3788
|
+
{
|
|
3789
|
+
"command": "<%= config.bin %> <%= command.id %> --watch",
|
|
3790
|
+
"description": "Watch mode - re-extract on changes"
|
|
3791
|
+
},
|
|
3792
|
+
{
|
|
3793
|
+
"command": "<%= config.bin %> <%= command.id %> --watch --watch-patterns \"lib/**/*.ts\"",
|
|
3794
|
+
"description": "Watch with custom glob patterns"
|
|
3115
3795
|
}
|
|
3116
3796
|
],
|
|
3117
3797
|
"flags": {
|
|
@@ -3137,6 +3817,20 @@
|
|
|
3137
3817
|
"multiple": false,
|
|
3138
3818
|
"type": "option"
|
|
3139
3819
|
},
|
|
3820
|
+
"watch": {
|
|
3821
|
+
"description": "Enable watch mode to re-extract schema on file changes",
|
|
3822
|
+
"name": "watch",
|
|
3823
|
+
"allowNo": false,
|
|
3824
|
+
"type": "boolean"
|
|
3825
|
+
},
|
|
3826
|
+
"watch-patterns": {
|
|
3827
|
+
"description": "Additional glob pattern(s) to watch (can be specified multiple times)",
|
|
3828
|
+
"name": "watch-patterns",
|
|
3829
|
+
"hasDynamicHelp": false,
|
|
3830
|
+
"helpValue": "<glob>",
|
|
3831
|
+
"multiple": true,
|
|
3832
|
+
"type": "option"
|
|
3833
|
+
},
|
|
3140
3834
|
"workspace": {
|
|
3141
3835
|
"description": "The name of the workspace to generate a schema for",
|
|
3142
3836
|
"name": "workspace",
|
|
@@ -3181,15 +3875,12 @@
|
|
|
3181
3875
|
{
|
|
3182
3876
|
"command": "<%= config.bin %> <%= command.id %> --json --id _.schemas.workspaceName",
|
|
3183
3877
|
"description": "Get singular stored schema as pretty-printed json-object"
|
|
3184
|
-
},
|
|
3185
|
-
{
|
|
3186
|
-
"command": "<%= config.bin %> <%= command.id %> --no-extract-manifest",
|
|
3187
|
-
"description": "Runs using a pre-existing manifest file. Config changes in sanity.config will not be picked up in this case."
|
|
3188
3878
|
}
|
|
3189
3879
|
],
|
|
3190
3880
|
"flags": {
|
|
3191
3881
|
"extract-manifest": {
|
|
3192
3882
|
"description": "Disables manifest generation - the command will fail if no manifest exists",
|
|
3883
|
+
"hidden": true,
|
|
3193
3884
|
"name": "extract-manifest",
|
|
3194
3885
|
"allowNo": true,
|
|
3195
3886
|
"type": "boolean"
|
|
@@ -3210,6 +3901,7 @@
|
|
|
3210
3901
|
},
|
|
3211
3902
|
"manifest-dir": {
|
|
3212
3903
|
"description": "Directory containing manifest file",
|
|
3904
|
+
"hidden": true,
|
|
3213
3905
|
"name": "manifest-dir",
|
|
3214
3906
|
"default": "./dist/static",
|
|
3215
3907
|
"hasDynamicHelp": false,
|
|
@@ -3416,9 +4108,23 @@
|
|
|
3416
4108
|
{
|
|
3417
4109
|
"command": "<%= config.bin %> <%= command.id %> \"API Token\" --json",
|
|
3418
4110
|
"description": "Output token information as JSON"
|
|
4111
|
+
},
|
|
4112
|
+
{
|
|
4113
|
+
"command": "<%= config.bin %> <%= command.id %> \"My Token\" --project-id abc123 --role=editor",
|
|
4114
|
+
"description": "Create a token for a specific project"
|
|
3419
4115
|
}
|
|
3420
4116
|
],
|
|
3421
4117
|
"flags": {
|
|
4118
|
+
"project-id": {
|
|
4119
|
+
"char": "p",
|
|
4120
|
+
"description": "Project ID to add token to (overrides CLI configuration)",
|
|
4121
|
+
"helpGroup": "OVERRIDE",
|
|
4122
|
+
"name": "project-id",
|
|
4123
|
+
"hasDynamicHelp": false,
|
|
4124
|
+
"helpValue": "<id>",
|
|
4125
|
+
"multiple": false,
|
|
4126
|
+
"type": "option"
|
|
4127
|
+
},
|
|
3422
4128
|
"json": {
|
|
3423
4129
|
"description": "Output as JSON",
|
|
3424
4130
|
"name": "json",
|
|
@@ -3478,9 +4184,23 @@
|
|
|
3478
4184
|
{
|
|
3479
4185
|
"command": "<%= config.bin %> <%= command.id %> silJ2lFmK6dONB --yes",
|
|
3480
4186
|
"description": "Delete a specific token without confirmation prompt"
|
|
4187
|
+
},
|
|
4188
|
+
{
|
|
4189
|
+
"command": "<%= config.bin %> <%= command.id %> --project-id abc123",
|
|
4190
|
+
"description": "Delete a token from a specific project"
|
|
3481
4191
|
}
|
|
3482
4192
|
],
|
|
3483
4193
|
"flags": {
|
|
4194
|
+
"project-id": {
|
|
4195
|
+
"char": "p",
|
|
4196
|
+
"description": "Project ID to delete token from (overrides CLI configuration)",
|
|
4197
|
+
"helpGroup": "OVERRIDE",
|
|
4198
|
+
"name": "project-id",
|
|
4199
|
+
"hasDynamicHelp": false,
|
|
4200
|
+
"helpValue": "<id>",
|
|
4201
|
+
"multiple": false,
|
|
4202
|
+
"type": "option"
|
|
4203
|
+
},
|
|
3484
4204
|
"yes": {
|
|
3485
4205
|
"aliases": [
|
|
3486
4206
|
"y"
|
|
@@ -3519,9 +4239,23 @@
|
|
|
3519
4239
|
{
|
|
3520
4240
|
"command": "<%= config.bin %> <%= command.id %> --json",
|
|
3521
4241
|
"description": "List tokens in JSON format"
|
|
4242
|
+
},
|
|
4243
|
+
{
|
|
4244
|
+
"command": "<%= config.bin %> <%= command.id %> --project-id abc123",
|
|
4245
|
+
"description": "List tokens for a specific project"
|
|
3522
4246
|
}
|
|
3523
4247
|
],
|
|
3524
4248
|
"flags": {
|
|
4249
|
+
"project-id": {
|
|
4250
|
+
"char": "p",
|
|
4251
|
+
"description": "Project ID to list tokens for (overrides CLI configuration)",
|
|
4252
|
+
"helpGroup": "OVERRIDE",
|
|
4253
|
+
"name": "project-id",
|
|
4254
|
+
"hasDynamicHelp": false,
|
|
4255
|
+
"helpValue": "<id>",
|
|
4256
|
+
"multiple": false,
|
|
4257
|
+
"type": "option"
|
|
4258
|
+
},
|
|
3525
4259
|
"json": {
|
|
3526
4260
|
"description": "Output tokens in JSON format",
|
|
3527
4261
|
"name": "json",
|
|
@@ -3566,9 +4300,23 @@
|
|
|
3566
4300
|
{
|
|
3567
4301
|
"command": "<%= config.bin %> <%= command.id %> pippi@sanity.io --role administrator",
|
|
3568
4302
|
"description": "Send a new user invite to the email \"pippi@sanity.io\", as administrator"
|
|
4303
|
+
},
|
|
4304
|
+
{
|
|
4305
|
+
"command": "<%= config.bin %> <%= command.id %> pippi@sanity.io --project-id abc123",
|
|
4306
|
+
"description": "Invite a user to a specific project"
|
|
3569
4307
|
}
|
|
3570
4308
|
],
|
|
3571
4309
|
"flags": {
|
|
4310
|
+
"project-id": {
|
|
4311
|
+
"char": "p",
|
|
4312
|
+
"description": "Project ID to invite user to (overrides CLI configuration)",
|
|
4313
|
+
"helpGroup": "OVERRIDE",
|
|
4314
|
+
"name": "project-id",
|
|
4315
|
+
"hasDynamicHelp": false,
|
|
4316
|
+
"helpValue": "<id>",
|
|
4317
|
+
"multiple": false,
|
|
4318
|
+
"type": "option"
|
|
4319
|
+
},
|
|
3572
4320
|
"role": {
|
|
3573
4321
|
"description": "Role to invite the user as",
|
|
3574
4322
|
"name": "role",
|
|
@@ -3609,9 +4357,23 @@
|
|
|
3609
4357
|
{
|
|
3610
4358
|
"command": "<%= config.bin %> <%= command.id %> --sort role",
|
|
3611
4359
|
"description": "List all users, sorted by role"
|
|
4360
|
+
},
|
|
4361
|
+
{
|
|
4362
|
+
"command": "<%= config.bin %> <%= command.id %> --project-id abc123",
|
|
4363
|
+
"description": "List users for a specific project"
|
|
3612
4364
|
}
|
|
3613
4365
|
],
|
|
3614
4366
|
"flags": {
|
|
4367
|
+
"project-id": {
|
|
4368
|
+
"char": "p",
|
|
4369
|
+
"description": "Project ID to list users for (overrides CLI configuration)",
|
|
4370
|
+
"helpGroup": "OVERRIDE",
|
|
4371
|
+
"name": "project-id",
|
|
4372
|
+
"hasDynamicHelp": false,
|
|
4373
|
+
"helpValue": "<id>",
|
|
4374
|
+
"multiple": false,
|
|
4375
|
+
"type": "option"
|
|
4376
|
+
},
|
|
3615
4377
|
"invitations": {
|
|
3616
4378
|
"description": "Includes or excludes pending invitations",
|
|
3617
4379
|
"name": "invitations",
|
|
@@ -3682,6 +4444,10 @@
|
|
|
3682
4444
|
},
|
|
3683
4445
|
"description": "Create a dataset alias within your project",
|
|
3684
4446
|
"examples": [
|
|
4447
|
+
{
|
|
4448
|
+
"command": "<%= config.bin %> <%= command.id %> --project-id abc123 conference conf-2025",
|
|
4449
|
+
"description": "Create alias in a specific project"
|
|
4450
|
+
},
|
|
3685
4451
|
{
|
|
3686
4452
|
"command": "<%= config.bin %> <%= command.id %>",
|
|
3687
4453
|
"description": "Create an alias with interactive prompts"
|
|
@@ -3699,7 +4465,18 @@
|
|
|
3699
4465
|
"description": "Create alias with explicit ~ prefix"
|
|
3700
4466
|
}
|
|
3701
4467
|
],
|
|
3702
|
-
"flags": {
|
|
4468
|
+
"flags": {
|
|
4469
|
+
"project-id": {
|
|
4470
|
+
"char": "p",
|
|
4471
|
+
"description": "Project ID to create dataset alias in (overrides CLI configuration)",
|
|
4472
|
+
"helpGroup": "OVERRIDE",
|
|
4473
|
+
"name": "project-id",
|
|
4474
|
+
"hasDynamicHelp": false,
|
|
4475
|
+
"helpValue": "<id>",
|
|
4476
|
+
"multiple": false,
|
|
4477
|
+
"type": "option"
|
|
4478
|
+
}
|
|
4479
|
+
},
|
|
3703
4480
|
"hasDynamicHelp": false,
|
|
3704
4481
|
"hiddenAliases": [],
|
|
3705
4482
|
"id": "dataset:alias:create",
|
|
@@ -3741,6 +4518,16 @@
|
|
|
3741
4518
|
}
|
|
3742
4519
|
],
|
|
3743
4520
|
"flags": {
|
|
4521
|
+
"project-id": {
|
|
4522
|
+
"char": "p",
|
|
4523
|
+
"description": "Project ID to delete dataset alias from (overrides CLI configuration)",
|
|
4524
|
+
"helpGroup": "OVERRIDE",
|
|
4525
|
+
"name": "project-id",
|
|
4526
|
+
"hasDynamicHelp": false,
|
|
4527
|
+
"helpValue": "<id>",
|
|
4528
|
+
"multiple": false,
|
|
4529
|
+
"type": "option"
|
|
4530
|
+
},
|
|
3744
4531
|
"force": {
|
|
3745
4532
|
"description": "Skip confirmation prompt and delete immediately",
|
|
3746
4533
|
"name": "force",
|
|
@@ -3803,6 +4590,16 @@
|
|
|
3803
4590
|
}
|
|
3804
4591
|
],
|
|
3805
4592
|
"flags": {
|
|
4593
|
+
"project-id": {
|
|
4594
|
+
"char": "p",
|
|
4595
|
+
"description": "Project ID to link dataset alias in (overrides CLI configuration)",
|
|
4596
|
+
"helpGroup": "OVERRIDE",
|
|
4597
|
+
"name": "project-id",
|
|
4598
|
+
"hasDynamicHelp": false,
|
|
4599
|
+
"helpValue": "<id>",
|
|
4600
|
+
"multiple": false,
|
|
4601
|
+
"type": "option"
|
|
4602
|
+
},
|
|
3806
4603
|
"force": {
|
|
3807
4604
|
"description": "Skip confirmation prompt when relinking existing alias",
|
|
3808
4605
|
"name": "force",
|
|
@@ -3856,6 +4653,16 @@
|
|
|
3856
4653
|
}
|
|
3857
4654
|
],
|
|
3858
4655
|
"flags": {
|
|
4656
|
+
"project-id": {
|
|
4657
|
+
"char": "p",
|
|
4658
|
+
"description": "Project ID to unlink dataset alias in (overrides CLI configuration)",
|
|
4659
|
+
"helpGroup": "OVERRIDE",
|
|
4660
|
+
"name": "project-id",
|
|
4661
|
+
"hasDynamicHelp": false,
|
|
4662
|
+
"helpValue": "<id>",
|
|
4663
|
+
"multiple": false,
|
|
4664
|
+
"type": "option"
|
|
4665
|
+
},
|
|
3859
4666
|
"force": {
|
|
3860
4667
|
"description": "Skip confirmation prompt and unlink immediately",
|
|
3861
4668
|
"name": "force",
|
|
@@ -3880,6 +4687,160 @@
|
|
|
3880
4687
|
"unlink.js"
|
|
3881
4688
|
]
|
|
3882
4689
|
},
|
|
4690
|
+
"dataset:embeddings:disable": {
|
|
4691
|
+
"aliases": [],
|
|
4692
|
+
"args": {
|
|
4693
|
+
"dataset": {
|
|
4694
|
+
"description": "Dataset name to disable embeddings for",
|
|
4695
|
+
"name": "dataset",
|
|
4696
|
+
"required": false
|
|
4697
|
+
}
|
|
4698
|
+
},
|
|
4699
|
+
"description": "Disable embeddings for a dataset",
|
|
4700
|
+
"examples": [
|
|
4701
|
+
{
|
|
4702
|
+
"command": "<%= config.bin %> <%= command.id %> production",
|
|
4703
|
+
"description": "Disable embeddings for the production dataset"
|
|
4704
|
+
}
|
|
4705
|
+
],
|
|
4706
|
+
"flags": {
|
|
4707
|
+
"project-id": {
|
|
4708
|
+
"char": "p",
|
|
4709
|
+
"description": "Project ID to disable embeddings for (overrides CLI configuration)",
|
|
4710
|
+
"helpGroup": "OVERRIDE",
|
|
4711
|
+
"name": "project-id",
|
|
4712
|
+
"hasDynamicHelp": false,
|
|
4713
|
+
"helpValue": "<id>",
|
|
4714
|
+
"multiple": false,
|
|
4715
|
+
"type": "option"
|
|
4716
|
+
}
|
|
4717
|
+
},
|
|
4718
|
+
"hasDynamicHelp": false,
|
|
4719
|
+
"hiddenAliases": [],
|
|
4720
|
+
"id": "dataset:embeddings:disable",
|
|
4721
|
+
"pluginAlias": "@sanity/cli",
|
|
4722
|
+
"pluginName": "@sanity/cli",
|
|
4723
|
+
"pluginType": "core",
|
|
4724
|
+
"strict": true,
|
|
4725
|
+
"isESM": true,
|
|
4726
|
+
"relativePath": [
|
|
4727
|
+
"dist",
|
|
4728
|
+
"commands",
|
|
4729
|
+
"dataset",
|
|
4730
|
+
"embeddings",
|
|
4731
|
+
"disable.js"
|
|
4732
|
+
]
|
|
4733
|
+
},
|
|
4734
|
+
"dataset:embeddings:enable": {
|
|
4735
|
+
"aliases": [],
|
|
4736
|
+
"args": {
|
|
4737
|
+
"dataset": {
|
|
4738
|
+
"description": "Dataset name to enable embeddings for",
|
|
4739
|
+
"name": "dataset",
|
|
4740
|
+
"required": false
|
|
4741
|
+
}
|
|
4742
|
+
},
|
|
4743
|
+
"description": "Enable embeddings for a dataset",
|
|
4744
|
+
"examples": [
|
|
4745
|
+
{
|
|
4746
|
+
"command": "<%= config.bin %> <%= command.id %> production",
|
|
4747
|
+
"description": "Enable embeddings for the production dataset"
|
|
4748
|
+
},
|
|
4749
|
+
{
|
|
4750
|
+
"command": "<%= config.bin %> <%= command.id %> production --projection \"{ title, body }\"",
|
|
4751
|
+
"description": "Enable embeddings with a specific projection"
|
|
4752
|
+
},
|
|
4753
|
+
{
|
|
4754
|
+
"command": "<%= config.bin %> <%= command.id %> production --wait",
|
|
4755
|
+
"description": "Enable embeddings and wait for processing to complete"
|
|
4756
|
+
}
|
|
4757
|
+
],
|
|
4758
|
+
"flags": {
|
|
4759
|
+
"project-id": {
|
|
4760
|
+
"char": "p",
|
|
4761
|
+
"description": "Project ID to enable embeddings for (overrides CLI configuration)",
|
|
4762
|
+
"helpGroup": "OVERRIDE",
|
|
4763
|
+
"name": "project-id",
|
|
4764
|
+
"hasDynamicHelp": false,
|
|
4765
|
+
"helpValue": "<id>",
|
|
4766
|
+
"multiple": false,
|
|
4767
|
+
"type": "option"
|
|
4768
|
+
},
|
|
4769
|
+
"projection": {
|
|
4770
|
+
"description": "GROQ projection defining which fields to embed (e.g. \"{ title, body }\")",
|
|
4771
|
+
"name": "projection",
|
|
4772
|
+
"required": false,
|
|
4773
|
+
"hasDynamicHelp": false,
|
|
4774
|
+
"multiple": false,
|
|
4775
|
+
"type": "option"
|
|
4776
|
+
},
|
|
4777
|
+
"wait": {
|
|
4778
|
+
"description": "Wait for embeddings processing to complete before returning",
|
|
4779
|
+
"name": "wait",
|
|
4780
|
+
"allowNo": false,
|
|
4781
|
+
"type": "boolean"
|
|
4782
|
+
}
|
|
4783
|
+
},
|
|
4784
|
+
"hasDynamicHelp": false,
|
|
4785
|
+
"hiddenAliases": [],
|
|
4786
|
+
"id": "dataset:embeddings:enable",
|
|
4787
|
+
"pluginAlias": "@sanity/cli",
|
|
4788
|
+
"pluginName": "@sanity/cli",
|
|
4789
|
+
"pluginType": "core",
|
|
4790
|
+
"strict": true,
|
|
4791
|
+
"isESM": true,
|
|
4792
|
+
"relativePath": [
|
|
4793
|
+
"dist",
|
|
4794
|
+
"commands",
|
|
4795
|
+
"dataset",
|
|
4796
|
+
"embeddings",
|
|
4797
|
+
"enable.js"
|
|
4798
|
+
]
|
|
4799
|
+
},
|
|
4800
|
+
"dataset:embeddings:status": {
|
|
4801
|
+
"aliases": [],
|
|
4802
|
+
"args": {
|
|
4803
|
+
"dataset": {
|
|
4804
|
+
"description": "The name of the dataset to check embeddings status for",
|
|
4805
|
+
"name": "dataset",
|
|
4806
|
+
"required": false
|
|
4807
|
+
}
|
|
4808
|
+
},
|
|
4809
|
+
"description": "Show embeddings settings and status for a dataset",
|
|
4810
|
+
"examples": [
|
|
4811
|
+
{
|
|
4812
|
+
"command": "<%= config.bin %> <%= command.id %> production",
|
|
4813
|
+
"description": "Show embeddings status for the production dataset"
|
|
4814
|
+
}
|
|
4815
|
+
],
|
|
4816
|
+
"flags": {
|
|
4817
|
+
"project-id": {
|
|
4818
|
+
"char": "p",
|
|
4819
|
+
"description": "Project ID to check embeddings status for (overrides CLI configuration)",
|
|
4820
|
+
"helpGroup": "OVERRIDE",
|
|
4821
|
+
"name": "project-id",
|
|
4822
|
+
"hasDynamicHelp": false,
|
|
4823
|
+
"helpValue": "<id>",
|
|
4824
|
+
"multiple": false,
|
|
4825
|
+
"type": "option"
|
|
4826
|
+
}
|
|
4827
|
+
},
|
|
4828
|
+
"hasDynamicHelp": false,
|
|
4829
|
+
"hiddenAliases": [],
|
|
4830
|
+
"id": "dataset:embeddings:status",
|
|
4831
|
+
"pluginAlias": "@sanity/cli",
|
|
4832
|
+
"pluginName": "@sanity/cli",
|
|
4833
|
+
"pluginType": "core",
|
|
4834
|
+
"strict": true,
|
|
4835
|
+
"isESM": true,
|
|
4836
|
+
"relativePath": [
|
|
4837
|
+
"dist",
|
|
4838
|
+
"commands",
|
|
4839
|
+
"dataset",
|
|
4840
|
+
"embeddings",
|
|
4841
|
+
"status.js"
|
|
4842
|
+
]
|
|
4843
|
+
},
|
|
3883
4844
|
"dataset:visibility:get": {
|
|
3884
4845
|
"aliases": [],
|
|
3885
4846
|
"args": {
|
|
@@ -3896,7 +4857,18 @@
|
|
|
3896
4857
|
"description": "Check the visibility of a dataset"
|
|
3897
4858
|
}
|
|
3898
4859
|
],
|
|
3899
|
-
"flags": {
|
|
4860
|
+
"flags": {
|
|
4861
|
+
"project-id": {
|
|
4862
|
+
"char": "p",
|
|
4863
|
+
"description": "Project ID to get dataset visibility for (overrides CLI configuration)",
|
|
4864
|
+
"helpGroup": "OVERRIDE",
|
|
4865
|
+
"name": "project-id",
|
|
4866
|
+
"hasDynamicHelp": false,
|
|
4867
|
+
"helpValue": "<id>",
|
|
4868
|
+
"multiple": false,
|
|
4869
|
+
"type": "option"
|
|
4870
|
+
}
|
|
4871
|
+
},
|
|
3900
4872
|
"hasDynamicHelp": false,
|
|
3901
4873
|
"hiddenAliases": [],
|
|
3902
4874
|
"id": "dataset:visibility:get",
|
|
@@ -3942,7 +4914,18 @@
|
|
|
3942
4914
|
"description": "Make a dataset public"
|
|
3943
4915
|
}
|
|
3944
4916
|
],
|
|
3945
|
-
"flags": {
|
|
4917
|
+
"flags": {
|
|
4918
|
+
"project-id": {
|
|
4919
|
+
"char": "p",
|
|
4920
|
+
"description": "Project ID to set dataset visibility for (overrides CLI configuration)",
|
|
4921
|
+
"helpGroup": "OVERRIDE",
|
|
4922
|
+
"name": "project-id",
|
|
4923
|
+
"hasDynamicHelp": false,
|
|
4924
|
+
"helpValue": "<id>",
|
|
4925
|
+
"multiple": false,
|
|
4926
|
+
"type": "option"
|
|
4927
|
+
}
|
|
4928
|
+
},
|
|
3946
4929
|
"hasDynamicHelp": false,
|
|
3947
4930
|
"hiddenAliases": [],
|
|
3948
4931
|
"id": "dataset:visibility:set",
|
|
@@ -3960,5 +4943,5 @@
|
|
|
3960
4943
|
]
|
|
3961
4944
|
}
|
|
3962
4945
|
},
|
|
3963
|
-
"version": "6.0.0
|
|
4946
|
+
"version": "6.0.0"
|
|
3964
4947
|
}
|