@liquidmetal-ai/drizzle 0.1.3 → 0.2.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/.changeset/breezy-lamps-fry.md +6 -0
- package/.turbo/turbo-lint.log +6 -0
- package/.turbo/turbo-test.log +6 -0
- package/dist/appify/build.d.ts +32 -2
- package/dist/appify/build.d.ts.map +1 -1
- package/dist/appify/build.js +166 -24
- package/dist/appify/build.test.js +75 -3
- package/dist/appify/validate.d.ts +2 -1
- package/dist/appify/validate.d.ts.map +1 -1
- package/dist/appify/validate.js +71 -2
- package/dist/appify/validate.test.js +74 -4
- package/dist/codestore.js +2 -2
- package/dist/liquidmetal/v1alpha1/catalog_connect.d.ts +81 -78
- package/dist/liquidmetal/v1alpha1/catalog_connect.d.ts.map +1 -1
- package/dist/liquidmetal/v1alpha1/catalog_connect.js +81 -78
- package/dist/liquidmetal/v1alpha1/catalog_pb.d.ts +572 -610
- package/dist/liquidmetal/v1alpha1/catalog_pb.d.ts.map +1 -1
- package/dist/liquidmetal/v1alpha1/catalog_pb.js +675 -741
- package/dist/liquidmetal/v1alpha1/resource_interface_connect.d.ts +68 -0
- package/dist/liquidmetal/v1alpha1/resource_interface_connect.d.ts.map +1 -0
- package/dist/liquidmetal/v1alpha1/resource_interface_connect.js +73 -0
- package/dist/liquidmetal/v1alpha1/resource_interface_pb.d.ts +283 -0
- package/dist/liquidmetal/v1alpha1/resource_interface_pb.d.ts.map +1 -0
- package/dist/liquidmetal/v1alpha1/resource_interface_pb.js +454 -0
- package/dist/liquidmetal/v1alpha1/search_agent_connect.d.ts +170 -0
- package/dist/liquidmetal/v1alpha1/search_agent_connect.d.ts.map +1 -0
- package/dist/liquidmetal/v1alpha1/search_agent_connect.js +173 -0
- package/dist/liquidmetal/v1alpha1/search_agent_pb.d.ts +505 -0
- package/dist/liquidmetal/v1alpha1/search_agent_pb.d.ts.map +1 -0
- package/dist/liquidmetal/v1alpha1/search_agent_pb.js +715 -0
- package/package.json +1 -1
- package/src/appify/build.test.ts +85 -3
- package/src/appify/build.ts +181 -25
- package/src/appify/validate.test.ts +77 -4
- package/src/appify/validate.ts +78 -1
- package/src/codestore.ts +2 -2
- package/src/liquidmetal/v1alpha1/catalog_connect.ts +81 -78
- package/src/liquidmetal/v1alpha1/catalog_pb.ts +872 -970
- package/src/liquidmetal/v1alpha1/resource_interface_connect.ts +77 -0
- package/src/liquidmetal/v1alpha1/resource_interface_pb.ts +561 -0
- package/src/liquidmetal/v1alpha1/search_agent_connect.ts +176 -0
- package/src/liquidmetal/v1alpha1/search_agent_pb.ts +842 -0
- package/tsconfig.tsbuildinfo +1 -1
- package/.turbo/turbo-build.log +0 -30
package/dist/appify/validate.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { valueOf, VISIBILITIES, } from './build.js';
|
|
1
|
+
import { TASK_TYPES, valueOf, VISIBILITIES, } from './build.js';
|
|
2
2
|
async function validateHelper(validatorFn, application, obj, errors) {
|
|
3
3
|
if (validatorFn) {
|
|
4
4
|
const returnedErrors = await validatorFn(application, obj);
|
|
@@ -13,6 +13,7 @@ export async function validate(apps, validators) {
|
|
|
13
13
|
await validateServices(app, validator, errors);
|
|
14
14
|
await validateActors(app, validator, errors);
|
|
15
15
|
await validateObservers(app, validator, errors);
|
|
16
|
+
await validateTasks(app, validator, errors);
|
|
16
17
|
await validateBuckets(app, validator, errors);
|
|
17
18
|
await validateQueues(app, validator, errors);
|
|
18
19
|
await validateEnvs(app, app, validator, errors);
|
|
@@ -44,6 +45,13 @@ async function validateObservers(app, validator, errors) {
|
|
|
44
45
|
await validateEnvs(app, observer, validator, errors);
|
|
45
46
|
}
|
|
46
47
|
}
|
|
48
|
+
async function validateTasks(app, validator, errors) {
|
|
49
|
+
for (const task of app.task) {
|
|
50
|
+
await validateHelper(validator.onTask, app, task, errors);
|
|
51
|
+
await validateBindings(app, task, validator, errors);
|
|
52
|
+
await validateEnvs(app, task, validator, errors);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
47
55
|
async function validateBuckets(app, validator, errors) {
|
|
48
56
|
for (const bucket of app.bucket) {
|
|
49
57
|
await validateHelper(validator.onBucket, app, bucket, errors);
|
|
@@ -252,6 +260,45 @@ const observerSourceValidator = {
|
|
|
252
260
|
return errors;
|
|
253
261
|
},
|
|
254
262
|
};
|
|
263
|
+
const taskValidator = {
|
|
264
|
+
onTask: async (app, task) => {
|
|
265
|
+
const errors = [];
|
|
266
|
+
if (task.type === undefined) {
|
|
267
|
+
errors.push({
|
|
268
|
+
message: 'task must have a type',
|
|
269
|
+
severity: 'error',
|
|
270
|
+
...task.obj,
|
|
271
|
+
});
|
|
272
|
+
return errors;
|
|
273
|
+
}
|
|
274
|
+
if (TASK_TYPES.indexOf(valueOf(task.type)) === -1) {
|
|
275
|
+
errors.push({
|
|
276
|
+
message: `task type must be one of: ${TASK_TYPES.join(', ')}`,
|
|
277
|
+
severity: 'error',
|
|
278
|
+
...task.obj,
|
|
279
|
+
});
|
|
280
|
+
return errors;
|
|
281
|
+
}
|
|
282
|
+
if (valueOf(task.type) === 'cron') {
|
|
283
|
+
if (task.cron === undefined) {
|
|
284
|
+
errors.push({
|
|
285
|
+
message: 'cron task must have a cron attribute',
|
|
286
|
+
severity: 'error',
|
|
287
|
+
...task.obj,
|
|
288
|
+
});
|
|
289
|
+
}
|
|
290
|
+
else if (!VALID_CRON_PATTERN.test(valueOf(task.cron))) {
|
|
291
|
+
errors.push({
|
|
292
|
+
message: `task cron expression is malformed: ${valueOf(task.cron)}`,
|
|
293
|
+
severity: 'error',
|
|
294
|
+
...task.obj,
|
|
295
|
+
});
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
return errors;
|
|
299
|
+
},
|
|
300
|
+
};
|
|
301
|
+
const VALID_CRON_PATTERN = /(@(annually|yearly|monthly|weekly|daily|hourly|reboot))|(@every (\d+(ns|us|µs|ms|s|m|h))+)|((((\d+,)+\d+|(\d+(\/|-)\d+)|\d+|\*) ?){5,7})/;
|
|
255
302
|
async function visibilityValidatorFn(app, obj) {
|
|
256
303
|
const errors = [];
|
|
257
304
|
if (obj.visibility && !VISIBILITIES.includes(valueOf(obj.visibility))) {
|
|
@@ -266,6 +313,7 @@ async function visibilityValidatorFn(app, obj) {
|
|
|
266
313
|
const visibilityValidator = {
|
|
267
314
|
onService: visibilityValidatorFn,
|
|
268
315
|
onActor: visibilityValidatorFn,
|
|
316
|
+
onTask: visibilityValidatorFn,
|
|
269
317
|
onQueue: visibilityValidatorFn,
|
|
270
318
|
onBucket: visibilityValidatorFn,
|
|
271
319
|
};
|
|
@@ -306,7 +354,7 @@ const vectorIndexValidator = {
|
|
|
306
354
|
const errors = [];
|
|
307
355
|
if (vectorIndex.dimensions === undefined) {
|
|
308
356
|
errors.push({
|
|
309
|
-
message: 'vector index must have a
|
|
357
|
+
message: 'vector index must have a dimensions',
|
|
310
358
|
severity: 'error',
|
|
311
359
|
...vectorIndex.obj,
|
|
312
360
|
});
|
|
@@ -371,14 +419,35 @@ const duplicateModuleValidator = {
|
|
|
371
419
|
return errors;
|
|
372
420
|
},
|
|
373
421
|
};
|
|
422
|
+
const locationHintValidator = {
|
|
423
|
+
onBucket: async (app, bucket) => {
|
|
424
|
+
const locations = ['wnam', 'enam', 'weur', 'eeur', 'apac', 'oc'];
|
|
425
|
+
const errors = [];
|
|
426
|
+
// Default value is enam.
|
|
427
|
+
if (bucket.locationHint === undefined) {
|
|
428
|
+
return errors;
|
|
429
|
+
}
|
|
430
|
+
// Check if the value is valid.
|
|
431
|
+
if (!locations.includes(valueOf(bucket.locationHint))) {
|
|
432
|
+
errors.push({
|
|
433
|
+
message: `location_hint must be one of ${locations.join(', ')}`,
|
|
434
|
+
severity: 'error',
|
|
435
|
+
...bucket.locationHint,
|
|
436
|
+
});
|
|
437
|
+
}
|
|
438
|
+
return errors;
|
|
439
|
+
},
|
|
440
|
+
};
|
|
374
441
|
export const VALIDATORS = [
|
|
375
442
|
bindingNameValidator,
|
|
376
443
|
bindingValueValidator,
|
|
377
444
|
domainValidator,
|
|
378
445
|
envValidator,
|
|
379
446
|
observerSourceValidator,
|
|
447
|
+
taskValidator,
|
|
380
448
|
visibilityValidator,
|
|
381
449
|
nameValidator,
|
|
382
450
|
vectorIndexValidator,
|
|
383
451
|
duplicateModuleValidator,
|
|
452
|
+
locationHintValidator,
|
|
384
453
|
];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { expect, test } from 'vitest';
|
|
1
|
+
import { expect, test, describe, it } from 'vitest';
|
|
2
2
|
import { buildManifest } from './build.js';
|
|
3
3
|
import { Parser, Tokenizer } from './parse.js';
|
|
4
4
|
import { validate, VALIDATORS } from './validate.js';
|
|
@@ -10,6 +10,10 @@ application "my-app" {
|
|
|
10
10
|
observer "my-observer" {}
|
|
11
11
|
bucket "my-bucket" {}
|
|
12
12
|
queue "my-queue" {}
|
|
13
|
+
task "my-cron" {
|
|
14
|
+
type = "cron"
|
|
15
|
+
cron = "* * * * *"
|
|
16
|
+
}
|
|
13
17
|
}
|
|
14
18
|
`;
|
|
15
19
|
const tokenizer = new Tokenizer(manifest);
|
|
@@ -268,7 +272,7 @@ application "my-app" {
|
|
|
268
272
|
const validateErrors = await validate(builtApps, VALIDATORS);
|
|
269
273
|
expect(validateErrors).toMatchObject([
|
|
270
274
|
{
|
|
271
|
-
message: 'vector index must have a
|
|
275
|
+
message: 'vector index must have a dimensions',
|
|
272
276
|
},
|
|
273
277
|
{
|
|
274
278
|
message: 'vector index metric must be either cosine or euclidean',
|
|
@@ -280,7 +284,7 @@ test('validate vector index parameters', async () => {
|
|
|
280
284
|
application "my-app" {
|
|
281
285
|
service "my-service" {}
|
|
282
286
|
vector_index "my-index" {
|
|
283
|
-
|
|
287
|
+
dimensions = 128.9
|
|
284
288
|
metric = "cosine"
|
|
285
289
|
}
|
|
286
290
|
}
|
|
@@ -292,7 +296,7 @@ application "my-app" {
|
|
|
292
296
|
const validateErrors = await validate(builtApps, VALIDATORS);
|
|
293
297
|
expect(validateErrors).toMatchObject([
|
|
294
298
|
{
|
|
295
|
-
message: 'vector index
|
|
299
|
+
message: 'vector index dimensions must be an integer',
|
|
296
300
|
},
|
|
297
301
|
]);
|
|
298
302
|
});
|
|
@@ -415,3 +419,69 @@ application "my-app" {
|
|
|
415
419
|
},
|
|
416
420
|
]);
|
|
417
421
|
});
|
|
422
|
+
describe('task validator', async () => {
|
|
423
|
+
it('validates task types', async () => {
|
|
424
|
+
const manifest = `
|
|
425
|
+
application "my-app" {
|
|
426
|
+
task "my-task" {
|
|
427
|
+
type = "thingie" // not a valid task type
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
`;
|
|
431
|
+
const tokenizer = new Tokenizer(manifest);
|
|
432
|
+
const parser = new Parser(tokenizer);
|
|
433
|
+
const parsedManifest = parser.parse();
|
|
434
|
+
const [builtApps] = buildManifest(parsedManifest);
|
|
435
|
+
const validateErrors = await validate(builtApps, VALIDATORS);
|
|
436
|
+
expect(validateErrors).toMatchObject([
|
|
437
|
+
{
|
|
438
|
+
message: 'task type must be one of: cron',
|
|
439
|
+
},
|
|
440
|
+
]);
|
|
441
|
+
});
|
|
442
|
+
it('validates task cron expressions', async () => {
|
|
443
|
+
const manifest = `
|
|
444
|
+
application "my-app" {
|
|
445
|
+
task "my-task" {
|
|
446
|
+
type = "cron"
|
|
447
|
+
cron = "* * * * */30"
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
`;
|
|
451
|
+
const tokenizer = new Tokenizer(manifest);
|
|
452
|
+
const parser = new Parser(tokenizer);
|
|
453
|
+
const parsedManifest = parser.parse();
|
|
454
|
+
const [builtApps] = buildManifest(parsedManifest);
|
|
455
|
+
const validateErrors = await validate(builtApps, VALIDATORS);
|
|
456
|
+
expect(validateErrors).toMatchObject([]);
|
|
457
|
+
});
|
|
458
|
+
it('invalidates task cron expressions', async () => {
|
|
459
|
+
const invalidManifests = [
|
|
460
|
+
`
|
|
461
|
+
application "my-app" {
|
|
462
|
+
task "my-task" {
|
|
463
|
+
type = "cron"
|
|
464
|
+
cron = "* * * *" // invalid, should have 5 parts
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
`,
|
|
468
|
+
`
|
|
469
|
+
application "my-app" {
|
|
470
|
+
task "my-task" {
|
|
471
|
+
type = "cron"
|
|
472
|
+
cron = "* * * * x" // invalid last part
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
`,
|
|
476
|
+
];
|
|
477
|
+
for (const manifest of invalidManifests) {
|
|
478
|
+
const tokenizer = new Tokenizer(manifest);
|
|
479
|
+
const parser = new Parser(tokenizer);
|
|
480
|
+
const parsedManifest = parser.parse();
|
|
481
|
+
const [builtApps] = buildManifest(parsedManifest);
|
|
482
|
+
const validateErrors = await validate(builtApps, VALIDATORS);
|
|
483
|
+
expect(validateErrors.length).toBe(1);
|
|
484
|
+
expect(validateErrors[0]?.message).toContain('task cron expression is malformed');
|
|
485
|
+
}
|
|
486
|
+
});
|
|
487
|
+
});
|
package/dist/codestore.js
CHANGED
|
@@ -50,7 +50,7 @@ export async function archive(bundle) {
|
|
|
50
50
|
for await (const file of bundle) {
|
|
51
51
|
zip.file(file.name, await file.read());
|
|
52
52
|
}
|
|
53
|
-
return await zip.generateAsync({ type: '
|
|
53
|
+
return await zip.generateAsync({ type: 'uint8array' });
|
|
54
54
|
}
|
|
55
55
|
/**
|
|
56
56
|
* Extracts files from a ZIP archive into a writable bundle
|
|
@@ -63,7 +63,7 @@ export async function unarchive(zipBuffer, bundle) {
|
|
|
63
63
|
if (file.dir) {
|
|
64
64
|
continue;
|
|
65
65
|
}
|
|
66
|
-
const content = await file.async('
|
|
66
|
+
const content = await file.async('uint8array');
|
|
67
67
|
await bundle.write(file.name, Buffer.from(content));
|
|
68
68
|
}
|
|
69
69
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApplicationsRequest, ApplicationsResponse, BootstrapRequest, BootstrapResponse,
|
|
1
|
+
import { ApplicationsRequest, ApplicationsResponse, BootstrapRequest, BootstrapResponse, DeleteRequest, DeleteResponse, DeployRequest, DeployResponse, GetEnvsRequest, GetEnvsResponse, QueryResourcesRequest, QueryResourcesResponse, ReleaseRequest, ReleaseResponse, SetActiveRequest, SetActiveResponse, SetEnvsRequest, SetEnvsResponse, SetSandboxRequest, SetSandboxResponse, StatusRequest, StatusResponse, UploadBundleRequest, UploadBundleResponse, WatchRequest, WatchResponse } from "./catalog_pb.js";
|
|
2
2
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
/**
|
|
4
4
|
* CatalogService defines data interactions for the catalog portion of the
|
|
@@ -17,6 +17,17 @@ import { MethodKind } from "@bufbuild/protobuf";
|
|
|
17
17
|
export declare const CatalogService: {
|
|
18
18
|
readonly typeName: "liquidmetal.v1alpha1.CatalogService";
|
|
19
19
|
readonly methods: {
|
|
20
|
+
/**
|
|
21
|
+
* QueryResources returns the physical underlying resources for a given query
|
|
22
|
+
*
|
|
23
|
+
* @generated from rpc liquidmetal.v1alpha1.CatalogService.QueryResources
|
|
24
|
+
*/
|
|
25
|
+
readonly queryResources: {
|
|
26
|
+
readonly name: "QueryResources";
|
|
27
|
+
readonly I: typeof QueryResourcesRequest;
|
|
28
|
+
readonly O: typeof QueryResourcesResponse;
|
|
29
|
+
readonly kind: MethodKind.Unary;
|
|
30
|
+
};
|
|
20
31
|
/**
|
|
21
32
|
* Bootstrap is a special RPC that is used to bootstrap the system
|
|
22
33
|
* using a one-time token.
|
|
@@ -29,33 +40,6 @@ export declare const CatalogService: {
|
|
|
29
40
|
readonly O: typeof BootstrapResponse;
|
|
30
41
|
readonly kind: MethodKind.Unary;
|
|
31
42
|
};
|
|
32
|
-
/**
|
|
33
|
-
* @generated from rpc liquidmetal.v1alpha1.CatalogService.Versions
|
|
34
|
-
*/
|
|
35
|
-
readonly versions: {
|
|
36
|
-
readonly name: "Versions";
|
|
37
|
-
readonly I: typeof VersionsRequest;
|
|
38
|
-
readonly O: typeof VersionsResponse;
|
|
39
|
-
readonly kind: MethodKind.Unary;
|
|
40
|
-
};
|
|
41
|
-
/**
|
|
42
|
-
* @generated from rpc liquidmetal.v1alpha1.CatalogService.CreateVersion
|
|
43
|
-
*/
|
|
44
|
-
readonly createVersion: {
|
|
45
|
-
readonly name: "CreateVersion";
|
|
46
|
-
readonly I: typeof CreateVersionRequest;
|
|
47
|
-
readonly O: typeof CreateVersionResponse;
|
|
48
|
-
readonly kind: MethodKind.Unary;
|
|
49
|
-
};
|
|
50
|
-
/**
|
|
51
|
-
* @generated from rpc liquidmetal.v1alpha1.CatalogService.SetVersionSandboxStates
|
|
52
|
-
*/
|
|
53
|
-
readonly setVersionSandboxStates: {
|
|
54
|
-
readonly name: "SetVersionSandboxStates";
|
|
55
|
-
readonly I: typeof SetVersionSandboxStatesRequest;
|
|
56
|
-
readonly O: typeof SetVersionSandboxStatesResponse;
|
|
57
|
-
readonly kind: MethodKind.Unary;
|
|
58
|
-
};
|
|
59
43
|
/**
|
|
60
44
|
* Applications fetches a list of applications for an organization.
|
|
61
45
|
* This list follows best practices for pagination.
|
|
@@ -70,94 +54,113 @@ export declare const CatalogService: {
|
|
|
70
54
|
readonly kind: MethodKind.Unary;
|
|
71
55
|
};
|
|
72
56
|
/**
|
|
73
|
-
*
|
|
57
|
+
* Deploy creates a new version, or branch, or amends in place.
|
|
58
|
+
*
|
|
59
|
+
* @generated from rpc liquidmetal.v1alpha1.CatalogService.Deploy
|
|
74
60
|
*/
|
|
75
|
-
readonly
|
|
76
|
-
readonly name: "
|
|
77
|
-
readonly I: typeof
|
|
78
|
-
readonly O: typeof
|
|
61
|
+
readonly deploy: {
|
|
62
|
+
readonly name: "Deploy";
|
|
63
|
+
readonly I: typeof DeployRequest;
|
|
64
|
+
readonly O: typeof DeployResponse;
|
|
79
65
|
readonly kind: MethodKind.Unary;
|
|
80
66
|
};
|
|
81
67
|
/**
|
|
82
|
-
*
|
|
68
|
+
* UploadBundle uploads a bundle for a specific application version.
|
|
69
|
+
*
|
|
70
|
+
* @generated from rpc liquidmetal.v1alpha1.CatalogService.UploadBundle
|
|
83
71
|
*/
|
|
84
|
-
readonly
|
|
85
|
-
readonly name: "
|
|
86
|
-
readonly I: typeof
|
|
87
|
-
readonly O: typeof
|
|
72
|
+
readonly uploadBundle: {
|
|
73
|
+
readonly name: "UploadBundle";
|
|
74
|
+
readonly I: typeof UploadBundleRequest;
|
|
75
|
+
readonly O: typeof UploadBundleResponse;
|
|
88
76
|
readonly kind: MethodKind.Unary;
|
|
89
77
|
};
|
|
90
78
|
/**
|
|
91
|
-
*
|
|
79
|
+
* SetEnvs sets multiple environment variables for an application/version.
|
|
80
|
+
*
|
|
81
|
+
* @generated from rpc liquidmetal.v1alpha1.CatalogService.SetEnvs
|
|
92
82
|
*/
|
|
93
|
-
readonly
|
|
94
|
-
readonly name: "
|
|
95
|
-
readonly I: typeof
|
|
96
|
-
readonly O: typeof
|
|
83
|
+
readonly setEnvs: {
|
|
84
|
+
readonly name: "SetEnvs";
|
|
85
|
+
readonly I: typeof SetEnvsRequest;
|
|
86
|
+
readonly O: typeof SetEnvsResponse;
|
|
97
87
|
readonly kind: MethodKind.Unary;
|
|
98
88
|
};
|
|
99
89
|
/**
|
|
100
|
-
*
|
|
90
|
+
* GetEnvs gets multiple environment variables for an application/version.
|
|
91
|
+
*
|
|
92
|
+
* @generated from rpc liquidmetal.v1alpha1.CatalogService.GetEnvs
|
|
101
93
|
*/
|
|
102
|
-
readonly
|
|
103
|
-
readonly name: "
|
|
104
|
-
readonly I: typeof
|
|
105
|
-
readonly O: typeof
|
|
94
|
+
readonly getEnvs: {
|
|
95
|
+
readonly name: "GetEnvs";
|
|
96
|
+
readonly I: typeof GetEnvsRequest;
|
|
97
|
+
readonly O: typeof GetEnvsResponse;
|
|
106
98
|
readonly kind: MethodKind.Unary;
|
|
107
99
|
};
|
|
108
100
|
/**
|
|
109
|
-
*
|
|
101
|
+
* Release allows a deployed application to converge.
|
|
110
102
|
*
|
|
111
|
-
* @generated from rpc liquidmetal.v1alpha1.CatalogService.
|
|
103
|
+
* @generated from rpc liquidmetal.v1alpha1.CatalogService.Release
|
|
112
104
|
*/
|
|
113
|
-
readonly
|
|
114
|
-
readonly name: "
|
|
115
|
-
readonly I: typeof
|
|
116
|
-
readonly O: typeof
|
|
105
|
+
readonly release: {
|
|
106
|
+
readonly name: "Release";
|
|
107
|
+
readonly I: typeof ReleaseRequest;
|
|
108
|
+
readonly O: typeof ReleaseResponse;
|
|
117
109
|
readonly kind: MethodKind.Unary;
|
|
118
110
|
};
|
|
119
111
|
/**
|
|
120
|
-
*
|
|
112
|
+
* Watch attaches a watcher to the ring buffer associated with an application.
|
|
113
|
+
*
|
|
114
|
+
* @generated from rpc liquidmetal.v1alpha1.CatalogService.Watch
|
|
115
|
+
*/
|
|
116
|
+
readonly watch: {
|
|
117
|
+
readonly name: "Watch";
|
|
118
|
+
readonly I: typeof WatchRequest;
|
|
119
|
+
readonly O: typeof WatchResponse;
|
|
120
|
+
readonly kind: MethodKind.ServerStreaming;
|
|
121
|
+
};
|
|
122
|
+
/**
|
|
123
|
+
* Delete sets an application to deleting.
|
|
121
124
|
*
|
|
122
|
-
* @generated from rpc liquidmetal.v1alpha1.CatalogService.
|
|
125
|
+
* @generated from rpc liquidmetal.v1alpha1.CatalogService.Delete
|
|
123
126
|
*/
|
|
124
|
-
readonly
|
|
125
|
-
readonly name: "
|
|
126
|
-
readonly I: typeof
|
|
127
|
-
readonly O: typeof
|
|
127
|
+
readonly delete: {
|
|
128
|
+
readonly name: "Delete";
|
|
129
|
+
readonly I: typeof DeleteRequest;
|
|
130
|
+
readonly O: typeof DeleteResponse;
|
|
128
131
|
readonly kind: MethodKind.Unary;
|
|
129
132
|
};
|
|
130
133
|
/**
|
|
131
|
-
*
|
|
134
|
+
* setActive sets application active/inactive (start/stop) state.
|
|
132
135
|
*
|
|
133
|
-
* @generated from rpc liquidmetal.v1alpha1.CatalogService.
|
|
136
|
+
* @generated from rpc liquidmetal.v1alpha1.CatalogService.SetActive
|
|
134
137
|
*/
|
|
135
|
-
readonly
|
|
136
|
-
readonly name: "
|
|
137
|
-
readonly I: typeof
|
|
138
|
-
readonly O: typeof
|
|
138
|
+
readonly setActive: {
|
|
139
|
+
readonly name: "SetActive";
|
|
140
|
+
readonly I: typeof SetActiveRequest;
|
|
141
|
+
readonly O: typeof SetActiveResponse;
|
|
139
142
|
readonly kind: MethodKind.Unary;
|
|
140
143
|
};
|
|
141
144
|
/**
|
|
142
|
-
*
|
|
145
|
+
* setSandbox sets application sandboxed/unsandboxed state.
|
|
143
146
|
*
|
|
144
|
-
* @generated from rpc liquidmetal.v1alpha1.CatalogService.
|
|
147
|
+
* @generated from rpc liquidmetal.v1alpha1.CatalogService.SetSandbox
|
|
145
148
|
*/
|
|
146
|
-
readonly
|
|
147
|
-
readonly name: "
|
|
148
|
-
readonly I: typeof
|
|
149
|
-
readonly O: typeof
|
|
149
|
+
readonly setSandbox: {
|
|
150
|
+
readonly name: "SetSandbox";
|
|
151
|
+
readonly I: typeof SetSandboxRequest;
|
|
152
|
+
readonly O: typeof SetSandboxResponse;
|
|
150
153
|
readonly kind: MethodKind.Unary;
|
|
151
154
|
};
|
|
152
155
|
/**
|
|
153
|
-
*
|
|
156
|
+
* Status returns the status of an application@version.
|
|
154
157
|
*
|
|
155
|
-
* @generated from rpc liquidmetal.v1alpha1.CatalogService.
|
|
158
|
+
* @generated from rpc liquidmetal.v1alpha1.CatalogService.Status
|
|
156
159
|
*/
|
|
157
|
-
readonly
|
|
158
|
-
readonly name: "
|
|
159
|
-
readonly I: typeof
|
|
160
|
-
readonly O: typeof
|
|
160
|
+
readonly status: {
|
|
161
|
+
readonly name: "Status";
|
|
162
|
+
readonly I: typeof StatusRequest;
|
|
163
|
+
readonly O: typeof StatusResponse;
|
|
161
164
|
readonly kind: MethodKind.Unary;
|
|
162
165
|
};
|
|
163
166
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog_connect.d.ts","sourceRoot":"","sources":["../../../src/liquidmetal/v1alpha1/catalog_connect.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,
|
|
1
|
+
{"version":3,"file":"catalog_connect.d.ts","sourceRoot":"","sources":["../../../src/liquidmetal/v1alpha1/catalog_connect.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,aAAa,EAAE,cAAc,EAAE,aAAa,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,cAAc,EAAE,eAAe,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,cAAc,EAAE,eAAe,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,aAAa,EAAE,cAAc,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACpf,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,cAAc;;;QAGvB;;;;WAIG;;;;;;;QAOH;;;;;WAKG;;;;;;;QAOH;;;;;;WAMG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;;CAQG,CAAC"}
|