@constructive-io/graphql-query 3.14.7 → 3.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Runtime sub-export for generated ORM code.
3
+ *
4
+ * Generated ORM clients need runtime dependencies at execution time.
5
+ * This module re-exports two of the three so generated code can consolidate imports:
6
+ * - @0no-co/graphql.web — parseType, print
7
+ * - @constructive-io/graphql-types — GraphQLAdapter, GraphQLError, QueryResult
8
+ *
9
+ * gql-ast is intentionally NOT re-exported here because the templates
10
+ * use `import * as t from 'gql-ast'` — mixing it into this namespace
11
+ * would pollute `t` with unrelated symbols like parseType and print.
12
+ *
13
+ * Usage in generated templates:
14
+ * import { parseType, print } from '@constructive-io/graphql-query/runtime';
15
+ * import * as t from 'gql-ast';
16
+ * import type { GraphQLAdapter } from '@constructive-io/graphql-query/runtime';
17
+ */
18
+ // From @0no-co/graphql.web — GraphQL parsing/printing
19
+ export { parseType, print } from '@0no-co/graphql.web';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@constructive-io/graphql-query",
3
- "version": "3.14.7",
3
+ "version": "3.15.0",
4
4
  "description": "Constructive GraphQL Query",
5
5
  "author": "Constructive <developers@constructive.io>",
6
6
  "main": "index.js",
@@ -29,12 +29,14 @@
29
29
  "test:watch": "jest --watch"
30
30
  },
31
31
  "dependencies": {
32
+ "@0no-co/graphql.web": "^1.1.2",
33
+ "@constructive-io/graphql-types": "^3.5.1",
32
34
  "ajv": "^8.18.0",
33
35
  "gql-ast": "^3.5.0",
34
36
  "grafast": "1.0.0",
35
37
  "graphile-build-pg": "5.0.0",
36
38
  "graphile-config": "1.0.0",
37
- "graphile-settings": "^4.21.7",
39
+ "graphile-settings": "^4.22.0",
38
40
  "graphql": "16.13.0",
39
41
  "inflection": "^3.0.0",
40
42
  "inflekt": "^0.7.1",
@@ -51,5 +53,5 @@
51
53
  "devDependencies": {
52
54
  "makage": "^0.3.0"
53
55
  },
54
- "gitHead": "ad2d49ede1f962293e13d68843831897f267915d"
56
+ "gitHead": "434a578648cb04d3ed25e79a75c654f71573292f"
55
57
  }
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Runtime sub-export for generated ORM code.
3
+ *
4
+ * Generated ORM clients need runtime dependencies at execution time.
5
+ * This module re-exports two of the three so generated code can consolidate imports:
6
+ * - @0no-co/graphql.web — parseType, print
7
+ * - @constructive-io/graphql-types — GraphQLAdapter, GraphQLError, QueryResult
8
+ *
9
+ * gql-ast is intentionally NOT re-exported here because the templates
10
+ * use `import * as t from 'gql-ast'` — mixing it into this namespace
11
+ * would pollute `t` with unrelated symbols like parseType and print.
12
+ *
13
+ * Usage in generated templates:
14
+ * import { parseType, print } from '@constructive-io/graphql-query/runtime';
15
+ * import * as t from 'gql-ast';
16
+ * import type { GraphQLAdapter } from '@constructive-io/graphql-query/runtime';
17
+ */
18
+ export { parseType, print } from '@0no-co/graphql.web';
19
+ export type { GraphQLAdapter, GraphQLError, QueryResult } from '@constructive-io/graphql-types';
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ /**
3
+ * Runtime sub-export for generated ORM code.
4
+ *
5
+ * Generated ORM clients need runtime dependencies at execution time.
6
+ * This module re-exports two of the three so generated code can consolidate imports:
7
+ * - @0no-co/graphql.web — parseType, print
8
+ * - @constructive-io/graphql-types — GraphQLAdapter, GraphQLError, QueryResult
9
+ *
10
+ * gql-ast is intentionally NOT re-exported here because the templates
11
+ * use `import * as t from 'gql-ast'` — mixing it into this namespace
12
+ * would pollute `t` with unrelated symbols like parseType and print.
13
+ *
14
+ * Usage in generated templates:
15
+ * import { parseType, print } from '@constructive-io/graphql-query/runtime';
16
+ * import * as t from 'gql-ast';
17
+ * import type { GraphQLAdapter } from '@constructive-io/graphql-query/runtime';
18
+ */
19
+ Object.defineProperty(exports, "__esModule", { value: true });
20
+ exports.parseType = void 0;
21
+ // From @0no-co/graphql.web — GraphQL parsing/printing
22
+ var graphql_web_1 = require("@0no-co/graphql.web");
23
+ Object.defineProperty(exports, "parseType", { enumerable: true, get: function () { return graphql_web_1.parseType; } });
24
+ Object.defineProperty(exports, "print", { enumerable: true, get: function () { return graphql_web_1.print; } });