UNPKG

@dossierhq/core

Version:

The core Dossier library used by clients and server alike, used to interact with schema and entities directly, as well as remotely through a client.

5 lines (4 loc) 309 B
import { type ErrorType, type Result } from '../ErrorResult.js'; import type { BaseSchema } from './BaseSchema.js'; import { type SchemaSpecification } from './SchemaSpecification.js'; export declare function schemaValidate(schema: BaseSchema<SchemaSpecification>): Result<void, typeof ErrorType.BadRequest>;