@f-inverse/jammi-client 0.24.0 → 0.26.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 +2 -2
- package/dist/gen/jammi/v1/audit_pb.d.ts +1 -1
- package/dist/gen/jammi/v1/audit_pb.js +1 -1
- package/dist/gen/jammi/v1/catalog_pb.d.ts +1148 -0
- package/dist/gen/jammi/v1/catalog_pb.d.ts.map +1 -0
- package/dist/gen/jammi/v1/catalog_pb.js +320 -0
- package/dist/gen/jammi/v1/catalog_pb.js.map +1 -0
- package/dist/gen/jammi/v1/embedding_pb.d.ts +10 -265
- package/dist/gen/jammi/v1/embedding_pb.d.ts.map +1 -1
- package/dist/gen/jammi/v1/embedding_pb.js +18 -111
- package/dist/gen/jammi/v1/embedding_pb.js.map +1 -1
- package/dist/gen/jammi/v1/error_pb.d.ts +2 -2
- package/dist/gen/jammi/v1/eval_pb.d.ts +287 -1
- package/dist/gen/jammi/v1/eval_pb.d.ts.map +1 -1
- package/dist/gen/jammi/v1/eval_pb.js +82 -25
- package/dist/gen/jammi/v1/eval_pb.js.map +1 -1
- package/dist/gen/jammi/v1/inference_pb.d.ts +272 -1
- package/dist/gen/jammi/v1/inference_pb.d.ts.map +1 -1
- package/dist/gen/jammi/v1/inference_pb.js +61 -2
- package/dist/gen/jammi/v1/inference_pb.js.map +1 -1
- package/dist/gen/jammi/v1/pipeline_pb.d.ts +491 -0
- package/dist/gen/jammi/v1/pipeline_pb.d.ts.map +1 -0
- package/dist/gen/jammi/v1/pipeline_pb.js +154 -0
- package/dist/gen/jammi/v1/pipeline_pb.js.map +1 -0
- package/dist/gen/jammi/v1/training_pb.d.ts +1217 -0
- package/dist/gen/jammi/v1/training_pb.d.ts.map +1 -0
- package/dist/gen/jammi/v1/training_pb.js +388 -0
- package/dist/gen/jammi/v1/training_pb.js.map +1 -0
- package/dist/gen/jammi/v1/trigger_pb.d.ts +18 -215
- package/dist/gen/jammi/v1/trigger_pb.d.ts.map +1 -1
- package/dist/gen/jammi/v1/trigger_pb.js +11 -41
- package/dist/gen/jammi/v1/trigger_pb.js.map +1 -1
- package/dist/index.d.ts +11 -12
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -13
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/dist/gen/jammi/v1/channel_pb.d.ts +0 -158
- package/dist/gen/jammi/v1/channel_pb.d.ts.map +0 -1
- package/dist/gen/jammi/v1/channel_pb.js +0 -87
- package/dist/gen/jammi/v1/channel_pb.js.map +0 -1
- package/dist/gen/jammi/v1/fine_tune_pb.d.ts +0 -706
- package/dist/gen/jammi/v1/fine_tune_pb.d.ts.map +0 -1
- package/dist/gen/jammi/v1/fine_tune_pb.js +0 -271
- package/dist/gen/jammi/v1/fine_tune_pb.js.map +0 -1
- package/dist/gen/jammi/v1/mutable_table_pb.d.ts +0 -183
- package/dist/gen/jammi/v1/mutable_table_pb.d.ts.map +0 -1
- package/dist/gen/jammi/v1/mutable_table_pb.js +0 -59
- package/dist/gen/jammi/v1/mutable_table_pb.js.map +0 -1
- package/dist/gen/jammi/v1/session_pb.d.ts +0 -167
- package/dist/gen/jammi/v1/session_pb.d.ts.map +0 -1
- package/dist/gen/jammi/v1/session_pb.js +0 -45
- package/dist/gen/jammi/v1/session_pb.js.map +0 -1
|
@@ -0,0 +1,1148 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { EmptySchema } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { ModelTask } from "./inference_pb";
|
|
4
|
+
import type { ResultTable } from "./embedding_pb";
|
|
5
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
6
|
+
/**
|
|
7
|
+
* Describes the file jammi/v1/catalog.proto.
|
|
8
|
+
*/
|
|
9
|
+
export declare const file_jammi_v1_catalog: GenFile;
|
|
10
|
+
/**
|
|
11
|
+
* The engine's self-description, returned by GetServerInfo. `version`,
|
|
12
|
+
* `features`, and `storage_backends` are compile-time facts about the running
|
|
13
|
+
* binary; `services` is the runtime tier handshake — which gRPC service tiers
|
|
14
|
+
* this particular deployment actually mounted. Together they let a client
|
|
15
|
+
* negotiate capability without probing each verb.
|
|
16
|
+
*
|
|
17
|
+
* @generated from message jammi.v1.catalog.ServerInfo
|
|
18
|
+
*/
|
|
19
|
+
export type ServerInfo = Message<"jammi.v1.catalog.ServerInfo"> & {
|
|
20
|
+
/**
|
|
21
|
+
* The engine version (the `jammi` workspace version, e.g. "0.17.0").
|
|
22
|
+
*
|
|
23
|
+
* @generated from field: string version = 1;
|
|
24
|
+
*/
|
|
25
|
+
version: string;
|
|
26
|
+
/**
|
|
27
|
+
* Engine capability feature flags compiled into this build (e.g. "postgres",
|
|
28
|
+
* "mysql", "jetstream-broker"), sorted.
|
|
29
|
+
*
|
|
30
|
+
* @generated from field: repeated string features = 2;
|
|
31
|
+
*/
|
|
32
|
+
features: string[];
|
|
33
|
+
/**
|
|
34
|
+
* Storage URL schemes this build can address (always "file" and "memory";
|
|
35
|
+
* cloud schemes appear when their driver feature is compiled in), sorted.
|
|
36
|
+
*
|
|
37
|
+
* @generated from field: repeated string storage_backends = 3;
|
|
38
|
+
*/
|
|
39
|
+
storageBackends: string[];
|
|
40
|
+
/**
|
|
41
|
+
* The gRPC service tiers this deployment mounted, sorted. The core tier
|
|
42
|
+
* (catalog/embedding/inference + introspection) is always present; the
|
|
43
|
+
* optional tiers ("train", "event", "eval") appear only when both their
|
|
44
|
+
* compile feature is present and the deployment's config enabled them. A
|
|
45
|
+
* client reads this to know which verbs are reachable on *this* server —
|
|
46
|
+
* reaching an unmounted tier returns a truthful "not enabled" error. The
|
|
47
|
+
* embedded (in-process, `file://`) engine mounts no gRPC services, so it
|
|
48
|
+
* reports an empty list.
|
|
49
|
+
*
|
|
50
|
+
* @generated from field: repeated string services = 4;
|
|
51
|
+
*/
|
|
52
|
+
services: string[];
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* Describes the message jammi.v1.catalog.ServerInfo.
|
|
56
|
+
* Use `create(ServerInfoSchema)` to create a new message.
|
|
57
|
+
*/
|
|
58
|
+
export declare const ServerInfoSchema: GenMessage<ServerInfo>;
|
|
59
|
+
/**
|
|
60
|
+
* A tenant identifier carried over the wire. UUID v4 / v7 string per ADR-00;
|
|
61
|
+
* the nil UUID is invalid and the engine rejects it at the TenantId newtype
|
|
62
|
+
* boundary.
|
|
63
|
+
*
|
|
64
|
+
* @generated from message jammi.v1.catalog.Tenant
|
|
65
|
+
*/
|
|
66
|
+
export type Tenant = Message<"jammi.v1.catalog.Tenant"> & {
|
|
67
|
+
/**
|
|
68
|
+
* UUID string. Empty string means "no tenant bound".
|
|
69
|
+
*
|
|
70
|
+
* @generated from field: string id = 1;
|
|
71
|
+
*/
|
|
72
|
+
id: string;
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* Describes the message jammi.v1.catalog.Tenant.
|
|
76
|
+
* Use `create(TenantSchema)` to create a new message.
|
|
77
|
+
*/
|
|
78
|
+
export declare const TenantSchema: GenMessage<Tenant>;
|
|
79
|
+
/**
|
|
80
|
+
* @generated from message jammi.v1.catalog.SetTenantRequest
|
|
81
|
+
*/
|
|
82
|
+
export type SetTenantRequest = Message<"jammi.v1.catalog.SetTenantRequest"> & {
|
|
83
|
+
/**
|
|
84
|
+
* @generated from field: jammi.v1.catalog.Tenant tenant = 1;
|
|
85
|
+
*/
|
|
86
|
+
tenant?: Tenant | undefined;
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* Describes the message jammi.v1.catalog.SetTenantRequest.
|
|
90
|
+
* Use `create(SetTenantRequestSchema)` to create a new message.
|
|
91
|
+
*/
|
|
92
|
+
export declare const SetTenantRequestSchema: GenMessage<SetTenantRequest>;
|
|
93
|
+
/**
|
|
94
|
+
* @generated from message jammi.v1.catalog.GetTenantResponse
|
|
95
|
+
*/
|
|
96
|
+
export type GetTenantResponse = Message<"jammi.v1.catalog.GetTenantResponse"> & {
|
|
97
|
+
/**
|
|
98
|
+
* @generated from field: jammi.v1.catalog.Tenant tenant = 1;
|
|
99
|
+
*/
|
|
100
|
+
tenant?: Tenant | undefined;
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* Describes the message jammi.v1.catalog.GetTenantResponse.
|
|
104
|
+
* Use `create(GetTenantResponseSchema)` to create a new message.
|
|
105
|
+
*/
|
|
106
|
+
export declare const GetTenantResponseSchema: GenMessage<GetTenantResponse>;
|
|
107
|
+
/**
|
|
108
|
+
* Connection parameters for a source. Maps onto the engine's
|
|
109
|
+
* `SourceConnection`; only the fields a wire client needs to register a
|
|
110
|
+
* file-shaped corpus are exposed (storage URL + format). Cloud credentials
|
|
111
|
+
* are configured server-side, not carried on the wire.
|
|
112
|
+
*
|
|
113
|
+
* @generated from message jammi.v1.catalog.SourceConnection
|
|
114
|
+
*/
|
|
115
|
+
export type SourceConnection = Message<"jammi.v1.catalog.SourceConnection"> & {
|
|
116
|
+
/**
|
|
117
|
+
* Storage URL (file://, s3://, gs://, azure://) or external-source
|
|
118
|
+
* connection string (postgres://, mysql://).
|
|
119
|
+
*
|
|
120
|
+
* @generated from field: string url = 1;
|
|
121
|
+
*/
|
|
122
|
+
url: string;
|
|
123
|
+
/**
|
|
124
|
+
* File format — required for a FILE source, ignored otherwise.
|
|
125
|
+
*
|
|
126
|
+
* @generated from field: jammi.v1.catalog.FileFormat format = 2;
|
|
127
|
+
*/
|
|
128
|
+
format: FileFormat;
|
|
129
|
+
};
|
|
130
|
+
/**
|
|
131
|
+
* Describes the message jammi.v1.catalog.SourceConnection.
|
|
132
|
+
* Use `create(SourceConnectionSchema)` to create a new message.
|
|
133
|
+
*/
|
|
134
|
+
export declare const SourceConnectionSchema: GenMessage<SourceConnection>;
|
|
135
|
+
/**
|
|
136
|
+
* @generated from message jammi.v1.catalog.AddSourceRequest
|
|
137
|
+
*/
|
|
138
|
+
export type AddSourceRequest = Message<"jammi.v1.catalog.AddSourceRequest"> & {
|
|
139
|
+
/**
|
|
140
|
+
* @generated from field: string source_id = 1;
|
|
141
|
+
*/
|
|
142
|
+
sourceId: string;
|
|
143
|
+
/**
|
|
144
|
+
* @generated from field: jammi.v1.catalog.SourceKind source_kind = 2;
|
|
145
|
+
*/
|
|
146
|
+
sourceKind: SourceKind;
|
|
147
|
+
/**
|
|
148
|
+
* @generated from field: jammi.v1.catalog.SourceConnection connection = 3;
|
|
149
|
+
*/
|
|
150
|
+
connection?: SourceConnection | undefined;
|
|
151
|
+
};
|
|
152
|
+
/**
|
|
153
|
+
* Describes the message jammi.v1.catalog.AddSourceRequest.
|
|
154
|
+
* Use `create(AddSourceRequestSchema)` to create a new message.
|
|
155
|
+
*/
|
|
156
|
+
export declare const AddSourceRequestSchema: GenMessage<AddSourceRequest>;
|
|
157
|
+
/**
|
|
158
|
+
* @generated from message jammi.v1.catalog.RemoveSourceRequest
|
|
159
|
+
*/
|
|
160
|
+
export type RemoveSourceRequest = Message<"jammi.v1.catalog.RemoveSourceRequest"> & {
|
|
161
|
+
/**
|
|
162
|
+
* @generated from field: string source_id = 1;
|
|
163
|
+
*/
|
|
164
|
+
sourceId: string;
|
|
165
|
+
};
|
|
166
|
+
/**
|
|
167
|
+
* Describes the message jammi.v1.catalog.RemoveSourceRequest.
|
|
168
|
+
* Use `create(RemoveSourceRequestSchema)` to create a new message.
|
|
169
|
+
*/
|
|
170
|
+
export declare const RemoveSourceRequestSchema: GenMessage<RemoveSourceRequest>;
|
|
171
|
+
/**
|
|
172
|
+
* @generated from message jammi.v1.catalog.ListSourcesRequest
|
|
173
|
+
*/
|
|
174
|
+
export type ListSourcesRequest = Message<"jammi.v1.catalog.ListSourcesRequest"> & {};
|
|
175
|
+
/**
|
|
176
|
+
* Describes the message jammi.v1.catalog.ListSourcesRequest.
|
|
177
|
+
* Use `create(ListSourcesRequestSchema)` to create a new message.
|
|
178
|
+
*/
|
|
179
|
+
export declare const ListSourcesRequestSchema: GenMessage<ListSourcesRequest>;
|
|
180
|
+
/**
|
|
181
|
+
* @generated from message jammi.v1.catalog.ListSourcesResponse
|
|
182
|
+
*/
|
|
183
|
+
export type ListSourcesResponse = Message<"jammi.v1.catalog.ListSourcesResponse"> & {
|
|
184
|
+
/**
|
|
185
|
+
* One descriptor per source registered to the calling tenant, in the
|
|
186
|
+
* engine's registration order.
|
|
187
|
+
*
|
|
188
|
+
* @generated from field: repeated jammi.v1.catalog.SourceDescriptor sources = 1;
|
|
189
|
+
*/
|
|
190
|
+
sources: SourceDescriptor[];
|
|
191
|
+
};
|
|
192
|
+
/**
|
|
193
|
+
* Describes the message jammi.v1.catalog.ListSourcesResponse.
|
|
194
|
+
* Use `create(ListSourcesResponseSchema)` to create a new message.
|
|
195
|
+
*/
|
|
196
|
+
export declare const ListSourcesResponseSchema: GenMessage<ListSourcesResponse>;
|
|
197
|
+
/**
|
|
198
|
+
* @generated from message jammi.v1.catalog.DescribeSourceRequest
|
|
199
|
+
*/
|
|
200
|
+
export type DescribeSourceRequest = Message<"jammi.v1.catalog.DescribeSourceRequest"> & {
|
|
201
|
+
/**
|
|
202
|
+
* @generated from field: string source_id = 1;
|
|
203
|
+
*/
|
|
204
|
+
sourceId: string;
|
|
205
|
+
};
|
|
206
|
+
/**
|
|
207
|
+
* Describes the message jammi.v1.catalog.DescribeSourceRequest.
|
|
208
|
+
* Use `create(DescribeSourceRequestSchema)` to create a new message.
|
|
209
|
+
*/
|
|
210
|
+
export declare const DescribeSourceRequestSchema: GenMessage<DescribeSourceRequest>;
|
|
211
|
+
/**
|
|
212
|
+
* Registry introspection for one source: its registration identity plus the
|
|
213
|
+
* embedding result tables produced out of it. The embedding-side
|
|
214
|
+
* status/row_count/dimensions are carried by the `ResultTable` records
|
|
215
|
+
* (`result_tables`) — the same shape `GenerateEmbeddings` returns — rather than
|
|
216
|
+
* duplicated as descriptor fields, so there is one source-of-truth for those
|
|
217
|
+
* numbers. A freshly-registered source with no embeddings yet carries an empty
|
|
218
|
+
* `result_tables`.
|
|
219
|
+
*
|
|
220
|
+
* @generated from message jammi.v1.catalog.SourceDescriptor
|
|
221
|
+
*/
|
|
222
|
+
export type SourceDescriptor = Message<"jammi.v1.catalog.SourceDescriptor"> & {
|
|
223
|
+
/**
|
|
224
|
+
* @generated from field: string source_id = 1;
|
|
225
|
+
*/
|
|
226
|
+
sourceId: string;
|
|
227
|
+
/**
|
|
228
|
+
* The storage backend the source was registered with.
|
|
229
|
+
*
|
|
230
|
+
* @generated from field: jammi.v1.catalog.SourceKind kind = 2;
|
|
231
|
+
*/
|
|
232
|
+
kind: SourceKind;
|
|
233
|
+
/**
|
|
234
|
+
* Registration lifecycle status from the source catalog (e.g. "active").
|
|
235
|
+
*
|
|
236
|
+
* @generated from field: string status = 3;
|
|
237
|
+
*/
|
|
238
|
+
status: string;
|
|
239
|
+
/**
|
|
240
|
+
* Every embedding result table produced from this source. Empty until a
|
|
241
|
+
* `GenerateEmbeddings` call persists one. Reuses the embedding service's
|
|
242
|
+
* self-describing `ResultTable` record — the same shape `GenerateEmbeddings`
|
|
243
|
+
* returns — so the descriptor carries one source-of-truth for those numbers.
|
|
244
|
+
*
|
|
245
|
+
* @generated from field: repeated jammi.v1.embedding.ResultTable result_tables = 4;
|
|
246
|
+
*/
|
|
247
|
+
resultTables: ResultTable[];
|
|
248
|
+
};
|
|
249
|
+
/**
|
|
250
|
+
* Describes the message jammi.v1.catalog.SourceDescriptor.
|
|
251
|
+
* Use `create(SourceDescriptorSchema)` to create a new message.
|
|
252
|
+
*/
|
|
253
|
+
export declare const SourceDescriptorSchema: GenMessage<SourceDescriptor>;
|
|
254
|
+
/**
|
|
255
|
+
* @generated from message jammi.v1.catalog.ListModelsRequest
|
|
256
|
+
*/
|
|
257
|
+
export type ListModelsRequest = Message<"jammi.v1.catalog.ListModelsRequest"> & {};
|
|
258
|
+
/**
|
|
259
|
+
* Describes the message jammi.v1.catalog.ListModelsRequest.
|
|
260
|
+
* Use `create(ListModelsRequestSchema)` to create a new message.
|
|
261
|
+
*/
|
|
262
|
+
export declare const ListModelsRequestSchema: GenMessage<ListModelsRequest>;
|
|
263
|
+
/**
|
|
264
|
+
* @generated from message jammi.v1.catalog.ListModelsResponse
|
|
265
|
+
*/
|
|
266
|
+
export type ListModelsResponse = Message<"jammi.v1.catalog.ListModelsResponse"> & {
|
|
267
|
+
/**
|
|
268
|
+
* One record per model registered to the calling tenant, in the catalog's
|
|
269
|
+
* registration order.
|
|
270
|
+
*
|
|
271
|
+
* @generated from field: repeated jammi.v1.catalog.Model models = 1;
|
|
272
|
+
*/
|
|
273
|
+
models: Model[];
|
|
274
|
+
};
|
|
275
|
+
/**
|
|
276
|
+
* Describes the message jammi.v1.catalog.ListModelsResponse.
|
|
277
|
+
* Use `create(ListModelsResponseSchema)` to create a new message.
|
|
278
|
+
*/
|
|
279
|
+
export declare const ListModelsResponseSchema: GenMessage<ListModelsResponse>;
|
|
280
|
+
/**
|
|
281
|
+
* @generated from message jammi.v1.catalog.DescribeModelRequest
|
|
282
|
+
*/
|
|
283
|
+
export type DescribeModelRequest = Message<"jammi.v1.catalog.DescribeModelRequest"> & {
|
|
284
|
+
/**
|
|
285
|
+
* @generated from field: string model_id = 1;
|
|
286
|
+
*/
|
|
287
|
+
modelId: string;
|
|
288
|
+
};
|
|
289
|
+
/**
|
|
290
|
+
* Describes the message jammi.v1.catalog.DescribeModelRequest.
|
|
291
|
+
* Use `create(DescribeModelRequestSchema)` to create a new message.
|
|
292
|
+
*/
|
|
293
|
+
export declare const DescribeModelRequestSchema: GenMessage<DescribeModelRequest>;
|
|
294
|
+
/**
|
|
295
|
+
* The client-observable projection of the engine's `ModelRecord`. Carries the
|
|
296
|
+
* fields a client needs to identify a registered model — its id, the inference
|
|
297
|
+
* backend, the task it performs, and its lifecycle status. Server-internal
|
|
298
|
+
* bookkeeping (version counter, derived-from lineage, artifact path, config
|
|
299
|
+
* blob, registration timestamp) stays server-side, mirroring how `ResultTable`
|
|
300
|
+
* is the client projection of the engine's result-table record.
|
|
301
|
+
*
|
|
302
|
+
* @generated from message jammi.v1.catalog.Model
|
|
303
|
+
*/
|
|
304
|
+
export type Model = Message<"jammi.v1.catalog.Model"> & {
|
|
305
|
+
/**
|
|
306
|
+
* Unique model name (e.g. an HF repo id or a fine-tuned id).
|
|
307
|
+
*
|
|
308
|
+
* @generated from field: string model_id = 1;
|
|
309
|
+
*/
|
|
310
|
+
modelId: string;
|
|
311
|
+
/**
|
|
312
|
+
* Inference backend (e.g. "candle", "vllm", "http").
|
|
313
|
+
*
|
|
314
|
+
* @generated from field: string backend = 2;
|
|
315
|
+
*/
|
|
316
|
+
backend: string;
|
|
317
|
+
/**
|
|
318
|
+
* The task this model performs.
|
|
319
|
+
*
|
|
320
|
+
* @generated from field: jammi.v1.inference.ModelTask task = 3;
|
|
321
|
+
*/
|
|
322
|
+
task: ModelTask;
|
|
323
|
+
/**
|
|
324
|
+
* Lifecycle status (e.g. "registered", "loaded", "failed").
|
|
325
|
+
*
|
|
326
|
+
* @generated from field: string status = 4;
|
|
327
|
+
*/
|
|
328
|
+
status: string;
|
|
329
|
+
};
|
|
330
|
+
/**
|
|
331
|
+
* Describes the message jammi.v1.catalog.Model.
|
|
332
|
+
* Use `create(ModelSchema)` to create a new message.
|
|
333
|
+
*/
|
|
334
|
+
export declare const ModelSchema: GenMessage<Model>;
|
|
335
|
+
/**
|
|
336
|
+
* One declared column on a channel. Mirrors the engine's `ChannelColumn`.
|
|
337
|
+
*
|
|
338
|
+
* @generated from message jammi.v1.catalog.ChannelColumn
|
|
339
|
+
*/
|
|
340
|
+
export type ChannelColumn = Message<"jammi.v1.catalog.ChannelColumn"> & {
|
|
341
|
+
/**
|
|
342
|
+
* @generated from field: string name = 1;
|
|
343
|
+
*/
|
|
344
|
+
name: string;
|
|
345
|
+
/**
|
|
346
|
+
* @generated from field: jammi.v1.catalog.ChannelColumnType data_type = 2;
|
|
347
|
+
*/
|
|
348
|
+
dataType: ChannelColumnType;
|
|
349
|
+
};
|
|
350
|
+
/**
|
|
351
|
+
* Describes the message jammi.v1.catalog.ChannelColumn.
|
|
352
|
+
* Use `create(ChannelColumnSchema)` to create a new message.
|
|
353
|
+
*/
|
|
354
|
+
export declare const ChannelColumnSchema: GenMessage<ChannelColumn>;
|
|
355
|
+
/**
|
|
356
|
+
* @generated from message jammi.v1.catalog.RegisterChannelRequest
|
|
357
|
+
*/
|
|
358
|
+
export type RegisterChannelRequest = Message<"jammi.v1.catalog.RegisterChannelRequest"> & {
|
|
359
|
+
/**
|
|
360
|
+
* Channel id: ASCII slug `[a-z][a-z0-9_]{0,63}`.
|
|
361
|
+
*
|
|
362
|
+
* @generated from field: string channel_id = 1;
|
|
363
|
+
*/
|
|
364
|
+
channelId: string;
|
|
365
|
+
/**
|
|
366
|
+
* Resolution priority among channels.
|
|
367
|
+
*
|
|
368
|
+
* @generated from field: int32 priority = 2;
|
|
369
|
+
*/
|
|
370
|
+
priority: number;
|
|
371
|
+
/**
|
|
372
|
+
* Ordered columns declared on the channel.
|
|
373
|
+
*
|
|
374
|
+
* @generated from field: repeated jammi.v1.catalog.ChannelColumn columns = 3;
|
|
375
|
+
*/
|
|
376
|
+
columns: ChannelColumn[];
|
|
377
|
+
};
|
|
378
|
+
/**
|
|
379
|
+
* Describes the message jammi.v1.catalog.RegisterChannelRequest.
|
|
380
|
+
* Use `create(RegisterChannelRequestSchema)` to create a new message.
|
|
381
|
+
*/
|
|
382
|
+
export declare const RegisterChannelRequestSchema: GenMessage<RegisterChannelRequest>;
|
|
383
|
+
/**
|
|
384
|
+
* @generated from message jammi.v1.catalog.AddChannelColumnsRequest
|
|
385
|
+
*/
|
|
386
|
+
export type AddChannelColumnsRequest = Message<"jammi.v1.catalog.AddChannelColumnsRequest"> & {
|
|
387
|
+
/**
|
|
388
|
+
* @generated from field: string channel_id = 1;
|
|
389
|
+
*/
|
|
390
|
+
channelId: string;
|
|
391
|
+
/**
|
|
392
|
+
* @generated from field: repeated jammi.v1.catalog.ChannelColumn columns = 2;
|
|
393
|
+
*/
|
|
394
|
+
columns: ChannelColumn[];
|
|
395
|
+
};
|
|
396
|
+
/**
|
|
397
|
+
* Describes the message jammi.v1.catalog.AddChannelColumnsRequest.
|
|
398
|
+
* Use `create(AddChannelColumnsRequestSchema)` to create a new message.
|
|
399
|
+
*/
|
|
400
|
+
export declare const AddChannelColumnsRequestSchema: GenMessage<AddChannelColumnsRequest>;
|
|
401
|
+
/**
|
|
402
|
+
* @generated from message jammi.v1.catalog.ListChannelsRequest
|
|
403
|
+
*/
|
|
404
|
+
export type ListChannelsRequest = Message<"jammi.v1.catalog.ListChannelsRequest"> & {};
|
|
405
|
+
/**
|
|
406
|
+
* Describes the message jammi.v1.catalog.ListChannelsRequest.
|
|
407
|
+
* Use `create(ListChannelsRequestSchema)` to create a new message.
|
|
408
|
+
*/
|
|
409
|
+
export declare const ListChannelsRequestSchema: GenMessage<ListChannelsRequest>;
|
|
410
|
+
/**
|
|
411
|
+
* @generated from message jammi.v1.catalog.ListChannelsResponse
|
|
412
|
+
*/
|
|
413
|
+
export type ListChannelsResponse = Message<"jammi.v1.catalog.ListChannelsResponse"> & {
|
|
414
|
+
/**
|
|
415
|
+
* One entry per channel registered to the calling tenant, ordered by
|
|
416
|
+
* `(priority, channel_id)`.
|
|
417
|
+
*
|
|
418
|
+
* @generated from field: repeated jammi.v1.catalog.Channel channels = 1;
|
|
419
|
+
*/
|
|
420
|
+
channels: Channel[];
|
|
421
|
+
};
|
|
422
|
+
/**
|
|
423
|
+
* Describes the message jammi.v1.catalog.ListChannelsResponse.
|
|
424
|
+
* Use `create(ListChannelsResponseSchema)` to create a new message.
|
|
425
|
+
*/
|
|
426
|
+
export declare const ListChannelsResponseSchema: GenMessage<ListChannelsResponse>;
|
|
427
|
+
/**
|
|
428
|
+
* A fully-materialized channel in a `ListChannels` response. Carries everything
|
|
429
|
+
* the engine's `ChannelSpec` holds (id / priority / declared columns) so a
|
|
430
|
+
* remote `list_channels` reconstructs the identical value the in-process path
|
|
431
|
+
* returns.
|
|
432
|
+
*
|
|
433
|
+
* @generated from message jammi.v1.catalog.Channel
|
|
434
|
+
*/
|
|
435
|
+
export type Channel = Message<"jammi.v1.catalog.Channel"> & {
|
|
436
|
+
/**
|
|
437
|
+
* Channel id: ASCII slug `[a-z][a-z0-9_]{0,63}`.
|
|
438
|
+
*
|
|
439
|
+
* @generated from field: string channel_id = 1;
|
|
440
|
+
*/
|
|
441
|
+
channelId: string;
|
|
442
|
+
/**
|
|
443
|
+
* Resolution priority among channels.
|
|
444
|
+
*
|
|
445
|
+
* @generated from field: int32 priority = 2;
|
|
446
|
+
*/
|
|
447
|
+
priority: number;
|
|
448
|
+
/**
|
|
449
|
+
* Declared columns, in declaration order.
|
|
450
|
+
*
|
|
451
|
+
* @generated from field: repeated jammi.v1.catalog.ChannelColumn columns = 3;
|
|
452
|
+
*/
|
|
453
|
+
columns: ChannelColumn[];
|
|
454
|
+
};
|
|
455
|
+
/**
|
|
456
|
+
* Describes the message jammi.v1.catalog.Channel.
|
|
457
|
+
* Use `create(ChannelSchema)` to create a new message.
|
|
458
|
+
*/
|
|
459
|
+
export declare const ChannelSchema: GenMessage<Channel>;
|
|
460
|
+
/**
|
|
461
|
+
* One secondary-index declaration. Mirrors the engine's `MutableIndexDef`.
|
|
462
|
+
*
|
|
463
|
+
* @generated from message jammi.v1.catalog.MutableIndex
|
|
464
|
+
*/
|
|
465
|
+
export type MutableIndex = Message<"jammi.v1.catalog.MutableIndex"> & {
|
|
466
|
+
/**
|
|
467
|
+
* @generated from field: string name = 1;
|
|
468
|
+
*/
|
|
469
|
+
name: string;
|
|
470
|
+
/**
|
|
471
|
+
* @generated from field: repeated string columns = 2;
|
|
472
|
+
*/
|
|
473
|
+
columns: string[];
|
|
474
|
+
/**
|
|
475
|
+
* @generated from field: bool unique = 3;
|
|
476
|
+
*/
|
|
477
|
+
unique: boolean;
|
|
478
|
+
};
|
|
479
|
+
/**
|
|
480
|
+
* Describes the message jammi.v1.catalog.MutableIndex.
|
|
481
|
+
* Use `create(MutableIndexSchema)` to create a new message.
|
|
482
|
+
*/
|
|
483
|
+
export declare const MutableIndexSchema: GenMessage<MutableIndex>;
|
|
484
|
+
/**
|
|
485
|
+
* Registration descriptor for one mutable companion table. Mirrors the Rust
|
|
486
|
+
* `MutableTableDefinition` (minus `tenant`, which the engine stamps from the
|
|
487
|
+
* session scope — the wire body stays tenant-free).
|
|
488
|
+
*
|
|
489
|
+
* @generated from message jammi.v1.catalog.MutableTableDefinition
|
|
490
|
+
*/
|
|
491
|
+
export type MutableTableDefinition = Message<"jammi.v1.catalog.MutableTableDefinition"> & {
|
|
492
|
+
/**
|
|
493
|
+
* Catalog-unique id: lowercase ASCII letters, digits, and `_`, length 1..=63.
|
|
494
|
+
*
|
|
495
|
+
* @generated from field: string id = 1;
|
|
496
|
+
*/
|
|
497
|
+
id: string;
|
|
498
|
+
/**
|
|
499
|
+
* Arrow schema for the table, encoded as an Arrow IPC schema message (the
|
|
500
|
+
* same self-describing IPC framing TriggerService uses for batch payloads).
|
|
501
|
+
*
|
|
502
|
+
* @generated from field: bytes schema = 2;
|
|
503
|
+
*/
|
|
504
|
+
schema: Uint8Array;
|
|
505
|
+
/**
|
|
506
|
+
* Column(s) forming the primary key. A non-empty subset of the schema.
|
|
507
|
+
*
|
|
508
|
+
* @generated from field: repeated string primary_key = 3;
|
|
509
|
+
*/
|
|
510
|
+
primaryKey: string[];
|
|
511
|
+
/**
|
|
512
|
+
* Secondary indexes; one CREATE INDEX per entry.
|
|
513
|
+
*
|
|
514
|
+
* @generated from field: repeated jammi.v1.catalog.MutableIndex indexes = 4;
|
|
515
|
+
*/
|
|
516
|
+
indexes: MutableIndex[];
|
|
517
|
+
/**
|
|
518
|
+
* Optional monotonic ordering column for streaming reads (`scan_after`).
|
|
519
|
+
* Empty == none.
|
|
520
|
+
*
|
|
521
|
+
* @generated from field: string order_column = 5;
|
|
522
|
+
*/
|
|
523
|
+
orderColumn: string;
|
|
524
|
+
/**
|
|
525
|
+
* Chunk size for streaming reads. 0 == the engine default (8192).
|
|
526
|
+
*
|
|
527
|
+
* @generated from field: uint64 chunk_size = 6;
|
|
528
|
+
*/
|
|
529
|
+
chunkSize: bigint;
|
|
530
|
+
/**
|
|
531
|
+
* Free-form tenant-owned metadata as a JSON object string; "{}" when none.
|
|
532
|
+
* The engine stores it verbatim and never parses it.
|
|
533
|
+
*
|
|
534
|
+
* @generated from field: string user_metadata = 7;
|
|
535
|
+
*/
|
|
536
|
+
userMetadata: string;
|
|
537
|
+
};
|
|
538
|
+
/**
|
|
539
|
+
* Describes the message jammi.v1.catalog.MutableTableDefinition.
|
|
540
|
+
* Use `create(MutableTableDefinitionSchema)` to create a new message.
|
|
541
|
+
*/
|
|
542
|
+
export declare const MutableTableDefinitionSchema: GenMessage<MutableTableDefinition>;
|
|
543
|
+
/**
|
|
544
|
+
* @generated from message jammi.v1.catalog.CreateMutableTableRequest
|
|
545
|
+
*/
|
|
546
|
+
export type CreateMutableTableRequest = Message<"jammi.v1.catalog.CreateMutableTableRequest"> & {
|
|
547
|
+
/**
|
|
548
|
+
* @generated from field: jammi.v1.catalog.MutableTableDefinition definition = 1;
|
|
549
|
+
*/
|
|
550
|
+
definition?: MutableTableDefinition | undefined;
|
|
551
|
+
};
|
|
552
|
+
/**
|
|
553
|
+
* Describes the message jammi.v1.catalog.CreateMutableTableRequest.
|
|
554
|
+
* Use `create(CreateMutableTableRequestSchema)` to create a new message.
|
|
555
|
+
*/
|
|
556
|
+
export declare const CreateMutableTableRequestSchema: GenMessage<CreateMutableTableRequest>;
|
|
557
|
+
/**
|
|
558
|
+
* @generated from message jammi.v1.catalog.CreateMutableTableResponse
|
|
559
|
+
*/
|
|
560
|
+
export type CreateMutableTableResponse = Message<"jammi.v1.catalog.CreateMutableTableResponse"> & {
|
|
561
|
+
/**
|
|
562
|
+
* The id the table was registered under (echoes the validated request id).
|
|
563
|
+
*
|
|
564
|
+
* @generated from field: string mutable_table_id = 1;
|
|
565
|
+
*/
|
|
566
|
+
mutableTableId: string;
|
|
567
|
+
};
|
|
568
|
+
/**
|
|
569
|
+
* Describes the message jammi.v1.catalog.CreateMutableTableResponse.
|
|
570
|
+
* Use `create(CreateMutableTableResponseSchema)` to create a new message.
|
|
571
|
+
*/
|
|
572
|
+
export declare const CreateMutableTableResponseSchema: GenMessage<CreateMutableTableResponse>;
|
|
573
|
+
/**
|
|
574
|
+
* @generated from message jammi.v1.catalog.DropMutableTableRequest
|
|
575
|
+
*/
|
|
576
|
+
export type DropMutableTableRequest = Message<"jammi.v1.catalog.DropMutableTableRequest"> & {
|
|
577
|
+
/**
|
|
578
|
+
* @generated from field: string mutable_table_id = 1;
|
|
579
|
+
*/
|
|
580
|
+
mutableTableId: string;
|
|
581
|
+
};
|
|
582
|
+
/**
|
|
583
|
+
* Describes the message jammi.v1.catalog.DropMutableTableRequest.
|
|
584
|
+
* Use `create(DropMutableTableRequestSchema)` to create a new message.
|
|
585
|
+
*/
|
|
586
|
+
export declare const DropMutableTableRequestSchema: GenMessage<DropMutableTableRequest>;
|
|
587
|
+
/**
|
|
588
|
+
* @generated from message jammi.v1.catalog.ListMutableTablesRequest
|
|
589
|
+
*/
|
|
590
|
+
export type ListMutableTablesRequest = Message<"jammi.v1.catalog.ListMutableTablesRequest"> & {};
|
|
591
|
+
/**
|
|
592
|
+
* Describes the message jammi.v1.catalog.ListMutableTablesRequest.
|
|
593
|
+
* Use `create(ListMutableTablesRequestSchema)` to create a new message.
|
|
594
|
+
*/
|
|
595
|
+
export declare const ListMutableTablesRequestSchema: GenMessage<ListMutableTablesRequest>;
|
|
596
|
+
/**
|
|
597
|
+
* @generated from message jammi.v1.catalog.ListMutableTablesResponse
|
|
598
|
+
*/
|
|
599
|
+
export type ListMutableTablesResponse = Message<"jammi.v1.catalog.ListMutableTablesResponse"> & {
|
|
600
|
+
/**
|
|
601
|
+
* One definition per mutable table registered to the calling tenant. Each is
|
|
602
|
+
* the same tenant-free `MutableTableDefinition` shape the create path carries.
|
|
603
|
+
*
|
|
604
|
+
* @generated from field: repeated jammi.v1.catalog.MutableTableDefinition definitions = 1;
|
|
605
|
+
*/
|
|
606
|
+
definitions: MutableTableDefinition[];
|
|
607
|
+
};
|
|
608
|
+
/**
|
|
609
|
+
* Describes the message jammi.v1.catalog.ListMutableTablesResponse.
|
|
610
|
+
* Use `create(ListMutableTablesResponseSchema)` to create a new message.
|
|
611
|
+
*/
|
|
612
|
+
export declare const ListMutableTablesResponseSchema: GenMessage<ListMutableTablesResponse>;
|
|
613
|
+
/**
|
|
614
|
+
* @generated from message jammi.v1.catalog.RegisterTopicRequest
|
|
615
|
+
*/
|
|
616
|
+
export type RegisterTopicRequest = Message<"jammi.v1.catalog.RegisterTopicRequest"> & {
|
|
617
|
+
/**
|
|
618
|
+
* Fully-qualified catalog name for the topic.
|
|
619
|
+
*
|
|
620
|
+
* @generated from field: string name = 1;
|
|
621
|
+
*/
|
|
622
|
+
name: string;
|
|
623
|
+
/**
|
|
624
|
+
* Arrow schema for batch payloads, encoded as an Arrow IPC schema message
|
|
625
|
+
* (the same self-describing IPC framing the batch payloads use).
|
|
626
|
+
*
|
|
627
|
+
* @generated from field: bytes schema = 2;
|
|
628
|
+
*/
|
|
629
|
+
schema: Uint8Array;
|
|
630
|
+
/**
|
|
631
|
+
* Broker-driver-specific configuration (retention, replication, etc.),
|
|
632
|
+
* opaque to the engine. Empty == no driver metadata.
|
|
633
|
+
*
|
|
634
|
+
* @generated from field: map<string, string> broker_metadata = 3;
|
|
635
|
+
*/
|
|
636
|
+
brokerMetadata: {
|
|
637
|
+
[key: string]: string;
|
|
638
|
+
};
|
|
639
|
+
/**
|
|
640
|
+
* Caller-supplied topic id (UUID string). The `Session::register_topic`
|
|
641
|
+
* surface takes a `TopicDefinition` whose `id` the caller already minted, so
|
|
642
|
+
* the wire carries it and the server persists *that* id — keeping the topic's
|
|
643
|
+
* identity (and a later `DropTopic` by id) consistent across the in-process
|
|
644
|
+
* and remote transports. Empty == server mints a fresh id.
|
|
645
|
+
*
|
|
646
|
+
* @generated from field: string topic_id = 4;
|
|
647
|
+
*/
|
|
648
|
+
topicId: string;
|
|
649
|
+
};
|
|
650
|
+
/**
|
|
651
|
+
* Describes the message jammi.v1.catalog.RegisterTopicRequest.
|
|
652
|
+
* Use `create(RegisterTopicRequestSchema)` to create a new message.
|
|
653
|
+
*/
|
|
654
|
+
export declare const RegisterTopicRequestSchema: GenMessage<RegisterTopicRequest>;
|
|
655
|
+
/**
|
|
656
|
+
* @generated from message jammi.v1.catalog.RegisterTopicResponse
|
|
657
|
+
*/
|
|
658
|
+
export type RegisterTopicResponse = Message<"jammi.v1.catalog.RegisterTopicResponse"> & {
|
|
659
|
+
/**
|
|
660
|
+
* The engine-minted topic id (UUID string).
|
|
661
|
+
*
|
|
662
|
+
* @generated from field: string topic_id = 1;
|
|
663
|
+
*/
|
|
664
|
+
topicId: string;
|
|
665
|
+
};
|
|
666
|
+
/**
|
|
667
|
+
* Describes the message jammi.v1.catalog.RegisterTopicResponse.
|
|
668
|
+
* Use `create(RegisterTopicResponseSchema)` to create a new message.
|
|
669
|
+
*/
|
|
670
|
+
export declare const RegisterTopicResponseSchema: GenMessage<RegisterTopicResponse>;
|
|
671
|
+
/**
|
|
672
|
+
* @generated from message jammi.v1.catalog.DropTopicRequest
|
|
673
|
+
*/
|
|
674
|
+
export type DropTopicRequest = Message<"jammi.v1.catalog.DropTopicRequest"> & {
|
|
675
|
+
/**
|
|
676
|
+
* Topic id (UUID string) to drop. The `Session::drop_topic` surface is keyed
|
|
677
|
+
* by `TopicId`, so the wire carries the id and the server resolves the topic
|
|
678
|
+
* (tenant-scoped) by it — the same identity the in-process path uses.
|
|
679
|
+
*
|
|
680
|
+
* @generated from field: string topic_id = 1;
|
|
681
|
+
*/
|
|
682
|
+
topicId: string;
|
|
683
|
+
/**
|
|
684
|
+
* When true, a missing topic is a no-op instead of a NotFound error.
|
|
685
|
+
*
|
|
686
|
+
* @generated from field: bool if_exists = 2;
|
|
687
|
+
*/
|
|
688
|
+
ifExists: boolean;
|
|
689
|
+
};
|
|
690
|
+
/**
|
|
691
|
+
* Describes the message jammi.v1.catalog.DropTopicRequest.
|
|
692
|
+
* Use `create(DropTopicRequestSchema)` to create a new message.
|
|
693
|
+
*/
|
|
694
|
+
export declare const DropTopicRequestSchema: GenMessage<DropTopicRequest>;
|
|
695
|
+
/**
|
|
696
|
+
* @generated from message jammi.v1.catalog.ListTopicsRequest
|
|
697
|
+
*/
|
|
698
|
+
export type ListTopicsRequest = Message<"jammi.v1.catalog.ListTopicsRequest"> & {
|
|
699
|
+
/**
|
|
700
|
+
* AIP-132 pagination.
|
|
701
|
+
*
|
|
702
|
+
* @generated from field: int32 page_size = 1;
|
|
703
|
+
*/
|
|
704
|
+
pageSize: number;
|
|
705
|
+
/**
|
|
706
|
+
* @generated from field: string page_token = 2;
|
|
707
|
+
*/
|
|
708
|
+
pageToken: string;
|
|
709
|
+
/**
|
|
710
|
+
* Optional tenant scope filter.
|
|
711
|
+
*
|
|
712
|
+
* @generated from field: string tenant_id = 3;
|
|
713
|
+
*/
|
|
714
|
+
tenantId: string;
|
|
715
|
+
};
|
|
716
|
+
/**
|
|
717
|
+
* Describes the message jammi.v1.catalog.ListTopicsRequest.
|
|
718
|
+
* Use `create(ListTopicsRequestSchema)` to create a new message.
|
|
719
|
+
*/
|
|
720
|
+
export declare const ListTopicsRequestSchema: GenMessage<ListTopicsRequest>;
|
|
721
|
+
/**
|
|
722
|
+
* A fully-materialized topic in a `ListTopics` page. Carries everything a
|
|
723
|
+
* `TopicDefinition` holds so a remote `Session::list_topics` reconstructs the
|
|
724
|
+
* identical value the in-process path returns — not just the name.
|
|
725
|
+
*
|
|
726
|
+
* @generated from message jammi.v1.catalog.Topic
|
|
727
|
+
*/
|
|
728
|
+
export type Topic = Message<"jammi.v1.catalog.Topic"> & {
|
|
729
|
+
/**
|
|
730
|
+
* Engine-minted topic id (UUID string).
|
|
731
|
+
*
|
|
732
|
+
* @generated from field: string topic_id = 1;
|
|
733
|
+
*/
|
|
734
|
+
topicId: string;
|
|
735
|
+
/**
|
|
736
|
+
* Fully-qualified catalog name.
|
|
737
|
+
*
|
|
738
|
+
* @generated from field: string name = 2;
|
|
739
|
+
*/
|
|
740
|
+
name: string;
|
|
741
|
+
/**
|
|
742
|
+
* Arrow schema for batch payloads, encoded as a self-describing Arrow IPC
|
|
743
|
+
* schema message (the same framing `RegisterTopicRequest.schema` uses).
|
|
744
|
+
*
|
|
745
|
+
* @generated from field: bytes schema = 3;
|
|
746
|
+
*/
|
|
747
|
+
schema: Uint8Array;
|
|
748
|
+
/**
|
|
749
|
+
* Tenant scope (the tenant's canonical string form); empty == global topic.
|
|
750
|
+
*
|
|
751
|
+
* @generated from field: string tenant_id = 4;
|
|
752
|
+
*/
|
|
753
|
+
tenantId: string;
|
|
754
|
+
/**
|
|
755
|
+
* Broker-driver-specific configuration, opaque to the engine.
|
|
756
|
+
*
|
|
757
|
+
* @generated from field: map<string, string> broker_metadata = 5;
|
|
758
|
+
*/
|
|
759
|
+
brokerMetadata: {
|
|
760
|
+
[key: string]: string;
|
|
761
|
+
};
|
|
762
|
+
};
|
|
763
|
+
/**
|
|
764
|
+
* Describes the message jammi.v1.catalog.Topic.
|
|
765
|
+
* Use `create(TopicSchema)` to create a new message.
|
|
766
|
+
*/
|
|
767
|
+
export declare const TopicSchema: GenMessage<Topic>;
|
|
768
|
+
/**
|
|
769
|
+
* @generated from message jammi.v1.catalog.ListTopicsResponse
|
|
770
|
+
*/
|
|
771
|
+
export type ListTopicsResponse = Message<"jammi.v1.catalog.ListTopicsResponse"> & {
|
|
772
|
+
/**
|
|
773
|
+
* @generated from field: repeated jammi.v1.catalog.Topic topics = 1;
|
|
774
|
+
*/
|
|
775
|
+
topics: Topic[];
|
|
776
|
+
/**
|
|
777
|
+
* @generated from field: string next_page_token = 2;
|
|
778
|
+
*/
|
|
779
|
+
nextPageToken: string;
|
|
780
|
+
};
|
|
781
|
+
/**
|
|
782
|
+
* Describes the message jammi.v1.catalog.ListTopicsResponse.
|
|
783
|
+
* Use `create(ListTopicsResponseSchema)` to create a new message.
|
|
784
|
+
*/
|
|
785
|
+
export declare const ListTopicsResponseSchema: GenMessage<ListTopicsResponse>;
|
|
786
|
+
/**
|
|
787
|
+
* Source backend kind. Mirrors the engine's `SourceType`. The kind is the
|
|
788
|
+
* storage backend, independent of the content modality embedded out of it.
|
|
789
|
+
*
|
|
790
|
+
* @generated from enum jammi.v1.catalog.SourceKind
|
|
791
|
+
*/
|
|
792
|
+
export declare enum SourceKind {
|
|
793
|
+
/**
|
|
794
|
+
* @generated from enum value: SOURCE_KIND_UNSPECIFIED = 0;
|
|
795
|
+
*/
|
|
796
|
+
UNSPECIFIED = 0,
|
|
797
|
+
/**
|
|
798
|
+
* @generated from enum value: SOURCE_KIND_FILE = 1;
|
|
799
|
+
*/
|
|
800
|
+
FILE = 1,
|
|
801
|
+
/**
|
|
802
|
+
* @generated from enum value: SOURCE_KIND_POSTGRES = 2;
|
|
803
|
+
*/
|
|
804
|
+
POSTGRES = 2,
|
|
805
|
+
/**
|
|
806
|
+
* @generated from enum value: SOURCE_KIND_MYSQL = 3;
|
|
807
|
+
*/
|
|
808
|
+
MYSQL = 3
|
|
809
|
+
}
|
|
810
|
+
/**
|
|
811
|
+
* Describes the enum jammi.v1.catalog.SourceKind.
|
|
812
|
+
*/
|
|
813
|
+
export declare const SourceKindSchema: GenEnum<SourceKind>;
|
|
814
|
+
/**
|
|
815
|
+
* File format for a file-shaped source. Mirrors the engine's `FileFormat`.
|
|
816
|
+
*
|
|
817
|
+
* @generated from enum jammi.v1.catalog.FileFormat
|
|
818
|
+
*/
|
|
819
|
+
export declare enum FileFormat {
|
|
820
|
+
/**
|
|
821
|
+
* @generated from enum value: FILE_FORMAT_UNSPECIFIED = 0;
|
|
822
|
+
*/
|
|
823
|
+
UNSPECIFIED = 0,
|
|
824
|
+
/**
|
|
825
|
+
* @generated from enum value: FILE_FORMAT_PARQUET = 1;
|
|
826
|
+
*/
|
|
827
|
+
PARQUET = 1,
|
|
828
|
+
/**
|
|
829
|
+
* @generated from enum value: FILE_FORMAT_CSV = 2;
|
|
830
|
+
*/
|
|
831
|
+
CSV = 2,
|
|
832
|
+
/**
|
|
833
|
+
* @generated from enum value: FILE_FORMAT_JSON = 3;
|
|
834
|
+
*/
|
|
835
|
+
JSON = 3,
|
|
836
|
+
/**
|
|
837
|
+
* @generated from enum value: FILE_FORMAT_AVRO = 4;
|
|
838
|
+
*/
|
|
839
|
+
AVRO = 4
|
|
840
|
+
}
|
|
841
|
+
/**
|
|
842
|
+
* Describes the enum jammi.v1.catalog.FileFormat.
|
|
843
|
+
*/
|
|
844
|
+
export declare const FileFormatSchema: GenEnum<FileFormat>;
|
|
845
|
+
/**
|
|
846
|
+
* The closed set of Arrow types a channel column may declare. Mirrors the
|
|
847
|
+
* engine's `ChannelColumnType`.
|
|
848
|
+
*
|
|
849
|
+
* @generated from enum jammi.v1.catalog.ChannelColumnType
|
|
850
|
+
*/
|
|
851
|
+
export declare enum ChannelColumnType {
|
|
852
|
+
/**
|
|
853
|
+
* @generated from enum value: CHANNEL_COLUMN_TYPE_UNSPECIFIED = 0;
|
|
854
|
+
*/
|
|
855
|
+
UNSPECIFIED = 0,
|
|
856
|
+
/**
|
|
857
|
+
* @generated from enum value: CHANNEL_COLUMN_TYPE_FLOAT32 = 1;
|
|
858
|
+
*/
|
|
859
|
+
FLOAT32 = 1,
|
|
860
|
+
/**
|
|
861
|
+
* @generated from enum value: CHANNEL_COLUMN_TYPE_FLOAT64 = 2;
|
|
862
|
+
*/
|
|
863
|
+
FLOAT64 = 2,
|
|
864
|
+
/**
|
|
865
|
+
* @generated from enum value: CHANNEL_COLUMN_TYPE_INT32 = 3;
|
|
866
|
+
*/
|
|
867
|
+
INT32 = 3,
|
|
868
|
+
/**
|
|
869
|
+
* @generated from enum value: CHANNEL_COLUMN_TYPE_INT64 = 4;
|
|
870
|
+
*/
|
|
871
|
+
INT64 = 4,
|
|
872
|
+
/**
|
|
873
|
+
* @generated from enum value: CHANNEL_COLUMN_TYPE_UTF8 = 5;
|
|
874
|
+
*/
|
|
875
|
+
UTF8 = 5,
|
|
876
|
+
/**
|
|
877
|
+
* @generated from enum value: CHANNEL_COLUMN_TYPE_BOOLEAN = 6;
|
|
878
|
+
*/
|
|
879
|
+
BOOLEAN = 6
|
|
880
|
+
}
|
|
881
|
+
/**
|
|
882
|
+
* Describes the enum jammi.v1.catalog.ChannelColumnType.
|
|
883
|
+
*/
|
|
884
|
+
export declare const ChannelColumnTypeSchema: GenEnum<ChannelColumnType>;
|
|
885
|
+
/**
|
|
886
|
+
* CatalogService — the engine's single control-plane surface: every
|
|
887
|
+
* catalog / metadata / lifecycle / observability RPC a remote client reaches.
|
|
888
|
+
* The verbs are imperative session methods (registry reads + lifecycle
|
|
889
|
+
* mutations), not SQL queries, so they live as typed gRPC RPCs distinct from
|
|
890
|
+
* the Flight SQL data-plane (which carries query/result only, per ADR-01
|
|
891
|
+
* §3.2) and the compute/stream data-plane services (embedding / inference /
|
|
892
|
+
* training / eval / pipeline / trigger / audit).
|
|
893
|
+
*
|
|
894
|
+
* Each verb delegates 1:1 to the consumer-facing `Session`
|
|
895
|
+
* abstraction; the service reimplements no catalog or lifecycle logic. The
|
|
896
|
+
* service spans five control concerns. Session: `SetTenant` / `GetTenant` /
|
|
897
|
+
* `ClearTenant` bind, read, and clear the calling session's tenant, and
|
|
898
|
+
* `GetServerInfo` is the capability handshake — the tenant trio is stateless
|
|
899
|
+
* w.r.t. the engine (it updates an in-process session table the
|
|
900
|
+
* TenantInterceptor reads on every downstream request) and `GetServerInfo`
|
|
901
|
+
* reports compile-time facts plus the runtime tier set, so both mount on the
|
|
902
|
+
* always-present core tier. Sources / models: `AddSource` / `RemoveSource` /
|
|
903
|
+
* `ListSources` / `DescribeSource` register and introspect data sources, and
|
|
904
|
+
* `ListModels` / `DescribeModel` introspect the model catalog. Channels:
|
|
905
|
+
* `RegisterChannel` / `AddChannelColumns` / `ListChannels` declare and
|
|
906
|
+
* introspect provenance channels. Mutable tables: `CreateMutableTable` /
|
|
907
|
+
* `DropMutableTable` / `ListMutableTables` register and introspect mutable
|
|
908
|
+
* companion tables. Topics: `RegisterTopic` / `DropTopic` / `ListTopics`
|
|
909
|
+
* register and introspect trigger-stream topics (the publish / subscribe
|
|
910
|
+
* compute verbs stay on TriggerService).
|
|
911
|
+
*
|
|
912
|
+
* Tenant scope is read from the request's `SessionTenant` extension, set by
|
|
913
|
+
* the shared TenantInterceptor from the `jammi-session-id` header — the same
|
|
914
|
+
* mechanism every other gRPC service and Flight SQL use.
|
|
915
|
+
*
|
|
916
|
+
* --- session -----------------------------------------------------------
|
|
917
|
+
*
|
|
918
|
+
* @generated from service jammi.v1.catalog.CatalogService
|
|
919
|
+
*/
|
|
920
|
+
export declare const CatalogService: GenService<{
|
|
921
|
+
/**
|
|
922
|
+
* Bind a tenant for the calling session. Idempotent — calling twice with
|
|
923
|
+
* the same tenant is a no-op. Replacing an existing binding is allowed
|
|
924
|
+
* (the auth layer above the engine validates the caller is permitted).
|
|
925
|
+
*
|
|
926
|
+
* @generated from rpc jammi.v1.catalog.CatalogService.SetTenant
|
|
927
|
+
*/
|
|
928
|
+
setTenant: {
|
|
929
|
+
methodKind: "unary";
|
|
930
|
+
input: typeof SetTenantRequestSchema;
|
|
931
|
+
output: typeof EmptySchema;
|
|
932
|
+
};
|
|
933
|
+
/**
|
|
934
|
+
* Return the tenant currently bound to the calling session, or an unset
|
|
935
|
+
* tenant if none is bound.
|
|
936
|
+
*
|
|
937
|
+
* @generated from rpc jammi.v1.catalog.CatalogService.GetTenant
|
|
938
|
+
*/
|
|
939
|
+
getTenant: {
|
|
940
|
+
methodKind: "unary";
|
|
941
|
+
input: typeof EmptySchema;
|
|
942
|
+
output: typeof GetTenantResponseSchema;
|
|
943
|
+
};
|
|
944
|
+
/**
|
|
945
|
+
* Clear the tenant binding for the calling session. After this returns,
|
|
946
|
+
* subsequent requests on the same session see an unscoped tenant.
|
|
947
|
+
*
|
|
948
|
+
* @generated from rpc jammi.v1.catalog.CatalogService.ClearTenant
|
|
949
|
+
*/
|
|
950
|
+
clearTenant: {
|
|
951
|
+
methodKind: "unary";
|
|
952
|
+
input: typeof EmptySchema;
|
|
953
|
+
output: typeof EmptySchema;
|
|
954
|
+
};
|
|
955
|
+
/**
|
|
956
|
+
* Capabilities handshake: the engine's version, the feature flags this
|
|
957
|
+
* build was compiled with, and the storage backends it can address. Static
|
|
958
|
+
* per build, tenant-agnostic, and engine-independent.
|
|
959
|
+
*
|
|
960
|
+
* @generated from rpc jammi.v1.catalog.CatalogService.GetServerInfo
|
|
961
|
+
*/
|
|
962
|
+
getServerInfo: {
|
|
963
|
+
methodKind: "unary";
|
|
964
|
+
input: typeof EmptySchema;
|
|
965
|
+
output: typeof ServerInfoSchema;
|
|
966
|
+
};
|
|
967
|
+
/**
|
|
968
|
+
* Register a data source so a later GenerateEmbeddings call can scan it.
|
|
969
|
+
* Peer of the abstraction's `add_source`. The source carries any modality
|
|
970
|
+
* the engine supports; the kind here is the storage backend, not the
|
|
971
|
+
* content modality. Idempotent only insofar as the engine allows —
|
|
972
|
+
* re-registering an id that already exists is an error.
|
|
973
|
+
*
|
|
974
|
+
* @generated from rpc jammi.v1.catalog.CatalogService.AddSource
|
|
975
|
+
*/
|
|
976
|
+
addSource: {
|
|
977
|
+
methodKind: "unary";
|
|
978
|
+
input: typeof AddSourceRequestSchema;
|
|
979
|
+
output: typeof EmptySchema;
|
|
980
|
+
};
|
|
981
|
+
/**
|
|
982
|
+
* Remove a registered source and all associated state (embedding tables,
|
|
983
|
+
* indexes). Peer of the abstraction's `remove_source`.
|
|
984
|
+
*
|
|
985
|
+
* @generated from rpc jammi.v1.catalog.CatalogService.RemoveSource
|
|
986
|
+
*/
|
|
987
|
+
removeSource: {
|
|
988
|
+
methodKind: "unary";
|
|
989
|
+
input: typeof RemoveSourceRequestSchema;
|
|
990
|
+
output: typeof EmptySchema;
|
|
991
|
+
};
|
|
992
|
+
/**
|
|
993
|
+
* List a `SourceDescriptor` for every source registered to the calling
|
|
994
|
+
* tenant. Peer of the abstraction's `list_sources`; registry introspection,
|
|
995
|
+
* not a SQL query. `ListSources` is `DescribeSource` applied over every
|
|
996
|
+
* registered source — one descriptor shape, one operator, no per-source
|
|
997
|
+
* special-casing.
|
|
998
|
+
*
|
|
999
|
+
* @generated from rpc jammi.v1.catalog.CatalogService.ListSources
|
|
1000
|
+
*/
|
|
1001
|
+
listSources: {
|
|
1002
|
+
methodKind: "unary";
|
|
1003
|
+
input: typeof ListSourcesRequestSchema;
|
|
1004
|
+
output: typeof ListSourcesResponseSchema;
|
|
1005
|
+
};
|
|
1006
|
+
/**
|
|
1007
|
+
* Describe one registered source: its registry identity (id / kind /
|
|
1008
|
+
* lifecycle status) plus the result tables embedded out of it (each carrying
|
|
1009
|
+
* its own status / row_count / dimensions). Peer of the abstraction's
|
|
1010
|
+
* `describe_source`.
|
|
1011
|
+
*
|
|
1012
|
+
* @generated from rpc jammi.v1.catalog.CatalogService.DescribeSource
|
|
1013
|
+
*/
|
|
1014
|
+
describeSource: {
|
|
1015
|
+
methodKind: "unary";
|
|
1016
|
+
input: typeof DescribeSourceRequestSchema;
|
|
1017
|
+
output: typeof SourceDescriptorSchema;
|
|
1018
|
+
};
|
|
1019
|
+
/**
|
|
1020
|
+
* List a `Model` record for every model registered to the calling tenant.
|
|
1021
|
+
* Peer of the abstraction's `list_models`; registry introspection, not a SQL
|
|
1022
|
+
* query.
|
|
1023
|
+
*
|
|
1024
|
+
* @generated from rpc jammi.v1.catalog.CatalogService.ListModels
|
|
1025
|
+
*/
|
|
1026
|
+
listModels: {
|
|
1027
|
+
methodKind: "unary";
|
|
1028
|
+
input: typeof ListModelsRequestSchema;
|
|
1029
|
+
output: typeof ListModelsResponseSchema;
|
|
1030
|
+
};
|
|
1031
|
+
/**
|
|
1032
|
+
* Describe one registered model by id: the same `Model` projection
|
|
1033
|
+
* `ListModels` carries, for the latest registered version. Peer of the
|
|
1034
|
+
* abstraction's `describe_model`. An absent model returns NotFound.
|
|
1035
|
+
*
|
|
1036
|
+
* @generated from rpc jammi.v1.catalog.CatalogService.DescribeModel
|
|
1037
|
+
*/
|
|
1038
|
+
describeModel: {
|
|
1039
|
+
methodKind: "unary";
|
|
1040
|
+
input: typeof DescribeModelRequestSchema;
|
|
1041
|
+
output: typeof ModelSchema;
|
|
1042
|
+
};
|
|
1043
|
+
/**
|
|
1044
|
+
* Register a provenance channel and its initial columns. Peer of the
|
|
1045
|
+
* abstraction's `register_channel`.
|
|
1046
|
+
*
|
|
1047
|
+
* @generated from rpc jammi.v1.catalog.CatalogService.RegisterChannel
|
|
1048
|
+
*/
|
|
1049
|
+
registerChannel: {
|
|
1050
|
+
methodKind: "unary";
|
|
1051
|
+
input: typeof RegisterChannelRequestSchema;
|
|
1052
|
+
output: typeof EmptySchema;
|
|
1053
|
+
};
|
|
1054
|
+
/**
|
|
1055
|
+
* Append columns to an already-registered channel (append-only). Peer of the
|
|
1056
|
+
* abstraction's `add_channel_columns`.
|
|
1057
|
+
*
|
|
1058
|
+
* @generated from rpc jammi.v1.catalog.CatalogService.AddChannelColumns
|
|
1059
|
+
*/
|
|
1060
|
+
addChannelColumns: {
|
|
1061
|
+
methodKind: "unary";
|
|
1062
|
+
input: typeof AddChannelColumnsRequestSchema;
|
|
1063
|
+
output: typeof EmptySchema;
|
|
1064
|
+
};
|
|
1065
|
+
/**
|
|
1066
|
+
* List every channel registered to the calling tenant, ordered by
|
|
1067
|
+
* `(priority, channel_id)`. Peer of the abstraction's `list_channels`;
|
|
1068
|
+
* registry introspection, not a SQL query.
|
|
1069
|
+
*
|
|
1070
|
+
* @generated from rpc jammi.v1.catalog.CatalogService.ListChannels
|
|
1071
|
+
*/
|
|
1072
|
+
listChannels: {
|
|
1073
|
+
methodKind: "unary";
|
|
1074
|
+
input: typeof ListChannelsRequestSchema;
|
|
1075
|
+
output: typeof ListChannelsResponseSchema;
|
|
1076
|
+
};
|
|
1077
|
+
/**
|
|
1078
|
+
* Register a mutable companion table. After this returns the table is
|
|
1079
|
+
* queryable through Flight SQL. Peer of the abstraction's
|
|
1080
|
+
* `create_mutable_table`.
|
|
1081
|
+
*
|
|
1082
|
+
* @generated from rpc jammi.v1.catalog.CatalogService.CreateMutableTable
|
|
1083
|
+
*/
|
|
1084
|
+
createMutableTable: {
|
|
1085
|
+
methodKind: "unary";
|
|
1086
|
+
input: typeof CreateMutableTableRequestSchema;
|
|
1087
|
+
output: typeof CreateMutableTableResponseSchema;
|
|
1088
|
+
};
|
|
1089
|
+
/**
|
|
1090
|
+
* Drop a mutable companion table. Peer of the abstraction's
|
|
1091
|
+
* `drop_mutable_table`.
|
|
1092
|
+
*
|
|
1093
|
+
* @generated from rpc jammi.v1.catalog.CatalogService.DropMutableTable
|
|
1094
|
+
*/
|
|
1095
|
+
dropMutableTable: {
|
|
1096
|
+
methodKind: "unary";
|
|
1097
|
+
input: typeof DropMutableTableRequestSchema;
|
|
1098
|
+
output: typeof EmptySchema;
|
|
1099
|
+
};
|
|
1100
|
+
/**
|
|
1101
|
+
* List every mutable companion table registered to the calling tenant. Peer
|
|
1102
|
+
* of the abstraction's `list_mutable_tables`; registry introspection, not a
|
|
1103
|
+
* SQL query. Each entry is the same `MutableTableDefinition` the create path
|
|
1104
|
+
* carries (minus tenant, which rides the session scope).
|
|
1105
|
+
*
|
|
1106
|
+
* @generated from rpc jammi.v1.catalog.CatalogService.ListMutableTables
|
|
1107
|
+
*/
|
|
1108
|
+
listMutableTables: {
|
|
1109
|
+
methodKind: "unary";
|
|
1110
|
+
input: typeof ListMutableTablesRequestSchema;
|
|
1111
|
+
output: typeof ListMutableTablesResponseSchema;
|
|
1112
|
+
};
|
|
1113
|
+
/**
|
|
1114
|
+
* Register a topic (provisions its backing table) for the trigger stream.
|
|
1115
|
+
* Peer of the abstraction's `register_topic`. The schema is the contract
|
|
1116
|
+
* every published batch must satisfy.
|
|
1117
|
+
*
|
|
1118
|
+
* @generated from rpc jammi.v1.catalog.CatalogService.RegisterTopic
|
|
1119
|
+
*/
|
|
1120
|
+
registerTopic: {
|
|
1121
|
+
methodKind: "unary";
|
|
1122
|
+
input: typeof RegisterTopicRequestSchema;
|
|
1123
|
+
output: typeof RegisterTopicResponseSchema;
|
|
1124
|
+
};
|
|
1125
|
+
/**
|
|
1126
|
+
* Drop a topic and its backing table. Peer of the abstraction's
|
|
1127
|
+
* `drop_topic`. `if_exists` makes a missing topic a no-op rather than a
|
|
1128
|
+
* NotFound error.
|
|
1129
|
+
*
|
|
1130
|
+
* @generated from rpc jammi.v1.catalog.CatalogService.DropTopic
|
|
1131
|
+
*/
|
|
1132
|
+
dropTopic: {
|
|
1133
|
+
methodKind: "unary";
|
|
1134
|
+
input: typeof DropTopicRequestSchema;
|
|
1135
|
+
output: typeof EmptySchema;
|
|
1136
|
+
};
|
|
1137
|
+
/**
|
|
1138
|
+
* List topics registered in the catalog. Pagination follows AIP-132.
|
|
1139
|
+
*
|
|
1140
|
+
* @generated from rpc jammi.v1.catalog.CatalogService.ListTopics
|
|
1141
|
+
*/
|
|
1142
|
+
listTopics: {
|
|
1143
|
+
methodKind: "unary";
|
|
1144
|
+
input: typeof ListTopicsRequestSchema;
|
|
1145
|
+
output: typeof ListTopicsResponseSchema;
|
|
1146
|
+
};
|
|
1147
|
+
}>;
|
|
1148
|
+
//# sourceMappingURL=catalog_pb.d.ts.map
|