mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2026-01-05 12:25:23 +01:00
composer and npm
This commit is contained in:
23
conf/site/node_modules/schema-utils/declarations/validate.d.ts
generated
vendored
23
conf/site/node_modules/schema-utils/declarations/validate.d.ts
generated
vendored
@@ -3,18 +3,22 @@ export type JSONSchema4 = import('json-schema').JSONSchema4;
|
||||
export type JSONSchema6 = import('json-schema').JSONSchema6;
|
||||
export type JSONSchema7 = import('json-schema').JSONSchema7;
|
||||
export type ErrorObject = Ajv.ErrorObject;
|
||||
export type Extend = {
|
||||
formatMinimum?: number | undefined;
|
||||
formatMaximum?: number | undefined;
|
||||
formatExclusiveMinimum?: boolean | undefined;
|
||||
formatExclusiveMaximum?: boolean | undefined;
|
||||
};
|
||||
export type Schema =
|
||||
| import('json-schema').JSONSchema4
|
||||
| import('json-schema').JSONSchema6
|
||||
| import('json-schema').JSONSchema7;
|
||||
| (import('json-schema').JSONSchema4 & Extend)
|
||||
| (import('json-schema').JSONSchema6 & Extend)
|
||||
| (import('json-schema').JSONSchema7 & Extend);
|
||||
export type SchemaUtilErrorObject = Ajv.ErrorObject & {
|
||||
children?: Ajv.ErrorObject[] | undefined;
|
||||
};
|
||||
export type PostFormatter = (
|
||||
formattedError: string,
|
||||
error: Ajv.ErrorObject & {
|
||||
children?: Ajv.ErrorObject[] | undefined;
|
||||
}
|
||||
error: SchemaUtilErrorObject
|
||||
) => string;
|
||||
export type ValidationErrorConfiguration = {
|
||||
name?: string | undefined;
|
||||
@@ -28,11 +32,8 @@ export type ValidationErrorConfiguration = {
|
||||
* @returns {void}
|
||||
*/
|
||||
declare function validate(
|
||||
schema:
|
||||
| import('json-schema').JSONSchema4
|
||||
| import('json-schema').JSONSchema6
|
||||
| import('json-schema').JSONSchema7,
|
||||
options: object | object[],
|
||||
schema: Schema,
|
||||
options: Array<object> | object,
|
||||
configuration?: ValidationErrorConfiguration | undefined
|
||||
): void;
|
||||
declare namespace validate {
|
||||
|
||||
Reference in New Issue
Block a user