graphile-test 5.10.7 → 5.10.9
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/context.d.ts +2 -2
- package/context.js +1 -1
- package/esm/context.js +1 -1
- package/graphile-test.d.ts +1 -1
- package/package.json +6 -6
package/context.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { DocumentNode, ExecutionResult, GraphQLSchema } from 'graphql';
|
|
2
1
|
import type { GraphileConfig } from 'graphile-config';
|
|
3
|
-
import {
|
|
2
|
+
import type { DocumentNode, ExecutionResult, GraphQLSchema } from 'graphql';
|
|
4
3
|
import type { Client, Pool } from 'pg';
|
|
5
4
|
import type { GetConnectionOpts, GetConnectionResult } from 'pgsql-test';
|
|
5
|
+
import { makePgService } from 'postgraphile/adaptors/pg';
|
|
6
6
|
import type { GetConnectionsInput } from './types';
|
|
7
7
|
interface RunGraphQLOptions {
|
|
8
8
|
input: GetConnectionsInput & GetConnectionOpts;
|
package/context.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.runGraphQLInContext = void 0;
|
|
4
4
|
exports.setContextOnClient = setContextOnClient;
|
|
5
|
-
const graphql_1 = require("graphql");
|
|
6
5
|
const grafast_1 = require("grafast");
|
|
6
|
+
const graphql_1 = require("graphql");
|
|
7
7
|
/**
|
|
8
8
|
* Find a field node in the document by following the path.
|
|
9
9
|
* This is used to derive locations when grafast doesn't provide them.
|
package/esm/context.js
CHANGED
package/graphile-test.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { GetConnectionOpts, GetConnectionResult } from 'pgsql-test';
|
|
2
|
-
import type {
|
|
2
|
+
import type { GetConnectionsInput, GraphQLTestContext } from './types';
|
|
3
3
|
/**
|
|
4
4
|
* Creates a GraphQL test context using PostGraphile v5 preset-based API.
|
|
5
5
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "graphile-test",
|
|
3
|
-
"version": "5.10.
|
|
3
|
+
"version": "5.10.9",
|
|
4
4
|
"author": "Constructive <developers@constructive.io>",
|
|
5
5
|
"description": "PostGraphile Testing",
|
|
6
6
|
"main": "index.js",
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"makage": "^0.3.0"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@constructive-io/graphql-env": "^3.28.
|
|
38
|
-
"@constructive-io/graphql-types": "^3.27.
|
|
39
|
-
"@pgpmjs/types": "^2.49.
|
|
37
|
+
"@constructive-io/graphql-env": "^3.28.3",
|
|
38
|
+
"@constructive-io/graphql-types": "^3.27.3",
|
|
39
|
+
"@pgpmjs/types": "^2.49.3",
|
|
40
40
|
"grafast": "1.0.2",
|
|
41
41
|
"graphile-build": "5.0.2",
|
|
42
42
|
"graphile-build-pg": "5.0.2",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"graphql": "16.13.0",
|
|
45
45
|
"mock-req": "^0.2.0",
|
|
46
46
|
"pg": "^8.21.0",
|
|
47
|
-
"pgsql-test": "^5.9.
|
|
47
|
+
"pgsql-test": "^5.9.9",
|
|
48
48
|
"postgraphile": "5.0.3"
|
|
49
49
|
},
|
|
50
50
|
"keywords": [
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"pgpm",
|
|
56
56
|
"test"
|
|
57
57
|
],
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "e6a7a57f88c9deb2a4acecaba2451320d1be8203"
|
|
59
59
|
}
|