Preparing search index...
The search index is not available
Astro Node.js Fastify adapter - v0.0.12
Astro Node.js Fastify adapter
<internal>
FastifySchemaControllerOptions
Interface FastifySchemaControllerOptions
interface
FastifySchemaControllerOptions
{
bucket
?:
(
(
parentSchemas
?
)
=>
{
add
(
schema
)
:
FastifyInstance
<
RawServerDefault
,
IncomingMessage
,
ServerResponse
<
IncomingMessage
>
,
FastifyBaseLogger
,
FastifyTypeProviderDefault
>
;
getSchema
(
schemaId
)
:
unknown
;
getSchemas
(
)
:
Record
<
string
,
unknown
>
;
}
)
;
compilersFactory
?:
{
buildSerializer
?:
SerializerFactory
;
buildValidator
?:
ValidatorFactory
;
}
;
}
Index
Properties
bucket?
compilers
Factory?
Properties
Optional
bucket
bucket
?:
(
(
parentSchemas
?
)
=>
{
add
(
schema
)
:
FastifyInstance
<
RawServerDefault
,
IncomingMessage
,
ServerResponse
<
IncomingMessage
>
,
FastifyBaseLogger
,
FastifyTypeProviderDefault
>
;
getSchema
(
schemaId
)
:
unknown
;
getSchemas
(
)
:
Record
<
string
,
unknown
>
;
}
)
Type declaration
(
parentSchemas
?
)
:
{
add
(
schema
)
:
FastifyInstance
<
RawServerDefault
,
IncomingMessage
,
ServerResponse
<
IncomingMessage
>
,
FastifyBaseLogger
,
FastifyTypeProviderDefault
>
;
getSchema
(
schemaId
)
:
unknown
;
getSchemas
(
)
:
Record
<
string
,
unknown
>
;
}
Parameters
Optional
parentSchemas
:
unknown
Returns
{
add
(
schema
)
:
FastifyInstance
<
RawServerDefault
,
IncomingMessage
,
ServerResponse
<
IncomingMessage
>
,
FastifyBaseLogger
,
FastifyTypeProviderDefault
>
;
getSchema
(
schemaId
)
:
unknown
;
getSchemas
(
)
:
Record
<
string
,
unknown
>
;
}
add
:
function
add
(
schema
)
:
FastifyInstance
<
RawServerDefault
,
IncomingMessage
,
ServerResponse
<
IncomingMessage
>
,
FastifyBaseLogger
,
FastifyTypeProviderDefault
>
Parameters
schema
:
unknown
Returns
FastifyInstance
<
RawServerDefault
,
IncomingMessage
,
ServerResponse
<
IncomingMessage
>
,
FastifyBaseLogger
,
FastifyTypeProviderDefault
>
get
Schema
:
function
get
Schema
(
schemaId
)
:
unknown
Parameters
schemaId
:
string
Returns
unknown
get
Schemas
:
function
get
Schemas
(
)
:
Record
<
string
,
unknown
>
Returns
Record
<
string
,
unknown
>
Optional
compilers
Factory
compilers
Factory
?:
{
buildSerializer
?:
SerializerFactory
;
buildValidator
?:
ValidatorFactory
;
}
Type declaration
Optional
build
Serializer
?:
SerializerFactory
Optional
build
Validator
?:
ValidatorFactory
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
bucket
compilers
Factory
Astro Node.js Fastify adapter - v0.0.12
Loading...