@kronos-ts/axon-server 0.1.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.
- package/dist/axon-server-event-store.d.ts +16 -0
- package/dist/axon-server-event-store.d.ts.map +1 -0
- package/dist/axon-server-event-store.js +282 -0
- package/dist/axon-server-event-store.js.map +1 -0
- package/dist/axon-server-snapshot-store.d.ts +12 -0
- package/dist/axon-server-snapshot-store.d.ts.map +1 -0
- package/dist/axon-server-snapshot-store.js +88 -0
- package/dist/axon-server-snapshot-store.js.map +1 -0
- package/dist/axon-server.d.ts +115 -0
- package/dist/axon-server.d.ts.map +1 -0
- package/dist/axon-server.js +986 -0
- package/dist/axon-server.js.map +1 -0
- package/dist/connection-manager.d.ts +49 -0
- package/dist/connection-manager.d.ts.map +1 -0
- package/dist/connection-manager.js +37 -0
- package/dist/connection-manager.js.map +1 -0
- package/dist/connection.d.ts +129 -0
- package/dist/connection.d.ts.map +1 -0
- package/dist/connection.js +130 -0
- package/dist/connection.js.map +1 -0
- package/dist/errors.d.ts +96 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +189 -0
- package/dist/errors.js.map +1 -0
- package/dist/event-processor-info.d.ts +35 -0
- package/dist/event-processor-info.d.ts.map +1 -0
- package/dist/event-processor-info.js +28 -0
- package/dist/event-processor-info.js.map +1 -0
- package/dist/flow-controlled-sender.d.ts +30 -0
- package/dist/flow-controlled-sender.d.ts.map +1 -0
- package/dist/flow-controlled-sender.js +60 -0
- package/dist/flow-controlled-sender.js.map +1 -0
- package/dist/generated/command.d.ts +158 -0
- package/dist/generated/command.d.ts.map +1 -0
- package/dist/generated/command.js +970 -0
- package/dist/generated/command.js.map +1 -0
- package/dist/generated/common.d.ts +130 -0
- package/dist/generated/common.d.ts.map +1 -0
- package/dist/generated/common.js +908 -0
- package/dist/generated/common.js.map +1 -0
- package/dist/generated/control.d.ts +293 -0
- package/dist/generated/control.d.ts.map +1 -0
- package/dist/generated/control.js +1938 -0
- package/dist/generated/control.js.map +1 -0
- package/dist/generated/dcb.d.ts +650 -0
- package/dist/generated/dcb.d.ts.map +1 -0
- package/dist/generated/dcb.js +2943 -0
- package/dist/generated/dcb.js.map +1 -0
- package/dist/generated/event.d.ts +667 -0
- package/dist/generated/event.d.ts.map +1 -0
- package/dist/generated/event.js +3185 -0
- package/dist/generated/event.js.map +1 -0
- package/dist/generated/google/protobuf/empty.d.ts +30 -0
- package/dist/generated/google/protobuf/empty.d.ts.map +1 -0
- package/dist/generated/google/protobuf/empty.js +46 -0
- package/dist/generated/google/protobuf/empty.js.map +1 -0
- package/dist/generated/query.d.ts +300 -0
- package/dist/generated/query.d.ts.map +1 -0
- package/dist/generated/query.js +2183 -0
- package/dist/generated/query.js.map +1 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +12 -0
- package/dist/index.js.map +1 -0
- package/dist/message-size.d.ts +38 -0
- package/dist/message-size.d.ts.map +1 -0
- package/dist/message-size.js +57 -0
- package/dist/message-size.js.map +1 -0
- package/dist/metadata-conversion.d.ts +11 -0
- package/dist/metadata-conversion.d.ts.map +1 -0
- package/dist/metadata-conversion.js +51 -0
- package/dist/metadata-conversion.js.map +1 -0
- package/dist/outbound-stream.d.ts +15 -0
- package/dist/outbound-stream.d.ts.map +1 -0
- package/dist/outbound-stream.js +39 -0
- package/dist/outbound-stream.js.map +1 -0
- package/dist/platform-service.d.ts +119 -0
- package/dist/platform-service.d.ts.map +1 -0
- package/dist/platform-service.js +250 -0
- package/dist/platform-service.js.map +1 -0
- package/dist/shutdown-latch.d.ts +38 -0
- package/dist/shutdown-latch.d.ts.map +1 -0
- package/dist/shutdown-latch.js +51 -0
- package/dist/shutdown-latch.js.map +1 -0
- package/package.json +69 -0
- package/src/axon-server-event-store.ts +358 -0
- package/src/axon-server-snapshot-store.ts +118 -0
- package/src/axon-server.ts +1202 -0
- package/src/connection-manager.ts +88 -0
- package/src/connection.ts +272 -0
- package/src/errors.ts +223 -0
- package/src/event-processor-info.ts +62 -0
- package/src/flow-controlled-sender.ts +91 -0
- package/src/generated/command.ts +1231 -0
- package/src/generated/common.ts +1097 -0
- package/src/generated/control.ts +2419 -0
- package/src/generated/dcb.ts +3826 -0
- package/src/generated/event.ts +4076 -0
- package/src/generated/google/protobuf/empty.ts +84 -0
- package/src/generated/query.ts +2723 -0
- package/src/index.ts +75 -0
- package/src/message-size.ts +75 -0
- package/src/metadata-conversion.ts +46 -0
- package/src/outbound-stream.ts +52 -0
- package/src/platform-service.ts +361 -0
- package/src/shutdown-latch.ts +97 -0
|
@@ -0,0 +1,650 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
+
import type { CallContext, CallOptions } from "nice-grpc-common";
|
|
3
|
+
import { InstructionAck } from "./common.js";
|
|
4
|
+
export declare const protobufPackage = "io.axoniq.axonserver.grpc.event.dcb";
|
|
5
|
+
/** Request message to schedule an event */
|
|
6
|
+
export interface ScheduleEventRequest {
|
|
7
|
+
/** timestamp when to publish the event */
|
|
8
|
+
instant: bigint;
|
|
9
|
+
/** the event to publish */
|
|
10
|
+
event: Event | undefined;
|
|
11
|
+
}
|
|
12
|
+
/** Request message to reschedule an event */
|
|
13
|
+
export interface RescheduleEventRequest {
|
|
14
|
+
/** schedule token of the event to reschedule */
|
|
15
|
+
token: string;
|
|
16
|
+
/** timestamp when to publish the event */
|
|
17
|
+
instant: bigint;
|
|
18
|
+
/** optionally provide a new event to publish */
|
|
19
|
+
event: Event | undefined;
|
|
20
|
+
}
|
|
21
|
+
/** Request message to cancel an event */
|
|
22
|
+
export interface CancelScheduledEventRequest {
|
|
23
|
+
/** token of scheduled event to cancel */
|
|
24
|
+
token: string;
|
|
25
|
+
}
|
|
26
|
+
/** Token to manage a scheduled event */
|
|
27
|
+
export interface ScheduleToken {
|
|
28
|
+
/** Field defining the token identifier */
|
|
29
|
+
token: string;
|
|
30
|
+
}
|
|
31
|
+
/** The event message. */
|
|
32
|
+
export interface Event {
|
|
33
|
+
/** The unique identifier of the event. */
|
|
34
|
+
identifier: string;
|
|
35
|
+
/** The timestamp of the event. */
|
|
36
|
+
timestamp: bigint;
|
|
37
|
+
/** The name of the event. */
|
|
38
|
+
name: string;
|
|
39
|
+
/** The version of the event. */
|
|
40
|
+
version: string;
|
|
41
|
+
/** The payload of the event. */
|
|
42
|
+
payload: Uint8Array;
|
|
43
|
+
/** The metadata of the event. */
|
|
44
|
+
metadata: {
|
|
45
|
+
[key: string]: string;
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
export interface Event_MetadataEntry {
|
|
49
|
+
key: string;
|
|
50
|
+
value: string;
|
|
51
|
+
}
|
|
52
|
+
/** The tag. Describes an event with more details. Usually using concepts from the Domain. */
|
|
53
|
+
export interface Tag {
|
|
54
|
+
/** The key of the tag. */
|
|
55
|
+
key: Uint8Array;
|
|
56
|
+
/** The value of the tag. */
|
|
57
|
+
value: Uint8Array;
|
|
58
|
+
}
|
|
59
|
+
/** The event described in more details by a list of tags. */
|
|
60
|
+
export interface TaggedEvent {
|
|
61
|
+
/** The event. */
|
|
62
|
+
event: Event | undefined;
|
|
63
|
+
/** List of tags describing the given event in more details. */
|
|
64
|
+
tag: Tag[];
|
|
65
|
+
}
|
|
66
|
+
/** The event retrieved from the event store with its corresponding sequence. */
|
|
67
|
+
export interface SequencedEvent {
|
|
68
|
+
/** The sequence of the event. */
|
|
69
|
+
sequence: bigint;
|
|
70
|
+
/** The event. */
|
|
71
|
+
event: Event | undefined;
|
|
72
|
+
}
|
|
73
|
+
/** The message representing the request to append events to the event store. */
|
|
74
|
+
export interface AppendEventsRequest {
|
|
75
|
+
/** The condition used to check the validity of this request. If omitted, events will be appended unconditionally. */
|
|
76
|
+
condition: ConsistencyCondition | undefined;
|
|
77
|
+
/**
|
|
78
|
+
* A list of tagged events to be appended to the event store if the condition is met.
|
|
79
|
+
* These events are considered as a transaction - they are either all appended or none of them are appended.
|
|
80
|
+
* The event store will index the events based on provided tags for future faster retrieval.
|
|
81
|
+
*/
|
|
82
|
+
event: TaggedEvent[];
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* The response of a successful append events request. If there was an issue with the append events request,
|
|
86
|
+
* the stream will complete with an error.
|
|
87
|
+
*/
|
|
88
|
+
export interface AppendEventsResponse {
|
|
89
|
+
/**
|
|
90
|
+
* The sequence of the first event stored in the event store.
|
|
91
|
+
* Corresponding to the list of events (a transaction) passed in the AppendEventsRequest.
|
|
92
|
+
*/
|
|
93
|
+
sequenceOfTheFirstEvent: bigint;
|
|
94
|
+
/** The number of events appended. Matches the number of events passed in the AppendEventsRequest. */
|
|
95
|
+
transactionSize: number;
|
|
96
|
+
/**
|
|
97
|
+
* The consistency marker which may be used for a subsequent append events requests. Do note that during the time this
|
|
98
|
+
* consistency marker may get far behind the head of the event store which will increase the time needed for the append
|
|
99
|
+
* events request to be validated. If you don't plan to do subsequent append events requests in a "short" period of time,
|
|
100
|
+
* use the Source RPC to refresh the consistency marker.
|
|
101
|
+
*/
|
|
102
|
+
consistencyMarker: bigint;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* The request to source events from the event store. It results in a finite stream of events completed by
|
|
106
|
+
* the event store. It may also be cancelled by the client. Only events matching the given criteria
|
|
107
|
+
* (a provided list of criterions) will be present in the stream. The stream is capped by the HEAD of the event store.
|
|
108
|
+
*/
|
|
109
|
+
export interface SourceEventsRequest {
|
|
110
|
+
/** An inclusive sequence of the first event to be included in the resulting stream. */
|
|
111
|
+
fromSequence: bigint;
|
|
112
|
+
/**
|
|
113
|
+
* The criteria consisting of the list of criterions. If at least one of these criterions is met,
|
|
114
|
+
* the criteria is met.
|
|
115
|
+
*/
|
|
116
|
+
criterion: Criterion[];
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* The response to the SourceEventsRequest. It consists either of an event (with its corresponding sequence) or a
|
|
120
|
+
* consistency marker. The consistency marker should be used in a following AppendEventsRequest related to the criteria used in the SourceEventsRequest this response originates from.
|
|
121
|
+
*/
|
|
122
|
+
export interface SourceEventsResponse {
|
|
123
|
+
/** The event matching the criteria with its corresponding sequence. */
|
|
124
|
+
event?: SequencedEvent | undefined;
|
|
125
|
+
/** The consistency marker to be used for the following append related to the same criteria. */
|
|
126
|
+
consistencyMarker?: bigint | undefined;
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* The condition for an AppendEventsRequest. Consists of the consistency marker and the criteria
|
|
130
|
+
* (a list of criterions).
|
|
131
|
+
*/
|
|
132
|
+
export interface ConsistencyCondition {
|
|
133
|
+
/**
|
|
134
|
+
* The sequence used to start checking for the consistency of an append. If there are events with a sequence greater
|
|
135
|
+
* or equal than the consistency marker and those are matching the given criteria, the condition is not met and the transaction
|
|
136
|
+
* is rejected. Otherwise, it is accepted.
|
|
137
|
+
*/
|
|
138
|
+
consistencyMarker: bigint;
|
|
139
|
+
/** The criteria. Consists of a list of criterions. If a single criterion is met, the whole criteria is met. */
|
|
140
|
+
criterion: Criterion[];
|
|
141
|
+
}
|
|
142
|
+
/** The integral part of the criteria. */
|
|
143
|
+
export interface Criterion {
|
|
144
|
+
/** The criterion based on event tags and event names. */
|
|
145
|
+
tagsAndNames: TagsAndNamesCriterion | undefined;
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* The criterion based on event tags and event names. The event meets this criterion if ALL tags from this criterion
|
|
149
|
+
* are present in the tags of the event AND if the event name is present in one of the names of the this criterion.
|
|
150
|
+
*/
|
|
151
|
+
export interface TagsAndNamesCriterion {
|
|
152
|
+
/** A list of event names. The event meets this criterion if its name is in one of the names in this list. */
|
|
153
|
+
name: string[];
|
|
154
|
+
/**
|
|
155
|
+
* A list of event tags. The event meets this criterion if it contains all the tags from this list. It meets the
|
|
156
|
+
* criterion if it contains more than provided list here, but it MUST contain all from the list.
|
|
157
|
+
*/
|
|
158
|
+
tag: Tag[];
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* The request to provide an infinite stream of events from the event store. The client may cancel the stream at any
|
|
162
|
+
* time.
|
|
163
|
+
*/
|
|
164
|
+
export interface StreamEventsRequest {
|
|
165
|
+
/** The inclusive sequence to start streaming from. */
|
|
166
|
+
fromSequence: bigint;
|
|
167
|
+
/**
|
|
168
|
+
* The criteria used to filter out events. Represented by a list of criterions. If at least one is met, the whole
|
|
169
|
+
* criteria is met.
|
|
170
|
+
*/
|
|
171
|
+
criterion: Criterion[];
|
|
172
|
+
}
|
|
173
|
+
/** The response to the StreamEventsRequest. */
|
|
174
|
+
export interface StreamEventsResponse {
|
|
175
|
+
/** The event with its corresponding sequence. */
|
|
176
|
+
event: SequencedEvent | undefined;
|
|
177
|
+
}
|
|
178
|
+
/** The request to retrieve the current HEAD of the event store. */
|
|
179
|
+
export interface GetHeadRequest {
|
|
180
|
+
}
|
|
181
|
+
/** The current HEAD of the event store. */
|
|
182
|
+
export interface GetHeadResponse {
|
|
183
|
+
/**
|
|
184
|
+
* The sequence of the current head. Points to the position of the first event to be appended. The HEAD of an empty
|
|
185
|
+
* event store is 0.
|
|
186
|
+
*/
|
|
187
|
+
sequence: bigint;
|
|
188
|
+
}
|
|
189
|
+
/** The request to retrieve the current TAIL of the event store. */
|
|
190
|
+
export interface GetTailRequest {
|
|
191
|
+
}
|
|
192
|
+
/** The current TAIL of the event store. */
|
|
193
|
+
export interface GetTailResponse {
|
|
194
|
+
/**
|
|
195
|
+
* The sequence of the first event in the event store. 0 for an empty event store. 0 for a non-truncated event store.
|
|
196
|
+
* Non-zero for a truncated event store.
|
|
197
|
+
*/
|
|
198
|
+
sequence: bigint;
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* The request to get the sequence of the event whose timestamp is the same as the timestamp provided in the request.
|
|
202
|
+
* If there are no events with the exact timestamp, then the sequence of the first one after the provided timestamp is
|
|
203
|
+
* returned. If the provided timestamp is greater that the sequence of the last event in the event store,
|
|
204
|
+
* the HEAD is returned.
|
|
205
|
+
*/
|
|
206
|
+
export interface GetSequenceAtRequest {
|
|
207
|
+
/** The timestamp. */
|
|
208
|
+
timestamp: bigint;
|
|
209
|
+
}
|
|
210
|
+
/** The sequence of the event approximately close to the provided timestamp. */
|
|
211
|
+
export interface GetSequenceAtResponse {
|
|
212
|
+
/** The sequence of the event. */
|
|
213
|
+
sequence: bigint;
|
|
214
|
+
}
|
|
215
|
+
/** The request to add tags to the event. */
|
|
216
|
+
export interface AddTagsRequest {
|
|
217
|
+
/** The sequence of the event whose tags list will be expanded with the tags from the request. */
|
|
218
|
+
sequence: bigint;
|
|
219
|
+
/**
|
|
220
|
+
* The tags to be added to the event. If the event already contains a tag from the same list
|
|
221
|
+
* (with the same key and the value) the new one will be ignored.
|
|
222
|
+
*/
|
|
223
|
+
tag: Tag[];
|
|
224
|
+
}
|
|
225
|
+
/** The response indicating a successful addition of tags to the event. */
|
|
226
|
+
export interface AddTagsResponse {
|
|
227
|
+
}
|
|
228
|
+
/** The request to remove tags from the event. */
|
|
229
|
+
export interface RemoveTagsRequest {
|
|
230
|
+
/** The sequence of the event whose tags should be removed. */
|
|
231
|
+
sequence: bigint;
|
|
232
|
+
/** Tags to be removed. If the event is not tagged with listed tags, they are skipped. */
|
|
233
|
+
tag: Tag[];
|
|
234
|
+
}
|
|
235
|
+
/** The response indicating a successful removal of tags for the event. */
|
|
236
|
+
export interface RemoveTagsResponse {
|
|
237
|
+
}
|
|
238
|
+
/** The request to retrieve tags of the event. */
|
|
239
|
+
export interface GetTagsRequest {
|
|
240
|
+
/** The sequence of the event whose tags should be retrieved. */
|
|
241
|
+
sequence: bigint;
|
|
242
|
+
}
|
|
243
|
+
/** The response containing tags of an event. */
|
|
244
|
+
export interface GetTagsResponse {
|
|
245
|
+
/** The tags associated to the event. */
|
|
246
|
+
tag: Tag[];
|
|
247
|
+
}
|
|
248
|
+
/** The snapshot. */
|
|
249
|
+
export interface Snapshot {
|
|
250
|
+
/** The name of the snapshot. */
|
|
251
|
+
name: string;
|
|
252
|
+
/** The version of the snapshot. */
|
|
253
|
+
version: string;
|
|
254
|
+
/** The payload of the snapshot. */
|
|
255
|
+
payload: Uint8Array;
|
|
256
|
+
/** The timestamp of the snapshot. */
|
|
257
|
+
timestamp: bigint;
|
|
258
|
+
/** The metadata of the snapshot. */
|
|
259
|
+
metadata: {
|
|
260
|
+
[key: string]: string;
|
|
261
|
+
};
|
|
262
|
+
}
|
|
263
|
+
export interface Snapshot_MetadataEntry {
|
|
264
|
+
key: string;
|
|
265
|
+
value: string;
|
|
266
|
+
}
|
|
267
|
+
/** The request to add the snapshot to the snapshot store. */
|
|
268
|
+
export interface AddSnapshotRequest {
|
|
269
|
+
/** The key this snapshot is added to. */
|
|
270
|
+
key: Uint8Array;
|
|
271
|
+
/**
|
|
272
|
+
* The sequence of the snapshot. Usually linked to the sequence of the event in the event store up to which
|
|
273
|
+
* the snapshot is taken.
|
|
274
|
+
*/
|
|
275
|
+
sequence: bigint;
|
|
276
|
+
/** If set to true, older snapshots for the same key are pruned. */
|
|
277
|
+
prune: boolean;
|
|
278
|
+
/** The snapshot. */
|
|
279
|
+
snapshot: Snapshot | undefined;
|
|
280
|
+
}
|
|
281
|
+
/** The response indicating the successful addition of the snapshot. */
|
|
282
|
+
export interface AddSnapshotResponse {
|
|
283
|
+
}
|
|
284
|
+
/**
|
|
285
|
+
* The request to delete the snapshot from the snapshot store.
|
|
286
|
+
* Deletes from a sequence of `0` to the specified `to_sequence`
|
|
287
|
+
*/
|
|
288
|
+
export interface DeleteSnapshotsRequest {
|
|
289
|
+
/** The key the snapshot is identified by. */
|
|
290
|
+
key: Uint8Array;
|
|
291
|
+
/** The exclusive upper bound sequence of the snapshot to end the deletion. */
|
|
292
|
+
toSequence: bigint;
|
|
293
|
+
}
|
|
294
|
+
/** The response indicating the successful deletion of the snapshot. */
|
|
295
|
+
export interface DeleteSnapshotsResponse {
|
|
296
|
+
}
|
|
297
|
+
/** The request to retrieve all snapshots from the snapshot store based on the key and sequence bounds. */
|
|
298
|
+
export interface ListSnapshotsRequest {
|
|
299
|
+
/** The key of the snapshot. */
|
|
300
|
+
key: Uint8Array;
|
|
301
|
+
/** The inclusive bottom bound sequence used to filter out snapshots. */
|
|
302
|
+
fromSequence: bigint;
|
|
303
|
+
/** The exclusive upper bound sequence used to filter out snapshots. */
|
|
304
|
+
toSequence: bigint;
|
|
305
|
+
}
|
|
306
|
+
/** The response to the ListSnapshotRequest. */
|
|
307
|
+
export interface ListSnapshotsResponse {
|
|
308
|
+
/** The key of the snapshot. */
|
|
309
|
+
key: Uint8Array;
|
|
310
|
+
/** The sequence of the snapshot. */
|
|
311
|
+
sequence: bigint;
|
|
312
|
+
/** The snapshot. */
|
|
313
|
+
snapshot: Snapshot | undefined;
|
|
314
|
+
}
|
|
315
|
+
/** The request to retrieve the snapshot with the highest sequence from the snapshot store. */
|
|
316
|
+
export interface GetLastSnapshotRequest {
|
|
317
|
+
/** The key of the snapshot. */
|
|
318
|
+
key: Uint8Array;
|
|
319
|
+
}
|
|
320
|
+
/** The response to GetLatestSnapshotRequest. */
|
|
321
|
+
export interface GetLastSnapshotResponse {
|
|
322
|
+
/** The key of the snapshot. */
|
|
323
|
+
key: Uint8Array;
|
|
324
|
+
/** The sequence of the snapshot. */
|
|
325
|
+
sequence: bigint;
|
|
326
|
+
/** The snapshot. */
|
|
327
|
+
snapshot: Snapshot | undefined;
|
|
328
|
+
}
|
|
329
|
+
export declare const ScheduleEventRequest: MessageFns<ScheduleEventRequest>;
|
|
330
|
+
export declare const RescheduleEventRequest: MessageFns<RescheduleEventRequest>;
|
|
331
|
+
export declare const CancelScheduledEventRequest: MessageFns<CancelScheduledEventRequest>;
|
|
332
|
+
export declare const ScheduleToken: MessageFns<ScheduleToken>;
|
|
333
|
+
export declare const Event: MessageFns<Event>;
|
|
334
|
+
export declare const Event_MetadataEntry: MessageFns<Event_MetadataEntry>;
|
|
335
|
+
export declare const Tag: MessageFns<Tag>;
|
|
336
|
+
export declare const TaggedEvent: MessageFns<TaggedEvent>;
|
|
337
|
+
export declare const SequencedEvent: MessageFns<SequencedEvent>;
|
|
338
|
+
export declare const AppendEventsRequest: MessageFns<AppendEventsRequest>;
|
|
339
|
+
export declare const AppendEventsResponse: MessageFns<AppendEventsResponse>;
|
|
340
|
+
export declare const SourceEventsRequest: MessageFns<SourceEventsRequest>;
|
|
341
|
+
export declare const SourceEventsResponse: MessageFns<SourceEventsResponse>;
|
|
342
|
+
export declare const ConsistencyCondition: MessageFns<ConsistencyCondition>;
|
|
343
|
+
export declare const Criterion: MessageFns<Criterion>;
|
|
344
|
+
export declare const TagsAndNamesCriterion: MessageFns<TagsAndNamesCriterion>;
|
|
345
|
+
export declare const StreamEventsRequest: MessageFns<StreamEventsRequest>;
|
|
346
|
+
export declare const StreamEventsResponse: MessageFns<StreamEventsResponse>;
|
|
347
|
+
export declare const GetHeadRequest: MessageFns<GetHeadRequest>;
|
|
348
|
+
export declare const GetHeadResponse: MessageFns<GetHeadResponse>;
|
|
349
|
+
export declare const GetTailRequest: MessageFns<GetTailRequest>;
|
|
350
|
+
export declare const GetTailResponse: MessageFns<GetTailResponse>;
|
|
351
|
+
export declare const GetSequenceAtRequest: MessageFns<GetSequenceAtRequest>;
|
|
352
|
+
export declare const GetSequenceAtResponse: MessageFns<GetSequenceAtResponse>;
|
|
353
|
+
export declare const AddTagsRequest: MessageFns<AddTagsRequest>;
|
|
354
|
+
export declare const AddTagsResponse: MessageFns<AddTagsResponse>;
|
|
355
|
+
export declare const RemoveTagsRequest: MessageFns<RemoveTagsRequest>;
|
|
356
|
+
export declare const RemoveTagsResponse: MessageFns<RemoveTagsResponse>;
|
|
357
|
+
export declare const GetTagsRequest: MessageFns<GetTagsRequest>;
|
|
358
|
+
export declare const GetTagsResponse: MessageFns<GetTagsResponse>;
|
|
359
|
+
export declare const Snapshot: MessageFns<Snapshot>;
|
|
360
|
+
export declare const Snapshot_MetadataEntry: MessageFns<Snapshot_MetadataEntry>;
|
|
361
|
+
export declare const AddSnapshotRequest: MessageFns<AddSnapshotRequest>;
|
|
362
|
+
export declare const AddSnapshotResponse: MessageFns<AddSnapshotResponse>;
|
|
363
|
+
export declare const DeleteSnapshotsRequest: MessageFns<DeleteSnapshotsRequest>;
|
|
364
|
+
export declare const DeleteSnapshotsResponse: MessageFns<DeleteSnapshotsResponse>;
|
|
365
|
+
export declare const ListSnapshotsRequest: MessageFns<ListSnapshotsRequest>;
|
|
366
|
+
export declare const ListSnapshotsResponse: MessageFns<ListSnapshotsResponse>;
|
|
367
|
+
export declare const GetLastSnapshotRequest: MessageFns<GetLastSnapshotRequest>;
|
|
368
|
+
export declare const GetLastSnapshotResponse: MessageFns<GetLastSnapshotResponse>;
|
|
369
|
+
/** Service providing Event Store RPCs supporting DCB. */
|
|
370
|
+
export type DcbEventStoreDefinition = typeof DcbEventStoreDefinition;
|
|
371
|
+
export declare const DcbEventStoreDefinition: {
|
|
372
|
+
readonly name: "DcbEventStore";
|
|
373
|
+
readonly fullName: "io.axoniq.axonserver.grpc.event.dcb.DcbEventStore";
|
|
374
|
+
readonly methods: {
|
|
375
|
+
/** Appends new events to the store. */
|
|
376
|
+
readonly append: {
|
|
377
|
+
readonly name: "Append";
|
|
378
|
+
readonly requestType: typeof AppendEventsRequest;
|
|
379
|
+
readonly requestStream: true;
|
|
380
|
+
readonly responseType: typeof AppendEventsResponse;
|
|
381
|
+
readonly responseStream: false;
|
|
382
|
+
readonly options: {};
|
|
383
|
+
};
|
|
384
|
+
/** Provides a finite stream of events based on the passed SourceEventsRequest. */
|
|
385
|
+
readonly source: {
|
|
386
|
+
readonly name: "Source";
|
|
387
|
+
readonly requestType: typeof SourceEventsRequest;
|
|
388
|
+
readonly requestStream: false;
|
|
389
|
+
readonly responseType: typeof SourceEventsResponse;
|
|
390
|
+
readonly responseStream: true;
|
|
391
|
+
readonly options: {};
|
|
392
|
+
};
|
|
393
|
+
/** Provides an infinite stream of events based on the passed StreamEventsRequest. */
|
|
394
|
+
readonly stream: {
|
|
395
|
+
readonly name: "Stream";
|
|
396
|
+
readonly requestType: typeof StreamEventsRequest;
|
|
397
|
+
readonly requestStream: false;
|
|
398
|
+
readonly responseType: typeof StreamEventsResponse;
|
|
399
|
+
readonly responseStream: true;
|
|
400
|
+
readonly options: {};
|
|
401
|
+
};
|
|
402
|
+
/** Gets the current _head_ of the Event Store. The _head_ points to the sequence of the first event to be appended. */
|
|
403
|
+
readonly getHead: {
|
|
404
|
+
readonly name: "GetHead";
|
|
405
|
+
readonly requestType: typeof GetHeadRequest;
|
|
406
|
+
readonly requestStream: false;
|
|
407
|
+
readonly responseType: typeof GetHeadResponse;
|
|
408
|
+
readonly responseStream: false;
|
|
409
|
+
readonly options: {};
|
|
410
|
+
};
|
|
411
|
+
/** Gets the current _tail_ of the Event Store. The _tail_ points to the sequence of the first event stored. */
|
|
412
|
+
readonly getTail: {
|
|
413
|
+
readonly name: "GetTail";
|
|
414
|
+
readonly requestType: typeof GetTailRequest;
|
|
415
|
+
readonly requestStream: false;
|
|
416
|
+
readonly responseType: typeof GetTailResponse;
|
|
417
|
+
readonly responseStream: false;
|
|
418
|
+
readonly options: {};
|
|
419
|
+
};
|
|
420
|
+
/**
|
|
421
|
+
* Returns the lowest sequence of an event with a timestamp equal to or higher than the given timestamp. The HEAD is
|
|
422
|
+
* returned if no events exist with a timestamp equal to or higher than the given timestamp.
|
|
423
|
+
*
|
|
424
|
+
* N.B. Axon Server does not assign timestamps to events. The timestamps used for fulfilling this RPC are timestamps
|
|
425
|
+
* provided by the client. It could happen that there are events after the returned sequence that have an earlier
|
|
426
|
+
* timestamp. Axon Server does not reject appends if timestamps of events are not monotonically increasing.
|
|
427
|
+
*/
|
|
428
|
+
readonly getSequenceAt: {
|
|
429
|
+
readonly name: "GetSequenceAt";
|
|
430
|
+
readonly requestType: typeof GetSequenceAtRequest;
|
|
431
|
+
readonly requestStream: false;
|
|
432
|
+
readonly responseType: typeof GetSequenceAtResponse;
|
|
433
|
+
readonly responseStream: false;
|
|
434
|
+
readonly options: {};
|
|
435
|
+
};
|
|
436
|
+
/** Assigns tags to the event identified by its sequence. */
|
|
437
|
+
readonly addTags: {
|
|
438
|
+
readonly name: "AddTags";
|
|
439
|
+
readonly requestType: typeof AddTagsRequest;
|
|
440
|
+
readonly requestStream: false;
|
|
441
|
+
readonly responseType: typeof AddTagsResponse;
|
|
442
|
+
readonly responseStream: false;
|
|
443
|
+
readonly options: {};
|
|
444
|
+
};
|
|
445
|
+
/** Removes tags from the event identified by its sequence. */
|
|
446
|
+
readonly removeTags: {
|
|
447
|
+
readonly name: "RemoveTags";
|
|
448
|
+
readonly requestType: typeof RemoveTagsRequest;
|
|
449
|
+
readonly requestStream: false;
|
|
450
|
+
readonly responseType: typeof RemoveTagsResponse;
|
|
451
|
+
readonly responseStream: false;
|
|
452
|
+
readonly options: {};
|
|
453
|
+
};
|
|
454
|
+
/** Gets tags for the event identified by its sequence. */
|
|
455
|
+
readonly getTags: {
|
|
456
|
+
readonly name: "GetTags";
|
|
457
|
+
readonly requestType: typeof GetTagsRequest;
|
|
458
|
+
readonly requestStream: false;
|
|
459
|
+
readonly responseType: typeof GetTagsResponse;
|
|
460
|
+
readonly responseStream: false;
|
|
461
|
+
readonly options: {};
|
|
462
|
+
};
|
|
463
|
+
};
|
|
464
|
+
};
|
|
465
|
+
export interface DcbEventStoreServiceImplementation<CallContextExt = {}> {
|
|
466
|
+
/** Appends new events to the store. */
|
|
467
|
+
append(request: AsyncIterable<AppendEventsRequest>, context: CallContext & CallContextExt): Promise<DeepPartial<AppendEventsResponse>>;
|
|
468
|
+
/** Provides a finite stream of events based on the passed SourceEventsRequest. */
|
|
469
|
+
source(request: SourceEventsRequest, context: CallContext & CallContextExt): ServerStreamingMethodResult<DeepPartial<SourceEventsResponse>>;
|
|
470
|
+
/** Provides an infinite stream of events based on the passed StreamEventsRequest. */
|
|
471
|
+
stream(request: StreamEventsRequest, context: CallContext & CallContextExt): ServerStreamingMethodResult<DeepPartial<StreamEventsResponse>>;
|
|
472
|
+
/** Gets the current _head_ of the Event Store. The _head_ points to the sequence of the first event to be appended. */
|
|
473
|
+
getHead(request: GetHeadRequest, context: CallContext & CallContextExt): Promise<DeepPartial<GetHeadResponse>>;
|
|
474
|
+
/** Gets the current _tail_ of the Event Store. The _tail_ points to the sequence of the first event stored. */
|
|
475
|
+
getTail(request: GetTailRequest, context: CallContext & CallContextExt): Promise<DeepPartial<GetTailResponse>>;
|
|
476
|
+
/**
|
|
477
|
+
* Returns the lowest sequence of an event with a timestamp equal to or higher than the given timestamp. The HEAD is
|
|
478
|
+
* returned if no events exist with a timestamp equal to or higher than the given timestamp.
|
|
479
|
+
*
|
|
480
|
+
* N.B. Axon Server does not assign timestamps to events. The timestamps used for fulfilling this RPC are timestamps
|
|
481
|
+
* provided by the client. It could happen that there are events after the returned sequence that have an earlier
|
|
482
|
+
* timestamp. Axon Server does not reject appends if timestamps of events are not monotonically increasing.
|
|
483
|
+
*/
|
|
484
|
+
getSequenceAt(request: GetSequenceAtRequest, context: CallContext & CallContextExt): Promise<DeepPartial<GetSequenceAtResponse>>;
|
|
485
|
+
/** Assigns tags to the event identified by its sequence. */
|
|
486
|
+
addTags(request: AddTagsRequest, context: CallContext & CallContextExt): Promise<DeepPartial<AddTagsResponse>>;
|
|
487
|
+
/** Removes tags from the event identified by its sequence. */
|
|
488
|
+
removeTags(request: RemoveTagsRequest, context: CallContext & CallContextExt): Promise<DeepPartial<RemoveTagsResponse>>;
|
|
489
|
+
/** Gets tags for the event identified by its sequence. */
|
|
490
|
+
getTags(request: GetTagsRequest, context: CallContext & CallContextExt): Promise<DeepPartial<GetTagsResponse>>;
|
|
491
|
+
}
|
|
492
|
+
export interface DcbEventStoreClient<CallOptionsExt = {}> {
|
|
493
|
+
/** Appends new events to the store. */
|
|
494
|
+
append(request: AsyncIterable<DeepPartial<AppendEventsRequest>>, options?: CallOptions & CallOptionsExt): Promise<AppendEventsResponse>;
|
|
495
|
+
/** Provides a finite stream of events based on the passed SourceEventsRequest. */
|
|
496
|
+
source(request: DeepPartial<SourceEventsRequest>, options?: CallOptions & CallOptionsExt): AsyncIterable<SourceEventsResponse>;
|
|
497
|
+
/** Provides an infinite stream of events based on the passed StreamEventsRequest. */
|
|
498
|
+
stream(request: DeepPartial<StreamEventsRequest>, options?: CallOptions & CallOptionsExt): AsyncIterable<StreamEventsResponse>;
|
|
499
|
+
/** Gets the current _head_ of the Event Store. The _head_ points to the sequence of the first event to be appended. */
|
|
500
|
+
getHead(request: DeepPartial<GetHeadRequest>, options?: CallOptions & CallOptionsExt): Promise<GetHeadResponse>;
|
|
501
|
+
/** Gets the current _tail_ of the Event Store. The _tail_ points to the sequence of the first event stored. */
|
|
502
|
+
getTail(request: DeepPartial<GetTailRequest>, options?: CallOptions & CallOptionsExt): Promise<GetTailResponse>;
|
|
503
|
+
/**
|
|
504
|
+
* Returns the lowest sequence of an event with a timestamp equal to or higher than the given timestamp. The HEAD is
|
|
505
|
+
* returned if no events exist with a timestamp equal to or higher than the given timestamp.
|
|
506
|
+
*
|
|
507
|
+
* N.B. Axon Server does not assign timestamps to events. The timestamps used for fulfilling this RPC are timestamps
|
|
508
|
+
* provided by the client. It could happen that there are events after the returned sequence that have an earlier
|
|
509
|
+
* timestamp. Axon Server does not reject appends if timestamps of events are not monotonically increasing.
|
|
510
|
+
*/
|
|
511
|
+
getSequenceAt(request: DeepPartial<GetSequenceAtRequest>, options?: CallOptions & CallOptionsExt): Promise<GetSequenceAtResponse>;
|
|
512
|
+
/** Assigns tags to the event identified by its sequence. */
|
|
513
|
+
addTags(request: DeepPartial<AddTagsRequest>, options?: CallOptions & CallOptionsExt): Promise<AddTagsResponse>;
|
|
514
|
+
/** Removes tags from the event identified by its sequence. */
|
|
515
|
+
removeTags(request: DeepPartial<RemoveTagsRequest>, options?: CallOptions & CallOptionsExt): Promise<RemoveTagsResponse>;
|
|
516
|
+
/** Gets tags for the event identified by its sequence. */
|
|
517
|
+
getTags(request: DeepPartial<GetTagsRequest>, options?: CallOptions & CallOptionsExt): Promise<GetTagsResponse>;
|
|
518
|
+
}
|
|
519
|
+
/** Service providing Snapshot Store RPCs. */
|
|
520
|
+
export type DcbSnapshotStoreDefinition = typeof DcbSnapshotStoreDefinition;
|
|
521
|
+
export declare const DcbSnapshotStoreDefinition: {
|
|
522
|
+
readonly name: "DcbSnapshotStore";
|
|
523
|
+
readonly fullName: "io.axoniq.axonserver.grpc.event.dcb.DcbSnapshotStore";
|
|
524
|
+
readonly methods: {
|
|
525
|
+
/** Adds a snapshot to the snapshot store. */
|
|
526
|
+
readonly add: {
|
|
527
|
+
readonly name: "Add";
|
|
528
|
+
readonly requestType: typeof AddSnapshotRequest;
|
|
529
|
+
readonly requestStream: false;
|
|
530
|
+
readonly responseType: typeof AddSnapshotResponse;
|
|
531
|
+
readonly responseStream: false;
|
|
532
|
+
readonly options: {};
|
|
533
|
+
};
|
|
534
|
+
/** Deletes a snapshot from the snapshot store. */
|
|
535
|
+
readonly delete: {
|
|
536
|
+
readonly name: "Delete";
|
|
537
|
+
readonly requestType: typeof DeleteSnapshotsRequest;
|
|
538
|
+
readonly requestStream: false;
|
|
539
|
+
readonly responseType: typeof DeleteSnapshotsResponse;
|
|
540
|
+
readonly responseStream: false;
|
|
541
|
+
readonly options: {};
|
|
542
|
+
};
|
|
543
|
+
/** Retrieves snapshots from the snapshot store. */
|
|
544
|
+
readonly list: {
|
|
545
|
+
readonly name: "List";
|
|
546
|
+
readonly requestType: typeof ListSnapshotsRequest;
|
|
547
|
+
readonly requestStream: false;
|
|
548
|
+
readonly responseType: typeof ListSnapshotsResponse;
|
|
549
|
+
readonly responseStream: true;
|
|
550
|
+
readonly options: {};
|
|
551
|
+
};
|
|
552
|
+
/** Gets the latest snapshot based on the request from the snapshot store. */
|
|
553
|
+
readonly getLast: {
|
|
554
|
+
readonly name: "GetLast";
|
|
555
|
+
readonly requestType: typeof GetLastSnapshotRequest;
|
|
556
|
+
readonly requestStream: false;
|
|
557
|
+
readonly responseType: typeof GetLastSnapshotResponse;
|
|
558
|
+
readonly responseStream: false;
|
|
559
|
+
readonly options: {};
|
|
560
|
+
};
|
|
561
|
+
};
|
|
562
|
+
};
|
|
563
|
+
export interface DcbSnapshotStoreServiceImplementation<CallContextExt = {}> {
|
|
564
|
+
/** Adds a snapshot to the snapshot store. */
|
|
565
|
+
add(request: AddSnapshotRequest, context: CallContext & CallContextExt): Promise<DeepPartial<AddSnapshotResponse>>;
|
|
566
|
+
/** Deletes a snapshot from the snapshot store. */
|
|
567
|
+
delete(request: DeleteSnapshotsRequest, context: CallContext & CallContextExt): Promise<DeepPartial<DeleteSnapshotsResponse>>;
|
|
568
|
+
/** Retrieves snapshots from the snapshot store. */
|
|
569
|
+
list(request: ListSnapshotsRequest, context: CallContext & CallContextExt): ServerStreamingMethodResult<DeepPartial<ListSnapshotsResponse>>;
|
|
570
|
+
/** Gets the latest snapshot based on the request from the snapshot store. */
|
|
571
|
+
getLast(request: GetLastSnapshotRequest, context: CallContext & CallContextExt): Promise<DeepPartial<GetLastSnapshotResponse>>;
|
|
572
|
+
}
|
|
573
|
+
export interface DcbSnapshotStoreClient<CallOptionsExt = {}> {
|
|
574
|
+
/** Adds a snapshot to the snapshot store. */
|
|
575
|
+
add(request: DeepPartial<AddSnapshotRequest>, options?: CallOptions & CallOptionsExt): Promise<AddSnapshotResponse>;
|
|
576
|
+
/** Deletes a snapshot from the snapshot store. */
|
|
577
|
+
delete(request: DeepPartial<DeleteSnapshotsRequest>, options?: CallOptions & CallOptionsExt): Promise<DeleteSnapshotsResponse>;
|
|
578
|
+
/** Retrieves snapshots from the snapshot store. */
|
|
579
|
+
list(request: DeepPartial<ListSnapshotsRequest>, options?: CallOptions & CallOptionsExt): AsyncIterable<ListSnapshotsResponse>;
|
|
580
|
+
/** Gets the latest snapshot based on the request from the snapshot store. */
|
|
581
|
+
getLast(request: DeepPartial<GetLastSnapshotRequest>, options?: CallOptions & CallOptionsExt): Promise<GetLastSnapshotResponse>;
|
|
582
|
+
}
|
|
583
|
+
/** Service to use AxonServer as a provider of an EventScheduler */
|
|
584
|
+
export type DcbEventSchedulerDefinition = typeof DcbEventSchedulerDefinition;
|
|
585
|
+
export declare const DcbEventSchedulerDefinition: {
|
|
586
|
+
readonly name: "DcbEventScheduler";
|
|
587
|
+
readonly fullName: "io.axoniq.axonserver.grpc.event.dcb.DcbEventScheduler";
|
|
588
|
+
readonly methods: {
|
|
589
|
+
/** Schedule the given event for publication at the given time}. The returned ScheduleToken can be used to reschedule or cancel the planned publication. */
|
|
590
|
+
readonly scheduleEvent: {
|
|
591
|
+
readonly name: "ScheduleEvent";
|
|
592
|
+
readonly requestType: typeof ScheduleEventRequest;
|
|
593
|
+
readonly requestStream: false;
|
|
594
|
+
readonly responseType: typeof ScheduleToken;
|
|
595
|
+
readonly responseStream: false;
|
|
596
|
+
readonly options: {};
|
|
597
|
+
};
|
|
598
|
+
/** Reschedule a scheduled event and optionally replace it by a new event. */
|
|
599
|
+
readonly rescheduleEvent: {
|
|
600
|
+
readonly name: "RescheduleEvent";
|
|
601
|
+
readonly requestType: typeof RescheduleEventRequest;
|
|
602
|
+
readonly requestStream: false;
|
|
603
|
+
readonly responseType: typeof ScheduleToken;
|
|
604
|
+
readonly responseStream: false;
|
|
605
|
+
readonly options: {};
|
|
606
|
+
};
|
|
607
|
+
/** Cancel the publication of a scheduled event. If the events has already been published, this method does nothing. */
|
|
608
|
+
readonly cancelScheduledEvent: {
|
|
609
|
+
readonly name: "CancelScheduledEvent";
|
|
610
|
+
readonly requestType: typeof CancelScheduledEventRequest;
|
|
611
|
+
readonly requestStream: false;
|
|
612
|
+
readonly responseType: typeof InstructionAck;
|
|
613
|
+
readonly responseStream: false;
|
|
614
|
+
readonly options: {};
|
|
615
|
+
};
|
|
616
|
+
};
|
|
617
|
+
};
|
|
618
|
+
export interface DcbEventSchedulerServiceImplementation<CallContextExt = {}> {
|
|
619
|
+
/** Schedule the given event for publication at the given time}. The returned ScheduleToken can be used to reschedule or cancel the planned publication. */
|
|
620
|
+
scheduleEvent(request: ScheduleEventRequest, context: CallContext & CallContextExt): Promise<DeepPartial<ScheduleToken>>;
|
|
621
|
+
/** Reschedule a scheduled event and optionally replace it by a new event. */
|
|
622
|
+
rescheduleEvent(request: RescheduleEventRequest, context: CallContext & CallContextExt): Promise<DeepPartial<ScheduleToken>>;
|
|
623
|
+
/** Cancel the publication of a scheduled event. If the events has already been published, this method does nothing. */
|
|
624
|
+
cancelScheduledEvent(request: CancelScheduledEventRequest, context: CallContext & CallContextExt): Promise<DeepPartial<InstructionAck>>;
|
|
625
|
+
}
|
|
626
|
+
export interface DcbEventSchedulerClient<CallOptionsExt = {}> {
|
|
627
|
+
/** Schedule the given event for publication at the given time}. The returned ScheduleToken can be used to reschedule or cancel the planned publication. */
|
|
628
|
+
scheduleEvent(request: DeepPartial<ScheduleEventRequest>, options?: CallOptions & CallOptionsExt): Promise<ScheduleToken>;
|
|
629
|
+
/** Reschedule a scheduled event and optionally replace it by a new event. */
|
|
630
|
+
rescheduleEvent(request: DeepPartial<RescheduleEventRequest>, options?: CallOptions & CallOptionsExt): Promise<ScheduleToken>;
|
|
631
|
+
/** Cancel the publication of a scheduled event. If the events has already been published, this method does nothing. */
|
|
632
|
+
cancelScheduledEvent(request: DeepPartial<CancelScheduledEventRequest>, options?: CallOptions & CallOptionsExt): Promise<InstructionAck>;
|
|
633
|
+
}
|
|
634
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;
|
|
635
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
636
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
637
|
+
} : Partial<T>;
|
|
638
|
+
export type ServerStreamingMethodResult<Response> = {
|
|
639
|
+
[Symbol.asyncIterator](): AsyncIterator<Response, void>;
|
|
640
|
+
};
|
|
641
|
+
export interface MessageFns<T> {
|
|
642
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
643
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
644
|
+
fromJSON(object: any): T;
|
|
645
|
+
toJSON(message: T): unknown;
|
|
646
|
+
create(base?: DeepPartial<T>): T;
|
|
647
|
+
fromPartial(object: DeepPartial<T>): T;
|
|
648
|
+
}
|
|
649
|
+
export {};
|
|
650
|
+
//# sourceMappingURL=dcb.d.ts.map
|