@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.
4 lines (3 loc) • 379 B
TypeScript
import { type ErrorType, type Result } from '../ErrorResult.js';
import { type SchemaSpecificationUpdate, type SchemaSpecificationWithMigrations } from './SchemaSpecification.js';
export declare function schemaUpdate(currentSchemaSpec: SchemaSpecificationWithMigrations, update: SchemaSpecificationUpdate): Result<SchemaSpecificationWithMigrations, typeof ErrorType.BadRequest>;