UNPKG

@sanity/cli

Version:

Sanity CLI tool for managing Sanity installations, managing plugins, schemas and datasets

24 lines (20 loc) 619 B
import {TypegenWorkerChannel as TypegenWorkerChannel_2} from '@sanity/codegen' import {WorkerChannel} from '@sanity/worker-channels' export declare interface TypegenGenerateTypesWorkerData { workDir: string schemaPath: string searchPath: string | string[] overloadClientMethods?: boolean } export declare type TypegenWorkerChannel = WorkerChannel.Definition< { loadedSchema: WorkerChannel.Event typegenStarted: WorkerChannel.Event<{ expectedFileCount: number }> typegenComplete: WorkerChannel.Event<{ code: string }> } & TypegenWorkerChannel_2['__definition'] > export {}