@constructive-io/graphql-codegen 4.27.3 → 4.27.5

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.
package/core/index.d.ts CHANGED
@@ -9,7 +9,7 @@ export { generate } from './generate';
9
9
  export * from './types';
10
10
  export * from './ast';
11
11
  export * from './custom-ast';
12
- export { MetaObject, QueryBuilder } from './query-builder';
12
+ export { MetaObject, QueryBuilder } from '@constructive-io/graphql-query';
13
13
  export { convertFromMetaSchema, validateMetaObject } from './meta-object';
14
14
  export * from './config';
15
15
  export * from './codegen';
package/core/index.js CHANGED
@@ -29,9 +29,9 @@ __exportStar(require("./types"), exports);
29
29
  __exportStar(require("./ast"), exports);
30
30
  __exportStar(require("./custom-ast"), exports);
31
31
  // Query builder
32
- var query_builder_1 = require("./query-builder");
33
- Object.defineProperty(exports, "MetaObject", { enumerable: true, get: function () { return query_builder_1.MetaObject; } });
34
- Object.defineProperty(exports, "QueryBuilder", { enumerable: true, get: function () { return query_builder_1.QueryBuilder; } });
32
+ var graphql_query_1 = require("@constructive-io/graphql-query");
33
+ Object.defineProperty(exports, "MetaObject", { enumerable: true, get: function () { return graphql_query_1.MetaObject; } });
34
+ Object.defineProperty(exports, "QueryBuilder", { enumerable: true, get: function () { return graphql_query_1.QueryBuilder; } });
35
35
  // Meta object utilities
36
36
  var meta_object_1 = require("./meta-object");
37
37
  Object.defineProperty(exports, "convertFromMetaSchema", { enumerable: true, get: function () { return meta_object_1.convertFromMetaSchema; } });
package/core/types.d.ts CHANGED
@@ -1,9 +1,4 @@
1
1
  /**
2
2
  * Re-export core types from @constructive-io/graphql-query.
3
- *
4
- * This file used to contain the canonical type definitions. They now live in
5
- * the `graphql-query` package and are re-exported here for backward
6
- * compatibility so existing codegen consumers continue to work unchanged.
7
3
  */
8
4
  export { type ASTNode, type NestedProperties, type QueryProperty, type QueryDefinition, type MutationDefinition, type MetaFieldType, type MetaField, type MetaConstraint, type MetaForeignConstraint, type MetaTable, type MetaObject, type GraphQLVariableValue, type GraphQLVariables, type QueryFieldSelection, type QuerySelectionOptions, type QueryBuilderInstance, type ASTFunctionParams, type MutationASTParams, type QueryBuilderOptions, type QueryBuilderResult, type IQueryBuilder, type ObjectArrayItem, isGraphQLVariableValue, isGraphQLVariables, type StrictRecord, } from '@constructive-io/graphql-query';
9
- export { type QueryIntrospectionSchema as IntrospectionSchema } from '@constructive-io/graphql-query';
package/core/types.js CHANGED
@@ -1,10 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
3
  * Re-export core types from @constructive-io/graphql-query.
4
- *
5
- * This file used to contain the canonical type definitions. They now live in
6
- * the `graphql-query` package and are re-exported here for backward
7
- * compatibility so existing codegen consumers continue to work unchanged.
8
4
  */
9
5
  Object.defineProperty(exports, "__esModule", { value: true });
10
6
  exports.isGraphQLVariables = exports.isGraphQLVariableValue = void 0;
@@ -9,7 +9,7 @@ export { generate } from './generate';
9
9
  export * from './types';
10
10
  export * from './ast';
11
11
  export * from './custom-ast';
12
- export { MetaObject, QueryBuilder } from './query-builder';
12
+ export { MetaObject, QueryBuilder } from '@constructive-io/graphql-query';
13
13
  export { convertFromMetaSchema, validateMetaObject } from './meta-object';
14
14
  export * from './config';
15
15
  export * from './codegen';
package/esm/core/index.js CHANGED
@@ -11,7 +11,7 @@ export * from './types';
11
11
  export * from './ast';
12
12
  export * from './custom-ast';
13
13
  // Query builder
14
- export { MetaObject, QueryBuilder } from './query-builder';
14
+ export { MetaObject, QueryBuilder } from '@constructive-io/graphql-query';
15
15
  // Meta object utilities
16
16
  export { convertFromMetaSchema, validateMetaObject } from './meta-object';
17
17
  // Configuration loading and resolution
@@ -1,9 +1,4 @@
1
1
  /**
2
2
  * Re-export core types from @constructive-io/graphql-query.
3
- *
4
- * This file used to contain the canonical type definitions. They now live in
5
- * the `graphql-query` package and are re-exported here for backward
6
- * compatibility so existing codegen consumers continue to work unchanged.
7
3
  */
