graphile-postgis 3.10.7 → 3.10.8
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 +7 -7
- package/esm/index.js +5 -5
- package/esm/plugins/aggregate-functions.d.ts +1 -1
- package/esm/plugins/geometry-fields.d.ts +1 -1
- package/esm/plugins/geometry-fields.js +2 -2
- package/esm/plugins/inflection.d.ts +1 -1
- package/esm/plugins/inflection.js +1 -1
- package/esm/plugins/measurement-fields.d.ts +1 -1
- package/esm/plugins/measurement-fields.js +1 -1
- package/esm/plugins/register-types.d.ts +1 -1
- package/esm/plugins/register-types.js +3 -3
- package/esm/plugins/transformation-functions.d.ts +1 -1
- package/esm/plugins/within-distance-operator.d.ts +1 -1
- package/esm/plugins/within-distance-operator.js +2 -2
- package/esm/preset.js +5 -5
- package/esm/utils.js +1 -1
- package/index.d.ts +7 -7
- package/index.js +13 -13
- package/package.json +4 -4
- package/plugins/aggregate-functions.d.ts +1 -1
- package/plugins/geometry-fields.d.ts +1 -1
- package/plugins/geometry-fields.js +2 -2
- package/plugins/inflection.d.ts +1 -1
- package/plugins/inflection.js +1 -1
- package/plugins/measurement-fields.d.ts +1 -1
- package/plugins/measurement-fields.js +1 -1
- package/plugins/register-types.d.ts +1 -1
- package/plugins/register-types.js +2 -2
- package/plugins/transformation-functions.d.ts +1 -1
- package/plugins/within-distance-operator.d.ts +1 -1
- package/plugins/within-distance-operator.js +2 -2
- package/preset.js +5 -5
package/esm/index.d.ts
CHANGED
|
@@ -13,19 +13,19 @@
|
|
|
13
13
|
* ```
|
|
14
14
|
*/
|
|
15
15
|
export { GraphilePostgisPreset } from './preset';
|
|
16
|
+
export { PostgisAggregatePlugin } from './plugins/aggregate-functions';
|
|
16
17
|
export { PostgisCodecPlugin } from './plugins/codec';
|
|
17
|
-
export { PostgisInflectionPlugin } from './plugins/inflection';
|
|
18
18
|
export { PostgisExtensionDetectionPlugin } from './plugins/detect-extension';
|
|
19
|
-
export { PostgisRegisterTypesPlugin } from './plugins/register-types';
|
|
20
19
|
export { PostgisGeometryFieldsPlugin } from './plugins/geometry-fields';
|
|
20
|
+
export { PostgisInflectionPlugin } from './plugins/inflection';
|
|
21
21
|
export { PostgisMeasurementFieldsPlugin } from './plugins/measurement-fields';
|
|
22
|
-
export {
|
|
23
|
-
export { PostgisAggregatePlugin } from './plugins/aggregate-functions';
|
|
24
|
-
export { PostgisSpatialRelationsPlugin, OPERATOR_REGISTRY, parseSpatialRelationTag, collectSpatialRelations, } from './plugins/spatial-relations';
|
|
22
|
+
export { PostgisRegisterTypesPlugin } from './plugins/register-types';
|
|
25
23
|
export type { SpatialOperatorRegistration, SpatialRelationInfo, } from './plugins/spatial-relations';
|
|
24
|
+
export { collectSpatialRelations, OPERATOR_REGISTRY, parseSpatialRelationTag, PostgisSpatialRelationsPlugin, } from './plugins/spatial-relations';
|
|
25
|
+
export { PostgisTransformationFieldsPlugin } from './plugins/transformation-functions';
|
|
26
26
|
export { createPostgisOperatorFactory } from './plugins/connection-filter-operators';
|
|
27
27
|
export { createWithinDistanceOperatorFactory } from './plugins/within-distance-operator';
|
|
28
|
-
export {
|
|
28
|
+
export { CONCRETE_SUBTYPES, GIS_SUBTYPE_NAME, GisSubtype, SUBTYPE_STRING_BY_SUBTYPE } from './constants';
|
|
29
29
|
export { getGISTypeDetails, getGISTypeModifier, getGISTypeName } from './utils';
|
|
30
|
-
export type { GisTypeDetails, GisFieldValue } from './types';
|
|
31
30
|
export type { PostgisExtensionInfo } from './plugins/detect-extension';
|
|
31
|
+
export type { GisFieldValue, GisTypeDetails } from './types';
|
package/esm/index.js
CHANGED
|
@@ -15,18 +15,18 @@
|
|
|
15
15
|
// Preset (recommended entry point)
|
|
16
16
|
export { GraphilePostgisPreset } from './preset';
|
|
17
17
|
// Individual plugins
|
|
18
|
+
export { PostgisAggregatePlugin } from './plugins/aggregate-functions';
|
|
18
19
|
export { PostgisCodecPlugin } from './plugins/codec';
|
|
19
|
-
export { PostgisInflectionPlugin } from './plugins/inflection';
|
|
20
20
|
export { PostgisExtensionDetectionPlugin } from './plugins/detect-extension';
|
|
21
|
-
export { PostgisRegisterTypesPlugin } from './plugins/register-types';
|
|
22
21
|
export { PostgisGeometryFieldsPlugin } from './plugins/geometry-fields';
|
|
22
|
+
export { PostgisInflectionPlugin } from './plugins/inflection';
|
|
23
23
|
export { PostgisMeasurementFieldsPlugin } from './plugins/measurement-fields';
|
|
24
|
+
export { PostgisRegisterTypesPlugin } from './plugins/register-types';
|
|
25
|
+
export { collectSpatialRelations, OPERATOR_REGISTRY, parseSpatialRelationTag, PostgisSpatialRelationsPlugin, } from './plugins/spatial-relations';
|
|
24
26
|
export { PostgisTransformationFieldsPlugin } from './plugins/transformation-functions';
|
|
25
|
-
export { PostgisAggregatePlugin } from './plugins/aggregate-functions';
|
|
26
|
-
export { PostgisSpatialRelationsPlugin, OPERATOR_REGISTRY, parseSpatialRelationTag, collectSpatialRelations, } from './plugins/spatial-relations';
|
|
27
27
|
// Connection filter operator factories (spatial operators for graphile-connection-filter)
|
|
28
28
|
export { createPostgisOperatorFactory } from './plugins/connection-filter-operators';
|
|
29
29
|
export { createWithinDistanceOperatorFactory } from './plugins/within-distance-operator';
|
|
30
30
|
// Constants and utilities
|
|
31
|
-
export {
|
|
31
|
+
export { CONCRETE_SUBTYPES, GIS_SUBTYPE_NAME, GisSubtype, SUBTYPE_STRING_BY_SUBTYPE } from './constants';
|
|
32
32
|
export { getGISTypeDetails, getGISTypeModifier, getGISTypeName } from './utils';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import 'graphile-build';
|
|
2
2
|
import 'graphile-build-pg';
|
|
3
|
-
import { GisSubtype } from '../constants';
|
|
4
|
-
import { getGISTypeName } from '../utils';
|
|
5
3
|
// Import types.ts for Build/Inflection/Scope augmentation side effects
|
|
6
4
|
import '../types';
|
|
5
|
+
import { GisSubtype } from '../constants';
|
|
6
|
+
import { getGISTypeName } from '../utils';
|
|
7
7
|
/**
|
|
8
8
|
* PostgisGeometryFieldsPlugin
|
|
9
9
|
*
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import 'graphile-build';
|
|
2
2
|
import 'graphile-build-pg';
|
|
3
|
-
import { GisSubtype } from '../constants';
|
|
4
3
|
// Import types.ts for Build/Inflection/Scope augmentation side effects
|
|
5
4
|
import '../types';
|
|
5
|
+
import { GisSubtype } from '../constants';
|
|
6
6
|
// ─── Client-side geodesic calculations ───────────────────────────────────
|
|
7
7
|
//
|
|
8
8
|
// These compute approximate measurements from GeoJSON coordinates using
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import 'graphile-build';
|
|
2
2
|
import 'graphile-build-pg';
|
|
3
|
-
import sql from 'pg-sql2';
|
|
4
|
-
import { GisSubtype, CONCRETE_SUBTYPES } from '../constants';
|
|
5
|
-
import { getGISTypeDetails, getGISTypeModifier, getGISTypeName } from '../utils';
|
|
6
3
|
// Import types.ts for the Build/Inflection/Scope augmentation side effects
|
|
7
4
|
import '../types';
|
|
5
|
+
import sql from 'pg-sql2';
|
|
6
|
+
import { CONCRETE_SUBTYPES, GisSubtype } from '../constants';
|
|
7
|
+
import { getGISTypeDetails, getGISTypeModifier, getGISTypeName } from '../utils';
|
|
8
8
|
/**
|
|
9
9
|
* PostgisRegisterTypesPlugin
|
|
10
10
|
*
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import 'graphile-build';
|
|
2
2
|
import 'graphile-build-pg';
|
|
3
3
|
import 'graphile-connection-filter';
|
|
4
|
-
import type { ConnectionFilterOperatorFactory } from 'graphile-connection-filter';
|
|
5
4
|
import '../types';
|
|
5
|
+
import type { ConnectionFilterOperatorFactory } from 'graphile-connection-filter';
|
|
6
6
|
/**
|
|
7
7
|
* Creates the PostGIS ST_DWithin (withinDistance) operator factory.
|
|
8
8
|
*
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import 'graphile-build';
|
|
2
2
|
import 'graphile-build-pg';
|
|
3
3
|
import 'graphile-connection-filter';
|
|
4
|
-
import sql from 'pg-sql2';
|
|
5
|
-
import { CONCRETE_SUBTYPES } from '../constants';
|
|
6
4
|
// Import types.ts for Build augmentation side effects
|
|
7
5
|
import '../types';
|
|
6
|
+
import sql from 'pg-sql2';
|
|
7
|
+
import { CONCRETE_SUBTYPES } from '../constants';
|
|
8
8
|
/**
|
|
9
9
|
* Creates the PostGIS ST_DWithin (withinDistance) operator factory.
|
|
10
10
|
*
|
package/esm/preset.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import { PostgisAggregatePlugin } from './plugins/aggregate-functions';
|
|
1
2
|
import { PostgisCodecPlugin } from './plugins/codec';
|
|
2
|
-
import {
|
|
3
|
+
import { createPostgisOperatorFactory } from './plugins/connection-filter-operators';
|
|
3
4
|
import { PostgisExtensionDetectionPlugin } from './plugins/detect-extension';
|
|
4
|
-
import { PostgisRegisterTypesPlugin } from './plugins/register-types';
|
|
5
5
|
import { PostgisGeometryFieldsPlugin } from './plugins/geometry-fields';
|
|
6
|
+
import { PostgisInflectionPlugin } from './plugins/inflection';
|
|
6
7
|
import { PostgisMeasurementFieldsPlugin } from './plugins/measurement-fields';
|
|
7
|
-
import {
|
|
8
|
-
import { PostgisAggregatePlugin } from './plugins/aggregate-functions';
|
|
8
|
+
import { PostgisRegisterTypesPlugin } from './plugins/register-types';
|
|
9
9
|
import { PostgisSpatialRelationsPlugin } from './plugins/spatial-relations';
|
|
10
|
-
import {
|
|
10
|
+
import { PostgisTransformationFieldsPlugin } from './plugins/transformation-functions';
|
|
11
11
|
import { createWithinDistanceOperatorFactory } from './plugins/within-distance-operator';
|
|
12
12
|
/**
|
|
13
13
|
* GraphilePostgisPreset
|
package/esm/utils.js
CHANGED
package/index.d.ts
CHANGED
|
@@ -13,19 +13,19 @@
|
|
|
13
13
|
* ```
|
|
14
14
|
*/
|
|
15
15
|
export { GraphilePostgisPreset } from './preset';
|
|
16
|
+
export { PostgisAggregatePlugin } from './plugins/aggregate-functions';
|
|
16
17
|
export { PostgisCodecPlugin } from './plugins/codec';
|
|
17
|
-
export { PostgisInflectionPlugin } from './plugins/inflection';
|
|
18
18
|
export { PostgisExtensionDetectionPlugin } from './plugins/detect-extension';
|
|
19
|
-
export { PostgisRegisterTypesPlugin } from './plugins/register-types';
|
|
20
19
|
export { PostgisGeometryFieldsPlugin } from './plugins/geometry-fields';
|
|
20
|
+
export { PostgisInflectionPlugin } from './plugins/inflection';
|
|
21
21
|
export { PostgisMeasurementFieldsPlugin } from './plugins/measurement-fields';
|
|
22
|
-
export {
|
|
23
|
-
export { PostgisAggregatePlugin } from './plugins/aggregate-functions';
|
|
24
|
-
export { PostgisSpatialRelationsPlugin, OPERATOR_REGISTRY, parseSpatialRelationTag, collectSpatialRelations, } from './plugins/spatial-relations';
|
|
22
|
+
export { PostgisRegisterTypesPlugin } from './plugins/register-types';
|
|
25
23
|
export type { SpatialOperatorRegistration, SpatialRelationInfo, } from './plugins/spatial-relations';
|
|
24
|
+
export { collectSpatialRelations, OPERATOR_REGISTRY, parseSpatialRelationTag, PostgisSpatialRelationsPlugin, } from './plugins/spatial-relations';
|
|
25
|
+
export { PostgisTransformationFieldsPlugin } from './plugins/transformation-functions';
|
|
26
26
|
export { createPostgisOperatorFactory } from './plugins/connection-filter-operators';
|
|
27
27
|
export { createWithinDistanceOperatorFactory } from './plugins/within-distance-operator';
|
|
28
|
-
export {
|
|
28
|
+
export { CONCRETE_SUBTYPES, GIS_SUBTYPE_NAME, GisSubtype, SUBTYPE_STRING_BY_SUBTYPE } from './constants';
|
|
29
29
|
export { getGISTypeDetails, getGISTypeModifier, getGISTypeName } from './utils';
|
|
30
|
-
export type { GisTypeDetails, GisFieldValue } from './types';
|
|
31
30
|
export type { PostgisExtensionInfo } from './plugins/detect-extension';
|
|
31
|
+
export type { GisFieldValue, GisTypeDetails } from './types';
|
package/index.js
CHANGED
|
@@ -14,32 +14,32 @@
|
|
|
14
14
|
* ```
|
|
15
15
|
*/
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.getGISTypeName = exports.getGISTypeModifier = exports.getGISTypeDetails = exports.
|
|
17
|
+
exports.getGISTypeName = exports.getGISTypeModifier = exports.getGISTypeDetails = exports.SUBTYPE_STRING_BY_SUBTYPE = exports.GisSubtype = exports.GIS_SUBTYPE_NAME = exports.CONCRETE_SUBTYPES = exports.createWithinDistanceOperatorFactory = exports.createPostgisOperatorFactory = exports.PostgisTransformationFieldsPlugin = exports.PostgisSpatialRelationsPlugin = exports.parseSpatialRelationTag = exports.OPERATOR_REGISTRY = exports.collectSpatialRelations = exports.PostgisRegisterTypesPlugin = exports.PostgisMeasurementFieldsPlugin = exports.PostgisInflectionPlugin = exports.PostgisGeometryFieldsPlugin = exports.PostgisExtensionDetectionPlugin = exports.PostgisCodecPlugin = exports.PostgisAggregatePlugin = exports.GraphilePostgisPreset = void 0;
|
|
18
18
|
// Preset (recommended entry point)
|
|
19
19
|
var preset_1 = require("./preset");
|
|
20
20
|
Object.defineProperty(exports, "GraphilePostgisPreset", { enumerable: true, get: function () { return preset_1.GraphilePostgisPreset; } });
|
|
21
21
|
// Individual plugins
|
|
22
|
+
var aggregate_functions_1 = require("./plugins/aggregate-functions");
|
|
23
|
+
Object.defineProperty(exports, "PostgisAggregatePlugin", { enumerable: true, get: function () { return aggregate_functions_1.PostgisAggregatePlugin; } });
|
|
22
24
|
var codec_1 = require("./plugins/codec");
|
|
23
25
|
Object.defineProperty(exports, "PostgisCodecPlugin", { enumerable: true, get: function () { return codec_1.PostgisCodecPlugin; } });
|
|
24
|
-
var inflection_1 = require("./plugins/inflection");
|
|
25
|
-
Object.defineProperty(exports, "PostgisInflectionPlugin", { enumerable: true, get: function () { return inflection_1.PostgisInflectionPlugin; } });
|
|
26
26
|
var detect_extension_1 = require("./plugins/detect-extension");
|
|
27
27
|
Object.defineProperty(exports, "PostgisExtensionDetectionPlugin", { enumerable: true, get: function () { return detect_extension_1.PostgisExtensionDetectionPlugin; } });
|
|
28
|
-
var register_types_1 = require("./plugins/register-types");
|
|
29
|
-
Object.defineProperty(exports, "PostgisRegisterTypesPlugin", { enumerable: true, get: function () { return register_types_1.PostgisRegisterTypesPlugin; } });
|
|
30
28
|
var geometry_fields_1 = require("./plugins/geometry-fields");
|
|
31
29
|
Object.defineProperty(exports, "PostgisGeometryFieldsPlugin", { enumerable: true, get: function () { return geometry_fields_1.PostgisGeometryFieldsPlugin; } });
|
|
30
|
+
var inflection_1 = require("./plugins/inflection");
|
|
31
|
+
Object.defineProperty(exports, "PostgisInflectionPlugin", { enumerable: true, get: function () { return inflection_1.PostgisInflectionPlugin; } });
|
|
32
32
|
var measurement_fields_1 = require("./plugins/measurement-fields");
|
|
33
33
|
Object.defineProperty(exports, "PostgisMeasurementFieldsPlugin", { enumerable: true, get: function () { return measurement_fields_1.PostgisMeasurementFieldsPlugin; } });
|
|
34
|
-
var
|
|
35
|
-
Object.defineProperty(exports, "
|
|
36
|
-
var aggregate_functions_1 = require("./plugins/aggregate-functions");
|
|
37
|
-
Object.defineProperty(exports, "PostgisAggregatePlugin", { enumerable: true, get: function () { return aggregate_functions_1.PostgisAggregatePlugin; } });
|
|
34
|
+
var register_types_1 = require("./plugins/register-types");
|
|
35
|
+
Object.defineProperty(exports, "PostgisRegisterTypesPlugin", { enumerable: true, get: function () { return register_types_1.PostgisRegisterTypesPlugin; } });
|
|
38
36
|
var spatial_relations_1 = require("./plugins/spatial-relations");
|
|
39
|
-
Object.defineProperty(exports, "
|
|
37
|
+
Object.defineProperty(exports, "collectSpatialRelations", { enumerable: true, get: function () { return spatial_relations_1.collectSpatialRelations; } });
|
|
40
38
|
Object.defineProperty(exports, "OPERATOR_REGISTRY", { enumerable: true, get: function () { return spatial_relations_1.OPERATOR_REGISTRY; } });
|
|
41
39
|
Object.defineProperty(exports, "parseSpatialRelationTag", { enumerable: true, get: function () { return spatial_relations_1.parseSpatialRelationTag; } });
|
|
42
|
-
Object.defineProperty(exports, "
|
|
40
|
+
Object.defineProperty(exports, "PostgisSpatialRelationsPlugin", { enumerable: true, get: function () { return spatial_relations_1.PostgisSpatialRelationsPlugin; } });
|
|
41
|
+
var transformation_functions_1 = require("./plugins/transformation-functions");
|
|
42
|
+
Object.defineProperty(exports, "PostgisTransformationFieldsPlugin", { enumerable: true, get: function () { return transformation_functions_1.PostgisTransformationFieldsPlugin; } });
|
|
43
43
|
// Connection filter operator factories (spatial operators for graphile-connection-filter)
|
|
44
44
|
var connection_filter_operators_1 = require("./plugins/connection-filter-operators");
|
|
45
45
|
Object.defineProperty(exports, "createPostgisOperatorFactory", { enumerable: true, get: function () { return connection_filter_operators_1.createPostgisOperatorFactory; } });
|
|
@@ -47,10 +47,10 @@ var within_distance_operator_1 = require("./plugins/within-distance-operator");
|
|
|
47
47
|
Object.defineProperty(exports, "createWithinDistanceOperatorFactory", { enumerable: true, get: function () { return within_distance_operator_1.createWithinDistanceOperatorFactory; } });
|
|
48
48
|
// Constants and utilities
|
|
49
49
|
var constants_1 = require("./constants");
|
|
50
|
+
Object.defineProperty(exports, "CONCRETE_SUBTYPES", { enumerable: true, get: function () { return constants_1.CONCRETE_SUBTYPES; } });
|
|
51
|
+
Object.defineProperty(exports, "GIS_SUBTYPE_NAME", { enumerable: true, get: function () { return constants_1.GIS_SUBTYPE_NAME; } });
|
|
50
52
|
Object.defineProperty(exports, "GisSubtype", { enumerable: true, get: function () { return constants_1.GisSubtype; } });
|
|
51
53
|
Object.defineProperty(exports, "SUBTYPE_STRING_BY_SUBTYPE", { enumerable: true, get: function () { return constants_1.SUBTYPE_STRING_BY_SUBTYPE; } });
|
|
52
|
-
Object.defineProperty(exports, "GIS_SUBTYPE_NAME", { enumerable: true, get: function () { return constants_1.GIS_SUBTYPE_NAME; } });
|
|
53
|
-
Object.defineProperty(exports, "CONCRETE_SUBTYPES", { enumerable: true, get: function () { return constants_1.CONCRETE_SUBTYPES; } });
|
|
54
54
|
var utils_1 = require("./utils");
|
|
55
55
|
Object.defineProperty(exports, "getGISTypeDetails", { enumerable: true, get: function () { return utils_1.getGISTypeDetails; } });
|
|
56
56
|
Object.defineProperty(exports, "getGISTypeModifier", { enumerable: true, get: function () { return utils_1.getGISTypeModifier; } });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "graphile-postgis",
|
|
3
|
-
"version": "3.10.
|
|
3
|
+
"version": "3.10.8",
|
|
4
4
|
"description": "PostGIS support for PostGraphile v5",
|
|
5
5
|
"author": "Constructive <developers@constructive.io>",
|
|
6
6
|
"homepage": "https://github.com/constructive-io/constructive",
|
|
@@ -59,9 +59,9 @@
|
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@types/geojson": "^7946.0.14",
|
|
61
61
|
"@types/node": "^22.19.11",
|
|
62
|
-
"graphile-test": "^5.10.
|
|
62
|
+
"graphile-test": "^5.10.8",
|
|
63
63
|
"makage": "^0.3.0",
|
|
64
|
-
"pgsql-test": "^5.9.
|
|
64
|
+
"pgsql-test": "^5.9.8"
|
|
65
65
|
},
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "c20b6be96b39bf71c0e2df0f4b51e05deacd006b"
|
|
67
67
|
}
|
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.PostgisGeometryFieldsPlugin = void 0;
|
|
4
4
|
require("graphile-build");
|
|
5
5
|
require("graphile-build-pg");
|
|
6
|
-
const constants_1 = require("../constants");
|
|
7
|
-
const utils_1 = require("../utils");
|
|
8
6
|
// Import types.ts for Build/Inflection/Scope augmentation side effects
|
|
9
7
|
require("../types");
|
|
8
|
+
const constants_1 = require("../constants");
|
|
9
|
+
const utils_1 = require("../utils");
|
|
10
10
|
/**
|
|
11
11
|
* PostgisGeometryFieldsPlugin
|
|
12
12
|
*
|
package/plugins/inflection.d.ts
CHANGED
package/plugins/inflection.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PostgisInflectionPlugin = void 0;
|
|
4
|
-
const constants_1 = require("../constants");
|
|
5
4
|
// Import types.ts for the Inflection augmentation side effects
|
|
6
5
|
require("../types");
|
|
6
|
+
const constants_1 = require("../constants");
|
|
7
7
|
/**
|
|
8
8
|
* PostgisInflectionPlugin
|
|
9
9
|
*
|
|
@@ -3,9 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.PostgisMeasurementFieldsPlugin = void 0;
|
|
4
4
|
require("graphile-build");
|
|
5
5
|
require("graphile-build-pg");
|
|
6
|
-
const constants_1 = require("../constants");
|
|
7
6
|
// Import types.ts for Build/Inflection/Scope augmentation side effects
|
|
8
7
|
require("../types");
|
|
8
|
+
const constants_1 = require("../constants");
|
|
9
9
|
// ─── Client-side geodesic calculations ───────────────────────────────────
|
|
10
10
|
//
|
|
11
11
|
// These compute approximate measurements from GeoJSON coordinates using
|
|
@@ -6,11 +6,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.PostgisRegisterTypesPlugin = void 0;
|
|
7
7
|
require("graphile-build");
|
|
8
8
|
require("graphile-build-pg");
|
|
9
|
+
// Import types.ts for the Build/Inflection/Scope augmentation side effects
|
|
10
|
+
require("../types");
|
|
9
11
|
const pg_sql2_1 = __importDefault(require("pg-sql2"));
|
|
10
12
|
const constants_1 = require("../constants");
|
|
11
13
|
const utils_1 = require("../utils");
|
|
12
|
-
// Import types.ts for the Build/Inflection/Scope augmentation side effects
|
|
13
|
-
require("../types");
|
|
14
14
|
/**
|
|
15
15
|
* PostgisRegisterTypesPlugin
|
|
16
16
|
*
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import 'graphile-build';
|
|
2
2
|
import 'graphile-build-pg';
|
|
3
3
|
import 'graphile-connection-filter';
|
|
4
|
-
import type { ConnectionFilterOperatorFactory } from 'graphile-connection-filter';
|
|
5
4
|
import '../types';
|
|
5
|
+
import type { ConnectionFilterOperatorFactory } from 'graphile-connection-filter';
|
|
6
6
|
/**
|
|
7
7
|
* Creates the PostGIS ST_DWithin (withinDistance) operator factory.
|
|
8
8
|
*
|
|
@@ -7,10 +7,10 @@ exports.createWithinDistanceOperatorFactory = createWithinDistanceOperatorFactor
|
|
|
7
7
|
require("graphile-build");
|
|
8
8
|
require("graphile-build-pg");
|
|
9
9
|
require("graphile-connection-filter");
|
|
10
|
-
const pg_sql2_1 = __importDefault(require("pg-sql2"));
|
|
11
|
-
const constants_1 = require("../constants");
|
|
12
10
|
// Import types.ts for Build augmentation side effects
|
|
13
11
|
require("../types");
|
|
12
|
+
const pg_sql2_1 = __importDefault(require("pg-sql2"));
|
|
13
|
+
const constants_1 = require("../constants");
|
|
14
14
|
/**
|
|
15
15
|
* Creates the PostGIS ST_DWithin (withinDistance) operator factory.
|
|
16
16
|
*
|
package/preset.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GraphilePostgisPreset = void 0;
|
|
4
|
+
const aggregate_functions_1 = require("./plugins/aggregate-functions");
|
|
4
5
|
const codec_1 = require("./plugins/codec");
|
|
5
|
-
const
|
|
6
|
+
const connection_filter_operators_1 = require("./plugins/connection-filter-operators");
|
|
6
7
|
const detect_extension_1 = require("./plugins/detect-extension");
|
|
7
|
-
const register_types_1 = require("./plugins/register-types");
|
|
8
8
|
const geometry_fields_1 = require("./plugins/geometry-fields");
|
|
9
|
+
const inflection_1 = require("./plugins/inflection");
|
|
9
10
|
const measurement_fields_1 = require("./plugins/measurement-fields");
|
|
10
|
-
const
|
|
11
|
-
const aggregate_functions_1 = require("./plugins/aggregate-functions");
|
|
11
|
+
const register_types_1 = require("./plugins/register-types");
|
|
12
12
|
const spatial_relations_1 = require("./plugins/spatial-relations");
|
|
13
|
-
const
|
|
13
|
+
const transformation_functions_1 = require("./plugins/transformation-functions");
|
|
14
14
|
const within_distance_operator_1 = require("./plugins/within-distance-operator");
|
|
15
15
|
/**
|
|
16
16
|
* GraphilePostgisPreset
|