graphile-settings 4.3.4 → 4.5.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/index.d.ts
CHANGED
|
@@ -6,5 +6,6 @@
|
|
|
6
6
|
*/
|
|
7
7
|
export { MinimalPreset, InflektPlugin, InflektPreset, CustomInflectorPlugin, CustomInflectorPreset, ConflictDetectorPlugin, ConflictDetectorPreset, InflectorLoggerPlugin, InflectorLoggerPreset, EnableAllFilterColumnsPlugin, EnableAllFilterColumnsPreset, ManyToManyOptInPlugin, ManyToManyOptInPreset, createUniqueLookupPlugin, PrimaryKeyOnlyPlugin, NoUniqueLookupPlugin, PrimaryKeyOnlyPreset, NoUniqueLookupPreset, MetaSchemaPlugin, MetaSchemaPreset, PgTypeMappingsPlugin, PgTypeMappingsPreset, PublicKeySignature, _cachedTablesMeta, _pgTypeToGqlType, _buildFieldMeta, } from 'graphile-misc-plugins';
|
|
8
8
|
export type { UniqueLookupOptions, TypeMapping, PublicKeyChallengeConfig } from 'graphile-misc-plugins';
|
|
9
|
+
export { VectorCodecPlugin, VectorCodecPreset } from 'graphile-pgvector-plugin';
|
|
9
10
|
export { PgSearchPlugin, PgSearchPreset, createPgSearchPlugin, TsvectorCodecPlugin, TsvectorCodecPreset, } from 'graphile-search-plugin';
|
|
10
11
|
export type { PgSearchPluginOptions } from 'graphile-search-plugin';
|
package/esm/plugins/index.js
CHANGED
|
@@ -6,5 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
// Re-export all plugins from graphile-misc-plugins
|
|
8
8
|
export { MinimalPreset, InflektPlugin, InflektPreset, CustomInflectorPlugin, CustomInflectorPreset, ConflictDetectorPlugin, ConflictDetectorPreset, InflectorLoggerPlugin, InflectorLoggerPreset, EnableAllFilterColumnsPlugin, EnableAllFilterColumnsPreset, ManyToManyOptInPlugin, ManyToManyOptInPreset, createUniqueLookupPlugin, PrimaryKeyOnlyPlugin, NoUniqueLookupPlugin, PrimaryKeyOnlyPreset, NoUniqueLookupPreset, MetaSchemaPlugin, MetaSchemaPreset, PgTypeMappingsPlugin, PgTypeMappingsPreset, PublicKeySignature, _cachedTablesMeta, _pgTypeToGqlType, _buildFieldMeta, } from 'graphile-misc-plugins';
|
|
9
|
+
// pgvector — Vector scalar + codec
|
|
10
|
+
export { VectorCodecPlugin, VectorCodecPreset } from 'graphile-pgvector-plugin';
|
|
9
11
|
// Search plugin (stays in graphile-search-plugin, re-exported here for convenience)
|
|
10
12
|
export { PgSearchPlugin, PgSearchPreset, createPgSearchPlugin, TsvectorCodecPlugin, TsvectorCodecPreset, } from 'graphile-search-plugin';
|
|
@@ -2,6 +2,7 @@ import { PostGraphileConnectionFilterPreset } from 'postgraphile-plugin-connecti
|
|
|
2
2
|
import { MinimalPreset, InflektPreset, ConflictDetectorPreset, InflectorLoggerPreset, NoUniqueLookupPreset, EnableAllFilterColumnsPreset, ManyToManyOptInPreset, MetaSchemaPreset, PgTypeMappingsPreset, } from 'graphile-misc-plugins';
|
|
3
3
|
import { PgSearchPreset } from 'graphile-search-plugin';
|
|
4
4
|
import { GraphilePostgisPreset } from 'graphile-postgis';
|
|
5
|
+
import { VectorCodecPreset } from 'graphile-pgvector-plugin';
|
|
5
6
|
import { PostgisConnectionFilterPreset } from 'graphile-plugin-connection-filter-postgis';
|
|
6
7
|
import { UploadPreset } from 'graphile-upload-plugin';
|
|
7
8
|
import { SqlExpressionValidatorPreset } from 'graphile-sql-expression-validator';
|
|
@@ -60,6 +61,7 @@ export const ConstructivePreset = {
|
|
|
60
61
|
MetaSchemaPreset,
|
|
61
62
|
PgSearchPreset({ pgSearchPrefix: 'fullText' }),
|
|
62
63
|
GraphilePostgisPreset,
|
|
64
|
+
VectorCodecPreset,
|
|
63
65
|
PostgisConnectionFilterPreset,
|
|
64
66
|
UploadPreset({
|
|
65
67
|
uploadFieldDefinitions: constructiveUploadFieldDefinitions,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "graphile-settings",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.5.0",
|
|
4
4
|
"author": "Constructive <developers@constructive.io>",
|
|
5
5
|
"description": "graphile settings",
|
|
6
6
|
"main": "index.js",
|
|
@@ -46,9 +46,10 @@
|
|
|
46
46
|
"graphile-build-pg": "5.0.0-rc.5",
|
|
47
47
|
"graphile-config": "1.0.0-rc.5",
|
|
48
48
|
"graphile-misc-plugins": "^1.1.1",
|
|
49
|
-
"graphile-plugin
|
|
50
|
-
"graphile-postgis": "^2.
|
|
51
|
-
"graphile-
|
|
49
|
+
"graphile-pgvector-plugin": "^1.2.0",
|
|
50
|
+
"graphile-plugin-connection-filter-postgis": "^2.3.0",
|
|
51
|
+
"graphile-postgis": "^2.3.0",
|
|
52
|
+
"graphile-search-plugin": "^3.3.0",
|
|
52
53
|
"graphile-sql-expression-validator": "^2.2.1",
|
|
53
54
|
"graphile-upload-plugin": "^2.2.1",
|
|
54
55
|
"graphql": "^16.9.0",
|
|
@@ -77,5 +78,5 @@
|
|
|
77
78
|
"constructive",
|
|
78
79
|
"graphql"
|
|
79
80
|
],
|
|
80
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "1e0c774144be23a4c57a15ffe54ea0ec9fbd7c55"
|
|
81
82
|
}
|
package/plugins/index.d.ts
CHANGED
|
@@ -6,5 +6,6 @@
|
|
|
6
6
|
*/
|
|
7
7
|
export { MinimalPreset, InflektPlugin, InflektPreset, CustomInflectorPlugin, CustomInflectorPreset, ConflictDetectorPlugin, ConflictDetectorPreset, InflectorLoggerPlugin, InflectorLoggerPreset, EnableAllFilterColumnsPlugin, EnableAllFilterColumnsPreset, ManyToManyOptInPlugin, ManyToManyOptInPreset, createUniqueLookupPlugin, PrimaryKeyOnlyPlugin, NoUniqueLookupPlugin, PrimaryKeyOnlyPreset, NoUniqueLookupPreset, MetaSchemaPlugin, MetaSchemaPreset, PgTypeMappingsPlugin, PgTypeMappingsPreset, PublicKeySignature, _cachedTablesMeta, _pgTypeToGqlType, _buildFieldMeta, } from 'graphile-misc-plugins';
|
|
8
8
|
export type { UniqueLookupOptions, TypeMapping, PublicKeyChallengeConfig } from 'graphile-misc-plugins';
|
|
9
|
+
export { VectorCodecPlugin, VectorCodecPreset } from 'graphile-pgvector-plugin';
|
|
9
10
|
export { PgSearchPlugin, PgSearchPreset, createPgSearchPlugin, TsvectorCodecPlugin, TsvectorCodecPreset, } from 'graphile-search-plugin';
|
|
10
11
|
export type { PgSearchPluginOptions } from 'graphile-search-plugin';
|
package/plugins/index.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Plugin implementations have been moved to graphile-misc-plugins.
|
|
7
7
|
*/
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.TsvectorCodecPreset = exports.TsvectorCodecPlugin = exports.createPgSearchPlugin = exports.PgSearchPreset = exports.PgSearchPlugin = exports._buildFieldMeta = exports._pgTypeToGqlType = exports._cachedTablesMeta = exports.PublicKeySignature = exports.PgTypeMappingsPreset = exports.PgTypeMappingsPlugin = exports.MetaSchemaPreset = exports.MetaSchemaPlugin = exports.NoUniqueLookupPreset = exports.PrimaryKeyOnlyPreset = exports.NoUniqueLookupPlugin = exports.PrimaryKeyOnlyPlugin = exports.createUniqueLookupPlugin = exports.ManyToManyOptInPreset = exports.ManyToManyOptInPlugin = exports.EnableAllFilterColumnsPreset = exports.EnableAllFilterColumnsPlugin = exports.InflectorLoggerPreset = exports.InflectorLoggerPlugin = exports.ConflictDetectorPreset = exports.ConflictDetectorPlugin = exports.CustomInflectorPreset = exports.CustomInflectorPlugin = exports.InflektPreset = exports.InflektPlugin = exports.MinimalPreset = void 0;
|
|
9
|
+
exports.TsvectorCodecPreset = exports.TsvectorCodecPlugin = exports.createPgSearchPlugin = exports.PgSearchPreset = exports.PgSearchPlugin = exports.VectorCodecPreset = exports.VectorCodecPlugin = exports._buildFieldMeta = exports._pgTypeToGqlType = exports._cachedTablesMeta = exports.PublicKeySignature = exports.PgTypeMappingsPreset = exports.PgTypeMappingsPlugin = exports.MetaSchemaPreset = exports.MetaSchemaPlugin = exports.NoUniqueLookupPreset = exports.PrimaryKeyOnlyPreset = exports.NoUniqueLookupPlugin = exports.PrimaryKeyOnlyPlugin = exports.createUniqueLookupPlugin = exports.ManyToManyOptInPreset = exports.ManyToManyOptInPlugin = exports.EnableAllFilterColumnsPreset = exports.EnableAllFilterColumnsPlugin = exports.InflectorLoggerPreset = exports.InflectorLoggerPlugin = exports.ConflictDetectorPreset = exports.ConflictDetectorPlugin = exports.CustomInflectorPreset = exports.CustomInflectorPlugin = exports.InflektPreset = exports.InflektPlugin = exports.MinimalPreset = void 0;
|
|
10
10
|
// Re-export all plugins from graphile-misc-plugins
|
|
11
11
|
var graphile_misc_plugins_1 = require("graphile-misc-plugins");
|
|
12
12
|
Object.defineProperty(exports, "MinimalPreset", { enumerable: true, get: function () { return graphile_misc_plugins_1.MinimalPreset; } });
|
|
@@ -35,6 +35,10 @@ Object.defineProperty(exports, "PublicKeySignature", { enumerable: true, get: fu
|
|
|
35
35
|
Object.defineProperty(exports, "_cachedTablesMeta", { enumerable: true, get: function () { return graphile_misc_plugins_1._cachedTablesMeta; } });
|
|
36
36
|
Object.defineProperty(exports, "_pgTypeToGqlType", { enumerable: true, get: function () { return graphile_misc_plugins_1._pgTypeToGqlType; } });
|
|
37
37
|
Object.defineProperty(exports, "_buildFieldMeta", { enumerable: true, get: function () { return graphile_misc_plugins_1._buildFieldMeta; } });
|
|
38
|
+
// pgvector — Vector scalar + codec
|
|
39
|
+
var graphile_pgvector_plugin_1 = require("graphile-pgvector-plugin");
|
|
40
|
+
Object.defineProperty(exports, "VectorCodecPlugin", { enumerable: true, get: function () { return graphile_pgvector_plugin_1.VectorCodecPlugin; } });
|
|
41
|
+
Object.defineProperty(exports, "VectorCodecPreset", { enumerable: true, get: function () { return graphile_pgvector_plugin_1.VectorCodecPreset; } });
|
|
38
42
|
// Search plugin (stays in graphile-search-plugin, re-exported here for convenience)
|
|
39
43
|
var graphile_search_plugin_1 = require("graphile-search-plugin");
|
|
40
44
|
Object.defineProperty(exports, "PgSearchPlugin", { enumerable: true, get: function () { return graphile_search_plugin_1.PgSearchPlugin; } });
|
|
@@ -5,6 +5,7 @@ const postgraphile_plugin_connection_filter_1 = require("postgraphile-plugin-con
|
|
|
5
5
|
const graphile_misc_plugins_1 = require("graphile-misc-plugins");
|
|
6
6
|
const graphile_search_plugin_1 = require("graphile-search-plugin");
|
|
7
7
|
const graphile_postgis_1 = require("graphile-postgis");
|
|
8
|
+
const graphile_pgvector_plugin_1 = require("graphile-pgvector-plugin");
|
|
8
9
|
const graphile_plugin_connection_filter_postgis_1 = require("graphile-plugin-connection-filter-postgis");
|
|
9
10
|
const graphile_upload_plugin_1 = require("graphile-upload-plugin");
|
|
10
11
|
const graphile_sql_expression_validator_1 = require("graphile-sql-expression-validator");
|
|
@@ -63,6 +64,7 @@ exports.ConstructivePreset = {
|
|
|
63
64
|
graphile_misc_plugins_1.MetaSchemaPreset,
|
|
64
65
|
(0, graphile_search_plugin_1.PgSearchPreset)({ pgSearchPrefix: 'fullText' }),
|
|
65
66
|
graphile_postgis_1.GraphilePostgisPreset,
|
|
67
|
+
graphile_pgvector_plugin_1.VectorCodecPreset,
|
|
66
68
|
graphile_plugin_connection_filter_postgis_1.PostgisConnectionFilterPreset,
|
|
67
69
|
(0, graphile_upload_plugin_1.UploadPreset)({
|
|
68
70
|
uploadFieldDefinitions: upload_resolver_1.constructiveUploadFieldDefinitions,
|