Interface IStructuredSchemaRegistry

Where a schemaRef is looked up. A Map<string, ZodType | JsonSchemaObject> is one.

interface IStructuredSchemaRegistry {
    get(ref): undefined | ZodType<unknown, unknown, $ZodTypeInternals<unknown, unknown>> | JsonSchemaObject;
}

Methods

Methods

  • Parameters

    • ref: string

    Returns undefined | ZodType<unknown, unknown, $ZodTypeInternals<unknown, unknown>> | JsonSchemaObject