@liquidmetal-ai/drizzle 0.0.1 → 0.0.3

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.
Files changed (36) hide show
  1. package/.turbo/turbo-lint.log +6 -0
  2. package/dist/appify/index.test.js +1 -1
  3. package/dist/appify/parse.d.ts.map +1 -1
  4. package/dist/appify/parse.js +7 -1
  5. package/dist/appify/parse.test.js +1 -1
  6. package/dist/appify/validate.d.ts.map +1 -1
  7. package/dist/appify/validate.js +15 -4
  8. package/dist/appify/validate.test.js +29 -32
  9. package/dist/codestore.test.js +3 -3
  10. package/dist/liquidmetal/v1alpha1/catalog_connect.d.ts +19 -1
  11. package/dist/liquidmetal/v1alpha1/catalog_connect.d.ts.map +1 -1
  12. package/dist/liquidmetal/v1alpha1/catalog_connect.js +19 -1
  13. package/dist/liquidmetal/v1alpha1/catalog_pb.d.ts +198 -6
  14. package/dist/liquidmetal/v1alpha1/catalog_pb.d.ts.map +1 -1
  15. package/dist/liquidmetal/v1alpha1/catalog_pb.js +320 -10
  16. package/dist/liquidmetal/v1alpha1/rainbow_public_connect.d.ts +26 -0
  17. package/dist/liquidmetal/v1alpha1/rainbow_public_connect.d.ts.map +1 -0
  18. package/dist/liquidmetal/v1alpha1/rainbow_public_connect.js +29 -0
  19. package/dist/liquidmetal/v1alpha1/rainbow_public_pb.d.ts +202 -0
  20. package/dist/liquidmetal/v1alpha1/rainbow_public_pb.d.ts.map +1 -0
  21. package/dist/liquidmetal/v1alpha1/rainbow_public_pb.js +298 -0
  22. package/dist/unsafe/codestore.d.ts.map +1 -1
  23. package/dist/unsafe/codestore.js +12 -2
  24. package/package.json +1 -1
  25. package/src/appify/index.test.ts +1 -1
  26. package/src/appify/parse.test.ts +1 -1
  27. package/src/appify/parse.ts +8 -2
  28. package/src/appify/validate.test.ts +29 -32
  29. package/src/appify/validate.ts +16 -4
  30. package/src/codestore.test.ts +3 -3
  31. package/src/liquidmetal/v1alpha1/catalog_connect.ts +19 -1
  32. package/src/liquidmetal/v1alpha1/catalog_pb.ts +390 -10
  33. package/src/liquidmetal/v1alpha1/rainbow_public_connect.ts +32 -0
  34. package/src/liquidmetal/v1alpha1/rainbow_public_pb.ts +366 -0
  35. package/src/unsafe/codestore.ts +13 -2
  36. package/tsconfig.tsbuildinfo +1 -1
@@ -0,0 +1,6 @@
1
+
2
+ 
3
+ > @liquidmetal-ai/drizzle@0.0.2 lint
4
+ > eslint . --max-warnings=0
5
+
6
+ â ™
@@ -20,7 +20,7 @@ application "app" {
20
20
  service "my-svc" {}
21
21
  }
22
22
  `;
23
- expect(mustManifestFromString(manifest)).rejects.toThrowError(ManifestError);
23
+ await expect(mustManifestFromString(manifest)).rejects.toThrowError(ManifestError);
24
24
  });
25
25
  test('mustManifestFromString with warnings', async () => {
26
26
  const manifest = `
