ankka 0.11.0 → 0.13.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/README.md +1 -0
- package/dist/_proto/ankka/protocol/v1/client_pb.d.ts +910 -0
- package/dist/_proto/ankka/protocol/v1/client_pb.js +239 -23
- package/dist/_proto/ankka/protocol/v1/consumer_pb.d.ts +10 -1
- package/dist/_proto/ankka/protocol/v1/consumer_pb.js +1 -1
- package/dist/_proto/ankka/protocol/v1/discovery_pb.d.ts +177 -0
- package/dist/_proto/ankka/protocol/v1/discovery_pb.js +51 -36
- package/dist/_proto/ankka/protocol/v1/endpoint_pb.d.ts +26 -0
- package/dist/_proto/ankka/protocol/v1/endpoint_pb.js +15 -10
- package/dist/_proto/ankka/protocol/v1/event_sourced_pb.d.ts +86 -0
- package/dist/_proto/ankka/protocol/v1/event_sourced_pb.js +11 -1
- package/dist/_proto/ankka/protocol/v1/mcp_pb.d.ts +120 -0
- package/dist/_proto/ankka/protocol/v1/mcp_pb.js +29 -0
- package/dist/_proto/ankka/protocol/v1/payload_pb.d.ts +61 -0
- package/dist/_proto/ankka/protocol/v1/payload_pb.js +18 -1
- package/dist/_proto/ankka/protocol/v1/view_pb.d.ts +7 -1
- package/dist/_proto/ankka/protocol/v1/view_pb.js +1 -1
- package/dist/_proto/ankka/protocol/v1/wasm_pb.d.ts +12 -0
- package/dist/_proto/ankka/protocol/v1/wasm_pb.js +1 -1
- package/dist/agent.d.ts +10 -0
- package/dist/agent.js +20 -0
- package/dist/autonomous.d.ts +5 -0
- package/dist/autonomous.js +10 -0
- package/dist/client-keys.d.ts +89 -0
- package/dist/client-keys.js +182 -0
- package/dist/client.d.ts +96 -3
- package/dist/client.js +228 -6
- package/dist/consumer.d.ts +23 -1
- package/dist/consumer.js +25 -1
- package/dist/context.d.ts +25 -1
- package/dist/context.js +5 -2
- package/dist/contract.d.ts +4 -0
- package/dist/contract.js +2 -0
- package/dist/effects/common.d.ts +7 -0
- package/dist/effects/common.js +9 -1
- package/dist/effects/eventSourced.d.ts +26 -1
- package/dist/effects/eventSourced.js +58 -5
- package/dist/endpoint.d.ts +10 -0
- package/dist/endpoint.js +20 -0
- package/dist/eventSourcedEntity.d.ts +8 -3
- package/dist/graph.d.ts +14 -1
- package/dist/graph.js +17 -1
- package/dist/index.d.ts +10 -4
- package/dist/index.js +8 -2
- package/dist/keyedView.d.ts +4 -1
- package/dist/keyedView.js +7 -1
- package/dist/kinds.js +2 -0
- package/dist/mcp-endpoint.d.ts +144 -0
- package/dist/mcp-endpoint.js +256 -0
- package/dist/routes.d.ts +46 -3
- package/dist/routes.js +56 -3
- package/dist/server/discovery.d.ts +12 -0
- package/dist/server/discovery.js +115 -4
- package/dist/server/eventSourced.d.ts +4 -1
- package/dist/server/eventSourced.js +24 -6
- package/dist/server/http.d.ts +8 -0
- package/dist/server/http.js +12 -4
- package/dist/server/mcp.d.ts +17 -0
- package/dist/server/mcp.js +157 -0
- package/dist/server/server.d.ts +11 -1
- package/dist/server/server.js +19 -0
- package/dist/server/stateless.js +5 -4
- package/dist/server/storageEndpoint.d.ts +14 -0
- package/dist/server/storageEndpoint.js +82 -0
- package/dist/service.d.ts +12 -1
- package/dist/service.js +73 -5
- package/dist/sigv4.d.ts +47 -0
- package/dist/sigv4.js +149 -0
- package/dist/spec.d.ts +8 -2
- package/dist/spec.js +62 -6
- package/dist/standing.d.ts +18 -0
- package/dist/standing.js +26 -0
- package/dist/startFrom.d.ts +4 -0
- package/dist/startFrom.js +8 -1
- package/dist/storage.d.ts +288 -0
- package/dist/storage.js +1081 -0
- package/dist/testkit/index.d.ts +1 -1
- package/dist/testkit/integration.d.ts +9 -0
- package/dist/testkit/integration.js +5 -1
- package/dist/testkit/kinds.d.ts +25 -9
- package/dist/testkit/kinds.js +53 -28
- package/dist/testkit/unit.d.ts +31 -3
- package/dist/testkit/unit.js +55 -11
- package/dist/timedAction.d.ts +10 -0
- package/dist/timedAction.js +20 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/view.d.ts +18 -3
- package/dist/view.js +13 -4
- package/dist/workflow.d.ts +8 -0
- package/dist/workflow.js +15 -0
- package/package.json +1 -1
|
@@ -7,6 +7,280 @@ import type { Message, UnknownEnum } from "@bufbuild/protobuf";
|
|
|
7
7
|
* Describes the file ankka/protocol/v1/client.proto.
|
|
8
8
|
*/
|
|
9
9
|
export declare const file_ankka_protocol_v1_client: GenFile;
|
|
10
|
+
/**
|
|
11
|
+
* 1.20: a client key for `subject`. Exactly one expiry is set.
|
|
12
|
+
*
|
|
13
|
+
* @generated from message ankka.protocol.v1.IssueClientKeyRequest
|
|
14
|
+
*/
|
|
15
|
+
export type IssueClientKeyRequest = Message<"ankka.protocol.v1.IssueClientKeyRequest"> & {
|
|
16
|
+
/**
|
|
17
|
+
* @generated from field: string subject = 1;
|
|
18
|
+
*/
|
|
19
|
+
subject: string;
|
|
20
|
+
/**
|
|
21
|
+
* @generated from oneof ankka.protocol.v1.IssueClientKeyRequest.expiry
|
|
22
|
+
*/
|
|
23
|
+
expiry: {
|
|
24
|
+
/**
|
|
25
|
+
* @generated from field: int64 after_millis = 2;
|
|
26
|
+
*/
|
|
27
|
+
value: bigint;
|
|
28
|
+
case: "afterMillis";
|
|
29
|
+
} | {
|
|
30
|
+
/**
|
|
31
|
+
* @generated from field: int64 at_epoch_millis = 3;
|
|
32
|
+
*/
|
|
33
|
+
value: bigint;
|
|
34
|
+
case: "atEpochMillis";
|
|
35
|
+
} | {
|
|
36
|
+
/**
|
|
37
|
+
* @generated from field: bool never = 4;
|
|
38
|
+
*/
|
|
39
|
+
value: boolean;
|
|
40
|
+
case: "never";
|
|
41
|
+
} | {
|
|
42
|
+
case: undefined;
|
|
43
|
+
value?: undefined;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* the MCP endpoint's path; required when the service has several
|
|
47
|
+
*
|
|
48
|
+
* @generated from field: optional string endpoint = 5;
|
|
49
|
+
*/
|
|
50
|
+
endpoint?: string | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* tool names; empty: every tool
|
|
53
|
+
*
|
|
54
|
+
* @generated from field: repeated string scope = 6;
|
|
55
|
+
*/
|
|
56
|
+
scope: string[];
|
|
57
|
+
/**
|
|
58
|
+
* become the principal's claims
|
|
59
|
+
*
|
|
60
|
+
* @generated from field: map<string, string> attributes = 7;
|
|
61
|
+
*/
|
|
62
|
+
attributes: {
|
|
63
|
+
[key: string]: string;
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* @generated from field: optional string label = 8;
|
|
67
|
+
*/
|
|
68
|
+
label?: string | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* @generated from field: ankka.protocol.v1.Metadata metadata = 9;
|
|
71
|
+
*/
|
|
72
|
+
metadata?: Metadata | undefined;
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* Describes the message ankka.protocol.v1.IssueClientKeyRequest.
|
|
76
|
+
* Use `create(IssueClientKeyRequestSchema)` to create a new message.
|
|
77
|
+
*/
|
|
78
|
+
export declare const IssueClientKeyRequestSchema: GenMessage<IssueClientKeyRequest>;
|
|
79
|
+
/**
|
|
80
|
+
* @generated from message ankka.protocol.v1.IssueClientKeyReply
|
|
81
|
+
*/
|
|
82
|
+
export type IssueClientKeyReply = Message<"ankka.protocol.v1.IssueClientKeyReply"> & {
|
|
83
|
+
/**
|
|
84
|
+
* @generated from oneof ankka.protocol.v1.IssueClientKeyReply.reply
|
|
85
|
+
*/
|
|
86
|
+
reply: {
|
|
87
|
+
/**
|
|
88
|
+
* @generated from field: ankka.protocol.v1.IssueClientKeyReply.Issued issued = 1;
|
|
89
|
+
*/
|
|
90
|
+
value: IssueClientKeyReply_Issued;
|
|
91
|
+
case: "issued";
|
|
92
|
+
} | {
|
|
93
|
+
/**
|
|
94
|
+
* @generated from field: ankka.protocol.v1.Error error = 2;
|
|
95
|
+
*/
|
|
96
|
+
value: Error;
|
|
97
|
+
case: "error";
|
|
98
|
+
} | {
|
|
99
|
+
case: undefined;
|
|
100
|
+
value?: undefined;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* Describes the message ankka.protocol.v1.IssueClientKeyReply.
|
|
105
|
+
* Use `create(IssueClientKeyReplySchema)` to create a new message.
|
|
106
|
+
*/
|
|
107
|
+
export declare const IssueClientKeyReplySchema: GenMessage<IssueClientKeyReply>;
|
|
108
|
+
/**
|
|
109
|
+
* @generated from message ankka.protocol.v1.IssueClientKeyReply.Issued
|
|
110
|
+
*/
|
|
111
|
+
export type IssueClientKeyReply_Issued = Message<"ankka.protocol.v1.IssueClientKeyReply.Issued"> & {
|
|
112
|
+
/**
|
|
113
|
+
* @generated from field: string id = 1;
|
|
114
|
+
*/
|
|
115
|
+
id: string;
|
|
116
|
+
/**
|
|
117
|
+
* shown here once, kept nowhere
|
|
118
|
+
*
|
|
119
|
+
* @generated from field: string client_key = 2;
|
|
120
|
+
*/
|
|
121
|
+
clientKey: string;
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* Describes the message ankka.protocol.v1.IssueClientKeyReply.Issued.
|
|
125
|
+
* Use `create(IssueClientKeyReply_IssuedSchema)` to create a new message.
|
|
126
|
+
*/
|
|
127
|
+
export declare const IssueClientKeyReply_IssuedSchema: GenMessage<IssueClientKeyReply_Issued>;
|
|
128
|
+
/**
|
|
129
|
+
* @generated from message ankka.protocol.v1.ListClientKeysRequest
|
|
130
|
+
*/
|
|
131
|
+
export type ListClientKeysRequest = Message<"ankka.protocol.v1.ListClientKeysRequest"> & {
|
|
132
|
+
/**
|
|
133
|
+
* @generated from field: ankka.protocol.v1.Metadata metadata = 1;
|
|
134
|
+
*/
|
|
135
|
+
metadata?: Metadata | undefined;
|
|
136
|
+
};
|
|
137
|
+
/**
|
|
138
|
+
* Describes the message ankka.protocol.v1.ListClientKeysRequest.
|
|
139
|
+
* Use `create(ListClientKeysRequestSchema)` to create a new message.
|
|
140
|
+
*/
|
|
141
|
+
export declare const ListClientKeysRequestSchema: GenMessage<ListClientKeysRequest>;
|
|
142
|
+
/**
|
|
143
|
+
* @generated from message ankka.protocol.v1.ListClientKeysReply
|
|
144
|
+
*/
|
|
145
|
+
export type ListClientKeysReply = Message<"ankka.protocol.v1.ListClientKeysReply"> & {
|
|
146
|
+
/**
|
|
147
|
+
* @generated from field: repeated ankka.protocol.v1.ClientKeySummary keys = 1;
|
|
148
|
+
*/
|
|
149
|
+
keys: ClientKeySummary[];
|
|
150
|
+
/**
|
|
151
|
+
* unset: success
|
|
152
|
+
*
|
|
153
|
+
* @generated from field: ankka.protocol.v1.Error error = 2;
|
|
154
|
+
*/
|
|
155
|
+
error?: Error | undefined;
|
|
156
|
+
};
|
|
157
|
+
/**
|
|
158
|
+
* Describes the message ankka.protocol.v1.ListClientKeysReply.
|
|
159
|
+
* Use `create(ListClientKeysReplySchema)` to create a new message.
|
|
160
|
+
*/
|
|
161
|
+
export declare const ListClientKeysReplySchema: GenMessage<ListClientKeysReply>;
|
|
162
|
+
/**
|
|
163
|
+
* A client key as listed: never the key, nor anything it could be derived from.
|
|
164
|
+
*
|
|
165
|
+
* @generated from message ankka.protocol.v1.ClientKeySummary
|
|
166
|
+
*/
|
|
167
|
+
export type ClientKeySummary = Message<"ankka.protocol.v1.ClientKeySummary"> & {
|
|
168
|
+
/**
|
|
169
|
+
* @generated from field: string id = 1;
|
|
170
|
+
*/
|
|
171
|
+
id: string;
|
|
172
|
+
/**
|
|
173
|
+
* @generated from field: string subject = 2;
|
|
174
|
+
*/
|
|
175
|
+
subject: string;
|
|
176
|
+
/**
|
|
177
|
+
* @generated from field: map<string, string> attributes = 3;
|
|
178
|
+
*/
|
|
179
|
+
attributes: {
|
|
180
|
+
[key: string]: string;
|
|
181
|
+
};
|
|
182
|
+
/**
|
|
183
|
+
* @generated from field: optional string label = 4;
|
|
184
|
+
*/
|
|
185
|
+
label?: string | undefined;
|
|
186
|
+
/**
|
|
187
|
+
* @generated from field: string endpoint = 5;
|
|
188
|
+
*/
|
|
189
|
+
endpoint: string;
|
|
190
|
+
/**
|
|
191
|
+
* @generated from field: repeated string scope = 6;
|
|
192
|
+
*/
|
|
193
|
+
scope: string[];
|
|
194
|
+
/**
|
|
195
|
+
* @generated from field: int64 issued_at_millis = 7;
|
|
196
|
+
*/
|
|
197
|
+
issuedAtMillis: bigint;
|
|
198
|
+
/**
|
|
199
|
+
* @generated from field: optional int64 expires_at_millis = 8;
|
|
200
|
+
*/
|
|
201
|
+
expiresAtMillis?: bigint | undefined;
|
|
202
|
+
/**
|
|
203
|
+
* @generated from field: optional int64 last_used_millis = 9;
|
|
204
|
+
*/
|
|
205
|
+
lastUsedMillis?: bigint | undefined;
|
|
206
|
+
/**
|
|
207
|
+
* @generated from field: optional int64 revoked_at_millis = 10;
|
|
208
|
+
*/
|
|
209
|
+
revokedAtMillis?: bigint | undefined;
|
|
210
|
+
};
|
|
211
|
+
/**
|
|
212
|
+
* Describes the message ankka.protocol.v1.ClientKeySummary.
|
|
213
|
+
* Use `create(ClientKeySummarySchema)` to create a new message.
|
|
214
|
+
*/
|
|
215
|
+
export declare const ClientKeySummarySchema: GenMessage<ClientKeySummary>;
|
|
216
|
+
/**
|
|
217
|
+
* @generated from message ankka.protocol.v1.RevokeClientKeyRequest
|
|
218
|
+
*/
|
|
219
|
+
export type RevokeClientKeyRequest = Message<"ankka.protocol.v1.RevokeClientKeyRequest"> & {
|
|
220
|
+
/**
|
|
221
|
+
* @generated from field: string id = 1;
|
|
222
|
+
*/
|
|
223
|
+
id: string;
|
|
224
|
+
/**
|
|
225
|
+
* @generated from field: ankka.protocol.v1.Metadata metadata = 2;
|
|
226
|
+
*/
|
|
227
|
+
metadata?: Metadata | undefined;
|
|
228
|
+
};
|
|
229
|
+
/**
|
|
230
|
+
* Describes the message ankka.protocol.v1.RevokeClientKeyRequest.
|
|
231
|
+
* Use `create(RevokeClientKeyRequestSchema)` to create a new message.
|
|
232
|
+
*/
|
|
233
|
+
export declare const RevokeClientKeyRequestSchema: GenMessage<RevokeClientKeyRequest>;
|
|
234
|
+
/**
|
|
235
|
+
* @generated from message ankka.protocol.v1.RevokeClientKeyReply
|
|
236
|
+
*/
|
|
237
|
+
export type RevokeClientKeyReply = Message<"ankka.protocol.v1.RevokeClientKeyReply"> & {
|
|
238
|
+
/**
|
|
239
|
+
* @generated from field: ankka.protocol.v1.Error error = 1;
|
|
240
|
+
*/
|
|
241
|
+
error?: Error | undefined;
|
|
242
|
+
};
|
|
243
|
+
/**
|
|
244
|
+
* Describes the message ankka.protocol.v1.RevokeClientKeyReply.
|
|
245
|
+
* Use `create(RevokeClientKeyReplySchema)` to create a new message.
|
|
246
|
+
*/
|
|
247
|
+
export declare const RevokeClientKeyReplySchema: GenMessage<RevokeClientKeyReply>;
|
|
248
|
+
/**
|
|
249
|
+
* 1.18: a wait for a workflow's end.
|
|
250
|
+
*
|
|
251
|
+
* @generated from message ankka.protocol.v1.AwaitEndRequest
|
|
252
|
+
*/
|
|
253
|
+
export type AwaitEndRequest = Message<"ankka.protocol.v1.AwaitEndRequest"> & {
|
|
254
|
+
/**
|
|
255
|
+
* the workflow's component id
|
|
256
|
+
*
|
|
257
|
+
* @generated from field: string component_id = 1;
|
|
258
|
+
*/
|
|
259
|
+
componentId: string;
|
|
260
|
+
/**
|
|
261
|
+
* the workflow id
|
|
262
|
+
*
|
|
263
|
+
* @generated from field: string entity_id = 2;
|
|
264
|
+
*/
|
|
265
|
+
entityId: string;
|
|
266
|
+
/**
|
|
267
|
+
* the caller's; required, more than zero
|
|
268
|
+
*
|
|
269
|
+
* @generated from field: int64 timeout_millis = 3;
|
|
270
|
+
*/
|
|
271
|
+
timeoutMillis: bigint;
|
|
272
|
+
/**
|
|
273
|
+
* the handler's, so the wait is attributed and traced
|
|
274
|
+
*
|
|
275
|
+
* @generated from field: ankka.protocol.v1.Metadata metadata = 4;
|
|
276
|
+
*/
|
|
277
|
+
metadata?: Metadata | undefined;
|
|
278
|
+
};
|
|
279
|
+
/**
|
|
280
|
+
* Describes the message ankka.protocol.v1.AwaitEndRequest.
|
|
281
|
+
* Use `create(AwaitEndRequestSchema)` to create a new message.
|
|
282
|
+
*/
|
|
283
|
+
export declare const AwaitEndRequestSchema: GenMessage<AwaitEndRequest>;
|
|
10
284
|
/**
|
|
11
285
|
* @generated from message ankka.protocol.v1.InvokeRequest
|
|
12
286
|
*/
|
|
@@ -111,6 +385,22 @@ export type StreamToken = Message<"ankka.protocol.v1.StreamToken"> & {
|
|
|
111
385
|
*/
|
|
112
386
|
value: ApprovalAwaited;
|
|
113
387
|
case: "approval";
|
|
388
|
+
} | {
|
|
389
|
+
/**
|
|
390
|
+
* 1.18: an AwaitEndStream's wait goes on
|
|
391
|
+
*
|
|
392
|
+
* @generated from field: ankka.protocol.v1.Empty heartbeat = 5;
|
|
393
|
+
*/
|
|
394
|
+
value: Empty;
|
|
395
|
+
case: "heartbeat";
|
|
396
|
+
} | {
|
|
397
|
+
/**
|
|
398
|
+
* 1.18: terminal; the workflow completed with this state
|
|
399
|
+
*
|
|
400
|
+
* @generated from field: ankka.protocol.v1.Payload ended = 6;
|
|
401
|
+
*/
|
|
402
|
+
value: Payload;
|
|
403
|
+
case: "ended";
|
|
114
404
|
} | {
|
|
115
405
|
case: undefined;
|
|
116
406
|
value?: undefined;
|
|
@@ -295,6 +585,181 @@ export type QueryReply = Message<"ankka.protocol.v1.QueryReply"> & {
|
|
|
295
585
|
* Use `create(QueryReplySchema)` to create a new message.
|
|
296
586
|
*/
|
|
297
587
|
export declare const QueryReplySchema: GenMessage<QueryReply>;
|
|
588
|
+
/**
|
|
589
|
+
* 1.17. One element of a row stream or a watch. `QueryStream` honours `QueryRequest`'s `name`, `values`
|
|
590
|
+
* and `limit`, and gives every row when `limit` is absent.
|
|
591
|
+
*
|
|
592
|
+
* @generated from message ankka.protocol.v1.RowFrame
|
|
593
|
+
*/
|
|
594
|
+
export type RowFrame = Message<"ankka.protocol.v1.RowFrame"> & {
|
|
595
|
+
/**
|
|
596
|
+
* @generated from oneof ankka.protocol.v1.RowFrame.frame
|
|
597
|
+
*/
|
|
598
|
+
frame: {
|
|
599
|
+
/**
|
|
600
|
+
* @generated from field: ankka.protocol.v1.WatchedRow row = 1;
|
|
601
|
+
*/
|
|
602
|
+
value: WatchedRow;
|
|
603
|
+
case: "row";
|
|
604
|
+
} | {
|
|
605
|
+
/**
|
|
606
|
+
* @generated from field: ankka.protocol.v1.Removed removed = 2;
|
|
607
|
+
*/
|
|
608
|
+
value: Removed;
|
|
609
|
+
case: "removed";
|
|
610
|
+
} | {
|
|
611
|
+
/**
|
|
612
|
+
* @generated from field: ankka.protocol.v1.Empty caught_up = 3;
|
|
613
|
+
*/
|
|
614
|
+
value: Empty;
|
|
615
|
+
case: "caughtUp";
|
|
616
|
+
} | {
|
|
617
|
+
/**
|
|
618
|
+
* @generated from field: ankka.protocol.v1.Ended ended = 4;
|
|
619
|
+
*/
|
|
620
|
+
value: Ended;
|
|
621
|
+
case: "ended";
|
|
622
|
+
} | {
|
|
623
|
+
/**
|
|
624
|
+
* @generated from field: ankka.protocol.v1.Error failed = 5;
|
|
625
|
+
*/
|
|
626
|
+
value: Error;
|
|
627
|
+
case: "failed";
|
|
628
|
+
} | {
|
|
629
|
+
case: undefined;
|
|
630
|
+
value?: undefined;
|
|
631
|
+
};
|
|
632
|
+
};
|
|
633
|
+
/**
|
|
634
|
+
* Describes the message ankka.protocol.v1.RowFrame.
|
|
635
|
+
* Use `create(RowFrameSchema)` to create a new message.
|
|
636
|
+
*/
|
|
637
|
+
export declare const RowFrameSchema: GenMessage<RowFrame>;
|
|
638
|
+
/**
|
|
639
|
+
* The row under `key`, as stored: the process's own JSON under its row manifest.
|
|
640
|
+
*
|
|
641
|
+
* @generated from message ankka.protocol.v1.WatchedRow
|
|
642
|
+
*/
|
|
643
|
+
export type WatchedRow = Message<"ankka.protocol.v1.WatchedRow"> & {
|
|
644
|
+
/**
|
|
645
|
+
* @generated from field: string key = 1;
|
|
646
|
+
*/
|
|
647
|
+
key: string;
|
|
648
|
+
/**
|
|
649
|
+
* @generated from field: ankka.protocol.v1.Payload payload = 2;
|
|
650
|
+
*/
|
|
651
|
+
payload?: Payload | undefined;
|
|
652
|
+
};
|
|
653
|
+
/**
|
|
654
|
+
* Describes the message ankka.protocol.v1.WatchedRow.
|
|
655
|
+
* Use `create(WatchedRowSchema)` to create a new message.
|
|
656
|
+
*/
|
|
657
|
+
export declare const WatchedRowSchema: GenMessage<WatchedRow>;
|
|
658
|
+
/**
|
|
659
|
+
* The row under `key`, given earlier, no longer matches or was deleted.
|
|
660
|
+
*
|
|
661
|
+
* @generated from message ankka.protocol.v1.Removed
|
|
662
|
+
*/
|
|
663
|
+
export type Removed = Message<"ankka.protocol.v1.Removed"> & {
|
|
664
|
+
/**
|
|
665
|
+
* @generated from field: string key = 1;
|
|
666
|
+
*/
|
|
667
|
+
key: string;
|
|
668
|
+
};
|
|
669
|
+
/**
|
|
670
|
+
* Describes the message ankka.protocol.v1.Removed.
|
|
671
|
+
* Use `create(RemovedSchema)` to create a new message.
|
|
672
|
+
*/
|
|
673
|
+
export declare const RemovedSchema: GenMessage<Removed>;
|
|
674
|
+
/**
|
|
675
|
+
* Why a watch ended: "rebuilt", "instance-stopping", "listener-lost" or "unread".
|
|
676
|
+
*
|
|
677
|
+
* @generated from message ankka.protocol.v1.Ended
|
|
678
|
+
*/
|
|
679
|
+
export type Ended = Message<"ankka.protocol.v1.Ended"> & {
|
|
680
|
+
/**
|
|
681
|
+
* @generated from field: string reason = 1;
|
|
682
|
+
*/
|
|
683
|
+
reason: string;
|
|
684
|
+
};
|
|
685
|
+
/**
|
|
686
|
+
* Describes the message ankka.protocol.v1.Ended.
|
|
687
|
+
* Use `create(EndedSchema)` to create a new message.
|
|
688
|
+
*/
|
|
689
|
+
export declare const EndedSchema: GenMessage<Ended>;
|
|
690
|
+
/**
|
|
691
|
+
* 1.17. A watch of a declared query, declared watched, with its values, or of one row by its key.
|
|
692
|
+
*
|
|
693
|
+
* @generated from message ankka.protocol.v1.WatchRequest
|
|
694
|
+
*/
|
|
695
|
+
export type WatchRequest = Message<"ankka.protocol.v1.WatchRequest"> & {
|
|
696
|
+
/**
|
|
697
|
+
* @generated from field: string view_id = 1;
|
|
698
|
+
*/
|
|
699
|
+
viewId: string;
|
|
700
|
+
/**
|
|
701
|
+
* what the handler asking was given
|
|
702
|
+
*
|
|
703
|
+
* @generated from field: ankka.protocol.v1.Metadata metadata = 2;
|
|
704
|
+
*/
|
|
705
|
+
metadata?: Metadata | undefined;
|
|
706
|
+
/**
|
|
707
|
+
* @generated from oneof ankka.protocol.v1.WatchRequest.target
|
|
708
|
+
*/
|
|
709
|
+
target: {
|
|
710
|
+
/**
|
|
711
|
+
* @generated from field: ankka.protocol.v1.Named named = 3;
|
|
712
|
+
*/
|
|
713
|
+
value: Named;
|
|
714
|
+
case: "named";
|
|
715
|
+
} | {
|
|
716
|
+
/**
|
|
717
|
+
* @generated from field: string key = 4;
|
|
718
|
+
*/
|
|
719
|
+
value: string;
|
|
720
|
+
case: "key";
|
|
721
|
+
} | {
|
|
722
|
+
case: undefined;
|
|
723
|
+
value?: undefined;
|
|
724
|
+
};
|
|
725
|
+
/**
|
|
726
|
+
* the unread rows held, one per key. Absent: the runtime's bound
|
|
727
|
+
*
|
|
728
|
+
* @generated from field: optional uint32 unread_bound = 5;
|
|
729
|
+
*/
|
|
730
|
+
unreadBound?: number | undefined;
|
|
731
|
+
/**
|
|
732
|
+
* past the bound. Absent: DROP_HEAD
|
|
733
|
+
*
|
|
734
|
+
* @generated from field: ankka.protocol.v1.Overflow overflow = 6;
|
|
735
|
+
*/
|
|
736
|
+
overflow: Overflow;
|
|
737
|
+
};
|
|
738
|
+
/**
|
|
739
|
+
* Describes the message ankka.protocol.v1.WatchRequest.
|
|
740
|
+
* Use `create(WatchRequestSchema)` to create a new message.
|
|
741
|
+
*/
|
|
742
|
+
export declare const WatchRequestSchema: GenMessage<WatchRequest>;
|
|
743
|
+
/**
|
|
744
|
+
* @generated from message ankka.protocol.v1.Named
|
|
745
|
+
*/
|
|
746
|
+
export type Named = Message<"ankka.protocol.v1.Named"> & {
|
|
747
|
+
/**
|
|
748
|
+
* @generated from field: string name = 1;
|
|
749
|
+
*/
|
|
750
|
+
name: string;
|
|
751
|
+
/**
|
|
752
|
+
* @generated from field: map<string, string> values = 2;
|
|
753
|
+
*/
|
|
754
|
+
values: {
|
|
755
|
+
[key: string]: string;
|
|
756
|
+
};
|
|
757
|
+
};
|
|
758
|
+
/**
|
|
759
|
+
* Describes the message ankka.protocol.v1.Named.
|
|
760
|
+
* Use `create(NamedSchema)` to create a new message.
|
|
761
|
+
*/
|
|
762
|
+
export declare const NamedSchema: GenMessage<Named>;
|
|
298
763
|
/**
|
|
299
764
|
* @generated from message ankka.protocol.v1.ScheduleRequest
|
|
300
765
|
*/
|
|
@@ -681,6 +1146,376 @@ export type ServiceFailure_Reason = (typeof ServiceFailure_Reason)[keyof typeof
|
|
|
681
1146
|
* Describes the enum ankka.protocol.v1.ServiceFailure.Reason.
|
|
682
1147
|
*/
|
|
683
1148
|
export declare const ServiceFailure_ReasonSchema: GenEnum<ServiceFailure_Reason>;
|
|
1149
|
+
/**
|
|
1150
|
+
* The service's object storage, for a module (1.21): one request and one reply through the
|
|
1151
|
+
* `storage` import. No rpc carries it: a process speaks S3 itself from the variables it is given,
|
|
1152
|
+
* so no object passes through the sidecar.
|
|
1153
|
+
*
|
|
1154
|
+
* @generated from message ankka.protocol.v1.StorageRequest
|
|
1155
|
+
*/
|
|
1156
|
+
export type StorageRequest = Message<"ankka.protocol.v1.StorageRequest"> & {
|
|
1157
|
+
/**
|
|
1158
|
+
* 1.21: absent: the service's own bucket
|
|
1159
|
+
*
|
|
1160
|
+
* @generated from field: optional string bucket = 1;
|
|
1161
|
+
*/
|
|
1162
|
+
bucket?: string | undefined;
|
|
1163
|
+
/**
|
|
1164
|
+
* 1.21
|
|
1165
|
+
*
|
|
1166
|
+
* @generated from field: ankka.protocol.v1.StorageRequest.Op op = 2;
|
|
1167
|
+
*/
|
|
1168
|
+
op: StorageRequest_Op;
|
|
1169
|
+
/**
|
|
1170
|
+
* 1.21: the object's name, or the prefix for LIST
|
|
1171
|
+
*
|
|
1172
|
+
* @generated from field: string name = 3;
|
|
1173
|
+
*/
|
|
1174
|
+
name: string;
|
|
1175
|
+
/**
|
|
1176
|
+
* 1.21: for PUT
|
|
1177
|
+
*
|
|
1178
|
+
* @generated from field: string content_type = 4;
|
|
1179
|
+
*/
|
|
1180
|
+
contentType: string;
|
|
1181
|
+
/**
|
|
1182
|
+
* 1.21: for PUT; at most 4000000 bytes
|
|
1183
|
+
*
|
|
1184
|
+
* @generated from field: optional bytes body = 5;
|
|
1185
|
+
*/
|
|
1186
|
+
body?: Uint8Array | undefined;
|
|
1187
|
+
/**
|
|
1188
|
+
* 1.21: for SIGNED_URL
|
|
1189
|
+
*
|
|
1190
|
+
* @generated from field: ankka.protocol.v1.StorageRequest.Access access = 6;
|
|
1191
|
+
*/
|
|
1192
|
+
access: StorageRequest_Access;
|
|
1193
|
+
/**
|
|
1194
|
+
* 1.21: for SIGNED_URL
|
|
1195
|
+
*
|
|
1196
|
+
* @generated from field: uint32 expires_seconds = 7;
|
|
1197
|
+
*/
|
|
1198
|
+
expiresSeconds: number;
|
|
1199
|
+
/**
|
|
1200
|
+
* 1.21: for LIST, the `next` of the page before;
|
|
1201
|
+
*
|
|
1202
|
+
* @generated from field: optional string continuation = 8;
|
|
1203
|
+
*/
|
|
1204
|
+
continuation?: string | undefined;
|
|
1205
|
+
};
|
|
1206
|
+
/**
|
|
1207
|
+
* Describes the message ankka.protocol.v1.StorageRequest.
|
|
1208
|
+
* Use `create(StorageRequestSchema)` to create a new message.
|
|
1209
|
+
*/
|
|
1210
|
+
export declare const StorageRequestSchema: GenMessage<StorageRequest>;
|
|
1211
|
+
/**
|
|
1212
|
+
* @generated from enum ankka.protocol.v1.StorageRequest.Op
|
|
1213
|
+
*/
|
|
1214
|
+
export declare const StorageRequest_Op: {
|
|
1215
|
+
/**
|
|
1216
|
+
* 1.21
|
|
1217
|
+
*
|
|
1218
|
+
* @generated from enum value: PUT = 0;
|
|
1219
|
+
*/
|
|
1220
|
+
readonly PUT: 0;
|
|
1221
|
+
/**
|
|
1222
|
+
* 1.21
|
|
1223
|
+
*
|
|
1224
|
+
* @generated from enum value: GET = 1;
|
|
1225
|
+
*/
|
|
1226
|
+
readonly GET: 1;
|
|
1227
|
+
/**
|
|
1228
|
+
* 1.21
|
|
1229
|
+
*
|
|
1230
|
+
* @generated from enum value: DELETE = 2;
|
|
1231
|
+
*/
|
|
1232
|
+
readonly DELETE: 2;
|
|
1233
|
+
/**
|
|
1234
|
+
* 1.21
|
|
1235
|
+
*
|
|
1236
|
+
* @generated from enum value: LIST = 3;
|
|
1237
|
+
*/
|
|
1238
|
+
readonly LIST: 3;
|
|
1239
|
+
/**
|
|
1240
|
+
* 1.21
|
|
1241
|
+
*
|
|
1242
|
+
* @generated from enum value: STAT = 4;
|
|
1243
|
+
*/
|
|
1244
|
+
readonly STAT: 4;
|
|
1245
|
+
/**
|
|
1246
|
+
* 1.21
|
|
1247
|
+
*
|
|
1248
|
+
* @generated from enum value: SIGNED_URL = 5;
|
|
1249
|
+
*/
|
|
1250
|
+
readonly SIGNED_URL: 5;
|
|
1251
|
+
/**
|
|
1252
|
+
* 1.21: a public bucket's address, signed by nothing
|
|
1253
|
+
*
|
|
1254
|
+
* @generated from enum value: URL = 6;
|
|
1255
|
+
*/
|
|
1256
|
+
readonly URL: 6;
|
|
1257
|
+
};
|
|
1258
|
+
/**
|
|
1259
|
+
* @generated from enum ankka.protocol.v1.StorageRequest.Op
|
|
1260
|
+
*/
|
|
1261
|
+
export type StorageRequest_Op = (typeof StorageRequest_Op)[keyof typeof StorageRequest_Op] | UnknownEnum;
|
|
1262
|
+
/**
|
|
1263
|
+
* Describes the enum ankka.protocol.v1.StorageRequest.Op.
|
|
1264
|
+
*/
|
|
1265
|
+
export declare const StorageRequest_OpSchema: GenEnum<StorageRequest_Op>;
|
|
1266
|
+
/**
|
|
1267
|
+
* @generated from enum ankka.protocol.v1.StorageRequest.Access
|
|
1268
|
+
*/
|
|
1269
|
+
export declare const StorageRequest_Access: {
|
|
1270
|
+
/**
|
|
1271
|
+
* 1.21
|
|
1272
|
+
*
|
|
1273
|
+
* @generated from enum value: READ = 0;
|
|
1274
|
+
*/
|
|
1275
|
+
readonly READ: 0;
|
|
1276
|
+
/**
|
|
1277
|
+
* 1.21
|
|
1278
|
+
*
|
|
1279
|
+
* @generated from enum value: KEEP = 1;
|
|
1280
|
+
*/
|
|
1281
|
+
readonly KEEP: 1;
|
|
1282
|
+
};
|
|
1283
|
+
/**
|
|
1284
|
+
* @generated from enum ankka.protocol.v1.StorageRequest.Access
|
|
1285
|
+
*/
|
|
1286
|
+
export type StorageRequest_Access = (typeof StorageRequest_Access)[keyof typeof StorageRequest_Access] | UnknownEnum;
|
|
1287
|
+
/**
|
|
1288
|
+
* Describes the enum ankka.protocol.v1.StorageRequest.Access.
|
|
1289
|
+
*/
|
|
1290
|
+
export declare const StorageRequest_AccessSchema: GenEnum<StorageRequest_Access>;
|
|
1291
|
+
/**
|
|
1292
|
+
* Exactly one case is set. A refusal or a fault is `error`, never a trap.
|
|
1293
|
+
*
|
|
1294
|
+
* @generated from message ankka.protocol.v1.StorageReply
|
|
1295
|
+
*/
|
|
1296
|
+
export type StorageReply = Message<"ankka.protocol.v1.StorageReply"> & {
|
|
1297
|
+
/**
|
|
1298
|
+
* @generated from oneof ankka.protocol.v1.StorageReply.reply
|
|
1299
|
+
*/
|
|
1300
|
+
reply: {
|
|
1301
|
+
/**
|
|
1302
|
+
* 1.21: GET
|
|
1303
|
+
*
|
|
1304
|
+
* @generated from field: ankka.protocol.v1.StoredObject object = 1;
|
|
1305
|
+
*/
|
|
1306
|
+
value: StoredObject;
|
|
1307
|
+
case: "object";
|
|
1308
|
+
} | {
|
|
1309
|
+
/**
|
|
1310
|
+
* 1.21: STAT
|
|
1311
|
+
*
|
|
1312
|
+
* @generated from field: ankka.protocol.v1.ObjectInfo info = 2;
|
|
1313
|
+
*/
|
|
1314
|
+
value: ObjectInfo;
|
|
1315
|
+
case: "info";
|
|
1316
|
+
} | {
|
|
1317
|
+
/**
|
|
1318
|
+
* 1.21: LIST
|
|
1319
|
+
*
|
|
1320
|
+
* @generated from field: ankka.protocol.v1.ObjectEntries entries = 3;
|
|
1321
|
+
*/
|
|
1322
|
+
value: ObjectEntries;
|
|
1323
|
+
case: "entries";
|
|
1324
|
+
} | {
|
|
1325
|
+
/**
|
|
1326
|
+
* 1.21: SIGNED_URL, URL
|
|
1327
|
+
*
|
|
1328
|
+
* @generated from field: string url = 4;
|
|
1329
|
+
*/
|
|
1330
|
+
value: string;
|
|
1331
|
+
case: "url";
|
|
1332
|
+
} | {
|
|
1333
|
+
/**
|
|
1334
|
+
* 1.21: PUT, DELETE; a GET or STAT that finds nothing
|
|
1335
|
+
*
|
|
1336
|
+
* @generated from field: ankka.protocol.v1.Empty done = 5;
|
|
1337
|
+
*/
|
|
1338
|
+
value: Empty;
|
|
1339
|
+
case: "done";
|
|
1340
|
+
} | {
|
|
1341
|
+
/**
|
|
1342
|
+
* 1.21
|
|
1343
|
+
*
|
|
1344
|
+
* @generated from field: ankka.protocol.v1.Error error = 6;
|
|
1345
|
+
*/
|
|
1346
|
+
value: Error;
|
|
1347
|
+
case: "error";
|
|
1348
|
+
} | {
|
|
1349
|
+
case: undefined;
|
|
1350
|
+
value?: undefined;
|
|
1351
|
+
};
|
|
1352
|
+
};
|
|
1353
|
+
/**
|
|
1354
|
+
* Describes the message ankka.protocol.v1.StorageReply.
|
|
1355
|
+
* Use `create(StorageReplySchema)` to create a new message.
|
|
1356
|
+
*/
|
|
1357
|
+
export declare const StorageReplySchema: GenMessage<StorageReply>;
|
|
1358
|
+
/**
|
|
1359
|
+
* @generated from message ankka.protocol.v1.StoredObject
|
|
1360
|
+
*/
|
|
1361
|
+
export type StoredObject = Message<"ankka.protocol.v1.StoredObject"> & {
|
|
1362
|
+
/**
|
|
1363
|
+
* 1.21
|
|
1364
|
+
*
|
|
1365
|
+
* @generated from field: string content_type = 1;
|
|
1366
|
+
*/
|
|
1367
|
+
contentType: string;
|
|
1368
|
+
/**
|
|
1369
|
+
* 1.21
|
|
1370
|
+
*
|
|
1371
|
+
* @generated from field: bytes body = 2;
|
|
1372
|
+
*/
|
|
1373
|
+
body: Uint8Array;
|
|
1374
|
+
/**
|
|
1375
|
+
* 1.21
|
|
1376
|
+
*
|
|
1377
|
+
* @generated from field: uint64 length = 3;
|
|
1378
|
+
*/
|
|
1379
|
+
length: bigint;
|
|
1380
|
+
/**
|
|
1381
|
+
* 1.21: ISO-8601
|
|
1382
|
+
*
|
|
1383
|
+
* @generated from field: string last_kept = 4;
|
|
1384
|
+
*/
|
|
1385
|
+
lastKept: string;
|
|
1386
|
+
};
|
|
1387
|
+
/**
|
|
1388
|
+
* Describes the message ankka.protocol.v1.StoredObject.
|
|
1389
|
+
* Use `create(StoredObjectSchema)` to create a new message.
|
|
1390
|
+
*/
|
|
1391
|
+
export declare const StoredObjectSchema: GenMessage<StoredObject>;
|
|
1392
|
+
/**
|
|
1393
|
+
* @generated from message ankka.protocol.v1.ObjectInfo
|
|
1394
|
+
*/
|
|
1395
|
+
export type ObjectInfo = Message<"ankka.protocol.v1.ObjectInfo"> & {
|
|
1396
|
+
/**
|
|
1397
|
+
* 1.21
|
|
1398
|
+
*
|
|
1399
|
+
* @generated from field: string name = 1;
|
|
1400
|
+
*/
|
|
1401
|
+
name: string;
|
|
1402
|
+
/**
|
|
1403
|
+
* 1.21
|
|
1404
|
+
*
|
|
1405
|
+
* @generated from field: string content_type = 2;
|
|
1406
|
+
*/
|
|
1407
|
+
contentType: string;
|
|
1408
|
+
/**
|
|
1409
|
+
* 1.21
|
|
1410
|
+
*
|
|
1411
|
+
* @generated from field: uint64 length = 3;
|
|
1412
|
+
*/
|
|
1413
|
+
length: bigint;
|
|
1414
|
+
/**
|
|
1415
|
+
* 1.21: ISO-8601
|
|
1416
|
+
*
|
|
1417
|
+
* @generated from field: string last_kept = 4;
|
|
1418
|
+
*/
|
|
1419
|
+
lastKept: string;
|
|
1420
|
+
};
|
|
1421
|
+
/**
|
|
1422
|
+
* Describes the message ankka.protocol.v1.ObjectInfo.
|
|
1423
|
+
* Use `create(ObjectInfoSchema)` to create a new message.
|
|
1424
|
+
*/
|
|
1425
|
+
export declare const ObjectInfoSchema: GenMessage<ObjectInfo>;
|
|
1426
|
+
/**
|
|
1427
|
+
* @generated from message ankka.protocol.v1.ObjectEntries
|
|
1428
|
+
*/
|
|
1429
|
+
export type ObjectEntries = Message<"ankka.protocol.v1.ObjectEntries"> & {
|
|
1430
|
+
/**
|
|
1431
|
+
* 1.21: in name order
|
|
1432
|
+
*
|
|
1433
|
+
* @generated from field: repeated ankka.protocol.v1.ObjectEntry entries = 1;
|
|
1434
|
+
*/
|
|
1435
|
+
entries: ObjectEntry[];
|
|
1436
|
+
/**
|
|
1437
|
+
* 1.21: absent: the last page
|
|
1438
|
+
*
|
|
1439
|
+
* @generated from field: optional string next = 2;
|
|
1440
|
+
*/
|
|
1441
|
+
next?: string | undefined;
|
|
1442
|
+
};
|
|
1443
|
+
/**
|
|
1444
|
+
* Describes the message ankka.protocol.v1.ObjectEntries.
|
|
1445
|
+
* Use `create(ObjectEntriesSchema)` to create a new message.
|
|
1446
|
+
*/
|
|
1447
|
+
export declare const ObjectEntriesSchema: GenMessage<ObjectEntries>;
|
|
1448
|
+
/**
|
|
1449
|
+
* @generated from message ankka.protocol.v1.ObjectEntry
|
|
1450
|
+
*/
|
|
1451
|
+
export type ObjectEntry = Message<"ankka.protocol.v1.ObjectEntry"> & {
|
|
1452
|
+
/**
|
|
1453
|
+
* 1.21
|
|
1454
|
+
*
|
|
1455
|
+
* @generated from field: string name = 1;
|
|
1456
|
+
*/
|
|
1457
|
+
name: string;
|
|
1458
|
+
/**
|
|
1459
|
+
* 1.21
|
|
1460
|
+
*
|
|
1461
|
+
* @generated from field: uint64 length = 2;
|
|
1462
|
+
*/
|
|
1463
|
+
length: bigint;
|
|
1464
|
+
/**
|
|
1465
|
+
* 1.21: ISO-8601
|
|
1466
|
+
*
|
|
1467
|
+
* @generated from field: string last_kept = 3;
|
|
1468
|
+
*/
|
|
1469
|
+
lastKept: string;
|
|
1470
|
+
};
|
|
1471
|
+
/**
|
|
1472
|
+
* Describes the message ankka.protocol.v1.ObjectEntry.
|
|
1473
|
+
* Use `create(ObjectEntrySchema)` to create a new message.
|
|
1474
|
+
*/
|
|
1475
|
+
export declare const ObjectEntrySchema: GenMessage<ObjectEntry>;
|
|
1476
|
+
/**
|
|
1477
|
+
* @generated from enum ankka.protocol.v1.Overflow
|
|
1478
|
+
*/
|
|
1479
|
+
export declare const Overflow: {
|
|
1480
|
+
/**
|
|
1481
|
+
* drop the row changed longest ago
|
|
1482
|
+
*
|
|
1483
|
+
* @generated from enum value: DROP_HEAD = 0;
|
|
1484
|
+
*/
|
|
1485
|
+
readonly DROP_HEAD: 0;
|
|
1486
|
+
/**
|
|
1487
|
+
* drop the row changed most recently
|
|
1488
|
+
*
|
|
1489
|
+
* @generated from enum value: DROP_TAIL = 1;
|
|
1490
|
+
*/
|
|
1491
|
+
readonly DROP_TAIL: 1;
|
|
1492
|
+
/**
|
|
1493
|
+
* drop the row that arrived
|
|
1494
|
+
*
|
|
1495
|
+
* @generated from enum value: DROP_NEW = 2;
|
|
1496
|
+
*/
|
|
1497
|
+
readonly DROP_NEW: 2;
|
|
1498
|
+
/**
|
|
1499
|
+
* drop every unread row
|
|
1500
|
+
*
|
|
1501
|
+
* @generated from enum value: DROP_ALL = 3;
|
|
1502
|
+
*/
|
|
1503
|
+
readonly DROP_ALL: 3;
|
|
1504
|
+
/**
|
|
1505
|
+
* end the watch "unread"
|
|
1506
|
+
*
|
|
1507
|
+
* @generated from enum value: FAIL = 4;
|
|
1508
|
+
*/
|
|
1509
|
+
readonly FAIL: 4;
|
|
1510
|
+
};
|
|
1511
|
+
/**
|
|
1512
|
+
* @generated from enum ankka.protocol.v1.Overflow
|
|
1513
|
+
*/
|
|
1514
|
+
export type Overflow = (typeof Overflow)[keyof typeof Overflow] | UnknownEnum;
|
|
1515
|
+
/**
|
|
1516
|
+
* Describes the enum ankka.protocol.v1.Overflow.
|
|
1517
|
+
*/
|
|
1518
|
+
export declare const OverflowSchema: GenEnum<Overflow>;
|
|
684
1519
|
/**
|
|
685
1520
|
* @generated from service ankka.protocol.v1.Client
|
|
686
1521
|
*/
|
|
@@ -791,4 +1626,79 @@ export declare const Client: GenService<{
|
|
|
791
1626
|
input: typeof ScheduleRecurringRequestSchema;
|
|
792
1627
|
output: typeof ScheduleRecurringReplySchema;
|
|
793
1628
|
};
|
|
1629
|
+
/**
|
|
1630
|
+
* A view's query answered as a stream of rows, and a watch of a declared query declared watched or
|
|
1631
|
+
* of one row (protocol 1.17). A stream gives `row` frames and completes, or `failed`; a watch gives
|
|
1632
|
+
* the rows now, `caught_up` once, then `row` and `removed` as the view writes, and `ended` or
|
|
1633
|
+
* `failed` before it completes. A runtime older than 1.17 answers UNIMPLEMENTED.
|
|
1634
|
+
*
|
|
1635
|
+
* @generated from rpc ankka.protocol.v1.Client.QueryStream
|
|
1636
|
+
*/
|
|
1637
|
+
queryStream: {
|
|
1638
|
+
methodKind: "server_streaming";
|
|
1639
|
+
input: typeof QueryRequestSchema;
|
|
1640
|
+
output: typeof RowFrameSchema;
|
|
1641
|
+
};
|
|
1642
|
+
/**
|
|
1643
|
+
* @generated from rpc ankka.protocol.v1.Client.Watch
|
|
1644
|
+
*/
|
|
1645
|
+
watch: {
|
|
1646
|
+
methodKind: "server_streaming";
|
|
1647
|
+
input: typeof WatchRequestSchema;
|
|
1648
|
+
output: typeof RowFrameSchema;
|
|
1649
|
+
};
|
|
1650
|
+
/**
|
|
1651
|
+
* Waits for a workflow's end and answers it (protocol 1.18): the final state as a reply, or an
|
|
1652
|
+
* Error whose code is WORKFLOW_FAILED with the step and the reason in details, or TIMEOUT when
|
|
1653
|
+
* timeout_millis passed first and the workflow runs on. A runtime older than 1.18 answers
|
|
1654
|
+
* UNIMPLEMENTED, and the SDK says which protocol waiting needs.
|
|
1655
|
+
*
|
|
1656
|
+
* @generated from rpc ankka.protocol.v1.Client.AwaitEnd
|
|
1657
|
+
*/
|
|
1658
|
+
awaitEnd: {
|
|
1659
|
+
methodKind: "unary";
|
|
1660
|
+
input: typeof AwaitEndRequestSchema;
|
|
1661
|
+
output: typeof InvokeReplySchema;
|
|
1662
|
+
};
|
|
1663
|
+
/**
|
|
1664
|
+
* The same wait as a stream (protocol 1.18): a heartbeat token while it waits, then one ended or
|
|
1665
|
+
* failed token, then the stream completes. For an endpoint serving the wait as server-sent
|
|
1666
|
+
* events past the runtime's idle timeout. Cancelling the stream ends the wait, not the workflow.
|
|
1667
|
+
*
|
|
1668
|
+
* @generated from rpc ankka.protocol.v1.Client.AwaitEndStream
|
|
1669
|
+
*/
|
|
1670
|
+
awaitEndStream: {
|
|
1671
|
+
methodKind: "server_streaming";
|
|
1672
|
+
input: typeof AwaitEndRequestSchema;
|
|
1673
|
+
output: typeof StreamTokenSchema;
|
|
1674
|
+
};
|
|
1675
|
+
/**
|
|
1676
|
+
* The service's client keys (protocol 1.20): issued for one of its MCP endpoints, listed and
|
|
1677
|
+
* revoked. The key itself is in an issue's reply and nowhere else. A refusal or a fault is an
|
|
1678
|
+
* Error in the reply, never a gRPC status, as for the secret store; a runtime older than 1.20
|
|
1679
|
+
* answers UNIMPLEMENTED.
|
|
1680
|
+
*
|
|
1681
|
+
* @generated from rpc ankka.protocol.v1.Client.IssueClientKey
|
|
1682
|
+
*/
|
|
1683
|
+
issueClientKey: {
|
|
1684
|
+
methodKind: "unary";
|
|
1685
|
+
input: typeof IssueClientKeyRequestSchema;
|
|
1686
|
+
output: typeof IssueClientKeyReplySchema;
|
|
1687
|
+
};
|
|
1688
|
+
/**
|
|
1689
|
+
* @generated from rpc ankka.protocol.v1.Client.ListClientKeys
|
|
1690
|
+
*/
|
|
1691
|
+
listClientKeys: {
|
|
1692
|
+
methodKind: "unary";
|
|
1693
|
+
input: typeof ListClientKeysRequestSchema;
|
|
1694
|
+
output: typeof ListClientKeysReplySchema;
|
|
1695
|
+
};
|
|
1696
|
+
/**
|
|
1697
|
+
* @generated from rpc ankka.protocol.v1.Client.RevokeClientKey
|
|
1698
|
+
*/
|
|
1699
|
+
revokeClientKey: {
|
|
1700
|
+
methodKind: "unary";
|
|
1701
|
+
input: typeof RevokeClientKeyRequestSchema;
|
|
1702
|
+
output: typeof RevokeClientKeyReplySchema;
|
|
1703
|
+
};
|
|
794
1704
|
}>;
|