@liquidmetal-ai/drizzle 0.0.1 → 0.0.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.
@@ -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,GAAG,SAAS,GAAG;IACpC,IAAI,EAAE,QAAQ,CAAC;CAChB,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,YAAY,GAAG,SAAS,GAAG;IACrC,IAAI,EAAE,SAAS,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG;IACrC,IAAI,EAAE,SAAS,CAAC;CACjB,CAAC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,GACnB,WAAW,GAAG,WAAW,GAAG,YAAY,GAAG,SAAS,GAAG,UAAU,GAAG,cAAc;IAyCrF,UAAU,IAAI,SAAS;IA0CvB,WAAW,IAAI,UAAU;IA0CzB,MAAM,CAAC,CAAC,SAAS,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,EAAE;QAAE,IAAI,EAAE,CAAC,CAAA;KAAE,CAAC;CAuDlF;AAED,KAAK,gBAAgB,GAAG;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAIF,qBAAa,cAAc;IACzB,MAAM,EAAE,gBAAgB,EAAE,CAAC;;IAQ3B,SAAS,CAAC,GAAG,EAAE,SAAS,GAAG,GAAG;IAM9B,aAAa,CAAC,IAAI,EAAE,SAAS,GAAG,GAAG;IAyBnC,eAAe,CAAC,IAAI,EAAE,UAAU,GAAG,GAAG;CAsCvC;AAGD,wBAAgB,GAAG,CAAC,GAAG,EAAE,IAAI,GAAG,KAAK,GAAG,IAAI,EAAE,MAAM,GAAE,MAAU,EAAE,OAAO,CAAC,EAAE,IAAI,GAAG,KAAK,GAAG,MAAM,CAyEhG"}
@@ -269,7 +269,7 @@ export class Parser {
269
269
  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,EACL,OAAO,EACP,WAAW,EAEX,WAAW,EAEZ,MAAM,YAAY,CAAC;AAOpB,MAAM,MAAM,eAAe,GAAG,YAAY,GAAG;IAC3C,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF,MAAM,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,WAAW,EAAE,GAAG,EAAE,CAAC,KAAK,OAAO,CAAC,eAAe,EAAE,CAAC,CAAC;AAE7E,MAAM,MAAM,SAAS,GAAG;IACtB,aAAa,CAAC,EAAE,EAAE,CAAC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KAAK,OAAO,CAAC,eAAe,EAAE,CAAC,CAAC;AAE7E,MAAM,MAAM,SAAS,GAAG;IACtB,aAAa,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC;IAChC,SAAS,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC;IACxB,OAAO,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC;IACpB,UAAU,CAAC,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC;IAC1B,QAAQ,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC;IACtB,OAAO,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC;IACpB,KAAK,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,CAAC;IAChB,SAAS,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC;IACxB,QAAQ,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC;IACtB,aAAa,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC;IAChC,aAAa,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC;CACjC,CAAC;AAcF,wBAAsB,QAAQ,CAAC,IAAI,EAAE,WAAW,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,GAAG,OAAO,CAAC,eAAe,EAAE,CAAC,CAgBvG;AA8WD,eAAO,MAAM,UAAU,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
  ]);
@@ -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,EAA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AAC;AAEhD;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,cAAc;;;QAGvB;;WAEG;;;;;;;QAOH;;WAEG;;;;;;;QAOH;;WAEG;;;;;;;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
  *
@@ -307,11 +307,15 @@ export declare class VersionsResponse_Version extends Message<VersionsResponse_V
307
307
  */
308
308
  previousVersionId: string;
309
309
  /**
310
- * @generated from field: google.protobuf.Timestamp created_at = 3;
310
+ * @generated from field: bool is_sandboxed = 3;
311
+ */
312
+ isSandboxed: boolean;
313
+ /**
314
+ * @generated from field: google.protobuf.Timestamp created_at = 4;
311
315
  */
312
316
  createdAt?: Timestamp;
313
317
  /**
314
- * @generated from field: google.protobuf.Timestamp updated_at = 4;
318
+ * @generated from field: google.protobuf.Timestamp updated_at = 5;
315
319
  */
316
320
  updatedAt?: Timestamp;
317
321
  constructor(data?: PartialMessage<VersionsResponse_Version>);
@@ -339,6 +343,10 @@ export declare class CreateVersionRequest extends Message<CreateVersionRequest>
339
343
  * @generated from field: string previous_version_id = 3;
340
344
  */
341
345
  previousVersionId: string;
