import { Schema } from '../core/schema'; export type PrivateSchema = Schema & { clone: Schema['clone']; compileSchema: Schema['compileSchema']; }; export type Context = { isAsync?: boolean; }; export type CompileSchemaConfig = { context: Context; /** * Serves to make sure the first schema object doesn't need to use the previous path */ isFirstSchema?: boolean; srcCode?: Function; };