Skip to content

Commit d88ccbb

Browse files
committed
chore: update ae report
1 parent 07e5f1b commit d88ccbb

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

build/api/client-content.api.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
55
```ts
66

7+
import { GraphQlClient } from '@contember/graphql-client';
78
import { GraphQlClientRequestOptions } from '@contember/graphql-client';
89
import { GraphQlFieldTypedArgs } from '@contember/graphql-builder';
910
import { GraphQlSelectionSet } from '@contember/graphql-builder';
@@ -13,7 +14,7 @@ import { Result } from '@contember/schema';
1314

1415
// @public (undocumented)
1516
export class ContentClient {
16-
constructor(executor: QueryExecutor);
17+
constructor(client: Pick<GraphQlClient, 'execute'>);
1718
// (undocumented)
1819
mutate<Value>(mutation: ContentMutation<Value>, options?: QueryExecutorOptions): Promise<Value>;
1920
// (undocumented)
@@ -377,9 +378,6 @@ export type MutationTransactionOptions = {
377378
// @public (undocumented)
378379
export type Path = Array<FieldPath | IndexPath>;
379380

380-
// @public (undocumented)
381-
export type QueryExecutor = <T = unknown>(query: string, options: GraphQlClientRequestOptions) => Promise<T>;
382-
383381
// @public (undocumented)
384382
export type QueryExecutorOptions = GraphQlClientRequestOptions;
385383

0 commit comments

Comments
 (0)