Files
bknd/app/src/data/connection/DummyConnection.ts
T
2025-06-09 20:27:24 +02:00

17 lines
418 B
TypeScript

import { Connection, type FieldSpec, type SchemaResponse } from "./Connection";
export class DummyConnection extends Connection {
protected override readonly supported = {
batching: true,
counts: true,
};
constructor() {
super(undefined as any);
}
override getFieldSchema(spec: FieldSpec, strict?: boolean): SchemaResponse {
throw new Error("Method not implemented.");
}
}