preserves/implementations/javascript/packages/schema/src/reflection.ts

11 lines
255 B
TypeScript

import type { Value } from '@preserves/core';
export type Imports = { [modulePath: string]: any }; // TODO: better than any
export interface SchemaDefinition {
schema: Value,
imports: Imports,
definitionName: symbol,
variant?: symbol,
}