InferSchemaArguments
@daydreamsai/core / InferSchemaArguments
Type Alias: InferSchemaArguments<Schema>
InferSchemaArguments<
Schema> =SchemaextendsZodRawShape?z.infer<ZodObject<Schema>> :Schemaextendsz.ZodTypeAny?z.infer<Schema> :never
Defined in: packages/core/src/types.ts:975
Infers the argument type from a schema definition
Type Parameters
Schema
Schema = undefined
The schema to infer arguments from