@loams/client 0.1.0 → 0.1.2
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 +104 -4
- package/dist/app.d.ts +149 -0
- package/dist/app.js +317 -0
- package/dist/builders/filter.d.ts +96 -0
- package/dist/builders/filter.js +190 -0
- package/dist/builders/schema.d.ts +50 -0
- package/dist/builders/schema.js +92 -0
- package/dist/builders/search.d.ts +159 -0
- package/dist/builders/search.js +307 -0
- package/dist/gen/facade.d.ts +267 -2
- package/dist/gen/facade.js +194 -0
- package/dist/handle.d.ts +67 -0
- package/dist/handle.js +107 -0
- package/dist/index.d.ts +13 -5
- package/dist/index.js +13 -3
- package/dist/loams.d.ts +78 -3
- package/dist/loams.js +84 -6
- package/dist/node.js +1 -1
- package/dist/runtime/batch.d.ts +29 -0
- package/dist/runtime/batch.js +95 -0
- package/dist/runtime/call.d.ts +63 -9
- package/dist/runtime/call.js +243 -41
- package/dist/runtime/consistency.d.ts +65 -11
- package/dist/runtime/consistency.js +212 -46
- package/dist/runtime/errors.d.ts +29 -2
- package/dist/runtime/errors.js +26 -0
- package/dist/runtime/machine-key.d.ts +33 -0
- package/dist/runtime/machine-key.js +174 -0
- package/dist/runtime/pagination.js +8 -2
- package/dist/runtime/subscribe.d.ts +37 -0
- package/dist/runtime/subscribe.js +128 -0
- package/dist/runtime/token-source.d.ts +1 -1
- package/dist/runtime/token-source.js +1 -1
- package/dist/runtime/transports.d.ts +22 -1
- package/dist/runtime/transports.js +28 -2
- package/dist/vendor/proto/collection-v1.d.ts +3 -0
- package/dist/vendor/proto/collection-v1.js +7 -0
- package/dist/vendor/proto/gen/loams/auth/v1/auth_pb.d.ts +7 -2
- package/dist/vendor/proto/gen/loams/auth/v1/auth_pb.js +5 -1
- package/dist/vendor/proto/gen/loams/collection/v1/collection_pb.d.ts +1610 -0
- package/dist/vendor/proto/gen/loams/collection/v1/collection_pb.js +399 -0
- package/dist/vendor/proto/gen/loams/collection/v1/document_pb.d.ts +1054 -0
- package/dist/vendor/proto/gen/loams/collection/v1/document_pb.js +327 -0
- package/dist/vendor/proto/gen/loams/collection/v1/query_pb.d.ts +2101 -0
- package/dist/vendor/proto/gen/loams/collection/v1/query_pb.js +608 -0
- package/dist/vendor/proto/gen/loams/graph/v1/graph_pb.d.ts +2299 -0
- package/dist/vendor/proto/gen/loams/graph/v1/graph_pb.js +596 -0
- package/dist/vendor/proto/gen/loams/instance/v1/instance_pb.d.ts +23 -7
- package/dist/vendor/proto/gen/loams/instance/v1/instance_pb.js +20 -5
- package/dist/vendor/proto/gen/loams/operations/v1/operations_pb.d.ts +399 -0
- package/dist/vendor/proto/gen/loams/operations/v1/operations_pb.js +118 -0
- package/dist/vendor/proto/gen/loams/sql/v1/sql_pb.d.ts +182 -0
- package/dist/vendor/proto/gen/loams/sql/v1/sql_pb.js +72 -0
- package/dist/vendor/proto/gen/loams/stream/v1/stream_pb.d.ts +688 -0
- package/dist/vendor/proto/gen/loams/stream/v1/stream_pb.js +180 -0
- package/package.json +2 -2
|
@@ -18,7 +18,7 @@ import { file_loams_options_v1_options } from "../../options/v1/options_pb.js";
|
|
|
18
18
|
/**
|
|
19
19
|
* Describes the file loams/instance/v1/instance.proto.
|
|
20
20
|
*/
|
|
21
|
-
export const file_loams_instance_v1_instance = /*@__PURE__*/ fileDesc("
|
|
21
|
+
export const file_loams_instance_v1_instance = /*@__PURE__*/ fileDesc("CiBsb2Ftcy9pbnN0YW5jZS92MS9pbnN0YW5jZS5wcm90bxIRbG9hbXMuaW5zdGFuY2UudjEiFAoSR2V0SW5zdGFuY2VSZXF1ZXN0IpYFChNHZXRJbnN0YW5jZVJlc3BvbnNlEhMKC2luc3RhbmNlX2lkGAEgASgJEgwKBG5hbWUYAiABKAkSKwoHZWRpdGlvbhgDIAEoDjIaLmxvYW1zLmluc3RhbmNlLnYxLkVkaXRpb24SFgoOc2VydmVyX3ZlcnNpb24YBCABKAkSFAoMYXBpX3ZlcnNpb25zGA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oYU0lHTl9JTl9LSU5EX1VOU1BFQ0lGSUVEEAASFQoRU0lHTl9JTl9LSU5EX05PTkUQARIeChZTSUdOX0lOX0tJTkRfQVVUSEVOVElLEAIaAggBEioKIlNJR05fSU5fS0lORF9BVVRIRU5USUtfREVWSUNFX0NPREUQAxoCCAESGAoUU0lHTl9JTl9LSU5EX1BBSVJJTkcQBBIVChFTSUdOX0lOX0tJTkRfT0lEQxAFEiEKHVNJR05fSU5fS0lORF9PSURDX0RFVklDRV9DT0RFEAYqhgEKDVByaW5jaXBhbEtpbmQSHgoaUFJJTkNJUEFMX0tJTkRfVU5TUEVDSUZJRUQQABIXChNQUklOQ0lQQUxfS0lORF9VU0VSEAESIgoeUFJJTkNJUEFMX0tJTkRfU0VSVklDRV9BQ0NPVU5UEAISGAoUUFJJTkNJUEFMX0tJTkRfQUdFTlQQAzKqAgoPSW5zdGFuY2VTZXJ2aWNlEnIKC0dldEluc3RhbmNlEiUubG9hbXMuaW5zdGFuY2UudjEuR2V0SW5zdGFuY2VSZXF1ZXN0GiYubG9hbXMuaW5zdGFuY2UudjEuR2V0SW5zdGFuY2VSZXNwb25zZSIUkAIBkrUYDRILZ2V0SW5zdGFuY2USXgoGV2hvQW1JEiAubG9hbXMuaW5zdGFuY2UudjEuV2hvQW1JUmVxdWVzdBohLmxvYW1zLmluc3RhbmNlLnYxLldob0FtSVJlc3BvbnNlIg+QAgGStRgIEgZ3aG9BbUkaQ4q1GD8KCGluc3RhbmNlEjNXaGF0IHRoaXMgaW5zdGFuY2UgaXMsIGFuZCB3aG8gdGhlIGNhbGxlciBpcyBvbiBpdC5iBnByb3RvMw", [file_google_protobuf_timestamp, file_loams_options_v1_options]);
|
|
22
22
|
/**
|
|
23
23
|
* Describes the message loams.instance.v1.GetInstanceRequest.
|
|
24
24
|
* Use `create(GetInstanceRequestSchema)` to create a new message.
|
|
@@ -116,15 +116,18 @@ export var SignInKind;
|
|
|
116
116
|
*/
|
|
117
117
|
SignInKind[SignInKind["NONE"] = 1] = "NONE";
|
|
118
118
|
/**
|
|
119
|
-
*
|
|
119
|
+
* Deprecated: use SIGN_IN_KIND_OIDC (D1619). Kept so the wire value still
|
|
120
|
+
* decodes; no server sends it.
|
|
120
121
|
*
|
|
121
|
-
* @generated from enum value: SIGN_IN_KIND_AUTHENTIK = 2;
|
|
122
|
+
* @generated from enum value: SIGN_IN_KIND_AUTHENTIK = 2 [deprecated = true];
|
|
123
|
+
* @deprecated
|
|
122
124
|
*/
|
|
123
125
|
SignInKind[SignInKind["AUTHENTIK"] = 2] = "AUTHENTIK";
|
|
124
126
|
/**
|
|
125
|
-
*
|
|
127
|
+
* Deprecated: use SIGN_IN_KIND_OIDC_DEVICE_CODE (D1619).
|
|
126
128
|
*
|
|
127
|
-
* @generated from enum value: SIGN_IN_KIND_AUTHENTIK_DEVICE_CODE = 3;
|
|
129
|
+
* @generated from enum value: SIGN_IN_KIND_AUTHENTIK_DEVICE_CODE = 3 [deprecated = true];
|
|
130
|
+
* @deprecated
|
|
128
131
|
*/
|
|
129
132
|
SignInKind[SignInKind["AUTHENTIK_DEVICE_CODE"] = 3] = "AUTHENTIK_DEVICE_CODE";
|
|
130
133
|
/**
|
|
@@ -133,6 +136,18 @@ export var SignInKind;
|
|
|
133
136
|
* @generated from enum value: SIGN_IN_KIND_PAIRING = 4;
|
|
134
137
|
*/
|
|
135
138
|
SignInKind[SignInKind["PAIRING"] = 4] = "PAIRING";
|
|
139
|
+
/**
|
|
140
|
+
* OIDC authorization code + PKCE at the instance's issuer (design §76).
|
|
141
|
+
*
|
|
142
|
+
* @generated from enum value: SIGN_IN_KIND_OIDC = 5;
|
|
143
|
+
*/
|
|
144
|
+
SignInKind[SignInKind["OIDC"] = 5] = "OIDC";
|
|
145
|
+
/**
|
|
146
|
+
* The issuer's device authorization flow (RFC 8628).
|
|
147
|
+
*
|
|
148
|
+
* @generated from enum value: SIGN_IN_KIND_OIDC_DEVICE_CODE = 6;
|
|
149
|
+
*/
|
|
150
|
+
SignInKind[SignInKind["OIDC_DEVICE_CODE"] = 6] = "OIDC_DEVICE_CODE";
|
|
136
151
|
})(SignInKind || (SignInKind = {}));
|
|
137
152
|
/**
|
|
138
153
|
* Describes the enum loams.instance.v1.SignInKind.
|
|
@@ -0,0 +1,399 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file loams/operations/v1/operations.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_loams_operations_v1_operations: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* @generated from message loams.operations.v1.Operation
|
|
10
|
+
*/
|
|
11
|
+
export type Operation = Message<"loams.operations.v1.Operation"> & {
|
|
12
|
+
/**
|
|
13
|
+
* "op-" + 26 hex characters (D146).
|
|
14
|
+
*
|
|
15
|
+
* @generated from field: string id = 1;
|
|
16
|
+
*/
|
|
17
|
+
id: string;
|
|
18
|
+
/**
|
|
19
|
+
* For example "collection.import", "collection.drop", "restore".
|
|
20
|
+
*
|
|
21
|
+
* @generated from field: string kind = 2;
|
|
22
|
+
*/
|
|
23
|
+
kind: string;
|
|
24
|
+
/**
|
|
25
|
+
* @generated from field: string namespace = 3;
|
|
26
|
+
*/
|
|
27
|
+
namespace: string;
|
|
28
|
+
/**
|
|
29
|
+
* Structured target, for example {"collection": "docs"}.
|
|
30
|
+
*
|
|
31
|
+
* @generated from field: map<string, string> target = 4;
|
|
32
|
+
*/
|
|
33
|
+
target: {
|
|
34
|
+
[key: string]: string;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* @generated from field: loams.operations.v1.OperationState state = 5;
|
|
38
|
+
*/
|
|
39
|
+
state: OperationState;
|
|
40
|
+
/**
|
|
41
|
+
* @generated from field: loams.operations.v1.Progress progress = 6;
|
|
42
|
+
*/
|
|
43
|
+
progress?: Progress | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* @generated from field: google.protobuf.Timestamp created_at = 7;
|
|
46
|
+
*/
|
|
47
|
+
createdAt?: Timestamp | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 8;
|
|
50
|
+
*/
|
|
51
|
+
updatedAt?: Timestamp | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* The kind-specific result once SUCCEEDED.
|
|
54
|
+
*
|
|
55
|
+
* @generated from field: google.protobuf.Struct result = 9;
|
|
56
|
+
*/
|
|
57
|
+
result?: JsonObject | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* @generated from field: loams.operations.v1.OperationError error = 10;
|
|
60
|
+
*/
|
|
61
|
+
error?: OperationError | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* Set while AWAITING_APPROVAL (loams.approvals.v1).
|
|
64
|
+
*
|
|
65
|
+
* @generated from field: string approval_id = 11;
|
|
66
|
+
*/
|
|
67
|
+
approvalId: string;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* Describes the message loams.operations.v1.Operation.
|
|
71
|
+
* Use `create(OperationSchema)` to create a new message.
|
|
72
|
+
*/
|
|
73
|
+
export declare const OperationSchema: GenMessage<Operation>;
|
|
74
|
+
/**
|
|
75
|
+
* @generated from message loams.operations.v1.Progress
|
|
76
|
+
*/
|
|
77
|
+
export type Progress = Message<"loams.operations.v1.Progress"> & {
|
|
78
|
+
/**
|
|
79
|
+
* @generated from field: uint64 done = 1;
|
|
80
|
+
*/
|
|
81
|
+
done: bigint;
|
|
82
|
+
/**
|
|
83
|
+
* 0 when unknown.
|
|
84
|
+
*
|
|
85
|
+
* @generated from field: uint64 total = 2;
|
|
86
|
+
*/
|
|
87
|
+
total: bigint;
|
|
88
|
+
/**
|
|
89
|
+
* "documents", "bytes", "steps".
|
|
90
|
+
*
|
|
91
|
+
* @generated from field: string unit = 3;
|
|
92
|
+
*/
|
|
93
|
+
unit: string;
|
|
94
|
+
/**
|
|
95
|
+
* A server-rendered phase label, for example "indexing".
|
|
96
|
+
*
|
|
97
|
+
* @generated from field: string phase = 4;
|
|
98
|
+
*/
|
|
99
|
+
phase: string;
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* Describes the message loams.operations.v1.Progress.
|
|
103
|
+
* Use `create(ProgressSchema)` to create a new message.
|
|
104
|
+
*/
|
|
105
|
+
export declare const ProgressSchema: GenMessage<Progress>;
|
|
106
|
+
/**
|
|
107
|
+
* @generated from message loams.operations.v1.OperationError
|
|
108
|
+
*/
|
|
109
|
+
export type OperationError = Message<"loams.operations.v1.OperationError"> & {
|
|
110
|
+
/**
|
|
111
|
+
* @generated from field: string code = 1;
|
|
112
|
+
*/
|
|
113
|
+
code: string;
|
|
114
|
+
/**
|
|
115
|
+
* @generated from field: string message = 2;
|
|
116
|
+
*/
|
|
117
|
+
message: string;
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* Describes the message loams.operations.v1.OperationError.
|
|
121
|
+
* Use `create(OperationErrorSchema)` to create a new message.
|
|
122
|
+
*/
|
|
123
|
+
export declare const OperationErrorSchema: GenMessage<OperationError>;
|
|
124
|
+
/**
|
|
125
|
+
* @generated from message loams.operations.v1.GetOperationRequest
|
|
126
|
+
*/
|
|
127
|
+
export type GetOperationRequest = Message<"loams.operations.v1.GetOperationRequest"> & {
|
|
128
|
+
/**
|
|
129
|
+
* @generated from field: string operation_id = 1;
|
|
130
|
+
*/
|
|
131
|
+
operationId: string;
|
|
132
|
+
};
|
|
133
|
+
/**
|
|
134
|
+
* Describes the message loams.operations.v1.GetOperationRequest.
|
|
135
|
+
* Use `create(GetOperationRequestSchema)` to create a new message.
|
|
136
|
+
*/
|
|
137
|
+
export declare const GetOperationRequestSchema: GenMessage<GetOperationRequest>;
|
|
138
|
+
/**
|
|
139
|
+
* @generated from message loams.operations.v1.GetOperationResponse
|
|
140
|
+
*/
|
|
141
|
+
export type GetOperationResponse = Message<"loams.operations.v1.GetOperationResponse"> & {
|
|
142
|
+
/**
|
|
143
|
+
* @generated from field: loams.operations.v1.Operation operation = 1;
|
|
144
|
+
*/
|
|
145
|
+
operation?: Operation | undefined;
|
|
146
|
+
};
|
|
147
|
+
/**
|
|
148
|
+
* Describes the message loams.operations.v1.GetOperationResponse.
|
|
149
|
+
* Use `create(GetOperationResponseSchema)` to create a new message.
|
|
150
|
+
*/
|
|
151
|
+
export declare const GetOperationResponseSchema: GenMessage<GetOperationResponse>;
|
|
152
|
+
/**
|
|
153
|
+
* @generated from message loams.operations.v1.ListOperationsRequest
|
|
154
|
+
*/
|
|
155
|
+
export type ListOperationsRequest = Message<"loams.operations.v1.ListOperationsRequest"> & {
|
|
156
|
+
/**
|
|
157
|
+
* Empty = every namespace the caller can see.
|
|
158
|
+
*
|
|
159
|
+
* @generated from field: string namespace = 1;
|
|
160
|
+
*/
|
|
161
|
+
namespace: string;
|
|
162
|
+
/**
|
|
163
|
+
* @generated from field: repeated loams.operations.v1.OperationState states = 2;
|
|
164
|
+
*/
|
|
165
|
+
states: OperationState[];
|
|
166
|
+
/**
|
|
167
|
+
* @generated from field: uint32 page_size = 3;
|
|
168
|
+
*/
|
|
169
|
+
pageSize: number;
|
|
170
|
+
/**
|
|
171
|
+
* @generated from field: string page_token = 4;
|
|
172
|
+
*/
|
|
173
|
+
pageToken: string;
|
|
174
|
+
};
|
|
175
|
+
/**
|
|
176
|
+
* Describes the message loams.operations.v1.ListOperationsRequest.
|
|
177
|
+
* Use `create(ListOperationsRequestSchema)` to create a new message.
|
|
178
|
+
*/
|
|
179
|
+
export declare const ListOperationsRequestSchema: GenMessage<ListOperationsRequest>;
|
|
180
|
+
/**
|
|
181
|
+
* @generated from message loams.operations.v1.ListOperationsResponse
|
|
182
|
+
*/
|
|
183
|
+
export type ListOperationsResponse = Message<"loams.operations.v1.ListOperationsResponse"> & {
|
|
184
|
+
/**
|
|
185
|
+
* @generated from field: repeated loams.operations.v1.Operation operations = 1;
|
|
186
|
+
*/
|
|
187
|
+
operations: Operation[];
|
|
188
|
+
/**
|
|
189
|
+
* @generated from field: string next_page_token = 2;
|
|
190
|
+
*/
|
|
191
|
+
nextPageToken: string;
|
|
192
|
+
};
|
|
193
|
+
/**
|
|
194
|
+
* Describes the message loams.operations.v1.ListOperationsResponse.
|
|
195
|
+
* Use `create(ListOperationsResponseSchema)` to create a new message.
|
|
196
|
+
*/
|
|
197
|
+
export declare const ListOperationsResponseSchema: GenMessage<ListOperationsResponse>;
|
|
198
|
+
/**
|
|
199
|
+
* @generated from message loams.operations.v1.WatchOperationsRequest
|
|
200
|
+
*/
|
|
201
|
+
export type WatchOperationsRequest = Message<"loams.operations.v1.WatchOperationsRequest"> & {
|
|
202
|
+
/**
|
|
203
|
+
* @generated from field: string namespace = 1;
|
|
204
|
+
*/
|
|
205
|
+
namespace: string;
|
|
206
|
+
/**
|
|
207
|
+
* @generated from field: repeated loams.operations.v1.OperationState states = 2;
|
|
208
|
+
*/
|
|
209
|
+
states: OperationState[];
|
|
210
|
+
/**
|
|
211
|
+
* @generated from field: string resume_cursor = 3;
|
|
212
|
+
*/
|
|
213
|
+
resumeCursor: string;
|
|
214
|
+
};
|
|
215
|
+
/**
|
|
216
|
+
* Describes the message loams.operations.v1.WatchOperationsRequest.
|
|
217
|
+
* Use `create(WatchOperationsRequestSchema)` to create a new message.
|
|
218
|
+
*/
|
|
219
|
+
export declare const WatchOperationsRequestSchema: GenMessage<WatchOperationsRequest>;
|
|
220
|
+
/**
|
|
221
|
+
* @generated from message loams.operations.v1.WatchOperationsResponse
|
|
222
|
+
*/
|
|
223
|
+
export type WatchOperationsResponse = Message<"loams.operations.v1.WatchOperationsResponse"> & {
|
|
224
|
+
/**
|
|
225
|
+
* @generated from oneof loams.operations.v1.WatchOperationsResponse.event
|
|
226
|
+
*/
|
|
227
|
+
event: {
|
|
228
|
+
/**
|
|
229
|
+
* @generated from field: loams.operations.v1.OperationSnapshot snapshot = 1;
|
|
230
|
+
*/
|
|
231
|
+
value: OperationSnapshot;
|
|
232
|
+
case: "snapshot";
|
|
233
|
+
} | {
|
|
234
|
+
/**
|
|
235
|
+
* @generated from field: loams.operations.v1.Operation upsert = 2;
|
|
236
|
+
*/
|
|
237
|
+
value: Operation;
|
|
238
|
+
case: "upsert";
|
|
239
|
+
} | {
|
|
240
|
+
/**
|
|
241
|
+
* @generated from field: string remove = 3;
|
|
242
|
+
*/
|
|
243
|
+
value: string;
|
|
244
|
+
case: "remove";
|
|
245
|
+
} | {
|
|
246
|
+
/**
|
|
247
|
+
* @generated from field: loams.operations.v1.Heartbeat heartbeat = 4;
|
|
248
|
+
*/
|
|
249
|
+
value: Heartbeat;
|
|
250
|
+
case: "heartbeat";
|
|
251
|
+
} | {
|
|
252
|
+
case: undefined;
|
|
253
|
+
value?: undefined;
|
|
254
|
+
};
|
|
255
|
+
/**
|
|
256
|
+
* @generated from field: string cursor = 5;
|
|
257
|
+
*/
|
|
258
|
+
cursor: string;
|
|
259
|
+
/**
|
|
260
|
+
* @generated from field: bool snapshot_reset = 6;
|
|
261
|
+
*/
|
|
262
|
+
snapshotReset: boolean;
|
|
263
|
+
};
|
|
264
|
+
/**
|
|
265
|
+
* Describes the message loams.operations.v1.WatchOperationsResponse.
|
|
266
|
+
* Use `create(WatchOperationsResponseSchema)` to create a new message.
|
|
267
|
+
*/
|
|
268
|
+
export declare const WatchOperationsResponseSchema: GenMessage<WatchOperationsResponse>;
|
|
269
|
+
/**
|
|
270
|
+
* @generated from message loams.operations.v1.OperationSnapshot
|
|
271
|
+
*/
|
|
272
|
+
export type OperationSnapshot = Message<"loams.operations.v1.OperationSnapshot"> & {
|
|
273
|
+
/**
|
|
274
|
+
* @generated from field: repeated loams.operations.v1.Operation operations = 1;
|
|
275
|
+
*/
|
|
276
|
+
operations: Operation[];
|
|
277
|
+
};
|
|
278
|
+
/**
|
|
279
|
+
* Describes the message loams.operations.v1.OperationSnapshot.
|
|
280
|
+
* Use `create(OperationSnapshotSchema)` to create a new message.
|
|
281
|
+
*/
|
|
282
|
+
export declare const OperationSnapshotSchema: GenMessage<OperationSnapshot>;
|
|
283
|
+
/**
|
|
284
|
+
* @generated from message loams.operations.v1.Heartbeat
|
|
285
|
+
*/
|
|
286
|
+
export type Heartbeat = Message<"loams.operations.v1.Heartbeat"> & {};
|
|
287
|
+
/**
|
|
288
|
+
* Describes the message loams.operations.v1.Heartbeat.
|
|
289
|
+
* Use `create(HeartbeatSchema)` to create a new message.
|
|
290
|
+
*/
|
|
291
|
+
export declare const HeartbeatSchema: GenMessage<Heartbeat>;
|
|
292
|
+
/**
|
|
293
|
+
* @generated from message loams.operations.v1.CancelOperationRequest
|
|
294
|
+
*/
|
|
295
|
+
export type CancelOperationRequest = Message<"loams.operations.v1.CancelOperationRequest"> & {
|
|
296
|
+
/**
|
|
297
|
+
* @generated from field: string operation_id = 1;
|
|
298
|
+
*/
|
|
299
|
+
operationId: string;
|
|
300
|
+
/**
|
|
301
|
+
* @generated from field: string idempotency_key = 2;
|
|
302
|
+
*/
|
|
303
|
+
idempotencyKey: string;
|
|
304
|
+
};
|
|
305
|
+
/**
|
|
306
|
+
* Describes the message loams.operations.v1.CancelOperationRequest.
|
|
307
|
+
* Use `create(CancelOperationRequestSchema)` to create a new message.
|
|
308
|
+
*/
|
|
309
|
+
export declare const CancelOperationRequestSchema: GenMessage<CancelOperationRequest>;
|
|
310
|
+
/**
|
|
311
|
+
* @generated from message loams.operations.v1.CancelOperationResponse
|
|
312
|
+
*/
|
|
313
|
+
export type CancelOperationResponse = Message<"loams.operations.v1.CancelOperationResponse"> & {
|
|
314
|
+
/**
|
|
315
|
+
* @generated from field: loams.operations.v1.Operation operation = 1;
|
|
316
|
+
*/
|
|
317
|
+
operation?: Operation | undefined;
|
|
318
|
+
};
|
|
319
|
+
/**
|
|
320
|
+
* Describes the message loams.operations.v1.CancelOperationResponse.
|
|
321
|
+
* Use `create(CancelOperationResponseSchema)` to create a new message.
|
|
322
|
+
*/
|
|
323
|
+
export declare const CancelOperationResponseSchema: GenMessage<CancelOperationResponse>;
|
|
324
|
+
/**
|
|
325
|
+
* @generated from enum loams.operations.v1.OperationState
|
|
326
|
+
*/
|
|
327
|
+
export declare enum OperationState {
|
|
328
|
+
/**
|
|
329
|
+
* @generated from enum value: OPERATION_STATE_UNSPECIFIED = 0;
|
|
330
|
+
*/
|
|
331
|
+
UNSPECIFIED = 0,
|
|
332
|
+
/**
|
|
333
|
+
* @generated from enum value: OPERATION_STATE_PENDING = 1;
|
|
334
|
+
*/
|
|
335
|
+
PENDING = 1,
|
|
336
|
+
/**
|
|
337
|
+
* @generated from enum value: OPERATION_STATE_AWAITING_APPROVAL = 2;
|
|
338
|
+
*/
|
|
339
|
+
AWAITING_APPROVAL = 2,
|
|
340
|
+
/**
|
|
341
|
+
* @generated from enum value: OPERATION_STATE_RUNNING = 3;
|
|
342
|
+
*/
|
|
343
|
+
RUNNING = 3,
|
|
344
|
+
/**
|
|
345
|
+
* @generated from enum value: OPERATION_STATE_SUCCEEDED = 4;
|
|
346
|
+
*/
|
|
347
|
+
SUCCEEDED = 4,
|
|
348
|
+
/**
|
|
349
|
+
* @generated from enum value: OPERATION_STATE_FAILED = 5;
|
|
350
|
+
*/
|
|
351
|
+
FAILED = 5,
|
|
352
|
+
/**
|
|
353
|
+
* @generated from enum value: OPERATION_STATE_CANCELED = 6;
|
|
354
|
+
*/
|
|
355
|
+
CANCELED = 6
|
|
356
|
+
}
|
|
357
|
+
/**
|
|
358
|
+
* Describes the enum loams.operations.v1.OperationState.
|
|
359
|
+
*/
|
|
360
|
+
export declare const OperationStateSchema: GenEnum<OperationState>;
|
|
361
|
+
/**
|
|
362
|
+
* @generated from service loams.operations.v1.OperationsService
|
|
363
|
+
*/
|
|
364
|
+
export declare const OperationsService: GenService<{
|
|
365
|
+
/**
|
|
366
|
+
* @generated from rpc loams.operations.v1.OperationsService.GetOperation
|
|
367
|
+
*/
|
|
368
|
+
getOperation: {
|
|
369
|
+
methodKind: "unary";
|
|
370
|
+
input: typeof GetOperationRequestSchema;
|
|
371
|
+
output: typeof GetOperationResponseSchema;
|
|
372
|
+
};
|
|
373
|
+
/**
|
|
374
|
+
* @generated from rpc loams.operations.v1.OperationsService.ListOperations
|
|
375
|
+
*/
|
|
376
|
+
listOperations: {
|
|
377
|
+
methodKind: "unary";
|
|
378
|
+
input: typeof ListOperationsRequestSchema;
|
|
379
|
+
output: typeof ListOperationsResponseSchema;
|
|
380
|
+
};
|
|
381
|
+
/**
|
|
382
|
+
* A snapshot, then changes, then a heartbeat every 15 s (AP0 Ruling 3).
|
|
383
|
+
*
|
|
384
|
+
* @generated from rpc loams.operations.v1.OperationsService.WatchOperations
|
|
385
|
+
*/
|
|
386
|
+
watchOperations: {
|
|
387
|
+
methodKind: "server_streaming";
|
|
388
|
+
input: typeof WatchOperationsRequestSchema;
|
|
389
|
+
output: typeof WatchOperationsResponseSchema;
|
|
390
|
+
};
|
|
391
|
+
/**
|
|
392
|
+
* @generated from rpc loams.operations.v1.OperationsService.CancelOperation
|
|
393
|
+
*/
|
|
394
|
+
cancelOperation: {
|
|
395
|
+
methodKind: "unary";
|
|
396
|
+
input: typeof CancelOperationRequestSchema;
|
|
397
|
+
output: typeof CancelOperationResponseSchema;
|
|
398
|
+
};
|
|
399
|
+
}>;
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
// Operations: the Connect face of D146's REST operations API (design §21
|
|
2
|
+
// §6.4, §37 §8.2; AP0 Task 4).
|
|
3
|
+
//
|
|
4
|
+
// An operation is a durable promise: an import, a restore, a drop awaiting
|
|
5
|
+
// approval. The REST routes and this service read the same state.
|
|
6
|
+
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
+
import { file_google_protobuf_struct, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file loams/operations/v1/operations.proto.
|
|
10
|
+
*/
|
|
11
|
+
export const file_lo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]);
|
|
12
|
+
/**
|
|
13
|
+
* Describes the message loams.operations.v1.Operation.
|
|
14
|
+
* Use `create(OperationSchema)` to create a new message.
|
|
15
|
+
*/
|
|
16
|
+
export const OperationSchema = /*@__PURE__*/ messageDesc(file_loams_operations_v1_operations, 0);
|
|
17
|
+
/**
|
|
18
|
+
* Describes the message loams.operations.v1.Progress.
|
|
19
|
+
* Use `create(ProgressSchema)` to create a new message.
|
|
20
|
+
*/
|
|
21
|
+
export const ProgressSchema = /*@__PURE__*/ messageDesc(file_loams_operations_v1_operations, 1);
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message loams.operations.v1.OperationError.
|
|
24
|
+
* Use `create(OperationErrorSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
export const OperationErrorSchema = /*@__PURE__*/ messageDesc(file_loams_operations_v1_operations, 2);
|
|
27
|
+
/**
|
|
28
|
+
* Describes the message loams.operations.v1.GetOperationRequest.
|
|
29
|
+
* Use `create(GetOperationRequestSchema)` to create a new message.
|
|
30
|
+
*/
|
|
31
|
+
export const GetOperationRequestSchema = /*@__PURE__*/ messageDesc(file_loams_operations_v1_operations, 3);
|
|
32
|
+
/**
|
|
33
|
+
* Describes the message loams.operations.v1.GetOperationResponse.
|
|
34
|
+
* Use `create(GetOperationResponseSchema)` to create a new message.
|
|
35
|
+
*/
|
|
36
|
+
export const GetOperationResponseSchema = /*@__PURE__*/ messageDesc(file_loams_operations_v1_operations, 4);
|
|
37
|
+
/**
|
|
38
|
+
* Describes the message loams.operations.v1.ListOperationsRequest.
|
|
39
|
+
* Use `create(ListOperationsRequestSchema)` to create a new message.
|
|
40
|
+
*/
|
|
41
|
+
export const ListOperationsRequestSchema = /*@__PURE__*/ messageDesc(file_loams_operations_v1_operations, 5);
|
|
42
|
+
/**
|
|
43
|
+
* Describes the message loams.operations.v1.ListOperationsResponse.
|
|
44
|
+
* Use `create(ListOperationsResponseSchema)` to create a new message.
|
|
45
|
+
*/
|
|
46
|
+
export const ListOperationsResponseSchema = /*@__PURE__*/ messageDesc(file_loams_operations_v1_operations, 6);
|
|
47
|
+
/**
|
|
48
|
+
* Describes the message loams.operations.v1.WatchOperationsRequest.
|
|
49
|
+
* Use `create(WatchOperationsRequestSchema)` to create a new message.
|
|
50
|
+
*/
|
|
51
|
+
export const WatchOperationsRequestSchema = /*@__PURE__*/ messageDesc(file_loams_operations_v1_operations, 7);
|
|
52
|
+
/**
|
|
53
|
+
* Describes the message loams.operations.v1.WatchOperationsResponse.
|
|
54
|
+
* Use `create(WatchOperationsResponseSchema)` to create a new message.
|
|
55
|
+
*/
|
|
56
|
+
export const WatchOperationsResponseSchema = /*@__PURE__*/ messageDesc(file_loams_operations_v1_operations, 8);
|
|
57
|
+
/**
|
|
58
|
+
* Describes the message loams.operations.v1.OperationSnapshot.
|
|
59
|
+
* Use `create(OperationSnapshotSchema)` to create a new message.
|
|
60
|
+
*/
|
|
61
|
+
export const OperationSnapshotSchema = /*@__PURE__*/ messageDesc(file_loams_operations_v1_operations, 9);
|
|
62
|
+
/**
|
|
63
|
+
* Describes the message loams.operations.v1.Heartbeat.
|
|
64
|
+
* Use `create(HeartbeatSchema)` to create a new message.
|
|
65
|
+
*/
|
|
66
|
+
export const HeartbeatSchema = /*@__PURE__*/ messageDesc(file_loams_operations_v1_operations, 10);
|
|
67
|
+
/**
|
|
68
|
+
* Describes the message loams.operations.v1.CancelOperationRequest.
|
|
69
|
+
* Use `create(CancelOperationRequestSchema)` to create a new message.
|
|
70
|
+
*/
|
|
71
|
+
export const CancelOperationRequestSchema = /*@__PURE__*/ messageDesc(file_loams_operations_v1_operations, 11);
|
|
72
|
+
/**
|
|
73
|
+
* Describes the message loams.operations.v1.CancelOperationResponse.
|
|
74
|
+
* Use `create(CancelOperationResponseSchema)` to create a new message.
|
|
75
|
+
*/
|
|
76
|
+
export const CancelOperationResponseSchema = /*@__PURE__*/ messageDesc(file_loams_operations_v1_operations, 12);
|
|
77
|
+
/**
|
|
78
|
+
* @generated from enum loams.operations.v1.OperationState
|
|
79
|
+
*/
|
|
80
|
+
export var OperationState;
|
|
81
|
+
(function (OperationState) {
|
|
82
|
+
/**
|
|
83
|
+
* @generated from enum value: OPERATION_STATE_UNSPECIFIED = 0;
|
|
84
|
+
*/
|
|
85
|
+
OperationState[OperationState["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
86
|
+
/**
|
|
87
|
+
* @generated from enum value: OPERATION_STATE_PENDING = 1;
|
|
88
|
+
*/
|
|
89
|
+
OperationState[OperationState["PENDING"] = 1] = "PENDING";
|
|
90
|
+
/**
|
|
91
|
+
* @generated from enum value: OPERATION_STATE_AWAITING_APPROVAL = 2;
|
|
92
|
+
*/
|
|
93
|
+
OperationState[OperationState["AWAITING_APPROVAL"] = 2] = "AWAITING_APPROVAL";
|
|
94
|
+
/**
|
|
95
|
+
* @generated from enum value: OPERATION_STATE_RUNNING = 3;
|
|
96
|
+
*/
|
|
97
|
+
OperationState[OperationState["RUNNING"] = 3] = "RUNNING";
|
|
98
|
+
/**
|
|
99
|
+
* @generated from enum value: OPERATION_STATE_SUCCEEDED = 4;
|
|
100
|
+
*/
|
|
101
|
+
OperationState[OperationState["SUCCEEDED"] = 4] = "SUCCEEDED";
|
|
102
|
+
/**
|
|
103
|
+
* @generated from enum value: OPERATION_STATE_FAILED = 5;
|
|
104
|
+
*/
|
|
105
|
+
OperationState[OperationState["FAILED"] = 5] = "FAILED";
|
|
106
|
+
/**
|
|
107
|
+
* @generated from enum value: OPERATION_STATE_CANCELED = 6;
|
|
108
|
+
*/
|
|
109
|
+
OperationState[OperationState["CANCELED"] = 6] = "CANCELED";
|
|
110
|
+
})(OperationState || (OperationState = {}));
|
|
111
|
+
/**
|
|
112
|
+
* Describes the enum loams.operations.v1.OperationState.
|
|
113
|
+
*/
|
|
114
|
+
export const OperationStateSchema = /*@__PURE__*/ enumDesc(file_loams_operations_v1_operations, 0);
|
|
115
|
+
/**
|
|
116
|
+
* @generated from service loams.operations.v1.OperationsService
|
|
117
|
+
*/
|
|
118
|
+
export const OperationsService = /*@__PURE__*/ serviceDesc(file_loams_operations_v1_operations, 0);
|