@tmdb-graphql-api/resolvers 0.1.2-unstable.11 → 0.1.2-unstable.12
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/dist/cjs/index.cjs +1 -1
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/index.mjs.map +1 -1
- package/dist/production.analysis.txt +68 -68
- package/dist/types/cjs/helpers/buildArgsResolver.d.cts.map +1 -1
- package/dist/types/cjs/helpers/buildNoObjArgsResolver.d.cts.map +1 -1
- package/dist/types/cjs/helpers/buildObjArgsResolver.d.cts.map +1 -1
- package/dist/types/cjs/helpers/buildObjResolver.d.cts.map +1 -1
- package/dist/types/esm/helpers/buildArgsResolver.d.ts.map +1 -1
- package/dist/types/esm/helpers/buildNoObjArgsResolver.d.ts.map +1 -1
- package/dist/types/esm/helpers/buildObjArgsResolver.d.ts.map +1 -1
- package/dist/types/esm/helpers/buildObjResolver.d.ts.map +1 -1
- package/dist/types/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +6 -6
- package/src/helpers/buildArgsResolver.ts +2 -0
- package/src/helpers/buildNoObjArgsResolver.ts +2 -0
- package/src/helpers/buildObjArgsResolver.ts +2 -0
- package/src/helpers/buildObjResolver.ts +2 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tmdb-graphql-api/resolvers",
|
|
3
3
|
"description": "The TMDB GraphQL resolvers module.",
|
|
4
|
-
"version": "0.1.2-unstable.
|
|
4
|
+
"version": "0.1.2-unstable.12",
|
|
5
5
|
"author": "Dylan Aubrey",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://github.com/badbatch/themoviedb-graphql-api",
|
|
@@ -32,15 +32,15 @@
|
|
|
32
32
|
"@cachemap/core": "^5.2.7",
|
|
33
33
|
"@cachemap/map": "^5.0.9",
|
|
34
34
|
"@cachemap/reaper": "^5.1.3",
|
|
35
|
-
"@graphql-box/connection-resolver": "^5.4.
|
|
36
|
-
"@graphql-box/core": "^5.4.
|
|
35
|
+
"@graphql-box/connection-resolver": "^5.4.15",
|
|
36
|
+
"@graphql-box/core": "^5.4.6",
|
|
37
37
|
"cacheability": "^4.0.27",
|
|
38
|
-
"getta": "^1.0.
|
|
38
|
+
"getta": "^1.0.15",
|
|
39
39
|
"js-base64": "^3.6.0",
|
|
40
40
|
"query-string": "^8.1.0",
|
|
41
41
|
"type-fest": "^4.37.0",
|
|
42
42
|
"winston": "^3.17.0",
|
|
43
|
-
"@tmdb-graphql-api/rest-client": "0.0.11-unstable.
|
|
43
|
+
"@tmdb-graphql-api/rest-client": "0.0.11-unstable.8",
|
|
44
44
|
"@tmdb-graphql-api/schema": "0.1.1-unstable.1"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@babel/runtime": "^7.23.2",
|
|
54
|
-
"@graphql-box/helpers": "^5.4.
|
|
54
|
+
"@graphql-box/helpers": "^5.4.6",
|
|
55
55
|
"@jest/globals": "^29.7.0",
|
|
56
56
|
"@types/lodash-es": "^4.14.191",
|
|
57
57
|
"core-js": "^3.33.1",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { GraphQLError, type GraphQLResolveInfo } from 'graphql';
|
|
2
|
+
import crypto from 'node:crypto';
|
|
2
3
|
import { type Context } from '../types.ts';
|
|
3
4
|
|
|
4
5
|
export const buildArgsResolver =
|
|
@@ -20,6 +21,7 @@ export const buildArgsResolver =
|
|
|
20
21
|
...ctx.data,
|
|
21
22
|
args,
|
|
22
23
|
fieldPath: fieldName,
|
|
24
|
+
resolverRequestId: crypto.randomUUID(),
|
|
23
25
|
},
|
|
24
26
|
};
|
|
25
27
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { GraphQLError, type GraphQLResolveInfo } from 'graphql';
|
|
2
|
+
import crypto from 'node:crypto';
|
|
2
3
|
import type { Context } from '../types.ts';
|
|
3
4
|
|
|
4
5
|
export const buildNoObjArgsResolver =
|
|
@@ -19,6 +20,7 @@ export const buildNoObjArgsResolver =
|
|
|
19
20
|
data: {
|
|
20
21
|
...ctx.data,
|
|
21
22
|
fieldPath,
|
|
23
|
+
resolverRequestId: crypto.randomUUID(),
|
|
22
24
|
},
|
|
23
25
|
};
|
|
24
26
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { GraphQLError, type GraphQLResolveInfo } from 'graphql';
|
|
2
|
+
import crypto from 'node:crypto';
|
|
2
3
|
import { type Context } from '../types.ts';
|
|
3
4
|
|
|
4
5
|
export const buildObjArgsResolver =
|
|
@@ -22,6 +23,7 @@ export const buildObjArgsResolver =
|
|
|
22
23
|
...ctx.data,
|
|
23
24
|
args,
|
|
24
25
|
fieldPath,
|
|
26
|
+
resolverRequestId: crypto.randomUUID(),
|
|
25
27
|
},
|
|
26
28
|
};
|
|
27
29
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { GraphQLError, type GraphQLResolveInfo } from 'graphql';
|
|
2
|
+
import crypto from 'node:crypto';
|
|
2
3
|
import { type Context } from '../types.ts';
|
|
3
4
|
|
|
4
5
|
export const buildObjResolver =
|
|
@@ -21,6 +22,7 @@ export const buildObjResolver =
|
|
|
21
22
|
...ctx.data,
|
|
22
23
|
fieldPath,
|
|
23
24
|
parentFieldId: obj?.id,
|
|
25
|
+
resolverRequestId: crypto.randomUUID(),
|
|
24
26
|
},
|
|
25
27
|
};
|
|
26
28
|
|