alinea
Version:
[](https://npmjs.org/package/alinea) [](https://packagephobia.com/result?p=alinea)
16 lines (15 loc) • 411 B
TypeScript
import { Connection } from './Connection.js';
import { EntryPhase } from './EntryRow.js';
import { Realm } from './pages/Realm.js';
export interface PreviewUpdate {
entryId: string;
phase: EntryPhase;
update: string;
}
export interface ResolveDefaults {
realm?: Realm;
preview?: PreviewUpdate;
}
export interface Resolver {
resolve(params: Connection.ResolveParams): Promise<unknown>;
}