graphile-connection-filter 1.5.0 → 1.5.2

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/index.d.ts CHANGED
@@ -48,6 +48,7 @@
48
48
  * }
49
49
  * ```
50
50
  */
51
+ import './augmentations';
51
52
  export { ConnectionFilterPreset } from './preset';
52
53
  export { ConnectionFilterInflectionPlugin, ConnectionFilterTypesPlugin, ConnectionFilterArgPlugin, ConnectionFilterAttributesPlugin, ConnectionFilterOperatorsPlugin, ConnectionFilterCustomOperatorsPlugin, ConnectionFilterLogicalOperatorsPlugin, ConnectionFilterComputedAttributesPlugin, ConnectionFilterForwardRelationsPlugin, ConnectionFilterBackwardRelationsPlugin, makeApplyFromOperatorSpec, } from './plugins';
53
54
  export type { ConnectionFilterOperatorSpec, ConnectionFilterOperatorRegistration, ConnectionFilterOperatorFactory, ConnectionFilterOptions, ConnectionFilterOperatorsDigest, PgConnectionFilterOperatorsScope, } from './types';
package/esm/index.js CHANGED
@@ -48,6 +48,12 @@
48
48
  * }
49
49
  * ```
50
50
  */
51
+ // Load the global type augmentations (inflection methods, build/scope
52
+ // properties) so that downstream satellite plugins which `import
53
+ // 'graphile-connection-filter'` pick up the `filterType`/`filterManyType`/
54
+ // etc. type extensions without having to reach into the package's internal
55
+ // file layout.
56
+ import './augmentations';
51
57
  export { ConnectionFilterPreset } from './preset';
52
58
  // Re-export all plugins for granular use
53
59
  export { ConnectionFilterInflectionPlugin, ConnectionFilterTypesPlugin, ConnectionFilterArgPlugin, ConnectionFilterAttributesPlugin, ConnectionFilterOperatorsPlugin, ConnectionFilterCustomOperatorsPlugin, ConnectionFilterLogicalOperatorsPlugin, ConnectionFilterComputedAttributesPlugin, ConnectionFilterForwardRelationsPlugin, ConnectionFilterBackwardRelationsPlugin, makeApplyFromOperatorSpec, } from './plugins';
package/index.d.ts CHANGED
@@ -48,6 +48,7 @@
48
48
  * }
49
49
  * ```
50
50
  */
51
+ import './augmentations';
51
52
  export { ConnectionFilterPreset } from './preset';
52
53
  export { ConnectionFilterInflectionPlugin, ConnectionFilterTypesPlugin, ConnectionFilterArgPlugin, ConnectionFilterAttributesPlugin, ConnectionFilterOperatorsPlugin, ConnectionFilterCustomOperatorsPlugin, ConnectionFilterLogicalOperatorsPlugin, ConnectionFilterComputedAttributesPlugin, ConnectionFilterForwardRelationsPlugin, ConnectionFilterBackwardRelationsPlugin, makeApplyFromOperatorSpec, } from './plugins';
53
54
  export type { ConnectionFilterOperatorSpec, ConnectionFilterOperatorRegistration, ConnectionFilterOperatorFactory, ConnectionFilterOptions, ConnectionFilterOperatorsDigest, PgConnectionFilterOperatorsScope, } from './types';
package/index.js CHANGED
@@ -51,6 +51,12 @@
51
51
  */
52
52
  Object.defineProperty(exports, "__esModule", { value: true });
53
53
  exports.getComputedAttributeResources = exports.isComputedScalarAttributeResource = exports.getQueryBuilder = exports.makeAssertAllowed = exports.isEmpty = exports.$$filters = exports.makeApplyFromOperatorSpec = exports.ConnectionFilterBackwardRelationsPlugin = exports.ConnectionFilterForwardRelationsPlugin = exports.ConnectionFilterComputedAttributesPlugin = exports.ConnectionFilterLogicalOperatorsPlugin = exports.ConnectionFilterCustomOperatorsPlugin = exports.ConnectionFilterOperatorsPlugin = exports.ConnectionFilterAttributesPlugin = exports.ConnectionFilterArgPlugin = exports.ConnectionFilterTypesPlugin = exports.ConnectionFilterInflectionPlugin = exports.ConnectionFilterPreset = void 0;
54
+ // Load the global type augmentations (inflection methods, build/scope
55
+ // properties) so that downstream satellite plugins which `import
56
+ // 'graphile-connection-filter'` pick up the `filterType`/`filterManyType`/
57
+ // etc. type extensions without having to reach into the package's internal
58
+ // file layout.
59
+ require("./augmentations");
54
60
  var preset_1 = require("./preset");
55
61
  Object.defineProperty(exports, "ConnectionFilterPreset", { enumerable: true, get: function () { return preset_1.ConnectionFilterPreset; } });
56
62
  // Re-export all plugins for granular use
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphile-connection-filter",
3
- "version": "1.5.0",
3
+ "version": "1.5.2",
4
4
  "description": "PostGraphile v5 native connection filter plugin - adds advanced filtering to connections",
5
5
  "author": "Constructive <developers@constructive.io>",
6
6
  "homepage": "https://github.com/constructive-io/constructive",
@@ -41,9 +41,9 @@
41
41
  },
42
42
  "devDependencies": {
43
43
  "@types/node": "^22.19.11",
44
- "graphile-test": "^4.9.0",
44
+ "graphile-test": "^4.9.1",
45
45
  "makage": "^0.3.0",
46
- "pgsql-test": "^4.9.0"
46
+ "pgsql-test": "^4.9.1"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "@dataplan/pg": "1.0.0",
@@ -54,5 +54,5 @@
54
54
  "pg-sql2": "5.0.0",
55
55
  "postgraphile": "5.0.0"
56
56
  },
57
- "gitHead": "1b3af3c5189b9ca2e765b9239a4b287099e64a03"
57
+ "gitHead": "28734dd71a973b2fe296e8240c8f86c568b4292f"
58
58
  }