sanity
Version:
Sanity is a real-time content infrastructure with a scalable, hosted backend featuring a Graph Oriented Query Language (GROQ), asset pipelines and fast edge caches
17 lines (13 loc) • 367 B
TypeScript
import {extractSchema} from '@sanity/schema/_internal'
/** @internal */
export declare interface ExtractSchemaWorkerData {
workDir: string
workspaceName?: string
enforceRequiredFields?: boolean
format: 'groq-type-nodes' | string
}
/** @internal */
export declare interface ExtractSchemaWorkerResult {
schema: ReturnType<typeof extractSchema>
}
export {}