default
default: () => Record<string, any>
options
options: {
default?: Record<string, any> | () => Record<string, any>;
required: boolean;
}
q$exists
q$exists: (value: unknown, query: unknown, data?: unknown) => boolean
Type declaration
- (value: unknown, query: unknown, data?: unknown): boolean
Parameters
- value: unknown
- query: unknown
Optional
data: unknown
Returns boolean
q$max
q$max: (value: unknown, query: unknown, data?: unknown) => boolean
Type declaration
- (value: unknown, query: unknown, data?: unknown): boolean
Parameters
- value: unknown
- query: unknown
Optional
data: unknown
Returns boolean
q$min
q$min: (value: unknown, query: unknown, data?: unknown) => boolean
Type declaration
- (value: unknown, query: unknown, data?: unknown): boolean
Parameters
- value: unknown
- query: unknown
Optional
data: unknown
Returns boolean
Object schema type.