2022-01-22 22:25:16 +00:00
|
|
|
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,
|
2022-01-22 22:53:07 +00:00
|
|
|
variant?: symbol,
|
2022-01-22 22:25:16 +00:00
|
|
|
}
|