mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-15 20:17:22 +00:00
18 lines
435 B
TypeScript
18 lines
435 B
TypeScript
import { Connection, type FieldSpec, type SchemaResponse } from "./Connection";
|
|
|
|
export class DummyConnection extends Connection {
|
|
override name: string = "dummy";
|
|
|
|
protected override readonly supported = {
|
|
batching: true,
|
|
};
|
|
|
|
constructor() {
|
|
super(undefined as any);
|
|
}
|
|
|
|
override getFieldSchema(spec: FieldSpec, strict?: boolean): SchemaResponse {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
}
|