Skip to content

Commit d650f5d

Browse files
committed
Updated docgen
1 parent 12ce1bd commit d650f5d

File tree

3 files changed

+10
-16
lines changed

3 files changed

+10
-16
lines changed

common/api-review/data-connect.api.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -62,23 +62,23 @@ export type DataConnectErrorCode = 'other' | 'already-initialized' | 'not-initia
6262
// @public
6363
export class DataConnectOperationError extends DataConnectError {
6464
/* Excluded from this release type: name */
65-
readonly response: DataConnectOperationResponse;
65+
readonly response: DataConnectOperationFailureResponse;
6666
}
6767

6868
// @public (undocumented)
69-
export interface DataConnectOperationErrorInfo {
69+
export interface DataConnectOperationFailureResponse {
7070
// (undocumented)
71-
readonly message: string;
71+
readonly data?: Record<string, unknown> | null;
7272
// (undocumented)
73-
readonly path: Array<string | number>;
73+
readonly errors: DataConnectOperationFailureResponseErrorInfo[];
7474
}
7575

7676
// @public (undocumented)
77-
export interface DataConnectOperationResponse {
77+
export interface DataConnectOperationFailureResponseErrorInfo {
7878
// (undocumented)
79-
readonly data?: Record<string, unknown> | null;
79+
readonly message: string;
8080
// (undocumented)
81-
readonly errors: DataConnectOperationErrorInfo[];
81+
readonly path: Array<string | number>;
8282
}
8383

8484
// @public
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
connectorId: "tests"
22
authMode: "PUBLIC"
33
generate:
4-
javascriptSdk:
5-
outputDir: "./gen/web"
6-
package: "@test-app/tests"
4+
javascriptSdk:
5+
outputDir: "./gen/web"
6+
package: "@test-app/tests"

packages/data-connect/test/mutations.gql

-6
This file was deleted.

0 commit comments

Comments
 (0)