Sha256: 62a05210201c793349ec28254f06a01814c5b4f5591f6d1921941286db78ea2a

Contents?: true

Size: 1.33 KB

Versions: 6

Compression:

Stored size: 1.33 KB

Contents

export type JSONSchema4 = import('json-schema').JSONSchema4;
export type JSONSchema6 = import('json-schema').JSONSchema6;
export type JSONSchema7 = import('json-schema').JSONSchema7;
export type ErrorObject = import('ajv').ErrorObject;
export type Extend = {
  formatMinimum?: number | undefined;
  formatMaximum?: number | undefined;
  formatExclusiveMinimum?: boolean | undefined;
  formatExclusiveMaximum?: boolean | undefined;
};
export type Schema =
  | (import('json-schema').JSONSchema4 & Extend)
  | (import('json-schema').JSONSchema6 & Extend)
  | (import('json-schema').JSONSchema7 & Extend);
export type SchemaUtilErrorObject = import('ajv').ErrorObject & {
  children?: import('ajv').ErrorObject[] | undefined;
};
export type PostFormatter = (
  formattedError: string,
  error: SchemaUtilErrorObject
) => string;
export type ValidationErrorConfiguration = {
  name?: string | undefined;
  baseDataPath?: string | undefined;
  postFormatter?: PostFormatter | undefined;
};
/**
 * @param {Schema} schema
 * @param {Array<object> | object} options
 * @param {ValidationErrorConfiguration=} configuration
 * @returns {void}
 */
export function validate(
  schema: Schema,
  options: Array<object> | object,
  configuration?: ValidationErrorConfiguration | undefined
): void;
import ValidationError from './ValidationError';
export { ValidationError };

Version data entries

6 entries across 3 versions & 2 rubygems

Version Path
groonga-client-model-6.0.0 test/apps/rails6.1.3/node_modules/file-loader/node_modules/schema-utils/declarations/validate.d.ts
groonga-client-model-6.0.0 test/apps/rails6.1.3/node_modules/terser-webpack-plugin/node_modules/schema-utils/declarations/validate.d.ts
ruby2js-4.0.4 lib/tasks/testrails/node_modules/file-loader/node_modules/schema-utils/declarations/validate.d.ts
ruby2js-4.0.4 lib/tasks/testrails/node_modules/terser-webpack-plugin/node_modules/schema-utils/declarations/validate.d.ts
ruby2js-4.0.3 lib/tasks/testrails/node_modules/file-loader/node_modules/schema-utils/declarations/validate.d.ts
ruby2js-4.0.3 lib/tasks/testrails/node_modules/terser-webpack-plugin/node_modules/schema-utils/declarations/validate.d.ts