346
+ /**
347
+ * @generated from field: optional bool is_sandboxed = 4;
348
+ */
349
+ isSandboxed?: boolean;
342
350
  constructor(data?: PartialMessage<CreateVersionRequest>);
343
351
  static readonly runtime: typeof proto3;
344
352
  static readonly typeName = "liquidmetal.v1alpha1.CreateVersionRequest";
@@ -360,6 +368,10 @@ export declare class CreateVersionResponse extends Message<CreateVersionResponse
360
368
  * @generated from field: string previous_version_id = 2;
361
369
  */
362
370
  previousVersionId: string;
371
+ /**
372
+ * @generated from field: bool is_sandboxed = 3;
373
+ */
374
+ isSandboxed: boolean;
363
375
  constructor(data?: PartialMessage<CreateVersionResponse>);
364
376
  static readonly runtime: typeof proto3;
365
377
  static readonly typeName = "liquidmetal.v1alpha1.CreateVersionResponse";
@@ -369,6 +381,90 @@ export declare class CreateVersionResponse extends Message<CreateVersionResponse
369
381
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateVersionResponse;
370
382
  static equals(a: CreateVersionResponse | PlainMessage<CreateVersionResponse> | undefined, b: CreateVersionResponse | PlainMessage<CreateVersionResponse> | undefined): boolean;
371
383
  }
384
+ /**
385
+ * @generated from message liquidmetal.v1alpha1.SetVersionSandboxStatesRequest
386
+ */
387
+ export declare class SetVersionSandboxStatesRequest extends Message<SetVersionSandboxStatesRequest> {
388
+ /**
389
+ * @generated from field: repeated liquidmetal.v1alpha1.SetVersionSandboxStatesRequest.Version versions = 1;
390
+ */
391
+ versions: SetVersionSandboxStatesRequest_Version[];
392
+ /**
393
+ * @generated from field: string user_id = 2;
394
+ */
395
+ userId: string;
396
+ /**
397
+ * @generated from field: string organization_id = 3;
398
+ */
399
+ organizationId: string;
400
+ constructor(data?: PartialMessage<SetVersionSandboxStatesRequest>);
401
+ static readonly runtime: typeof proto3;
402
+ static readonly typeName = "liquidmetal.v1alpha1.SetVersionSandboxStatesRequest";
403
+ static readonly fields: FieldList;
404
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetVersionSandboxStatesRequest;
405
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetVersionSandboxStatesRequest;
406
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetVersionSandboxStatesRequest;
407
+ static equals(a: SetVersionSandboxStatesRequest | PlainMessage<SetVersionSandboxStatesRequest> | undefined, b: SetVersionSandboxStatesRequest | PlainMessage<SetVersionSandboxStatesRequest> | undefined): boolean;
408
+ }
409
+ /**
410
+ * @generated from message liquidmetal.v1alpha1.SetVersionSandboxStatesRequest.Version
411
+ */
412
+ export declare class SetVersionSandboxStatesRequest_Version extends Message<SetVersionSandboxStatesRequest_Version> {
413
+ /**
414
+ * @generated from field: string version_id = 1;
415
+ */
416
+ versionId: string;
417
+ /**
418
+ * @generated from field: bool is_sandboxed = 2;
419
+ */
420
+ isSandboxed: boolean;
421
+ constructor(data?: PartialMessage<SetVersionSandboxStatesRequest_Version>);
422
+ static readonly runtime: typeof proto3;
423
+ static readonly typeName = "liquidmetal.v1alpha1.SetVersionSandboxStatesRequest.Version";
424
+ static readonly fields: FieldList;
425
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetVersionSandboxStatesRequest_Version;
426
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetVersionSandboxStatesRequest_Version;
427
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetVersionSandboxStatesRequest_Version;
428
+ static equals(a: SetVersionSandboxStatesRequest_Version | PlainMessage<SetVersionSandboxStatesRequest_Version> | undefined, b: SetVersionSandboxStatesRequest_Version | PlainMessage<SetVersionSandboxStatesRequest_Version> | undefined): boolean;
429
+ }
430
+ /**
431
+ * @generated from message liquidmetal.v1alpha1.SetVersionSandboxStatesResponse
432
+ */
433
+ export declare class SetVersionSandboxStatesResponse extends Message<SetVersionSandboxStatesResponse> {
434
+ /**
435
+ * @generated from field: repeated liquidmetal.v1alpha1.SetVersionSandboxStatesResponse.Version success = 1;
436
+ */
437
+ success: SetVersionSandboxStatesResponse_Version[];
438
+ /**
439
+ * @generated from field: repeated liquidmetal.v1alpha1.SetVersionSandboxStatesResponse.Version failure = 2;
440
+ */
441
+ failure: SetVersionSandboxStatesResponse_Version[];
442
+ constructor(data?: PartialMessage<SetVersionSandboxStatesResponse>);
443
+ static readonly runtime: typeof proto3;
444
+ static readonly typeName = "liquidmetal.v1alpha1.SetVersionSandboxStatesResponse";
445
+ static readonly fields: FieldList;
446
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetVersionSandboxStatesResponse;
447
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetVersionSandboxStatesResponse;
448
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetVersionSandboxStatesResponse;
449
+ static equals(a: SetVersionSandboxStatesResponse | PlainMessage<SetVersionSandboxStatesResponse> | undefined, b: SetVersionSandboxStatesResponse | PlainMessage<SetVersionSandboxStatesResponse> | undefined): boolean;
450
+ }
451
+ /**
452
+ * @generated from message liquidmetal.v1alpha1.SetVersionSandboxStatesResponse.Version
453
+ */
454
+ export declare class SetVersionSandboxStatesResponse_Version extends Message<SetVersionSandboxStatesResponse_Version> {
455
+ /**
456
+ * @generated from field: string version_id = 1;
457
+ */
458
+ versionId: string;
459
+ constructor(data?: PartialMessage<SetVersionSandboxStatesResponse_Version>);
460
+ static readonly runtime: typeof proto3;
461
+ static readonly typeName = "liquidmetal.v1alpha1.SetVersionSandboxStatesResponse.Version";
462
+ static readonly fields: FieldList;
463
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetVersionSandboxStatesResponse_Version;
464
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetVersionSandboxStatesResponse_Version;
465
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetVersionSandboxStatesResponse_Version;
466
+ static equals(a: SetVersionSandboxStatesResponse_Version | PlainMessage<SetVersionSandboxStatesResponse_Version> | undefined, b: SetVersionSandboxStatesResponse_Version | PlainMessage<SetVersionSandboxStatesResponse_Version> | undefined): boolean;
467
+ }
372
468
  /**
373
469
  * @generated from message liquidmetal.v1alpha1.UploadBundleRequest
374
470
  */
