@syncular/core 0.41.1 → 0.42.0
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.
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { RejectionDetails } from './rejection-details.js';
|
|
1
2
|
export type RemoteOperationRequest = {
|
|
2
3
|
readonly revision: 1;
|
|
3
4
|
readonly kind: 'query';
|
|
@@ -32,6 +33,8 @@ export type RemoteOperationResponse = {
|
|
|
32
33
|
readonly code: string;
|
|
33
34
|
readonly message: string;
|
|
34
35
|
readonly retryable: boolean;
|
|
36
|
+
/** Host-approved recovery metadata of a `ValidationRejection` (§6.3.1 bounds). */
|
|
37
|
+
readonly details?: RejectionDetails;
|
|
35
38
|
};
|
|
36
39
|
export type RemoteOperationRealtimeMessage = {
|
|
37
40
|
readonly revision: 1;
|
package/package.json
CHANGED
package/src/remote-operations.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { RejectionDetails } from './rejection-details';
|
|
1
2
|
import { bytesToBase64 } from './render';
|
|
2
3
|
|
|
3
4
|
export type RemoteOperationRequest =
|
|
@@ -40,6 +41,8 @@ export type RemoteOperationResponse =
|
|
|
40
41
|
readonly code: string;
|
|
41
42
|
readonly message: string;
|
|
42
43
|
readonly retryable: boolean;
|
|
44
|
+
/** Host-approved recovery metadata of a `ValidationRejection` (§6.3.1 bounds). */
|
|
45
|
+
readonly details?: RejectionDetails;
|
|
43
46
|
};
|
|
44
47
|
|
|
45
48
|
export type RemoteOperationRealtimeMessage =
|