8
4
  export { type ASTNode, type NestedProperties, type QueryProperty, type QueryDefinition, type MutationDefinition, type MetaFieldType, type MetaField, type MetaConstraint, type MetaForeignConstraint, type MetaTable, type MetaObject, type GraphQLVariableValue, type GraphQLVariables, type QueryFieldSelection, type QuerySelectionOptions, type QueryBuilderInstance, type ASTFunctionParams, type MutationASTParams, type QueryBuilderOptions, type QueryBuilderResult, type IQueryBuilder, type ObjectArrayItem, isGraphQLVariableValue, isGraphQLVariables, type StrictRecord, } from '@constructive-io/graphql-query';
9
- export { type QueryIntrospectionSchema as IntrospectionSchema } from '@constructive-io/graphql-query';
package/esm/core/types.js CHANGED
@@ -1,9 +1,5 @@
1
1
  /**
2
2
  * Re-export core types from @constructive-io/graphql-query.
3
- *
4
- * This file used to contain the canonical type definitions. They now live in
5
- * the `graphql-query` package and are re-exported here for backward
6
- * compatibility so existing codegen consumers continue to work unchanged.
7
3
  */
8
4
  // Re-export everything from the canonical source
9
5
  export { isGraphQLVariableValue, isGraphQLVariables, } from '@constructive-io/graphql-query';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@constructive-io/graphql-codegen",
3
- "version": "4.27.3",
3
+ "version": "4.27.5",
4
4
  "description": "GraphQL SDK generator for Constructive databases with React Query hooks",
5
5
  "keywords": [
6
6
  "graphql",
@@ -56,24 +56,24 @@
56
56
  "@0no-co/graphql.web": "^1.1.2",
57
57
  "@babel/generator": "^7.29.1",
58
58
  "@babel/types": "^7.29.0",
59
- "@constructive-io/graphql-query": "^3.12.9",
60
- "@constructive-io/graphql-types": "^3.4.2",
59
+ "@constructive-io/graphql-query": "^3.12.11",
60
+ "@constructive-io/graphql-types": "^3.4.3",
61
61
  "@inquirerer/utils": "^3.3.5",
62
- "@pgpmjs/core": "^6.10.4",
62
+ "@pgpmjs/core": "^6.10.6",
63
63
  "ajv": "^8.18.0",
64
64
  "deepmerge": "^4.3.1",
65
65
  "find-and-require-package-json": "^0.9.1",
66
66
  "gql-ast": "^3.4.2",
67
- "graphile-schema": "^1.11.5",
67
+ "graphile-schema": "^1.11.7",
68
68
  "graphql": "16.13.0",
69
69
  "inflekt": "^0.7.1",
70
70
  "inquirerer": "^4.7.0",
71
71
  "jiti": "^2.6.1",
72
72
  "oxfmt": "^0.42.0",
73
- "pg-cache": "^3.4.2",
73
+ "pg-cache": "^3.4.3",
74
74
  "pg-env": "^1.8.2",
75
- "pgsql-client": "^3.7.4",
76
- "pgsql-seed": "^2.7.4",
75
+ "pgsql-client": "^3.7.6",
76
+ "pgsql-seed": "^2.7.6",
77
77
  "undici": "^7.24.6"
78
78
  },
79
79
  "peerDependencies": {
@@ -100,5 +100,5 @@
100
100
  "tsx": "^4.21.0",
101
101
  "typescript": "^5.9.3"
102
102
  },
103
- "gitHead": "ac3d503b309d7981fe715116502062afb13500e0"
103
+ "gitHead": "0b7edbd088ca9661503c5038134ee15311eac027"
104
104
  }
@@ -1,7 +0,0 @@
1
- /**
2
- * Re-export QueryBuilder from @constructive-io/graphql-query.
3
- *
4
- * The QueryBuilder class and MetaObject namespace now live in graphql-query.
5
- * Re-exported here for backward compatibility.
6
- */
7
- export { QueryBuilder, MetaObject } from '@constructive-io/graphql-query';
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MetaObject = exports.QueryBuilder = void 0;
4
- /**
5
- * Re-export QueryBuilder from @constructive-io/graphql-query.
6
- *
7
- * The QueryBuilder class and MetaObject namespace now live in graphql-query.
8
- * Re-exported here for backward compatibility.
9
- */
10
- var graphql_query_1 = require("@constructive-io/graphql-query");
11
- Object.defineProperty(exports, "QueryBuilder", { enumerable: true, get: function () { return graphql_query_1.QueryBuilder; } });
12
- Object.defineProperty(exports, "MetaObject", { enumerable: true, get: function () { return graphql_query_1.MetaObject; } });
@@ -1,7 +0,0 @@
1
- /**
2
- * Re-export QueryBuilder from @constructive-io/graphql-query.
3
- *
4
- * The QueryBuilder class and MetaObject namespace now live in graphql-query.
5
- * Re-exported here for backward compatibility.
6
- */
7
- export { QueryBuilder, MetaObject } from '@constructive-io/graphql-query';
@@ -1,7 +0,0 @@
1
- /**
2
- * Re-export QueryBuilder from @constructive-io/graphql-query.
3
- *
4
- * The QueryBuilder class and MetaObject namespace now live in graphql-query.
5
- * Re-exported here for backward compatibility.
6
- */
7
- export { QueryBuilder, MetaObject } from '@constructive-io/graphql-query';