Module: @socketdb/plugin-validate
Functions
pluginValidate
▸ pluginValidate<DataType
>(schema
): ServerPlugin
<DataType
>
Type parameters
Name | Type |
---|---|
DataType | extends Json |
Parameters
Name | Type |
---|---|
schema | JSONSchemaType <DataType > |
Returns
ServerPlugin
<DataType
>
Defined in
packages/plugin-validate/src/lib/plugin-validate.ts:11
Type Aliases
JSONSchemaType
Ƭ JSONSchemaType<T
>: StrictNullChecksWrapper
<"JSONSchemaType"
, UncheckedJSONSchemaType
<T
, false
>>
Type parameters
Name |
---|
T |
Defined in
node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/types/json-schema.d.ts:100