graphile-settings 5.15.1 → 5.17.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.
- package/esm/plugins/meta-schema/encoding-meta-builders.d.ts +2 -0
- package/esm/plugins/meta-schema/encoding-meta-builders.js +84 -0
- package/esm/plugins/meta-schema/graphql-meta-field.js +81 -50
- package/esm/plugins/meta-schema/scope-meta-builders.d.ts +15 -0
- package/esm/plugins/meta-schema/scope-meta-builders.js +40 -0
- package/esm/plugins/meta-schema/table-meta-builder.js +11 -8
- package/esm/plugins/meta-schema/type-mappings.js +2 -0
- package/esm/plugins/meta-schema/types.d.ts +45 -0
- package/esm/plugins/meta-schema.d.ts +3 -0
- package/esm/plugins/meta-schema.js +3 -0
- package/package.json +15 -15
- package/plugins/meta-schema/encoding-meta-builders.d.ts +2 -0
- package/plugins/meta-schema/encoding-meta-builders.js +87 -0
- package/plugins/meta-schema/graphql-meta-field.js +80 -49
- package/plugins/meta-schema/scope-meta-builders.d.ts +15 -0
- package/plugins/meta-schema/scope-meta-builders.js +43 -0
- package/plugins/meta-schema/table-meta-builder.js +7 -4
- package/plugins/meta-schema/type-mappings.js +2 -0
- package/plugins/meta-schema/types.d.ts +45 -0
- package/plugins/meta-schema.d.ts +3 -0
- package/plugins/meta-schema.js +3 -1
package/plugins/meta-schema.d.ts
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import type { GraphileConfig } from 'graphile-config';
|
|
8
8
|
import { cachedTablesMeta } from './meta-schema/cache';
|
|
9
|
+
import { buildScalarEncoding } from './meta-schema/encoding-meta-builders';
|
|
9
10
|
import { MetaSchemaPlugin } from './meta-schema/plugin';
|
|
10
11
|
import { buildFieldMeta, pgTypeToGqlType } from './meta-schema/type-mappings';
|
|
11
12
|
export { MetaSchemaPlugin };
|
|
@@ -16,4 +17,6 @@ export { pgTypeToGqlType as _pgTypeToGqlType };
|
|
|
16
17
|
export { buildFieldMeta as _buildFieldMeta };
|
|
17
18
|
/** @internal Exported for testing only */
|
|
18
19
|
export { cachedTablesMeta as _cachedTablesMeta };
|
|
20
|
+
/** @internal Exported for testing only */
|
|
21
|
+
export { buildScalarEncoding as _buildScalarEncoding };
|
|
19
22
|
export default MetaSchemaPlugin;
|
package/plugins/meta-schema.js
CHANGED
|
@@ -6,9 +6,11 @@
|
|
|
6
6
|
* constraints, indexes, and relations for code generation tooling.
|
|
7
7
|
*/
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports._cachedTablesMeta = exports._buildFieldMeta = exports._pgTypeToGqlType = exports.MetaSchemaPreset = exports.MetaSchemaPlugin = void 0;
|
|
9
|
+
exports._buildScalarEncoding = exports._cachedTablesMeta = exports._buildFieldMeta = exports._pgTypeToGqlType = exports.MetaSchemaPreset = exports.MetaSchemaPlugin = void 0;
|
|
10
10
|
const cache_1 = require("./meta-schema/cache");
|
|
11
11
|
Object.defineProperty(exports, "_cachedTablesMeta", { enumerable: true, get: function () { return cache_1.cachedTablesMeta; } });
|
|
12
|
+
const encoding_meta_builders_1 = require("./meta-schema/encoding-meta-builders");
|
|
13
|
+
Object.defineProperty(exports, "_buildScalarEncoding", { enumerable: true, get: function () { return encoding_meta_builders_1.buildScalarEncoding; } });
|
|
12
14
|
const plugin_1 = require("./meta-schema/plugin");
|
|
13
15
|
Object.defineProperty(exports, "MetaSchemaPlugin", { enumerable: true, get: function () { return plugin_1.MetaSchemaPlugin; } });
|
|
14
16
|
const type_mappings_1 = require("./meta-schema/type-mappings");
|