mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2025-12-31 10:07:21 +01:00
composer and npm
This commit is contained in:
65
conf/site/node_modules/schema-utils/declarations/ValidationError.d.ts
generated
vendored
65
conf/site/node_modules/schema-utils/declarations/ValidationError.d.ts
generated
vendored
@@ -2,9 +2,9 @@ export default ValidationError;
|
||||
export type JSONSchema6 = import('json-schema').JSONSchema6;
|
||||
export type JSONSchema7 = import('json-schema').JSONSchema7;
|
||||
export type Schema =
|
||||
| import('json-schema').JSONSchema4
|
||||
| import('json-schema').JSONSchema6
|
||||
| import('json-schema').JSONSchema7;
|
||||
| (import('json-schema').JSONSchema4 & import('./validate').Extend)
|
||||
| (import('json-schema').JSONSchema6 & import('./validate').Extend)
|
||||
| (import('json-schema').JSONSchema7 & import('./validate').Extend);
|
||||
export type ValidationErrorConfiguration = {
|
||||
name?: string | undefined;
|
||||
baseDataPath?: string | undefined;
|
||||
@@ -27,14 +27,9 @@ declare class ValidationError extends Error {
|
||||
* @param {ValidationErrorConfiguration} configuration
|
||||
*/
|
||||
constructor(
|
||||
errors: (import('ajv').ErrorObject & {
|
||||
children?: import('ajv').ErrorObject[] | undefined;
|
||||
})[],
|
||||
schema:
|
||||
| import('json-schema').JSONSchema4
|
||||
| import('json-schema').JSONSchema6
|
||||
| import('json-schema').JSONSchema7,
|
||||
configuration?: import('./validate').ValidationErrorConfiguration
|
||||
errors: Array<SchemaUtilErrorObject>,
|
||||
schema: Schema,
|
||||
configuration?: ValidationErrorConfiguration
|
||||
);
|
||||
/** @type {Array<SchemaUtilErrorObject>} */
|
||||
errors: Array<SchemaUtilErrorObject>;
|
||||
@@ -50,66 +45,44 @@ declare class ValidationError extends Error {
|
||||
* @param {string} path
|
||||
* @returns {Schema}
|
||||
*/
|
||||
getSchemaPart(
|
||||
path: string
|
||||
):
|
||||
| import('json-schema').JSONSchema4
|
||||
| import('json-schema').JSONSchema6
|
||||
| import('json-schema').JSONSchema7;
|
||||
getSchemaPart(path: string): Schema;
|
||||
/**
|
||||
* @param {Schema} schema
|
||||
* @param {boolean} logic
|
||||
* @param {Array<Object>} prevSchemas
|
||||
* @returns {string}
|
||||
*/
|
||||
formatSchema(
|
||||
schema:
|
||||
| import('json-schema').JSONSchema4
|
||||
| import('json-schema').JSONSchema6
|
||||
| import('json-schema').JSONSchema7,
|
||||
prevSchemas?: Object[]
|
||||
schema: Schema,
|
||||
logic?: boolean,
|
||||
prevSchemas?: Array<Object>
|
||||
): string;
|
||||
/**
|
||||
* @param {Schema=} schemaPart
|
||||
* @param {(boolean | Array<string>)=} additionalPath
|
||||
* @param {boolean=} needDot
|
||||
* @param {boolean=} logic
|
||||
* @returns {string}
|
||||
*/
|
||||
getSchemaPartText(
|
||||
schemaPart?:
|
||||
| import('json-schema').JSONSchema4
|
||||
| import('json-schema').JSONSchema6
|
||||
| import('json-schema').JSONSchema7
|
||||
| undefined,
|
||||
additionalPath?: boolean | string[] | undefined,
|
||||
needDot?: boolean | undefined
|
||||
schemaPart?: Schema | undefined,
|
||||
additionalPath?: (boolean | Array<string>) | undefined,
|
||||
needDot?: boolean | undefined,
|
||||
logic?: boolean | undefined
|
||||
): string;
|
||||
/**
|
||||
* @param {Schema=} schemaPart
|
||||
* @returns {string}
|
||||
*/
|
||||
getSchemaPartDescription(
|
||||
schemaPart?:
|
||||
| import('json-schema').JSONSchema4
|
||||
| import('json-schema').JSONSchema6
|
||||
| import('json-schema').JSONSchema7
|
||||
| undefined
|
||||
): string;
|
||||
getSchemaPartDescription(schemaPart?: Schema | undefined): string;
|
||||
/**
|
||||
* @param {SchemaUtilErrorObject} error
|
||||
* @returns {string}
|
||||
*/
|
||||
formatValidationError(
|
||||
error: import('ajv').ErrorObject & {
|
||||
children?: import('ajv').ErrorObject[] | undefined;
|
||||
}
|
||||
): string;
|
||||
formatValidationError(error: SchemaUtilErrorObject): string;
|
||||
/**
|
||||
* @param {Array<SchemaUtilErrorObject>} errors
|
||||
* @returns {string}
|
||||
*/
|
||||
formatValidationErrors(
|
||||
errors: (import('ajv').ErrorObject & {
|
||||
children?: import('ajv').ErrorObject[] | undefined;
|
||||
})[]
|
||||
): string;
|
||||
formatValidationErrors(errors: Array<SchemaUtilErrorObject>): string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user