| 45 | export type FastifySerializerCompiler<T> = (routeSchema: FastifyRouteSchemaDef<T>) => (data: any) => string |
| 46 | |
| 47 | export interface FastifySchemaControllerOptions { |
| 48 | bucket?: (parentSchemas?: unknown) => { |
| 49 | add(schema: unknown): FastifyInstance; |
| 50 | getSchema(schemaId: string): unknown; |
| 51 | getSchemas(): Record<string, unknown>; |
| 52 | }; |
| 53 | compilersFactory?: { |
| 54 | buildValidator?: ValidatorFactory; |
| 55 | buildSerializer?: SerializerFactory; |
| 56 | }; |
| 57 | } |
| 58 | |
| 59 | export type SchemaErrorDataVar = 'body' | 'headers' | 'params' | 'querystring' |
| 60 |
nothing calls this directly
no outgoing calls
no test coverage detected