@@ -65,16 +65,16 @@ export class DataConnectOperationError extends DataConnectError {
6565 readonly name : string = 'DataConnectOperationError' ;
6666
6767 /** The response received from the backend. */
68- readonly response : DataConnectOperationResponse ;
68+ readonly response : DataConnectOperationFailureResponse ;
6969
7070 /** @hideconstructor */
71- constructor ( message : string , response : DataConnectOperationResponse ) {
71+ constructor ( message : string , response : DataConnectOperationFailureResponse ) {
7272 super ( Code . PARTIAL_ERROR , message ) ;
7373 this . response = response ;
7474 }
7575}
7676
77- export interface DataConnectOperationResponse {
77+ export interface DataConnectOperationFailureResponse {
7878 // The "data" provided by the backend in the response message.
7979 //
8080 // Will be `undefined` if no "data" was provided in the response message.
@@ -84,12 +84,12 @@ export interface DataConnectOperationResponse {
8484 readonly data ?: Record < string , unknown > | null ;
8585
8686 // The list of errors provided by the backend in the response message.
87- readonly errors : DataConnectOperationErrorInfo [ ] ;
87+ readonly errors : DataConnectOperationFailureResponseErrorInfo [ ] ;
8888}
8989
9090// Information about the error, as provided in the response from the backend.
9191// See https://spec.graphql.org/draft/#sec-Errors
92- export interface DataConnectOperationErrorInfo {
92+ export interface DataConnectOperationFailureResponseErrorInfo {
9393 // The error message.
9494 readonly message : string ;
9595
0 commit comments