File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 4
4
5
5
``` ts
6
6
7
+ import { GraphQlClient } from ' @contember/graphql-client' ;
7
8
import { GraphQlClientRequestOptions } from ' @contember/graphql-client' ;
8
9
import { GraphQlFieldTypedArgs } from ' @contember/graphql-builder' ;
9
10
import { GraphQlSelectionSet } from ' @contember/graphql-builder' ;
@@ -13,7 +14,7 @@ import { Result } from '@contember/schema';
13
14
14
15
// @public (undocumented)
15
16
export class ContentClient {
16
- constructor (executor : QueryExecutor );
17
+ constructor (client : Pick < GraphQlClient , ' execute ' > );
17
18
// (undocumented)
18
19
mutate<Value >(mutation : ContentMutation <Value >, options ? : QueryExecutorOptions ): Promise <Value >;
19
20
// (undocumented)
@@ -377,9 +378,6 @@ export type MutationTransactionOptions = {
377
378
// @public (undocumented)
378
379
export type Path = Array <FieldPath | IndexPath >;
379
380
380
- // @public (undocumented)
381
- export type QueryExecutor = <T = unknown >(query : string , options : GraphQlClientRequestOptions ) => Promise <T >;
382
-
383
381
// @public (undocumented)
384
382
export type QueryExecutorOptions = GraphQlClientRequestOptions ;
385
383
You can’t perform that action at this time.
0 commit comments