import type { TelemetryBag } from './sdk.js'; import type { CheckpointRange } from '../checkpoint/types.js'; import type { DBPlan } from '../plans/db.js'; import type { Feature } from '../syncConfigs/db.js'; export interface RunnerOutputError { type: string; payload: Record | unknown[]; /** * @deprecated useless now */ status: number; additional_properties?: Record | undefined; } export interface RunnerOutput { output: unknown; telemetryBag: TelemetryBag; checkpoints?: CheckpointRange | undefined; } export interface RunnerFlags { validateActionInput: boolean; validateActionOutput: boolean; validateSyncRecords: boolean; validateSyncMetadata: boolean; } export interface RoutingContext { plan: DBPlan | null; features: Feature[]; }