- Preparing search index...
- The search index is not available
simple-graphql
SGHook
Func
<T>: ((target
: SGHookTarget<T>, invokeInfo
: { args
: { [key:
string]
: any; }; context
: SGResolveContext; info
: GraphQLResolveInfo; sgContext
: SGContext; source
?: any; }, next
: (() => Promise<any>)) => Promise<any>)
Type declaration
-
- (target: SGHookTarget<T>, invokeInfo: {
args: {
[key: string]: any;
};
context: SGResolveContext;
info: GraphQLResolveInfo;
sgContext: SGContext;
source?: any;
}, next: (() => Promise<any>)): Promise<any>
-
Parameters
-
-
invokeInfo: {
args: {
[key: string]: any;
};
context: SGResolveContext;
info: GraphQLResolveInfo;
sgContext: SGContext;
source?: any;
}
-
args: {
[key: string]: any;
}
-
-
info: GraphQLResolveInfo
-
-
Optional
source?: any
-
next: (() => Promise<any>)
-
- (): Promise<any>
-
Returns Promise<any>
Returns Promise<any>