import { type SchemaWithPartialAsync } from "https://deno.land/x/valibot@v1.0.0-beta.7/src/methods/index.ts";
Schema with partial type.
Type Parameters
TKeys extends ObjectKeys<TSchema> | undefined
definition: TSchema extends ObjectSchemaAsync<infer TEntries, ErrorMessage<ObjectIssue> | undefined> | StrictObjectSchemaAsync<infer TEntries, ErrorMessage<StrictObjectIssue> | undefined> ? Omit<TSchema, > & { readonly entries: PartialEntries<TEntries, TKeys>; readonly ~standard: StandardSchemaProps<InferObjectInput<PartialEntries<TEntries, TKeys>>, InferObjectOutput<PartialEntries<TEntries, TKeys>>>; readonly ~run: (dataset: UnknownDataset, config: Config<BaseIssue<unknown>>) => Promise<OutputDataset<InferObjectOutput<PartialEntries<TEntries, TKeys>>, InferIssue<TSchema>>>; readonly ~types?: { readonly input: InferObjectInput<PartialEntries<TEntries, TKeys>>; readonly output: InferObjectOutput<PartialEntries<TEntries, TKeys>>; readonly issue: InferIssue<TSchema>; } | undefined; } : TSchema extends LooseObjectSchemaAsync<infer TEntries, ErrorMessage<LooseObjectIssue> | undefined> ? Omit<TSchema, > & { readonly entries: PartialEntries<TEntries, TKeys>; readonly ~standard: StandardSchemaProps<InferObjectInput<PartialEntries<TEntries, TKeys>> & { [key: string]: unknown; }, InferObjectOutput<PartialEntries<TEntries, TKeys>> & { [key: string]: unknown; }>; readonly ~run: (dataset: UnknownDataset, config: Config<BaseIssue<unknown>>) => Promise<OutputDataset<InferObjectOutput<PartialEntries<TEntries, TKeys>> & { [key: string]: unknown; }, InferIssue<TSchema>>>; readonly ~types?: { readonly input: InferObjectInput<PartialEntries<TEntries, TKeys>> & { [key: string]: unknown; }; readonly output: InferObjectOutput<PartialEntries<TEntries, TKeys>> & { [key: string]: unknown; }; readonly issue: InferIssue<TSchema>; } | undefined; } : TSchema extends ObjectWithRestSchemaAsync<infer TEntries, infer TRest, ErrorMessage<ObjectWithRestIssue> | undefined> ? Omit<TSchema, > & { readonly entries: PartialEntries<TEntries, TKeys>; readonly ~standard: StandardSchemaProps<InferObjectInput<PartialEntries<TEntries, TKeys>> & { [key: string]: InferInput<TRest>; }, InferObjectOutput<PartialEntries<TEntries, TKeys>> & { [key: string]: InferOutput<TRest>; }>; readonly ~run: (dataset: UnknownDataset, config: Config<BaseIssue<unknown>>) => Promise<OutputDataset<InferObjectOutput<PartialEntries<TEntries, TKeys>> & { [key: string]: InferOutput<TRest>; }, InferIssue<TSchema>>>; readonly ~types?: { readonly input: InferObjectInput<PartialEntries<TEntries, TKeys>> & { [key: string]: InferInput<TRest>; }; readonly output: InferObjectOutput<PartialEntries<TEntries, TKeys>> & { [key: string]: InferOutput<TRest>; }; readonly issue: InferIssue<TSchema>; } | undefined; } : never
| "entries"
| "~standard"
| "~run"
| "~types"
| "entries"
| "~standard"
| "~run"
| "~types"
| "entries"
| "~standard"
| "~run"
| "~types"