@liquidmetal-ai/drizzle 0.4.13 → 0.5.1
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/CHANGELOG.md +12 -0
- package/dist/appify/build.d.ts +22 -0
- package/dist/appify/build.d.ts.map +1 -1
- package/dist/appify/build.js +111 -1
- package/dist/appify/build.test.js +78 -0
- package/dist/liquidmetal/v1alpha1/catalog_pb.d.ts +160 -2
- package/dist/liquidmetal/v1alpha1/catalog_pb.d.ts.map +1 -1
- package/dist/liquidmetal/v1alpha1/catalog_pb.js +53 -5
- package/dist/liquidmetal/v1alpha1/riverjack_pb.d.ts +316 -3
- package/dist/liquidmetal/v1alpha1/riverjack_pb.d.ts.map +1 -1
- package/dist/liquidmetal/v1alpha1/riverjack_pb.js +48 -2
- package/dist/liquidmetal/v1alpha1/smartsql_name_pb.d.ts +122 -0
- package/dist/liquidmetal/v1alpha1/smartsql_name_pb.d.ts.map +1 -0
- package/dist/liquidmetal/v1alpha1/smartsql_name_pb.js +23 -0
- package/dist/liquidmetal/v1alpha1/smartsql_pb.d.ts +613 -0
- package/dist/liquidmetal/v1alpha1/smartsql_pb.d.ts.map +1 -0
- package/dist/liquidmetal/v1alpha1/smartsql_pb.js +133 -0
- package/package.json +2 -2
- package/src/appify/build.test.ts +92 -0
- package/src/appify/build.ts +122 -5
- package/src/liquidmetal/v1alpha1/catalog_pb.ts +198 -5
- package/src/liquidmetal/v1alpha1/riverjack_pb.ts +368 -5
- package/src/liquidmetal/v1alpha1/smartsql_name_pb.ts +140 -0
- package/src/liquidmetal/v1alpha1/smartsql_pb.ts +707 -0
- package/tsconfig.tsbuildinfo +1 -1
- package/.turbo/turbo-build.log +0 -22
- package/.turbo/turbo-lint.log +0 -4
- package/.turbo/turbo-test.log +0 -277
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @liquidmetal-ai/drizzle
|
|
2
2
|
|
|
3
|
+
## 0.5.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Stability and performance enhancements.
|
|
8
|
+
|
|
9
|
+
## 0.5.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- Tenant-level infrastructure; various stability and performance fixes.
|
|
14
|
+
|
|
3
15
|
## 0.4.13
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/appify/build.d.ts
CHANGED
|
@@ -33,8 +33,10 @@ export declare class Application {
|
|
|
33
33
|
vectorIndex: VectorIndex[];
|
|
34
34
|
kvStore: KvStore[];
|
|
35
35
|
smartBucket: SmartBucket[];
|
|
36
|
+
smartSql: SmartSql[];
|
|
36
37
|
smartMemory: SmartMemory[];
|
|
37
38
|
labels: Record<string, string>;
|
|
39
|
+
mcpService: McpService[];
|
|
38
40
|
constructor(name: TokenString, obj: ConfigObject);
|
|
39
41
|
handlers(): (Service | Observer | Actor | Task)[];
|
|
40
42
|
}
|
|
@@ -60,6 +62,19 @@ export declare class Actor {
|
|
|
60
62
|
labels: Record<string, string>;
|
|
61
63
|
constructor(name: TokenString, obj: ConfigObject);
|
|
62
64
|
}
|
|
65
|
+
export declare class McpService {
|
|
66
|
+
obj: ConfigObject;
|
|
67
|
+
name: TokenString;
|
|
68
|
+
visibility?: TokenString;
|
|
69
|
+
routes: Route[];
|
|
70
|
+
domains: Domain[];
|
|
71
|
+
bindings: Binding[];
|
|
72
|
+
env: Env[];
|
|
73
|
+
authorizationServer?: TokenString;
|
|
74
|
+
jwksUrl?: TokenString;
|
|
75
|
+
labels: Record<string, string>;
|
|
76
|
+
constructor(name: TokenString, obj: ConfigObject);
|
|
77
|
+
}
|
|
63
78
|
export declare class Task {
|
|
64
79
|
obj: ConfigObject;
|
|
65
80
|
name: TokenString;
|
|
@@ -155,6 +170,7 @@ export declare class SqlDatabase {
|
|
|
155
170
|
name: TokenString;
|
|
156
171
|
schema?: TokenString;
|
|
157
172
|
visibility?: TokenString;
|
|
173
|
+
disable_prisma?: TokenBoolean;
|
|
158
174
|
obj: ConfigObject;
|
|
159
175
|
constructor(name: TokenString, obj: ConfigObject);
|
|
160
176
|
}
|
|
@@ -164,6 +180,12 @@ export declare class SmartBucket {
|
|
|
164
180
|
obj: ConfigObject;
|
|
165
181
|
constructor(name: TokenString, obj: ConfigObject);
|
|
166
182
|
}
|
|
183
|
+
export declare class SmartSql {
|
|
184
|
+
name: TokenString;
|
|
185
|
+
locationHint?: TokenString;
|
|
186
|
+
obj: ConfigObject;
|
|
187
|
+
constructor(name: TokenString, obj: ConfigObject);
|
|
188
|
+
}
|
|
167
189
|
export declare class SmartMemory {
|
|
168
190
|
name: TokenString;
|
|
169
191
|
obj: ConfigObject;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../src/appify/build.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,cAAc,EACd,SAAS,EAGT,UAAU,EACV,YAAY,EACZ,WAAW,EACX,WAAW,EACZ,MAAM,YAAY,CAAC;AAEpB,wBAAgB,OAAO,CAAC,KAAK,EAAE,WAAW,GAAG,MAAM,CAAC;AACpD,wBAAgB,OAAO,CAAC,KAAK,EAAE,WAAW,GAAG,MAAM,CAAC;AACpD,wBAAgB,OAAO,CAAC,KAAK,EAAE,YAAY,GAAG,OAAO,CAAC;AAgBtD,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;CACb;AACD,eAAO,MAAM,mBAAmB,EAAE,YAKxB,CAAC;AAEX,qBAAa,WAAW;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;gBAEA,OAAO,E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EAAE,YAAY,CAAC;IAC9B,GAAG,EAAE,YAAY,CAAC;gBAEN,IAAI,EAAE,WAAW,EAAE,GAAG,EAAE,YAAY;CAIjD;AAED,qBAAa,WAAW;IACtB,IAAI,EAAE,WAAW,CAAC;IAClB,YAAY,CAAC,EAAE,WAAW,CAAC;IAC3B,GAAG,EAAE,YAAY,CAAC;gBAEN,IAAI,EAAE,WAAW,EAAE,GAAG,EAAE,YAAY;CAIjD;AAED,qBAAa,QAAQ;IACnB,IAAI,EAAE,WAAW,CAAC;IAClB,YAAY,CAAC,EAAE,WAAW,CAAC;IAC3B,GAAG,EAAE,YAAY,CAAC;gBAEN,IAAI,EAAE,WAAW,EAAE,GAAG,EAAE,YAAY;CAIjD;AAED,qBAAa,WAAW;IACtB,IAAI,EAAE,WAAW,CAAC;IAClB,GAAG,EAAE,YAAY,CAAC;gBAEN,IAAI,EAAE,WAAW,EAAE,GAAG,EAAE,YAAY;CAIjD;AAED,eAAO,MAAM,YAAY,uFAAwF,CAAC;AAClH,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC;AAEvD,eAAO,MAAM,UAAU,mBAAoB,CAAC;AAC5C,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
package/dist/appify/build.js
CHANGED
|
@@ -168,6 +168,9 @@ export function buildApplication(node) {
|
|
|
168
168
|
case 'service':
|
|
169
169
|
buildStanza(buildService, child, app.service, errors);
|
|
170
170
|
break;
|
|
171
|
+
case 'mcp_service':
|
|
172
|
+
buildStanza(buildMcpService, child, app.mcpService, errors);
|
|
173
|
+
break;
|
|
171
174
|
case 'env':
|
|
172
175
|
buildStanza(buildEnv, child, app.env, errors);
|
|
173
176
|
break;
|
|
@@ -198,6 +201,9 @@ export function buildApplication(node) {
|
|
|
198
201
|
case 'smartbucket':
|
|
199
202
|
buildStanza(buildSmartBucket, child, app.smartBucket, errors);
|
|
200
203
|
break;
|
|
204
|
+
case 'smartsql':
|
|
205
|
+
buildStanza(buildSmartSql, child, app.smartSql, errors);
|
|
206
|
+
break;
|
|
201
207
|
case 'smartmemory':
|
|
202
208
|
buildStanza(buildSmartMemory, child, app.smartMemory, errors);
|
|
203
209
|
break;
|
|
@@ -271,6 +277,59 @@ function buildService(stanza) {
|
|
|
271
277
|
}
|
|
272
278
|
return [service, errors];
|
|
273
279
|
}
|
|
280
|
+
function buildMcpService(stanza) {
|
|
281
|
+
const errors = [];
|
|
282
|
+
const [name, nameErrors] = buildName1(stanza);
|
|
283
|
+
errors.push(...nameErrors);
|
|
284
|
+
const service = new McpService(name, stanza);
|
|
285
|
+
const children = stanza.block ? stanza.block.children : [];
|
|
286
|
+
for (const child of children) {
|
|
287
|
+
switch (child.type) {
|
|
288
|
+
case 'stanza':
|
|
289
|
+
switch (child.name) {
|
|
290
|
+
case 'route':
|
|
291
|
+
buildStanza(buildRoute, child, service.routes, errors);
|
|
292
|
+
break;
|
|
293
|
+
case 'domain':
|
|
294
|
+
buildStanza(buildDomain, child, service.domains, errors);
|
|
295
|
+
break;
|
|
296
|
+
case 'binding':
|
|
297
|
+
buildStanza(buildBinding, child, service.bindings, errors);
|
|
298
|
+
break;
|
|
299
|
+
case 'env':
|
|
300
|
+
buildStanza(buildEnv, child, service.env, errors);
|
|
301
|
+
break;
|
|
302
|
+
default:
|
|
303
|
+
errors.push({ message: 'unexpected stanza', ...child });
|
|
304
|
+
}
|
|
305
|
+
break;
|
|
306
|
+
case 'assignment':
|
|
307
|
+
switch (child.key.value) {
|
|
308
|
+
case 'visibility':
|
|
309
|
+
buildAssignment(service, 'visibility', 'string', child, errors);
|
|
310
|
+
break;
|
|
311
|
+
case 'authorization_server':
|
|
312
|
+
buildAssignment(service, 'authorizationServer', 'string', child, errors);
|
|
313
|
+
break;
|
|
314
|
+
case 'jwks_url':
|
|
315
|
+
buildAssignment(service, 'jwksUrl', 'string', child, errors);
|
|
316
|
+
break;
|
|
317
|
+
case 'labels':
|
|
318
|
+
buildLabelset(service, 'labels', child, errors);
|
|
319
|
+
break;
|
|
320
|
+
default:
|
|
321
|
+
errors.push({ message: 'unexpected assignment', ...child });
|
|
322
|
+
}
|
|
323
|
+
break;
|
|
324
|
+
case 'comment':
|
|
325
|
+
case 'newline':
|
|
326
|
+
break;
|
|
327
|
+
default:
|
|
328
|
+
errors.push({ message: 'unexpected node', ...child });
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
return [service, errors];
|
|
332
|
+
}
|
|
274
333
|
function buildBucket(stanza) {
|
|
275
334
|
const errors = [];
|
|
276
335
|
const [name, nameErrors] = buildName1(stanza);
|
|
@@ -376,6 +435,9 @@ function buildSqlDatabase(stanza) {
|
|
|
376
435
|
break;
|
|
377
436
|
case 'assignment':
|
|
378
437
|
switch (child.key.value) {
|
|
438
|
+
case 'disable_prisma':
|
|
439
|
+
buildAssignment(sqlDatabase, 'disable_prisma', 'boolean', child, errors);
|
|
440
|
+
break;
|
|
379
441
|
case 'visibility':
|
|
380
442
|
buildAssignment(sqlDatabase, 'visibility', 'string', child, errors);
|
|
381
443
|
break;
|
|
@@ -445,6 +507,26 @@ function buildSmartBucket(stanza) {
|
|
|
445
507
|
}
|
|
446
508
|
return [smartBucket, errors];
|
|
447
509
|
}
|
|
510
|
+
function buildSmartSql(stanza) {
|
|
511
|
+
const errors = [];
|
|
512
|
+
const [name, nameErrors] = buildName1(stanza);
|
|
513
|
+
errors.push(...nameErrors);
|
|
514
|
+
const smartSql = new SmartSql(name, stanza);
|
|
515
|
+
for (const child of stanza.block?.children ?? []) {
|
|
516
|
+
switch (child.type) {
|
|
517
|
+
case 'assignment':
|
|
518
|
+
switch (child.key.value) {
|
|
519
|
+
case 'location_hint':
|
|
520
|
+
buildAssignment(smartSql, 'locationHint', 'string', child, errors);
|
|
521
|
+
break;
|
|
522
|
+
default:
|
|
523
|
+
errors.push({ message: 'unexpected assignment', ...child });
|
|
524
|
+
}
|
|
525
|
+
break;
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
return [smartSql, errors];
|
|
529
|
+
}
|
|
448
530
|
function buildSmartMemory(stanza) {
|
|
449
531
|
const errors = [];
|
|
450
532
|
const [name, nameErrors] = buildName1(stanza);
|
|
@@ -761,15 +843,17 @@ export class Application {
|
|
|
761
843
|
vectorIndex = [];
|
|
762
844
|
kvStore = [];
|
|
763
845
|
smartBucket = [];
|
|
846
|
+
smartSql = [];
|
|
764
847
|
smartMemory = [];
|
|
765
848
|
labels = {};
|
|
849
|
+
mcpService = [];
|
|
766
850
|
constructor(name, obj) {
|
|
767
851
|
this.name = name;
|
|
768
852
|
this.obj = obj;
|
|
769
853
|
}
|
|
770
854
|
// Return all objects that require code handlers.
|
|
771
855
|
handlers() {
|
|
772
|
-
return [...this.service, ...this.observer, ...this.actor, ...this.task];
|
|
856
|
+
return [...this.service, ...this.observer, ...this.actor, ...this.task, ...this.mcpService];
|
|
773
857
|
}
|
|
774
858
|
}
|
|
775
859
|
export class Service {
|
|
@@ -800,6 +884,22 @@ export class Actor {
|
|
|
800
884
|
this.obj = obj;
|
|
801
885
|
}
|
|
802
886
|
}
|
|
887
|
+
export class McpService {
|
|
888
|
+
obj;
|
|
889
|
+
name;
|
|
890
|
+
visibility;
|
|
891
|
+
routes = [];
|
|
892
|
+
domains = [];
|
|
893
|
+
bindings = [];
|
|
894
|
+
env = [];
|
|
895
|
+
authorizationServer;
|
|
896
|
+
jwksUrl;
|
|
897
|
+
labels = {};
|
|
898
|
+
constructor(name, obj) {
|
|
899
|
+
this.name = name;
|
|
900
|
+
this.obj = obj;
|
|
901
|
+
}
|
|
902
|
+
}
|
|
803
903
|
export class Task {
|
|
804
904
|
obj;
|
|
805
905
|
name;
|
|
@@ -929,6 +1029,7 @@ export class SqlDatabase {
|
|
|
929
1029
|
name;
|
|
930
1030
|
schema;
|
|
931
1031
|
visibility;
|
|
1032
|
+
disable_prisma;
|
|
932
1033
|
obj;
|
|
933
1034
|
constructor(name, obj) {
|
|
934
1035
|
this.name = name;
|
|
@@ -944,6 +1045,15 @@ export class SmartBucket {
|
|
|
944
1045
|
this.obj = obj;
|
|
945
1046
|
}
|
|
946
1047
|
}
|
|
1048
|
+
export class SmartSql {
|
|
1049
|
+
name;
|
|
1050
|
+
locationHint;
|
|
1051
|
+
obj;
|
|
1052
|
+
constructor(name, obj) {
|
|
1053
|
+
this.name = name;
|
|
1054
|
+
this.obj = obj;
|
|
1055
|
+
}
|
|
1056
|
+
}
|
|
947
1057
|
export class SmartMemory {
|
|
948
1058
|
name;
|
|
949
1059
|
obj;
|
|
@@ -39,6 +39,10 @@ application "my-app" {
|
|
|
39
39
|
location_hint = "enam"
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
+
smartsql "my-smart-sql" {
|
|
43
|
+
location_hint = "enam"
|
|
44
|
+
}
|
|
45
|
+
|
|
42
46
|
observer "my-observer" {
|
|
43
47
|
env "API_KEY" {}
|
|
44
48
|
source {
|
|
@@ -179,6 +183,80 @@ application "foo" {
|
|
|
179
183
|
},
|
|
180
184
|
]);
|
|
181
185
|
});
|
|
186
|
+
test('smartsql basic parsing', () => {
|
|
187
|
+
const CONFIG = `
|
|
188
|
+
application "my-app" {
|
|
189
|
+
smartsql "smartsql-basic-parsing" {}
|
|
190
|
+
}
|
|
191
|
+
`;
|
|
192
|
+
const tokenizer = new Tokenizer(CONFIG);
|
|
193
|
+
const parser = new Parser(tokenizer);
|
|
194
|
+
const ast = parser.parse();
|
|
195
|
+
expect(parser.errors).toEqual([]);
|
|
196
|
+
const [apps, errors] = buildManifest(ast);
|
|
197
|
+
expect(errors).toEqual([]);
|
|
198
|
+
// Check that we have exactly one application
|
|
199
|
+
expect(apps.length).toBe(1);
|
|
200
|
+
// Check that we have exactly one smartsql
|
|
201
|
+
expect(apps[0].smartSql.length).toBe(1);
|
|
202
|
+
// Check the smartsql properties
|
|
203
|
+
const smartSql = apps[0].smartSql[0];
|
|
204
|
+
expect(valueOf(smartSql.name)).toBe('smartsql-basic-parsing');
|
|
205
|
+
});
|
|
206
|
+
test('smartsql with invalid properties', () => {
|
|
207
|
+
const CONFIG = `
|
|
208
|
+
application "my-app" {
|
|
209
|
+
smartsql "smartsql-invalid-props" {
|
|
210
|
+
invalid_property = "should fail"
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
`;
|
|
214
|
+
const tokenizer = new Tokenizer(CONFIG);
|
|
215
|
+
const parser = new Parser(tokenizer);
|
|
216
|
+
const ast = parser.parse();
|
|
217
|
+
expect(parser.errors).toEqual([]);
|
|
218
|
+
const [, errors] = buildManifest(ast);
|
|
219
|
+
// Should have one error for the invalid property
|
|
220
|
+
expect(errors.length).toBe(1);
|
|
221
|
+
expect(errors[0].message).toContain('unexpected');
|
|
222
|
+
});
|
|
223
|
+
test('smartsql integration with other modules', () => {
|
|
224
|
+
const CONFIG = `
|
|
225
|
+
application "my-app" {
|
|
226
|
+
smartsql "smartsql-integration" {}
|
|
227
|
+
|
|
228
|
+
actor "actor-integration" {}
|
|
229
|
+
|
|
230
|
+
service "service-integration" {}
|
|
231
|
+
|
|
232
|
+
bucket "bucket-integration" {}
|
|
233
|
+
|
|
234
|
+
smartbucket "smartbucket-integration" {}
|
|
235
|
+
}
|
|
236
|
+
`;
|
|
237
|
+
const tokenizer = new Tokenizer(CONFIG);
|
|
238
|
+
const parser = new Parser(tokenizer);
|
|
239
|
+
const ast = parser.parse();
|
|
240
|
+
expect(parser.errors).toEqual([]);
|
|
241
|
+
const [apps, errors] = buildManifest(ast);
|
|
242
|
+
expect(errors).toEqual([]);
|
|
243
|
+
// Check that we have exactly one application
|
|
244
|
+
expect(apps.length).toBe(1);
|
|
245
|
+
const app = apps[0];
|
|
246
|
+
// Verify all module types are parsed correctly
|
|
247
|
+
expect(app.smartSql.length).toBe(1);
|
|
248
|
+
expect(app.actor.length).toBe(1);
|
|
249
|
+
expect(app.service.length).toBe(1);
|
|
250
|
+
expect(app.bucket.length).toBe(1);
|
|
251
|
+
expect(app.smartBucket.length).toBe(1);
|
|
252
|
+
// Verify smartsql properties
|
|
253
|
+
expect(valueOf(app.smartSql[0].name)).toBe('smartsql-integration');
|
|
254
|
+
// Verify the other modules still work correctly
|
|
255
|
+
expect(valueOf(app.actor[0].name)).toBe('actor-integration');
|
|
256
|
+
expect(valueOf(app.service[0].name)).toBe('service-integration');
|
|
257
|
+
expect(valueOf(app.bucket[0].name)).toBe('bucket-integration');
|
|
258
|
+
expect(valueOf(app.smartBucket[0].name)).toBe('smartbucket-integration');
|
|
259
|
+
});
|
|
182
260
|
test('service with labels', () => {
|
|
183
261
|
const CONFIG = `
|
|
184
262
|
application "my-app" {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
2
2
|
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { SmartSqlLocator, SmartSqlResponse } from "./smartsql_name_pb.js";
|
|
3
4
|
import type { SmartMemoryLocator, SmartMemoryResponse } from "./smartmemory_name_pb.js";
|
|
4
5
|
import type { BucketLocator, BucketResponse } from "./bucket_name_pb.js";
|
|
5
6
|
import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
@@ -117,6 +118,10 @@ export type ApplicationsResponse_Application = Message<"liquidmetal.v1alpha1.App
|
|
|
117
118
|
* @generated from field: optional string lock = 14;
|
|
118
119
|
*/
|
|
119
120
|
lock?: string;
|
|
121
|
+
/**
|
|
122
|
+
* @generated from field: bool privileged = 15;
|
|
123
|
+
*/
|
|
124
|
+
privileged: boolean;
|
|
120
125
|
};
|
|
121
126
|
/**
|
|
122
127
|
* Describes the message liquidmetal.v1alpha1.ApplicationsResponse.Application.
|
|
@@ -419,7 +424,11 @@ export declare enum QueryResourcesResponse_Resource_ResourceType {
|
|
|
419
424
|
/**
|
|
420
425
|
* @generated from enum value: RESOURCE_TYPE_SMART_MEMORY = 15;
|
|
421
426
|
*/
|
|
422
|
-
SMART_MEMORY = 15
|
|
427
|
+
SMART_MEMORY = 15,
|
|
428
|
+
/**
|
|
429
|
+
* @generated from enum value: RESOURCE_TYPE_SMART_SQL = 16;
|
|
430
|
+
*/
|
|
431
|
+
SMART_SQL = 16
|
|
423
432
|
}
|
|
424
433
|
/**
|
|
425
434
|
* Describes the enum liquidmetal.v1alpha1.QueryResourcesResponse.Resource.ResourceType.
|
|
@@ -1259,6 +1268,15 @@ export type QueryModulesResponse_KVStoreModule = Message<"liquidmetal.v1alpha1.Q
|
|
|
1259
1268
|
* Use `create(QueryModulesResponse_KVStoreModuleSchema)` to create a new message.
|
|
1260
1269
|
*/
|
|
1261
1270
|
export declare const QueryModulesResponse_KVStoreModuleSchema: GenMessage<QueryModulesResponse_KVStoreModule>;
|
|
1271
|
+
/**
|
|
1272
|
+
* @generated from message liquidmetal.v1alpha1.QueryModulesResponse.SmartSqlModule
|
|
1273
|
+
*/
|
|
1274
|
+
export type QueryModulesResponse_SmartSqlModule = Message<"liquidmetal.v1alpha1.QueryModulesResponse.SmartSqlModule"> & {};
|
|
1275
|
+
/**
|
|
1276
|
+
* Describes the message liquidmetal.v1alpha1.QueryModulesResponse.SmartSqlModule.
|
|
1277
|
+
* Use `create(QueryModulesResponse_SmartSqlModuleSchema)` to create a new message.
|
|
1278
|
+
*/
|
|
1279
|
+
export declare const QueryModulesResponse_SmartSqlModuleSchema: GenMessage<QueryModulesResponse_SmartSqlModule>;
|
|
1262
1280
|
/**
|
|
1263
1281
|
* @generated from message liquidmetal.v1alpha1.QueryModulesResponse.SmartMemoryModule
|
|
1264
1282
|
*/
|
|
@@ -1304,6 +1322,42 @@ export type QueryModulesResponse_ActorModule_Route = Message<"liquidmetal.v1alph
|
|
|
1304
1322
|
* Use `create(QueryModulesResponse_ActorModule_RouteSchema)` to create a new message.
|
|
1305
1323
|
*/
|
|
1306
1324
|
export declare const QueryModulesResponse_ActorModule_RouteSchema: GenMessage<QueryModulesResponse_ActorModule_Route>;
|
|
1325
|
+
/**
|
|
1326
|
+
* @generated from message liquidmetal.v1alpha1.QueryModulesResponse.McpServiceModule
|
|
1327
|
+
*/
|
|
1328
|
+
export type QueryModulesResponse_McpServiceModule = Message<"liquidmetal.v1alpha1.QueryModulesResponse.McpServiceModule"> & {
|
|
1329
|
+
/**
|
|
1330
|
+
* @generated from field: string visibility = 1;
|
|
1331
|
+
*/
|
|
1332
|
+
visibility: string;
|
|
1333
|
+
/**
|
|
1334
|
+
* @generated from field: repeated liquidmetal.v1alpha1.QueryModulesResponse.McpServiceModule.Route routes = 2;
|
|
1335
|
+
*/
|
|
1336
|
+
routes: QueryModulesResponse_McpServiceModule_Route[];
|
|
1337
|
+
};
|
|
1338
|
+
/**
|
|
1339
|
+
* Describes the message liquidmetal.v1alpha1.QueryModulesResponse.McpServiceModule.
|
|
1340
|
+
* Use `create(QueryModulesResponse_McpServiceModuleSchema)` to create a new message.
|
|
1341
|
+
*/
|
|
1342
|
+
export declare const QueryModulesResponse_McpServiceModuleSchema: GenMessage<QueryModulesResponse_McpServiceModule>;
|
|
1343
|
+
/**
|
|
1344
|
+
* @generated from message liquidmetal.v1alpha1.QueryModulesResponse.McpServiceModule.Route
|
|
1345
|
+
*/
|
|
1346
|
+
export type QueryModulesResponse_McpServiceModule_Route = Message<"liquidmetal.v1alpha1.QueryModulesResponse.McpServiceModule.Route"> & {
|
|
1347
|
+
/**
|
|
1348
|
+
* @generated from field: string domain = 1;
|
|
1349
|
+
*/
|
|
1350
|
+
domain: string;
|
|
1351
|
+
/**
|
|
1352
|
+
* @generated from field: optional string id = 2;
|
|
1353
|
+
*/
|
|
1354
|
+
id?: string;
|
|
1355
|
+
};
|
|
1356
|
+
/**
|
|
1357
|
+
* Describes the message liquidmetal.v1alpha1.QueryModulesResponse.McpServiceModule.Route.
|
|
1358
|
+
* Use `create(QueryModulesResponse_McpServiceModule_RouteSchema)` to create a new message.
|
|
1359
|
+
*/
|
|
1360
|
+
export declare const QueryModulesResponse_McpServiceModule_RouteSchema: GenMessage<QueryModulesResponse_McpServiceModule_Route>;
|
|
1307
1361
|
/**
|
|
1308
1362
|
* @generated from message liquidmetal.v1alpha1.QueryModulesResponse.Module
|
|
1309
1363
|
*/
|
|
@@ -1387,6 +1441,14 @@ export type QueryModulesResponse_Module = Message<"liquidmetal.v1alpha1.QueryMod
|
|
|
1387
1441
|
* @generated from field: liquidmetal.v1alpha1.QueryModulesResponse.ActorModule actor = 19;
|
|
1388
1442
|
*/
|
|
1389
1443
|
actor?: QueryModulesResponse_ActorModule;
|
|
1444
|
+
/**
|
|
1445
|
+
* @generated from field: liquidmetal.v1alpha1.QueryModulesResponse.SmartSqlModule smart_sql = 20;
|
|
1446
|
+
*/
|
|
1447
|
+
smartSql?: QueryModulesResponse_SmartSqlModule;
|
|
1448
|
+
/**
|
|
1449
|
+
* @generated from field: liquidmetal.v1alpha1.QueryModulesResponse.McpServiceModule mcp_service = 21;
|
|
1450
|
+
*/
|
|
1451
|
+
mcpService?: QueryModulesResponse_McpServiceModule;
|
|
1390
1452
|
};
|
|
1391
1453
|
/**
|
|
1392
1454
|
* Describes the message liquidmetal.v1alpha1.QueryModulesResponse.Module.
|
|
@@ -1448,7 +1510,15 @@ export declare enum QueryModulesResponse_ModuleType {
|
|
|
1448
1510
|
/**
|
|
1449
1511
|
* @generated from enum value: MODULE_TYPE_ACTOR = 12;
|
|
1450
1512
|
*/
|
|
1451
|
-
ACTOR = 12
|
|
1513
|
+
ACTOR = 12,
|
|
1514
|
+
/**
|
|
1515
|
+
* @generated from enum value: MODULE_TYPE_SMART_SQL = 13;
|
|
1516
|
+
*/
|
|
1517
|
+
SMART_SQL = 13,
|
|
1518
|
+
/**
|
|
1519
|
+
* @generated from enum value: MODULE_TYPE_MCP_SERVICE = 14;
|
|
1520
|
+
*/
|
|
1521
|
+
MCP_SERVICE = 14
|
|
1452
1522
|
}
|
|
1453
1523
|
/**
|
|
1454
1524
|
* Describes the enum liquidmetal.v1alpha1.QueryModulesResponse.ModuleType.
|
|
@@ -1598,6 +1668,78 @@ export type ResolveModuleIdToSmartMemoryLocationResponse = Message<"liquidmetal.
|
|
|
1598
1668
|
* Use `create(ResolveModuleIdToSmartMemoryLocationResponseSchema)` to create a new message.
|
|
1599
1669
|
*/
|
|
1600
1670
|
export declare const ResolveModuleIdToSmartMemoryLocationResponseSchema: GenMessage<ResolveModuleIdToSmartMemoryLocationResponse>;
|
|
1671
|
+
/**
|
|
1672
|
+
* @generated from message liquidmetal.v1alpha1.ResolveSmartSqlLocationToModuleIdRequest
|
|
1673
|
+
*/
|
|
1674
|
+
export type ResolveSmartSqlLocationToModuleIdRequest = Message<"liquidmetal.v1alpha1.ResolveSmartSqlLocationToModuleIdRequest"> & {
|
|
1675
|
+
/**
|
|
1676
|
+
* @generated from field: string user_id = 1;
|
|
1677
|
+
*/
|
|
1678
|
+
userId: string;
|
|
1679
|
+
/**
|
|
1680
|
+
* @generated from field: string organization_id = 2;
|
|
1681
|
+
*/
|
|
1682
|
+
organizationId: string;
|
|
1683
|
+
/**
|
|
1684
|
+
* @generated from field: liquidmetal.v1alpha1.SmartSqlLocator smart_sql_location = 3;
|
|
1685
|
+
*/
|
|
1686
|
+
smartSqlLocation?: SmartSqlLocator;
|
|
1687
|
+
};
|
|
1688
|
+
/**
|
|
1689
|
+
* Describes the message liquidmetal.v1alpha1.ResolveSmartSqlLocationToModuleIdRequest.
|
|
1690
|
+
* Use `create(ResolveSmartSqlLocationToModuleIdRequestSchema)` to create a new message.
|
|
1691
|
+
*/
|
|
1692
|
+
export declare const ResolveSmartSqlLocationToModuleIdRequestSchema: GenMessage<ResolveSmartSqlLocationToModuleIdRequest>;
|
|
1693
|
+
/**
|
|
1694
|
+
* @generated from message liquidmetal.v1alpha1.ResolveModuleIdToSmartSqlLocationRequest
|
|
1695
|
+
*/
|
|
1696
|
+
export type ResolveModuleIdToSmartSqlLocationRequest = Message<"liquidmetal.v1alpha1.ResolveModuleIdToSmartSqlLocationRequest"> & {
|
|
1697
|
+
/**
|
|
1698
|
+
* @generated from field: string user_id = 1;
|
|
1699
|
+
*/
|
|
1700
|
+
userId: string;
|
|
1701
|
+
/**
|
|
1702
|
+
* @generated from field: string organization_id = 2;
|
|
1703
|
+
*/
|
|
1704
|
+
organizationId: string;
|
|
1705
|
+
/**
|
|
1706
|
+
* @generated from field: string module_id = 3;
|
|
1707
|
+
*/
|
|
1708
|
+
moduleId: string;
|
|
1709
|
+
};
|
|
1710
|
+
/**
|
|
1711
|
+
* Describes the message liquidmetal.v1alpha1.ResolveModuleIdToSmartSqlLocationRequest.
|
|
1712
|
+
* Use `create(ResolveModuleIdToSmartSqlLocationRequestSchema)` to create a new message.
|
|
1713
|
+
*/
|
|
1714
|
+
export declare const ResolveModuleIdToSmartSqlLocationRequestSchema: GenMessage<ResolveModuleIdToSmartSqlLocationRequest>;
|
|
1715
|
+
/**
|
|
1716
|
+
* @generated from message liquidmetal.v1alpha1.ResolveSmartSqlLocationToModuleIdResponse
|
|
1717
|
+
*/
|
|
1718
|
+
export type ResolveSmartSqlLocationToModuleIdResponse = Message<"liquidmetal.v1alpha1.ResolveSmartSqlLocationToModuleIdResponse"> & {
|
|
1719
|
+
/**
|
|
1720
|
+
* @generated from field: liquidmetal.v1alpha1.SmartSqlResponse smart_sql = 1;
|
|
1721
|
+
*/
|
|
1722
|
+
smartSql?: SmartSqlResponse;
|
|
1723
|
+
};
|
|
1724
|
+
/**
|
|
1725
|
+
* Describes the message liquidmetal.v1alpha1.ResolveSmartSqlLocationToModuleIdResponse.
|
|
1726
|
+
* Use `create(ResolveSmartSqlLocationToModuleIdResponseSchema)` to create a new message.
|
|
1727
|
+
*/
|
|
1728
|
+
export declare const ResolveSmartSqlLocationToModuleIdResponseSchema: GenMessage<ResolveSmartSqlLocationToModuleIdResponse>;
|
|
1729
|
+
/**
|
|
1730
|
+
* @generated from message liquidmetal.v1alpha1.ResolveModuleIdToSmartSqlLocationResponse
|
|
1731
|
+
*/
|
|
1732
|
+
export type ResolveModuleIdToSmartSqlLocationResponse = Message<"liquidmetal.v1alpha1.ResolveModuleIdToSmartSqlLocationResponse"> & {
|
|
1733
|
+
/**
|
|
1734
|
+
* @generated from field: liquidmetal.v1alpha1.SmartSqlResponse smart_sql = 1;
|
|
1735
|
+
*/
|
|
1736
|
+
smartSql?: SmartSqlResponse;
|
|
1737
|
+
};
|
|
1738
|
+
/**
|
|
1739
|
+
* Describes the message liquidmetal.v1alpha1.ResolveModuleIdToSmartSqlLocationResponse.
|
|
1740
|
+
* Use `create(ResolveModuleIdToSmartSqlLocationResponseSchema)` to create a new message.
|
|
1741
|
+
*/
|
|
1742
|
+
export declare const ResolveModuleIdToSmartSqlLocationResponseSchema: GenMessage<ResolveModuleIdToSmartSqlLocationResponse>;
|
|
1601
1743
|
/**
|
|
1602
1744
|
* UnitState is the state of an application, module or resource.
|
|
1603
1745
|
*
|
|
@@ -1857,6 +1999,22 @@ export declare const CatalogService: GenService<{
|
|
|
1857
1999
|
input: typeof ResolveModuleIdToBucketLocationRequestSchema;
|
|
1858
2000
|
output: typeof ResolveModuleIdToBucketLocationResponseSchema;
|
|
1859
2001
|
};
|
|
2002
|
+
/**
|
|
2003
|
+
* @generated from rpc liquidmetal.v1alpha1.CatalogService.ResolveSmartSqlLocationToModuleId
|
|
2004
|
+
*/
|
|
2005
|
+
resolveSmartSqlLocationToModuleId: {
|
|
2006
|
+
methodKind: "unary";
|
|
2007
|
+
input: typeof ResolveSmartSqlLocationToModuleIdRequestSchema;
|
|
2008
|
+
output: typeof ResolveSmartSqlLocationToModuleIdResponseSchema;
|
|
2009
|
+
};
|
|
2010
|
+
/**
|
|
2011
|
+
* @generated from rpc liquidmetal.v1alpha1.CatalogService.ResolveModuleIdToSmartSqlLocation
|
|
2012
|
+
*/
|
|
2013
|
+
resolveModuleIdToSmartSqlLocation: {
|
|
2014
|
+
methodKind: "unary";
|
|
2015
|
+
input: typeof ResolveModuleIdToSmartSqlLocationRequestSchema;
|
|
2016
|
+
output: typeof ResolveModuleIdToSmartSqlLocationResponseSchema;
|
|
2017
|
+
};
|
|
1860
2018
|
/**
|
|
1861
2019
|
* @generated from rpc liquidmetal.v1alpha1.CatalogService.ResolveSmartMemoryLocationToModuleId
|
|
1862
2020
|
*/
|