graphile-settings 5.5.0 → 5.6.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/README.md CHANGED
@@ -262,6 +262,10 @@ Common issues and solutions for pgpm, PostgreSQL, and testing.
262
262
  * [@pgsql/types](https://www.npmjs.com/package/@pgsql/types): **📝 Type definitions** for PostgreSQL AST nodes in TypeScript.
263
263
  * [@pgsql/utils](https://www.npmjs.com/package/@pgsql/utils): **🛠️ AST utilities** for constructing and transforming PostgreSQL syntax trees.
264
264
 
265
+ ### 📚 Documentation & Skills
266
+
267
+ * [constructive-skills](https://github.com/constructive-io/constructive-skills): **📖 Platform documentation and AI agent skills** — feature catalog, blueprint reference, SDK guides (i18n, billing, limits, events, uploads, security, entities, search, AI), and deployment guides.
268
+
265
269
  ## Credits
266
270
 
267
271
  **🛠 Built by the [Constructive](https://constructive.io) team — creators of modular Postgres tooling for secure, composable backends. If you like our work, contribute on [GitHub](https://github.com/constructive-io).**
@@ -20,6 +20,7 @@ export interface ConstructivePresetOptions {
20
20
  enableLlm?: boolean;
21
21
  enableRealtime?: boolean;
22
22
  enableBulk?: boolean;
23
+ enableI18n?: boolean;
23
24
  }
24
25
  /**
25
26
  * Create a Constructive PostGraphile v5 Preset.
@@ -52,6 +53,7 @@ export interface ConstructivePresetOptions {
52
53
  * - enableAggregates -> PgAggregatesPreset (off by default)
53
54
  * - enableRealtime -> RealtimeSubscriptionsPreset (off by default)
54
55
  * - enableBulk -> BulkMutationPreset (off by default)
56
+ * - enableI18n -> I18nPreset (off by default)
55
57
  * - enableLlm -> (no plugin yet, reserved for future use)
56
58
  *
57
59
  * RELATION FILTERS (when enableConnectionFilter is true):
@@ -1,6 +1,7 @@
1
1
  import { BucketProvisionerPreset } from 'graphile-bucket-provisioner-plugin';
2
2
  import { BulkMutationPreset } from 'graphile-bulk-mutations';
3
3
  import { ConnectionFilterPreset } from 'graphile-connection-filter';
4
+ import { I18nPreset } from 'graphile-i18n';
4
5
  import { createFolderOperatorFactory, GraphileLtreePreset } from 'graphile-ltree';
5
6
  import { PgAggregatesPreset } from 'graphile-pg-aggregates';
6
7
  import { createPostgisOperatorFactory, GraphilePostgisPreset } from 'graphile-postgis';
@@ -23,7 +24,8 @@ const DEFAULTS = {
23
24
  enableLtree: true,
24
25
  enableLlm: false,
25
26
  enableRealtime: false,
26
- enableBulk: false
27
+ enableBulk: false,
28
+ enableI18n: false
27
29
  };
28
30
  /**
29
31
  * Create a Constructive PostGraphile v5 Preset.
@@ -56,6 +58,7 @@ const DEFAULTS = {
56
58
  * - enableAggregates -> PgAggregatesPreset (off by default)
57
59
  * - enableRealtime -> RealtimeSubscriptionsPreset (off by default)
58
60
  * - enableBulk -> BulkMutationPreset (off by default)
61
+ * - enableI18n -> I18nPreset (off by default)
59
62
  * - enableLlm -> (no plugin yet, reserved for future use)
60
63
  *
61
64
  * RELATION FILTERS (when enableConnectionFilter is true):
@@ -133,6 +136,9 @@ export function createConstructivePreset(options) {
133
136
  if (opts.enableBulk) {
134
137
  presets.push(BulkMutationPreset());
135
138
  }
139
+ if (opts.enableI18n) {
140
+ presets.push(I18nPreset());
141
+ }
136
142
  // ----- connectionFilterOperatorFactories -----
137
143
  // Only include operator factories for features that are actually enabled.
138
144
  // graphile-config replaces (not concatenates) arrays when merging presets,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphile-settings",
3
- "version": "5.5.0",
3
+ "version": "5.6.0",
4
4
  "author": "Constructive <developers@constructive.io>",
5
5
  "description": "graphile settings",
6
6
  "main": "index.js",
@@ -52,6 +52,7 @@
52
52
  "graphile-bulk-mutations": "^0.5.0",
53
53
  "graphile-config": "1.0.1",
54
54
  "graphile-connection-filter": "^1.12.0",
55
+ "graphile-i18n": "^1.2.1",
55
56
  "graphile-ltree": "^1.9.0",
56
57
  "graphile-pg-aggregates": "^1.5.0",
57
58
  "graphile-postgis": "^2.18.0",
@@ -87,5 +88,5 @@
87
88
  "constructive",
88
89
  "graphql"
89
90
  ],
90
- "gitHead": "0503916f414a3b8a6f6cbe46e03a59988b2f3cb5"
91
+ "gitHead": "025f9c4283cf3629e8d74f87ee699b375293c81d"
91
92
  }
@@ -20,6 +20,7 @@ export interface ConstructivePresetOptions {
20
20
  enableLlm?: boolean;
21
21
  enableRealtime?: boolean;
22
22
  enableBulk?: boolean;
23
+ enableI18n?: boolean;
23
24
  }
24
25
  /**
25
26
  * Create a Constructive PostGraphile v5 Preset.
@@ -52,6 +53,7 @@ export interface ConstructivePresetOptions {
52
53
  * - enableAggregates -> PgAggregatesPreset (off by default)
53
54
  * - enableRealtime -> RealtimeSubscriptionsPreset (off by default)
54
55
  * - enableBulk -> BulkMutationPreset (off by default)
56
+ * - enableI18n -> I18nPreset (off by default)
55
57
  * - enableLlm -> (no plugin yet, reserved for future use)
56
58
  *
57
59
  * RELATION FILTERS (when enableConnectionFilter is true):
@@ -5,6 +5,7 @@ exports.createConstructivePreset = createConstructivePreset;
5
5
  const graphile_bucket_provisioner_plugin_1 = require("graphile-bucket-provisioner-plugin");
6
6
  const graphile_bulk_mutations_1 = require("graphile-bulk-mutations");
7
7
  const graphile_connection_filter_1 = require("graphile-connection-filter");
8
+ const graphile_i18n_1 = require("graphile-i18n");
8
9
  const graphile_ltree_1 = require("graphile-ltree");
9
10
  const graphile_pg_aggregates_1 = require("graphile-pg-aggregates");
10
11
  const graphile_postgis_1 = require("graphile-postgis");
@@ -27,7 +28,8 @@ const DEFAULTS = {
27
28
  enableLtree: true,
28
29
  enableLlm: false,
29
30
  enableRealtime: false,
30
- enableBulk: false
31
+ enableBulk: false,
32
+ enableI18n: false
31
33
  };
32
34
  /**
33
35
  * Create a Constructive PostGraphile v5 Preset.
@@ -60,6 +62,7 @@ const DEFAULTS = {
60
62
  * - enableAggregates -> PgAggregatesPreset (off by default)
61
63
  * - enableRealtime -> RealtimeSubscriptionsPreset (off by default)
62
64
  * - enableBulk -> BulkMutationPreset (off by default)
65
+ * - enableI18n -> I18nPreset (off by default)
63
66
  * - enableLlm -> (no plugin yet, reserved for future use)
64
67
  *
65
68
  * RELATION FILTERS (when enableConnectionFilter is true):
@@ -137,6 +140,9 @@ function createConstructivePreset(options) {
137
140
  if (opts.enableBulk) {
138
141
  presets.push((0, graphile_bulk_mutations_1.BulkMutationPreset)());
139
142
  }
143
+ if (opts.enableI18n) {
144
+ presets.push((0, graphile_i18n_1.I18nPreset)());
145
+ }
140
146
  // ----- connectionFilterOperatorFactories -----
141
147
  // Only include operator factories for features that are actually enabled.
142
148
  // graphile-config replaces (not concatenates) arrays when merging presets,