@orion-js/resolvers 3.3.14 → 3.3.25
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/lib/resolver/types.d.ts +2 -2
- package/package.json +5 -5
package/lib/resolver/types.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { OrionCache } from '@orion-js/cache';
|
|
2
2
|
export declare type GlobalResolverResolve = (params: any, viewer: any) => Promise<any>;
|
|
3
3
|
export declare type ModelResolverResolve = (item: any, params: any, viewer: any) => Promise<any>;
|
|
4
|
-
export declare type GlobalCheckPermissions = (params: any, viewer: any) => Promise<string>;
|
|
5
|
-
export declare type ModelCheckPermissions = (parent: any, params: any, viewer: any) => Promise<string>;
|
|
4
|
+
export declare type GlobalCheckPermissions = (params: any, viewer: any) => Promise<string | void>;
|
|
5
|
+
export declare type ModelCheckPermissions = (parent: any, params: any, viewer: any) => Promise<string | void>;
|
|
6
6
|
export declare type GlobalGetCacheKey = (params: any, viewer: any) => Promise<any>;
|
|
7
7
|
export declare type ModelGetCacheKey = (parent: any, params: any, viewer: any) => Promise<any>;
|
|
8
8
|
export interface ExecuteOptions {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orion-js/resolvers",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.25",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"types": "lib/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
"upgrade-interactive": "yarn upgrade-interactive"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@orion-js/cache": "^3.3.
|
|
21
|
-
"@orion-js/helpers": "^3.3.
|
|
22
|
-
"@orion-js/schema": "^3.3.
|
|
20
|
+
"@orion-js/cache": "^3.3.20",
|
|
21
|
+
"@orion-js/helpers": "^3.3.20",
|
|
22
|
+
"@orion-js/schema": "^3.3.20"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@shelf/jest-mongodb": "^2.1.0",
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"publishConfig": {
|
|
34
34
|
"access": "public"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "ed68403cef114f593dd16535db8993560f4f1849"
|
|
37
37
|
}
|