@squidcloud/local-backend 1.0.74 → 1.0.75

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -103,6 +103,14 @@ export interface QueryResultData {
103
103
  collectionName: CollectionName;
104
104
  clientRequestId: ClientRequestId;
105
105
  }
106
+ export interface QueryErrorData {
107
+ message: string;
108
+ statusCode: number;
109
+ }
110
+ export interface BatchQueryResultData {
111
+ results: Record<ClientRequestId, QueryResultData>;
112
+ errors: Record<ClientRequestId, QueryErrorData>;
113
+ }
106
114
  export interface QueryResultMessageToClient extends BaseMessageToClient {
107
115
  type: 'query';
108
116
  payload: QueryResultData;
@@ -1 +1 @@
1
- {"version":3,"file":"socket.types.js","sourceRoot":"","sources":["../../../../common/src/socket.types.ts"],"names":[],"mappings":";;;AAwLA,IAAY,qBAOX;AAPD,WAAY,qBAAqB;IAE/B,gDAAuB,CAAA;IAEvB,sDAA6B,CAAA;IAE7B,4CAAmB,CAAA;AACrB,CAAC,EAPW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAOhC"}
1
+ {"version":3,"file":"socket.types.js","sourceRoot":"","sources":["../../../../common/src/socket.types.ts"],"names":[],"mappings":";;;AAoMA,IAAY,qBAOX;AAPD,WAAY,qBAAqB;IAE/B,gDAAuB,CAAA;IAEvB,sDAA6B,CAAA;IAE7B,4CAAmB,CAAA;AACrB,CAAC,EAPW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAOhC"}