Initial commit - Event Planner application
This commit is contained in:
14
node_modules/kysely/dist/esm/plugin/with-schema/with-schema-plugin.js
generated
vendored
Normal file
14
node_modules/kysely/dist/esm/plugin/with-schema/with-schema-plugin.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
/// <reference types="./with-schema-plugin.d.ts" />
|
||||
import { WithSchemaTransformer } from './with-schema-transformer.js';
|
||||
export class WithSchemaPlugin {
|
||||
#transformer;
|
||||
constructor(schema) {
|
||||
this.#transformer = new WithSchemaTransformer(schema);
|
||||
}
|
||||
transformQuery(args) {
|
||||
return this.#transformer.transformNode(args.node, args.queryId);
|
||||
}
|
||||
async transformResult(args) {
|
||||
return args.result;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user