@constructive-io/graphql-types 2.15.0 → 3.1.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/graphile.js +2 -3
- package/graphile.d.ts +6 -9
- package/graphile.js +2 -3
- package/package.json +6 -7
package/esm/graphile.js
CHANGED
package/graphile.d.ts
CHANGED
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import { PostGraphileOptions } from 'postgraphile';
|
|
1
|
+
import type { GraphileConfig } from 'graphile-config';
|
|
3
2
|
/**
|
|
4
|
-
* PostGraphile/Graphile configuration
|
|
3
|
+
* PostGraphile/Graphile v5 configuration
|
|
5
4
|
*/
|
|
6
5
|
export interface GraphileOptions {
|
|
7
6
|
/** Database schema(s) to expose through GraphQL */
|
|
8
7
|
schema?: string | string[];
|
|
9
|
-
/** Additional
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
|
|
13
|
-
/** Override settings for PostGraphile */
|
|
14
|
-
overrideSettings?: Partial<PostGraphileOptions>;
|
|
8
|
+
/** Additional presets to extend */
|
|
9
|
+
extends?: GraphileConfig.Preset[];
|
|
10
|
+
/** Preset overrides */
|
|
11
|
+
preset?: Partial<GraphileConfig.Preset>;
|
|
15
12
|
}
|
|
16
13
|
/**
|
|
17
14
|
* Feature flags and toggles for GraphQL/Graphile
|
package/graphile.js
CHANGED
|
@@ -6,9 +6,8 @@ exports.apiDefaults = exports.graphileFeatureDefaults = exports.graphileDefaults
|
|
|
6
6
|
*/
|
|
7
7
|
exports.graphileDefaults = {
|
|
8
8
|
schema: [],
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
graphileBuildOptions: {},
|
|
9
|
+
extends: [],
|
|
10
|
+
preset: {},
|
|
12
11
|
};
|
|
13
12
|
/**
|
|
14
13
|
* Default feature options for GraphQL/Graphile
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@constructive-io/graphql-types",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"author": "Constructive <developers@constructive.io>",
|
|
5
5
|
"description": "Constructive GraphQL/Graphile types for PostGraphile integration",
|
|
6
6
|
"main": "index.js",
|
|
@@ -29,11 +29,10 @@
|
|
|
29
29
|
"test:watch": "jest --watch"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@pgpmjs/types": "^2.
|
|
32
|
+
"@pgpmjs/types": "^2.17.0",
|
|
33
33
|
"deepmerge": "^4.3.1",
|
|
34
|
-
"graphile-
|
|
35
|
-
"pg-env": "^1.
|
|
36
|
-
"postgraphile": "^4.14.1"
|
|
34
|
+
"graphile-config": "1.0.0-rc.3",
|
|
35
|
+
"pg-env": "^1.5.0"
|
|
37
36
|
},
|
|
38
37
|
"keywords": [
|
|
39
38
|
"graphql",
|
|
@@ -44,7 +43,7 @@
|
|
|
44
43
|
"graphile"
|
|
45
44
|
],
|
|
46
45
|
"devDependencies": {
|
|
47
|
-
"makage": "^0.1.
|
|
46
|
+
"makage": "^0.1.10"
|
|
48
47
|
},
|
|
49
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "b758178b808ce0bf451e86c0bd7e92079155db7c"
|
|
50
49
|
}
|