@@ -1 +1 @@
1
- {"version":3,"file":"parse.d.ts","sourceRoot":"","sources":["../../src/appify/parse.ts"],"names":[],"mappings":"AAAA,KAAK,SAAS,GAAG;IACf,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG;IACpC,IAAI,EAAE,QAAQ,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG;IACtC,IAAI,EAAE,UAAU,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG;IACzC,IAAI,EAAE,aAAa,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG;IACxC,IAAI,EAAE,YAAY,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG;IACrC,IAAI,EAAE,SAAS,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,WAAW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  this.errors.push({
270
270
  expected: ['expression'],
271
271
  received: token.type,
272
- message: `Expected expression but got ${token.type} at ${token.line}:${token.column}`,
272
+ message: `Expected expression but got ${token.type}`,
273
273
  line: token.line,
274
274
  column: token.column,
275
275
  start: token.start,
@@ -289,6 +289,11 @@ export class Parser {
289
289
  const elements = [];
290
290
  // This whole ignoring newlines thing is really just context.
291
291
  let next = this.tokenizer.peek(['whitespace', 'newline']);
292
+ // Empty arrays are ok.
293
+ if (next.type === 'bracket' && next.value === ']') {
294
+ this.tokenizer.next(['whitespace', 'newline']);
295
+ return { type: 'array', elements, line: next.line, column: next.column, start: next.start, end: next.end };
296
+ }
292
297
  while (true) {
293
298
  elements.push(this.parseExpression(['whitespace', 'newline']));
294
299
  next = this.tokenizer.peek(['whitespace', 'newline']);
@@ -296,6 +301,7 @@ export class Parser {
296
301
  this.tokenizer.next(['whitespace', 'newline']);
297
302
  return { type: 'array', elements, line: next.line, column: next.column, start: next.start, end: next.end };
298
303
  }
304
+ next = this.tokenizer.peek(['whitespace', 'newline']);
299
305
  if (next.type === 'comma') {
300
306
  this.tokenizer.next();
301
307
  next = this.tokenizer.peek(['whitespace', 'newline']);
@@ -231,6 +231,7 @@ application "my-app" {
231
231
  `);
232
232
  const parser = new Parser(tokenizer);
233
233
  parser.parse();
234
+ console.log(parser.errors);
234
235
  expect(parser.errors).toHaveLength(1);
235
236
  });
236
237
  test('unclosed array', () => {
@@ -263,7 +264,6 @@ application "my-app" {
263
264
  `);
264
265
  const parser = new Parser(tokenizer);
265
266
  parser.parse();
266
- console.log(parser.errors);
267
267
  expect(parser.errors).toHaveLength(0);
268
268
  });
269
269
  test('parse object with trash', () => {
@@ -1 +1 @@
1
- {"version":3,"file":"validate.d.ts","sourceRoot":"","sources":["../../src/appify/validate.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,EACL,WAAW,EACX,OAAO,EACP,MAAM,EACN,YAAY,EACZ,MAAM,EACN,GAAG,EACH,QAAQ,EACR,KAAK,E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AU,EAAE,SAAS,EASjC,CAAC"}
@@ -128,7 +128,8 @@ const bindingValueValidator = {
128
128
  return errors;
129
129
  },
130
130
  };
131
- const domainValidator = {
131
+ // Disabled for now.
132
+ const _domainValidator = {
132
133
  onDomain: async (app, domain) => {
133
134
  const errors = [];
134
135
  if (domain.fqdn === undefined) {
@@ -242,7 +243,7 @@ const visibilityValidator = {
242
243
  onQueue: visibilityValidatorFn,
243
244
  onBucket: visibilityValidatorFn,
244
245
  };
245
- async function nameValidatorFn(app, obj) {
246
+ async function nameValidatorFn(_app, obj) {
246
247
  const errors = [];
247
248
  if (!valueOf(obj.name).match(/^[a-z][a-z0-9-]*$/)) {
248
249
  errors.push({
@@ -253,8 +254,19 @@ async function nameValidatorFn(app, obj) {
253
254
  }
254
255
  return errors;
255
256
  }
257
+ async function applicationNameValidator(_app, obj) {
258
+ const errors = [];
259
+ if (!valueOf(obj.name).match(/^[a-zA-Z][a-zA-Z0-9-_]*$/)) {
260
+ errors.push({
261
+ message: `name must be alphanumeric or _, -, and start with a letter`,
262
+ severity: 'error',
263
+ ...obj.name,
264
+ });
265
+ }
266
+ return errors;
267
+ }
256
268
  const nameValidator = {
257
- onApplication: nameValidatorFn,
269
+ onApplication: applicationNameValidator,
258
270
  onService: nameValidatorFn,
259
271
  onObserver: nameValidatorFn,
260
272
  onBucket: nameValidatorFn,
@@ -336,7 +348,6 @@ const duplicateModuleValidator = {
336
348
  export const VALIDATORS = [
337
349
  bindingNameValidator,
338
350
  bindingValueValidator,
339
- domainValidator,
340
351
  envValidator,
341
352
  observerSourceValidator,
342
353
  visibilityValidator,
@@ -52,32 +52,32 @@ application "my-app" {
52
52
  },
53
53
  ]);
54
54
  });
55
- test('domainValidator', async () => {
56
- const manifest = `
57
- application "my-app" {
58
- service "my-service" {
59
- domain {
60
- fqdn = "not-valid.com_foo"
61
- }
62
- }
63
- }
64
- `;
65
- const tokenizer = new Tokenizer(manifest);
66
- const parser = new Parser(tokenizer);
67
- const parsedManifest = parser.parse();
68
- const [builtApps] = buildManifest(parsedManifest);
69
- const validateErrors = await validate(builtApps, VALIDATORS);
70
- expect(validateErrors).toMatchObject([
71
- {
72
- message: 'domain "not-valid.com_foo" is an invalid domain name',
73
- line: 5,
74
- column: 14,
75
- start: 75,
76
- end: 94,
77
- severity: 'warning',
78
- },
79
- ]);
80
- });
55
+ // test('domainValidator', async () => {
56
+ // const manifest = `
57
+ // application "my-app" {
58
+ // service "my-service" {
59
+ // domain {
60
+ // fqdn = "not-valid.com_foo"
61
+ // }
62
+ // }
63
+ // }
64
+ // `;
65
+ // const tokenizer = new Tokenizer(manifest);
66
+ // const parser = new Parser(tokenizer);
67
+ // const parsedManifest = parser.parse();
68
+ // const [builtApps] = buildManifest(parsedManifest);
69
+ // const validateErrors = await validate(builtApps, VALIDATORS);
70
+ // expect(validateErrors).toMatchObject([
71
+ // {
72
+ // message: 'domain "not-valid.com_foo" is an invalid domain name',
73
+ // line: 5,
74
+ // column: 14,
75
+ // start: 75,
76
+ // end: 94,
77
+ // severity: 'warning',
78
+ // },
79
+ // ]);
80
+ // });
81
81
  test('visibilityValidator', async () => {
82
82
  const manifest = `
83
83
  application "my-app" {
@@ -104,8 +104,8 @@ application "my-app" {
104
104
  });
105
105
  test('nameValidator', async () => {
106
106
  const manifest = `
107
- application "MyApp" {
108
- service "my-service" {}
107
+ application "My_App" {
108
+ service "my_service" {}
109
109
  }
110
110
  `;
111
111
  const tokenizer = new Tokenizer(manifest);
@@ -116,10 +116,7 @@ application "MyApp" {
116
116
  expect(validateErrors).toMatchObject([
117
117
  {
118
118
  message: 'name must be lowercase and dash-separated',
119
- line: 2,
120
- column: 13,
121
- start: 13,
122
- end: 20,
119
+ line: 3,
123
120
  severity: 'error',
124
121
  },
125
122
  ]);
@@ -46,13 +46,13 @@ test('read file from bundle', async () => {
46
46
  });
47
47
  test('read missing file from bundle', async () => {
48
48
  const bundle = new MemoryBundle();
49
- expect(bundle.read('file1.txt')).rejects.toThrowError('File not found: file1.txt');
49
+ await expect(bundle.read('file1.txt')).rejects.toThrowError('File not found: file1.txt');
50
50
  });
51
51
  test('delete file from bundle', async () => {
52
52
  const bundle = new MemoryBundle();
53
53
  await bundle.write('file1.txt', Buffer.from('hello'));
54
54
  await bundle.delete('file1.txt');
55
- expect(bundle.read('file1.txt')).rejects.toThrowError('File not found: file1.txt');
55
+ await expect(bundle.read('file1.txt')).rejects.toThrowError('File not found: file1.txt');
56
56
  });
57
57
  test('for await of bundle', async () => {
58
58
  const bundle = new MemoryBundle();
@@ -73,7 +73,7 @@ test('stat file from bundle', async () => {
73
73
  });
74
74
  test('stat missing file from bundle', async () => {
75
75
  const bundle = new MemoryBundle();
76
- expect(bundle.stat('file1.txt')).rejects.toThrowError('File not found: file1.txt');
76
+ await expect(bundle.stat('file1.txt')).rejects.toThrowError('File not found: file1.txt');
77
77
  });
78
78
  test('hash bundle', async () => {
79
79
  const bundle = new MemoryBundle();
@@ -1,4 +1,4 @@
1
- import { ApplicationsRequest, ApplicationsResponse, BootstrapRequest, BootstrapResponse, CreateApplicationsRequest, CreateApplicationsResponse, CreateVersionRequest, CreateVersionResponse, DeleteApplicationsRequest, DeleteApplicationsResponse, GetEnvRequest, GetEnvResponse, QueryResourcesRequest, QueryResourcesResponse, SetApplicationActiveStatesRequest, SetApplicationActiveStatesResponse, SetEnvRequest, SetEnvResponse, StatBundleRequest, StatBundleResponse, UploadBundleRequest, UploadBundleResponse, VersionsRequest, VersionsResponse } from "./catalog_pb.js";
1
+ import { ApplicationsRequest, ApplicationsResponse, BootstrapRequest, BootstrapResponse, CreateApplicationsRequest, CreateApplicationsResponse, CreateVersionRequest, CreateVersionResponse, DeleteApplicationsRequest, DeleteApplicationsResponse, GetEnvRequest, GetEnvResponse, QueryResourcesRequest, QueryResourcesResponse, SetApplicationActiveStatesRequest, SetApplicationActiveStatesResponse, SetApplicationManifestsRequest, SetApplicationManifestsResponse, SetEnvRequest, SetEnvResponse, SetVersionSandboxStatesRequest, SetVersionSandboxStatesResponse, StatBundleRequest, StatBundleResponse, UploadBundleRequest, UploadBundleResponse, VersionsRequest, VersionsResponse } 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
@@ -35,6 +35,15 @@ export declare const CatalogService: {
35
35
  readonly O: typeof CreateVersionResponse;
36
36
  readonly kind: MethodKind.Unary;
37
37
  };
38
+ /**
39
+ * @generated from rpc liquidmetal.v1alpha1.CatalogService.SetVersionSandboxStates
40
+ */
41
+ readonly setVersionSandboxStates: {
42
+ readonly name: "SetVersionSandboxStates";
43
+ readonly I: typeof SetVersionSandboxStatesRequest;
44
+ readonly O: typeof SetVersionSandboxStatesResponse;
45
+ readonly kind: MethodKind.Unary;
46
+ };
38
47
  /**
39
48
  * Applications fetches a list of applications for an organization.
40
49
  * This list follows best practices for pagination.
@@ -75,6 +84,15 @@ export declare const CatalogService: {
75
84
  readonly O: typeof DeleteApplicationsResponse;
76
85
  readonly kind: MethodKind.Unary;
77
86
  };
87
+ /**
88
+ * @generated from rpc liquidmetal.v1alpha1.CatalogService.SetApplicationManifests
89
+ */
90
+ readonly setApplicationManifests: {
91
+ readonly name: "SetApplicationManifests";
92
+ readonly I: typeof SetApplicationManifestsRequest;
93
+ readonly O: typeof SetApplicationManifestsResponse;
94
+ readonly kind: MethodKind.Unary;
95
+ };
78
96
  /**
79
97
  * UploadBundle uploads a bundle for a specific application version.
80
98
  *
@@ -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,yBAAyB,EAAE,0BAA0B,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,aAAa,EAAE,cAAc,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,iCAAi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;QAOH;;;;;;WAMG;;;;;;;QAOH;;WAEG;;;;;;;QAOH;;WAEG;;;;;;;QAOH;;WAEG;;;;;;;QAOH;;WAEG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;;WAKG;;;;;;;;CAQG,CAAC"}
@@ -2,7 +2,7 @@
2
2
  // @generated from file liquidmetal/v1alpha1/catalog.proto (package liquidmetal.v1alpha1, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
- import { ApplicationsRequest, ApplicationsResponse, BootstrapRequest, BootstrapResponse, CreateApplicationsRequest, CreateApplicationsResponse, CreateVersionRequest, CreateVersionResponse, DeleteApplicationsRequest, DeleteApplicationsResponse, GetEnvRequest, GetEnvResponse, QueryResourcesRequest, QueryResourcesResponse, SetApplicationActiveStatesRequest, SetApplicationActiveStatesResponse, SetEnvRequest, SetEnvResponse, StatBundleRequest, StatBundleResponse, UploadBundleRequest, UploadBundleResponse, VersionsRequest, VersionsResponse } from "./catalog_pb.js";
5
+ import { ApplicationsRequest, ApplicationsResponse, BootstrapRequest, BootstrapResponse, CreateApplicationsRequest, CreateApplicationsResponse, CreateVersionRequest, CreateVersionResponse, DeleteApplicationsRequest, DeleteApplicationsResponse, GetEnvRequest, GetEnvResponse, QueryResourcesRequest, QueryResourcesResponse, SetApplicationActiveStatesRequest, SetApplicationActiveStatesResponse, SetApplicationManifestsRequest, SetApplicationManifestsResponse, SetEnvRequest, SetEnvResponse, SetVersionSandboxStatesRequest, SetVersionSandboxStatesResponse, StatBundleRequest, StatBundleResponse, UploadBundleRequest, UploadBundleResponse, VersionsRequest, VersionsResponse } from "./catalog_pb.js";
6
6
  import { MethodKind } from "@bufbuild/protobuf";
7
7
  /**
8
8
  * CatalogService defines data interactions for the catalog portion of the
@@ -39,6 +39,15 @@ export const CatalogService = {
39
39
  O: CreateVersionResponse,
40
40
  kind: MethodKind.Unary,
41
41
  },
42
+ /**
43
+ * @generated from rpc liquidmetal.v1alpha1.CatalogService.SetVersionSandboxStates
44
+ */
45
+ setVersionSandboxStates: {
46
+ name: "SetVersionSandboxStates",
47
+ I: SetVersionSandboxStatesRequest,
48
+ O: SetVersionSandboxStatesResponse,
49
+ kind: MethodKind.Unary,
50
+ },
42
51
  /**
43
52
  * Applications fetches a list of applications for an organization.
44
53
  * This list follows best practices for pagination.
@@ -79,6 +88,15 @@ export const CatalogService = {
79
88
  O: DeleteApplicationsResponse,
80
89
  kind: MethodKind.Unary,
81
90
  },
91
+ /**
92
+ * @generated from rpc liquidmetal.v1alpha1.CatalogService.SetApplicationManifests
93
+ */
94
+ setApplicationManifests: {
95
+ name: "SetApplicationManifests",
96
+ I: SetApplicationManifestsRequest,
97
+ O: SetApplicationManifestsResponse,
98
+ kind: MethodKind.Unary,
99
+ },
82
100
  /**
83
101
  * UploadBundle uploads a bundle for a specific application version.
84
102
  *
@@ -105,6 +105,10 @@ export declare class ApplicationsResponse_Application extends Message<Applicatio
105
105
  * @generated from field: bool is_active = 8;
106
106
  */
107
107
  isActive: boolean;
108
+ /**
109
+ * @generated from field: string organization_id = 9;
110
+ */
111
+ organizationId: string;
108
112
  constructor(data?: PartialMessage<ApplicationsResponse_Application>);
109
113
  static readonly runtime: typeof proto3;
110
114
  static readonly typeName = "liquidmetal.v1alpha1.ApplicationsResponse.Application";
@@ -307,11 +311,15 @@ export declare class VersionsResponse_Version extends Message<VersionsResponse_V
307
311
  */
308
312
  previousVersionId: string;
309
313
  /**
310
- * @generated from field: google.protobuf.Timestamp created_at = 3;
314
+ * @generated from field: bool is_sandboxed = 3;
315
+ */
316
+ isSandboxed: boolean;
317
+ /**
318
+ * @generated from field: google.protobuf.Timestamp created_at = 4;
311
319
  */
312
320
  createdAt?: Timestamp;
313
321
  /**
314
- * @generated from field: google.protobuf.Timestamp updated_at = 4;
322
+ * @generated from field: google.protobuf.Timestamp updated_at = 5;
315
323
  */
316
324
  updatedAt?: Timestamp;
317
325
  constructor(data?: PartialMessage<VersionsResponse_Version>);
@@ -339,6 +347,10 @@ export declare class CreateVersionRequest extends Message<CreateVersionRequest>
339
347
  * @generated from field: string previous_version_id = 3;
340
348
  */
341
349
  previousVersionId: string;
350
+ /**
351
+ * @generated from field: optional bool is_sandboxed = 4;
352
+ */
353
+ isSandboxed?: boolean;
342
354
  constructor(data?: PartialMessage<CreateVersionRequest>);
343
355
  static readonly runtime: typeof proto3;
344
356
  static readonly typeName = "liquidmetal.v1alpha1.CreateVersionRequest";
@@ -360,6 +372,10 @@ export declare class CreateVersionResponse extends Message<CreateVersionResponse
360
372
  * @generated from field: string previous_version_id = 2;
361
373
  */
362
374
  previousVersionId: string;
375
+ /**
376
+ * @generated from field: bool is_sandboxed = 3;
377
+ */
378
+ isSandboxed: boolean;
363
379
  constructor(data?: PartialMessage<CreateVersionResponse>);
364
380
  static readonly runtime: typeof proto3;
365
381
  static readonly typeName = "liquidmetal.v1alpha1.CreateVersionResponse";
@@ -369,6 +385,90 @@ export declare class CreateVersionResponse extends Message<CreateVersionResponse
369
385
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateVersionResponse;
370
386
  static equals(a: CreateVersionResponse | PlainMessage<CreateVersionResponse> | undefined, b: CreateVersionResponse | PlainMessage<CreateVersionResponse> | undefined): boolean;
371
387
  }
388
+ /**
389
+ * @generated from message liquidmetal.v1alpha1.SetVersionSandboxStatesRequest
390
+ */
391
+ export declare class SetVersionSandboxStatesRequest extends Message<SetVersionSandboxStatesRequest> {
392
+ /**
393
+ * @generated from field: repeated liquidmetal.v1alpha1.SetVersionSandboxStatesRequest.Version versions = 1;
394
+ */
395
+ versions: SetVersionSandboxStatesRequest_Version[];
396
+ /**
397
+ * @generated from field: string user_id = 2;
398
+ */
399
+ userId: string;
400
+ /**
401
+ * @generated from field: string organization_id = 3;
402
+ */
403
+ organizationId: string;
404
+ constructor(data?: PartialMessage<SetVersionSandboxStatesRequest>);
405
+ static readonly runtime: typeof proto3;
406
+ static readonly typeName = "liquidmetal.v1alpha1.SetVersionSandboxStatesRequest";
407
+ static readonly fields: FieldList;
408
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetVersionSandboxStatesRequest;
409
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetVersionSandboxStatesRequest;
410
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetVersionSandboxStatesRequest;
411
+ static equals(a: SetVersionSandboxStatesRequest | PlainMessage<SetVersionSandboxStatesRequest> | undefined, b: SetVersionSandboxStatesRequest | PlainMessage<SetVersionSandboxStatesRequest> | undefined): boolean;
412
+ }
413
+ /**
414
+ * @generated from message liquidmetal.v1alpha1.SetVersionSandboxStatesRequest.Version
415
+ */
416
+ export declare class SetVersionSandboxStatesRequest_Version extends Message<SetVersionSandboxStatesRequest_Version> {
417
+ /**
418
+ * @generated from field: string version_id = 1;
419
+ */
420
+ versionId: string;
421
+ /**
422
+ * @generated from field: bool is_sandboxed = 2;
423
+ */
424
+ isSandboxed: boolean;
425
+ constructor(data?: PartialMessage<SetVersionSandboxStatesRequest_Version>);
426
+ static readonly runtime: typeof proto3;
427
+ static readonly typeName = "liquidmetal.v1alpha1.SetVersionSandboxStatesRequest.Version";
428
+ static readonly fields: FieldList;
429
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetVersionSandboxStatesRequest_Version;
430
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetVersionSandboxStatesRequest_Version;
431
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetVersionSandboxStatesRequest_Version;
432
+ static equals(a: SetVersionSandboxStatesRequest_Version | PlainMessage<SetVersionSandboxStatesRequest_Version> | undefined, b: SetVersionSandboxStatesRequest_Version | PlainMessage<SetVersionSandboxStatesRequest_Version> | undefined): boolean;
433
+ }
434
+ /**
435
+ * @generated from message liquidmetal.v1alpha1.SetVersionSandboxStatesResponse
436
+ */
437
+ export declare class SetVersionSandboxStatesResponse extends Message<SetVersionSandboxStatesResponse> {
438
+ /**
439
+ * @generated from field: repeated liquidmetal.v1alpha1.SetVersionSandboxStatesResponse.Version success = 1;
440
+ */
441
+ success: SetVersionSandboxStatesResponse_Version[];
442
+ /**
443
+ * @generated from field: repeated liquidmetal.v1alpha1.SetVersionSandboxStatesResponse.Version failure = 2;
444
+ */
445
+ failure: SetVersionSandboxStatesResponse_Version[];
446
+ constructor(data?: PartialMessage<SetVersionSandboxStatesResponse>);
447
+ static readonly runtime: typeof proto3;
448
+ static readonly typeName = "liquidmetal.v1alpha1.SetVersionSandboxStatesResponse";
449
+ static readonly fields: FieldList;
450
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetVersionSandboxStatesResponse;
451
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetVersionSandboxStatesResponse;
452
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetVersionSandboxStatesResponse;
453
+ static equals(a: SetVersionSandboxStatesResponse | PlainMessage<SetVersionSandboxStatesResponse> | undefined, b: SetVersionSandboxStatesResponse | PlainMessage<SetVersionSandboxStatesResponse> | undefined): boolean;
454
+ }
455
+ /**
456
+ * @generated from message liquidmetal.v1alpha1.SetVersionSandboxStatesResponse.Version
457
+ */
458
+ export declare class SetVersionSandboxStatesResponse_Version extends Message<SetVersionSandboxStatesResponse_Version> {
459
+ /**
460
+ * @generated from field: string version_id = 1;
461
+ */
462
+ versionId: string;
463
+ constructor(data?: PartialMessage<SetVersionSandboxStatesResponse_Version>);
464
+ static readonly runtime: typeof proto3;
465
+ static readonly typeName = "liquidmetal.v1alpha1.SetVersionSandboxStatesResponse.Version";
466
+ static readonly fields: FieldList;
467
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetVersionSandboxStatesResponse_Version;
468
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetVersionSandboxStatesResponse_Version;
469
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetVersionSandboxStatesResponse_Version;
470
+ static equals(a: SetVersionSandboxStatesResponse_Version | PlainMessage<SetVersionSandboxStatesResponse_Version> | undefined, b: SetVersionSandboxStatesResponse_Version | PlainMessage<SetVersionSandboxStatesResponse_Version> | undefined): boolean;
471
+ }
372
472
  /**
373
473
  * @generated from message liquidmetal.v1alpha1.UploadBundleRequest
374
474
  */
@@ -713,13 +813,13 @@ export declare class SetApplicationActiveStatesRequest extends Message<SetApplic
713
813
  */
714
814
  export declare class SetApplicationActiveStatesRequest_State extends Message<SetApplicationActiveStatesRequest_State> {
715
815
  /**
716
- * @generated from field: string application_name = 1;
816
+ * @generated from field: string name = 1;
717
817
  */
718
- applicationName: string;
818
+ name: string;
719
819
  /**
720
- * @generated from field: string application_version_id = 2;
820
+ * @generated from field: string version_id = 2;
721
821
  */
722
- applicationVersionId: string;
822
+ versionId: string;
723
823
  /**
724
824
  * @generated from field: bool is_active = 3;
725
825
  */
@@ -775,6 +875,98 @@ export declare class SetApplicationActiveStatesResponse_Application extends Mess
775
875
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetApplicationActiveStatesResponse_Application;
776
876
  static equals(a: SetApplicationActiveStatesResponse_Application | PlainMessage<SetApplicationActiveStatesResponse_Application> | undefined, b: SetApplicationActiveStatesResponse_Application | PlainMessage<SetApplicationActiveStatesResponse_Application> | undefined): boolean;
777
877
  }
878
+ /**
879
+ * @generated from message liquidmetal.v1alpha1.SetApplicationManifestsRequest
880
+ */
881
+ export declare class SetApplicationManifestsRequest extends Message<SetApplicationManifestsRequest> {
882
+ /**
883
+ * @generated from field: repeated liquidmetal.v1alpha1.SetApplicationManifestsRequest.Manifest manifests = 1;
884
+ */
885
+ manifests: SetApplicationManifestsRequest_Manifest[];
886
+ /**
887
+ * @generated from field: string user_id = 2;
888
+ */
889
+ userId: string;
890
+ /**
891
+ * @generated from field: string organization_id = 3;
892
+ */
893
+ organizationId: string;
894
+ constructor(data?: PartialMessage<SetApplicationManifestsRequest>);
895
+ static readonly runtime: typeof proto3;
896
+ static readonly typeName = "liquidmetal.v1alpha1.SetApplicationManifestsRequest";
897
+ static readonly fields: FieldList;
898
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetApplicationManifestsRequest;
899
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetApplicationManifestsRequest;
900
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetApplicationManifestsRequest;
901
+ static equals(a: SetApplicationManifestsRequest | PlainMessage<SetApplicationManifestsRequest> | undefined, b: SetApplicationManifestsRequest | PlainMessage<SetApplicationManifestsRequest> | undefined): boolean;
902
+ }
903
+ /**
904
+ * @generated from message liquidmetal.v1alpha1.SetApplicationManifestsRequest.Manifest
905
+ */
906
+ export declare class SetApplicationManifestsRequest_Manifest extends Message<SetApplicationManifestsRequest_Manifest> {
907
+ /**
908
+ * @generated from field: string name = 1;
909
+ */
910
+ name: string;
911
+ /**
912
+ * @generated from field: string version_id = 2;
913
+ */
914
+ versionId: string;
915
+ /**
916
+ * @generated from field: string manifest = 3;
917
+ */
918
+ manifest: string;
919
+ constructor(data?: PartialMessage<SetApplicationManifestsRequest_Manifest>);
920
+ static readonly runtime: typeof proto3;
921
+ static readonly typeName = "liquidmetal.v1alpha1.SetApplicationManifestsRequest.Manifest";
922
+ static readonly fields: FieldList;
923
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetApplicationManifestsRequest_Manifest;
924
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetApplicationManifestsRequest_Manifest;
925
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetApplicationManifestsRequest_Manifest;
926
+ static equals(a: SetApplicationManifestsRequest_Manifest | PlainMessage<SetApplicationManifestsRequest_Manifest> | undefined, b: SetApplicationManifestsRequest_Manifest | PlainMessage<SetApplicationManifestsRequest_Manifest> | undefined): boolean;
927
+ }
928
+ /**
929
+ * @generated from message liquidmetal.v1alpha1.SetApplicationManifestsResponse
930
+ */
931
+ export declare class SetApplicationManifestsResponse extends Message<SetApplicationManifestsResponse> {
932
+ /**
933
+ * @generated from field: repeated liquidmetal.v1alpha1.SetApplicationManifestsResponse.Application success = 1;
934
+ */
935
+ success: SetApplicationManifestsResponse_Application[];
936
+ /**
937
+ * @generated from field: repeated liquidmetal.v1alpha1.SetApplicationManifestsResponse.Application failure = 2;
938
+ */
939
+ failure: SetApplicationManifestsResponse_Application[];
940
+ constructor(data?: PartialMessage<SetApplicationManifestsResponse>);
941
+ static readonly runtime: typeof proto3;
942
+ static readonly typeName = "liquidmetal.v1alpha1.SetApplicationManifestsResponse";
943
+ static readonly fields: FieldList;
944
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetApplicationManifestsResponse;
945
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetApplicationManifestsResponse;
946
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetApplicationManifestsResponse;
947
+ static equals(a: SetApplicationManifestsResponse | PlainMessage<SetApplicationManifestsResponse> | undefined, b: SetApplicationManifestsResponse | PlainMessage<SetApplicationManifestsResponse> | undefined): boolean;
948
+ }
949
+ /**
950
+ * @generated from message liquidmetal.v1alpha1.SetApplicationManifestsResponse.Application
951
+ */
952
+ export declare class SetApplicationManifestsResponse_Application extends Message<SetApplicationManifestsResponse_Application> {
953
+ /**
954
+ * @generated from field: string name = 1;
955
+ */
956
+ name: string;
957
+ /**
958
+ * @generated from field: string version_id = 2;
959
+ */
960
+ versionId: string;
961
+ constructor(data?: PartialMessage<SetApplicationManifestsResponse_Application>);
962
+ static readonly runtime: typeof proto3;
963
+ static readonly typeName = "liquidmetal.v1alpha1.SetApplicationManifestsResponse.Application";
964
+ static readonly fields: FieldList;
965
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetApplicationManifestsResponse_Application;
966
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetApplicationManifestsResponse_Application;
967
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetApplicationManifestsResponse_Application;
968
+ static equals(a: SetApplicationManifestsResponse_Application | PlainMessage<SetApplicationManifestsResponse_Application> | undefined, b: SetApplicationManifestsResponse_Application | PlainMessage<SetApplicationManifestsResponse_Application> | undefined): boolean;
969
+ }
778
970
  /**
779
971
  * @generated from message liquidmetal.v1alpha1.DeleteApplicationsRequest
780
972
  */