@@ -713,13 +809,13 @@ export declare class SetApplicationActiveStatesRequest extends Message<SetApplic
713
809
  */
714
810
  export declare class SetApplicationActiveStatesRequest_State extends Message<SetApplicationActiveStatesRequest_State> {
715
811
  /**
716
- * @generated from field: string application_name = 1;
812
+ * @generated from field: string name = 1;
717
813
  */
718
- applicationName: string;
814
+ name: string;
719
815
  /**
720
- * @generated from field: string application_version_id = 2;
816
+ * @generated from field: string version_id = 2;
721
817
  */
722
- applicationVersionId: string;
818
+ versionId: string;
723
819
  /**
724
820
  * @generated from field: bool is_active = 3;
725
821
  */
@@ -775,6 +871,98 @@ export declare class SetApplicationActiveStatesResponse_Application extends Mess
775
871
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetApplicationActiveStatesResponse_Application;
776
872
  static equals(a: SetApplicationActiveStatesResponse_Application | PlainMessage<SetApplicationActiveStatesResponse_Application> | undefined, b: SetApplicationActiveStatesResponse_Application | PlainMessage<SetApplicationActiveStatesResponse_Application> | undefined): boolean;
777
873
  }
874
+ /**
875
+ * @generated from message liquidmetal.v1alpha1.SetApplicationManifestsRequest
876
+ */
877
+ export declare class SetApplicationManifestsRequest extends Message<SetApplicationManifestsRequest> {
878
+ /**
879
+ * @generated from field: repeated liquidmetal.v1alpha1.SetApplicationManifestsRequest.Manifest manifests = 1;
880
+ */
881
+ manifests: SetApplicationManifestsRequest_Manifest[];
882
+ /**
883
+ * @generated from field: string user_id = 2;
884
+ */
885
+ userId: string;
886
+ /**
887
+ * @generated from field: string organization_id = 3;
888
+ */
889
+ organizationId: string;
890
+ constructor(data?: PartialMessage<SetApplicationManifestsRequest>);
891
+ static readonly runtime: typeof proto3;
892
+ static readonly typeName = "liquidmetal.v1alpha1.SetApplicationManifestsRequest";
893
+ static readonly fields: FieldList;
894
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetApplicationManifestsRequest;
895
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetApplicationManifestsRequest;
896
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetApplicationManifestsRequest;
897
+ static equals(a: SetApplicationManifestsRequest | PlainMessage<SetApplicationManifestsRequest> | undefined, b: SetApplicationManifestsRequest | PlainMessage<SetApplicationManifestsRequest> | undefined): boolean;
898
+ }
899
+ /**
900
+ * @generated from message liquidmetal.v1alpha1.SetApplicationManifestsRequest.Manifest
901
+ */
902
+ export declare class SetApplicationManifestsRequest_Manifest extends Message<SetApplicationManifestsRequest_Manifest> {
903
+ /**
904
+ * @generated from field: string name = 1;
905
+ */
906
+ name: string;
907
+ /**
908
+ * @generated from field: string version_id = 2;
909
+ */
910
+ versionId: string;
911
+ /**
912
+ * @generated from field: string manifest = 3;
913
+ */
914
+ manifest: string;
915
+ constructor(data?: PartialMessage<SetApplicationManifestsRequest_Manifest>);
916
+ static readonly runtime: typeof proto3;
917
+ static readonly typeName = "liquidmetal.v1alpha1.SetApplicationManifestsRequest.Manifest";
918
+ static readonly fields: FieldList;
919
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetApplicationManifestsRequest_Manifest;
920
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetApplicationManifestsRequest_Manifest;
921
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetApplicationManifestsRequest_Manifest;
922
+ static equals(a: SetApplicationManifestsRequest_Manifest | PlainMessage<SetApplicationManifestsRequest_Manifest> | undefined, b: SetApplicationManifestsRequest_Manifest | PlainMessage<SetApplicationManifestsRequest_Manifest> | undefined): boolean;
923
+ }
924
+ /**
925
+ * @generated from message liquidmetal.v1alpha1.SetApplicationManifestsResponse
926
+ */
927
+ export declare class SetApplicationManifestsResponse extends Message<SetApplicationManifestsResponse> {
928
+ /**
929
+ * @generated from field: repeated liquidmetal.v1alpha1.SetApplicationManifestsResponse.Application success = 1;
930
+ */
931
+ success: SetApplicationManifestsResponse_Application[];
932
+ /**
933
+ * @generated from field: repeated liquidmetal.v1alpha1.SetApplicationManifestsResponse.Application failure = 2;
934
+ */
935
+ failure: SetApplicationManifestsResponse_Application[];
936
+ constructor(data?: PartialMessage<SetApplicationManifestsResponse>);
937
+ static readonly runtime: typeof proto3;
938
+ static readonly typeName = "liquidmetal.v1alpha1.SetApplicationManifestsResponse";
939
+ static readonly fields: FieldList;
940
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetApplicationManifestsResponse;
941
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetApplicationManifestsResponse;
942
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetApplicationManifestsResponse;
943
+ static equals(a: SetApplicationManifestsResponse | PlainMessage<SetApplicationManifestsResponse> | undefined, b: SetApplicationManifestsResponse | PlainMessage<SetApplicationManifestsResponse> | undefined): boolean;
944
+ }
945
+ /**
946
+ * @generated from message liquidmetal.v1alpha1.SetApplicationManifestsResponse.Application
947
+ */
948
+ export declare class SetApplicationManifestsResponse_Application extends Message<SetApplicationManifestsResponse_Application> {
949
+ /**
950
+ * @generated from field: string name = 1;
951
+ */
952
+ name: string;
953
+ /**
954
+ * @generated from field: string version_id = 2;
955
+ */
956
+ versionId: string;
957
+ constructor(data?: PartialMessage<SetApplicationManifestsResponse_Application>);
958
+ static readonly runtime: typeof proto3;
959
+ static readonly typeName = "liquidmetal.v1alpha1.SetApplicationManifestsResponse.Application";
960
+ static readonly fields: FieldList;
961
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetApplicationManifestsResponse_Application;
962
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetApplicationManifestsResponse_Application;
963
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetApplicationManifestsResponse_Application;
964
+ static equals(a: SetApplicationManifestsResponse_Application | PlainMessage<SetApplicationManifestsResponse_Application> | undefined, b: SetApplicationManifestsResponse_Application | PlainMessage<SetApplicationManifestsResponse_Application> | undefined): boolean;
965
+ }
778
966
  /**
779
967
  * @generated from message liquidmetal.v1alpha1.DeleteApplicationsRequest
780
968
  */