We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58bf112 commit 6e570eeCopy full SHA for 6e570ee
2 files changed
graphile.config.mjs
@@ -0,0 +1,18 @@
1
+// @ts-check
2
+import "postgraphile";
3
+import "./dist/index.js";
4
+import { makePgService } from "postgraphile/@dataplan/pg/adaptors/pg";
5
+import { makeV4Preset } from "postgraphile/presets/v4";
6
+
7
+/** @type {GraphileConfig.Preset} */
8
+const preset = {
9
+ extends: [makeV4Preset({})],
10
+ pgServices: [
11
+ makePgService({
12
+ connectionString: "postgres:///graphile_test_c",
13
+ schemas: ["p"],
14
+ }),
15
+ ],
16
+};
17
18
+export default preset;
tsconfig.json
@@ -3,7 +3,7 @@
"extends": "@tsconfig/node20/tsconfig.json",
"compilerOptions": {
"noEmit": true,
- "allowJs": false,
+ "allowJs": true,
"target": "ESNext",
"module": "commonjs",
"moduleResolution": "NodeNext",
0 commit comments