@liquidmetal-ai/drizzle 0.4.0 → 0.4.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/.turbo/turbo-build.log +10 -18
- package/CHANGELOG.md +12 -0
- package/dist/appify/build.d.ts +1 -4
- package/dist/appify/build.d.ts.map +1 -1
- package/dist/appify/build.js +6 -16
- package/dist/appify/build.test.js +8 -41
- package/dist/appify/validate.d.ts.map +1 -1
- package/dist/appify/validate.js +2 -1
- package/dist/liquidmetal/v1alpha1/bucket_name_pb.d.ts +23 -0
- package/dist/liquidmetal/v1alpha1/bucket_name_pb.d.ts.map +1 -1
- package/dist/liquidmetal/v1alpha1/bucket_name_pb.js +1 -1
- package/dist/liquidmetal/v1alpha1/catalog_pb.d.ts +125 -0
- package/dist/liquidmetal/v1alpha1/catalog_pb.d.ts.map +1 -1
- package/dist/liquidmetal/v1alpha1/catalog_pb.js +42 -2
- package/dist/liquidmetal/v1alpha1/object_pb.d.ts +89 -16
- package/dist/liquidmetal/v1alpha1/object_pb.d.ts.map +1 -1
- package/dist/liquidmetal/v1alpha1/object_pb.js +5 -2
- package/dist/liquidmetal/v1alpha1/rainbow_auth_pb.d.ts.map +1 -1
- package/dist/liquidmetal/v1alpha1/rainbow_auth_pb.js +1 -1
- package/dist/liquidmetal/v1alpha1/raindrop_pb.d.ts.map +1 -1
- package/dist/liquidmetal/v1alpha1/raindrop_pb.js +1 -1
- package/dist/liquidmetal/v1alpha1/search_agent_pb.d.ts +129 -175
- package/dist/liquidmetal/v1alpha1/search_agent_pb.d.ts.map +1 -1
- package/dist/liquidmetal/v1alpha1/search_agent_pb.js +5 -17
- package/dist/mrn.d.ts +26 -0
- package/dist/mrn.d.ts.map +1 -0
- package/dist/mrn.js +135 -0
- package/dist/mrn.test.d.ts +2 -0
- package/dist/mrn.test.d.ts.map +1 -0
- package/dist/mrn.test.js +690 -0
- package/package.json +4 -3
- package/src/appify/build.test.ts +8 -44
- package/src/appify/build.ts +6 -16
- package/src/appify/validate.ts +2 -1
- package/src/liquidmetal/v1alpha1/bucket_name_pb.ts +24 -1
- package/src/liquidmetal/v1alpha1/catalog_pb.ts +158 -2
- package/src/liquidmetal/v1alpha1/object_pb.ts +91 -18
- package/src/liquidmetal/v1alpha1/rainbow_auth_pb.ts +1 -1
- package/src/liquidmetal/v1alpha1/raindrop_pb.ts +1 -1
- package/src/liquidmetal/v1alpha1/search_agent_pb.ts +130 -176
- package/src/mrn.test.ts +769 -0
- package/src/mrn.ts +149 -0
- package/tsconfig.tsbuildinfo +1 -1
- package/.turbo/turbo-lint.log +0 -6
- package/.turbo/turbo-test.log +0 -242
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,30 +1,22 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
> @liquidmetal-ai/drizzle@0.
|
|
3
|
+
> @liquidmetal-ai/drizzle@0.4.2 prebuild
|
|
4
4
|
> npm install --ignore-scripts
|
|
5
5
|
|
|
6
|
-
[1G[0K[1G[0K⠙[1G[0K⠹[1G[0K⠸[1G[0K⠼[1G[0K⠴[1G[0K⠦[1G[0K⠧[1G[0K⠇[1G[0K⠏[1G[0K⠋[1G[0K⠙[1G[0K⠹[1G[0K⠸[1G[0K⠼[1G[0K⠴[1G[0K
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
[1G[0K
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
[1G[0K[1G[0K⠙[1G[0K[1G[0K⠙[1G[0K⠹[1G[0K⠸[1G[0K
|
|
15
|
-
up to date, audited 2956 packages in 6s
|
|
16
|
-
[1G[0K⠸[1G[0K
|
|
17
|
-
[1G[0K⠸[1G[0K537 packages are looking for funding
|
|
18
|
-
[1G[0K⠸[1G[0K run `npm fund` for details
|
|
19
|
-
[1G[0K⠸[1G[0K
|
|
20
|
-
2 [33m[1mmoderate[22m[39m severity vulnerabilities
|
|
6
|
+
[1G[0K[1G[0K⠙[1G[0K⠹[1G[0K⠸[1G[0K⠼[1G[0K⠴[1G[0K⠦[1G[0K⠧[1G[0K⠇[1G[0K⠏[1G[0K⠋[1G[0K⠙[1G[0K⠹[1G[0K⠸[1G[0K⠼[1G[0K⠴[1G[0K⠦[1G[0K⠧[1G[0K⠇[1G[0K⠏[1G[0K⠋[1G[0K
|
|
7
|
+
up to date, audited 3153 packages in 5s
|
|
8
|
+
[1G[0K⠋[1G[0K
|
|
9
|
+
[1G[0K⠋[1G[0K553 packages are looking for funding
|
|
10
|
+
[1G[0K⠋[1G[0K run `npm fund` for details
|
|
11
|
+
[1G[0K⠋[1G[0K
|
|
12
|
+
[31m[1m3[22m[39m vulnerabilities (1 [1mlow[22m, 2 [33m[1mmoderate[22m[39m)
|
|
21
13
|
|
|
22
14
|
To address all issues, run:
|
|
23
15
|
npm audit fix
|
|
24
16
|
|
|
25
17
|
Run `npm audit` for details.
|
|
26
|
-
[1G[0K
|
|
27
|
-
> @liquidmetal-ai/drizzle@0.
|
|
18
|
+
[1G[0K⠋[1G[0K[1G[0K⠙[1G[0K
|
|
19
|
+
> @liquidmetal-ai/drizzle@0.4.2 build
|
|
28
20
|
> shx rm -rf dist && tsc -b
|
|
29
21
|
|
|
30
22
|
[1G[0K⠙[1G[0K[1G[0K⠙[1G[0K
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @liquidmetal-ai/drizzle
|
|
2
2
|
|
|
3
|
+
## 0.4.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Annotations and smartbucket compute bindings.
|
|
8
|
+
|
|
9
|
+
## 0.4.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 6e17a21: Smartbucket search bugfix and add document search
|
|
14
|
+
|
|
3
15
|
## 0.4.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/dist/appify/build.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export interface ConfigObject {
|
|
|
8
8
|
start: number;
|
|
9
9
|
end: number;
|
|
10
10
|
}
|
|
11
|
+
export declare const EMPTY_CONFIG_OBJECT: ConfigObject;
|
|
11
12
|
export declare class ConfigError {
|
|
12
13
|
message: string;
|
|
13
14
|
line: number;
|
|
@@ -33,7 +34,6 @@ export declare class Application {
|
|
|
33
34
|
kvStore: KvStore[];
|
|
34
35
|
smartBucket: SmartBucket[];
|
|
35
36
|
labels: Record<string, string>;
|
|
36
|
-
annotations: Record<string, string>;
|
|
37
37
|
constructor(name: TokenString, obj: ConfigObject);
|
|
38
38
|
handlers(): (Service | Observer | Actor | Task)[];
|
|
39
39
|
}
|
|
@@ -46,7 +46,6 @@ export declare class Service {
|
|
|
46
46
|
bindings: Binding[];
|
|
47
47
|
env: Env[];
|
|
48
48
|
labels: Record<string, string>;
|
|
49
|
-
annotations: Record<string, string>;
|
|
50
49
|
constructor(name: TokenString, obj: ConfigObject);
|
|
51
50
|
}
|
|
52
51
|
export declare class Actor {
|
|
@@ -56,7 +55,6 @@ export declare class Actor {
|
|
|
56
55
|
env: Env[];
|
|
57
56
|
visibility?: TokenString;
|
|
58
57
|
labels: Record<string, string>;
|
|
59
|
-
annotations: Record<string, string>;
|
|
60
58
|
constructor(name: TokenString, obj: ConfigObject);
|
|
61
59
|
}
|
|
62
60
|
export declare class Task {
|
|
@@ -76,7 +74,6 @@ export declare class Observer {
|
|
|
76
74
|
bindings: Binding[];
|
|
77
75
|
env: Env[];
|
|
78
76
|
labels: Record<string, string>;
|
|
79
|
-
annotations: Record<string, string>;
|
|
80
77
|
constructor(name: TokenString, obj: ConfigObject);
|
|
81
78
|
}
|
|
82
79
|
export declare class Source {
|
|
@@ -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,WAA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,EAAE,GAAG,EAAE,YAAY;CAIjD;AAED,qBAAa,KAAK;IAChB,IAAI,EAAE,WAAW,CAAC;IAClB,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,GAAG,EAAE,YAAY,CAAC;gBAEN,IAAI,EAAE,WAAW,EAAE,GAAG,EAAE,YAAY;CAIjD;AAED,qBAAa,WAAW;IACtB,IAAI,EAAE,WAAW,CAAC;IAClB,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,GAAG,EAAE,YAAY,CAAC;gBAEN,IAAI,EAAE,WAAW,EAAE,GAAG,EAAE,YAAY;CAIjD;AAED,qBAAa,WAAW;IACtB,IAAI,EAAE,WAAW,CAAC;IAClB,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,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,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
|
@@ -12,6 +12,12 @@ export function valueOf(token) {
|
|
|
12
12
|
}
|
|
13
13
|
throw new Error(`unexpected token type: ${token}`);
|
|
14
14
|
}
|
|
15
|
+
export const EMPTY_CONFIG_OBJECT = {
|
|
16
|
+
line: 0,
|
|
17
|
+
column: 0,
|
|
18
|
+
start: 0,
|
|
19
|
+
end: 0,
|
|
20
|
+
};
|
|
15
21
|
export class ConfigError {
|
|
16
22
|
message;
|
|
17
23
|
line;
|
|
@@ -185,9 +191,6 @@ export function buildApplication(node) {
|
|
|
185
191
|
case 'labels':
|
|
186
192
|
buildLabelset(app, 'labels', child, errors);
|
|
187
193
|
break;
|
|
188
|
-
case 'annotations':
|
|
189
|
-
buildLabelset(app, 'annotations', child, errors);
|
|
190
|
-
break;
|
|
191
194
|
default:
|
|
192
195
|
errors.push({ message: 'unexpected assignment', ...child });
|
|
193
196
|
}
|
|
@@ -236,9 +239,6 @@ function buildService(stanza) {
|
|
|
236
239
|
case 'labels':
|
|
237
240
|
buildLabelset(service, 'labels', child, errors);
|
|
238
241
|
break;
|
|
239
|
-
case 'annotations':
|
|
240
|
-
buildLabelset(service, 'annotations', child, errors);
|
|
241
|
-
break;
|
|
242
242
|
default:
|
|
243
243
|
errors.push({ message: 'unexpected assignment', ...child });
|
|
244
244
|
}
|
|
@@ -454,9 +454,6 @@ function buildObserver(stanza) {
|
|
|
454
454
|
case 'labels':
|
|
455
455
|
buildLabelset(observer, 'labels', child, errors);
|
|
456
456
|
break;
|
|
457
|
-
case 'annotations':
|
|
458
|
-
buildLabelset(observer, 'annotations', child, errors);
|
|
459
|
-
break;
|
|
460
457
|
default:
|
|
461
458
|
errors.push({ message: 'unexpected assignment', ...child });
|
|
462
459
|
}
|
|
@@ -498,9 +495,6 @@ function buildActor(stanza) {
|
|
|
498
495
|
case 'labels':
|
|
499
496
|
buildLabelset(actor, 'labels', child, errors);
|
|
500
497
|
break;
|
|
501
|
-
case 'annotations':
|
|
502
|
-
buildLabelset(actor, 'annotations', child, errors);
|
|
503
|
-
break;
|
|
504
498
|
default:
|
|
505
499
|
errors.push({ message: 'unexpected assignment', ...child });
|
|
506
500
|
}
|
|
@@ -729,7 +723,6 @@ export class Application {
|
|
|
729
723
|
kvStore = [];
|
|
730
724
|
smartBucket = [];
|
|
731
725
|
labels = {};
|
|
732
|
-
annotations = {};
|
|
733
726
|
constructor(name, obj) {
|
|
734
727
|
this.name = name;
|
|
735
728
|
this.obj = obj;
|
|
@@ -748,7 +741,6 @@ export class Service {
|
|
|
748
741
|
bindings = [];
|
|
749
742
|
env = [];
|
|
750
743
|
labels = {};
|
|
751
|
-
annotations = {};
|
|
752
744
|
constructor(name, obj) {
|
|
753
745
|
this.name = name;
|
|
754
746
|
this.obj = obj;
|
|
@@ -761,7 +753,6 @@ export class Actor {
|
|
|
761
753
|
env = [];
|
|
762
754
|
visibility;
|
|
763
755
|
labels = {};
|
|
764
|
-
annotations = {};
|
|
765
756
|
constructor(name, obj) {
|
|
766
757
|
this.name = name;
|
|
767
758
|
this.obj = obj;
|
|
@@ -787,7 +778,6 @@ export class Observer {
|
|
|
787
778
|
bindings = [];
|
|
788
779
|
env = [];
|
|
789
780
|
labels = {};
|
|
790
|
-
annotations = {};
|
|
791
781
|
constructor(name, obj) {
|
|
792
782
|
this.name = name;
|
|
793
783
|
this.obj = obj;
|
|
@@ -179,7 +179,7 @@ application "foo" {
|
|
|
179
179
|
},
|
|
180
180
|
]);
|
|
181
181
|
});
|
|
182
|
-
test('service with labels
|
|
182
|
+
test('service with labels', () => {
|
|
183
183
|
const CONFIG = `
|
|
184
184
|
application "my-app" {
|
|
185
185
|
service "my-service" {
|
|
@@ -187,11 +187,6 @@ application "my-app" {
|
|
|
187
187
|
environment = "production"
|
|
188
188
|
team = "platform"
|
|
189
189
|
}
|
|
190
|
-
|
|
191
|
-
annotations = {
|
|
192
|
-
description = "Service for handling API requests"
|
|
193
|
-
version = "1.0.0"
|
|
194
|
-
}
|
|
195
190
|
}
|
|
196
191
|
}
|
|
197
192
|
`;
|
|
@@ -204,18 +199,14 @@ application "my-app" {
|
|
|
204
199
|
// Check that we have exactly one application with one service
|
|
205
200
|
expect(apps.length).toBe(1);
|
|
206
201
|
expect(apps[0].service.length).toBe(1);
|
|
207
|
-
// Check the service's labels
|
|
202
|
+
// Check the service's labels
|
|
208
203
|
const service = apps[0].service[0];
|
|
209
204
|
// Verify labels
|
|
210
205
|
expect(service.labels).toBeDefined();
|
|
211
206
|
expect(service.labels['environment']).toBe('production');
|
|
212
207
|
expect(service.labels['team']).toBe('platform');
|
|
213
|
-
// Verify annotations
|
|
214
|
-
expect(service.annotations).toBeDefined();
|
|
215
|
-
expect(service.annotations['description']).toBe('Service for handling API requests');
|
|
216
|
-
expect(service.annotations['version']).toBe('1.0.0');
|
|
217
208
|
});
|
|
218
|
-
test('service with non-string labels
|
|
209
|
+
test('service with non-string labels', () => {
|
|
219
210
|
const CONFIG = `
|
|
220
211
|
application "my-app" {
|
|
221
212
|
service "my-service" {
|
|
@@ -224,11 +215,6 @@ application "my-app" {
|
|
|
224
215
|
priority = 1
|
|
225
216
|
isActive = true
|
|
226
217
|
}
|
|
227
|
-
|
|
228
|
-
annotations = {
|
|
229
|
-
description = "Service for handling API requests"
|
|
230
|
-
maxInstances = 5
|
|
231
|
-
}
|
|
232
218
|
}
|
|
233
219
|
}
|
|
234
220
|
`;
|
|
@@ -238,12 +224,11 @@ application "my-app" {
|
|
|
238
224
|
expect(parser.errors).toEqual([]);
|
|
239
225
|
const [_, errors] = buildManifest(ast);
|
|
240
226
|
// Should have errors for non-string values
|
|
241
|
-
expect(errors.length).toBe(
|
|
227
|
+
expect(errors.length).toBe(2);
|
|
242
228
|
// Check error messages
|
|
243
229
|
const errorMessages = errors.map((err) => err.message);
|
|
244
230
|
expect(errorMessages).toContain('labels must have string values, found non-string value for key "priority"');
|
|
245
231
|
expect(errorMessages).toContain('labels must have string values, found non-string value for key "isActive"');
|
|
246
|
-
expect(errorMessages).toContain('annotations must have string values, found non-string value for key "maxInstances"');
|
|
247
232
|
});
|
|
248
233
|
test('service with invalid labels type', () => {
|
|
249
234
|
const CONFIG = `
|
|
@@ -262,7 +247,7 @@ application "my-app" {
|
|
|
262
247
|
expect(errors.length).toBe(1);
|
|
263
248
|
expect(errors[0].message).toBe('labels must be an object');
|
|
264
249
|
});
|
|
265
|
-
test('actor with labels
|
|
250
|
+
test('actor with labels', () => {
|
|
266
251
|
const CONFIG = `
|
|
267
252
|
application "my-app" {
|
|
268
253
|
actor "my-actor" {
|
|
@@ -271,11 +256,6 @@ application "my-app" {
|
|
|
271
256
|
team = "platform"
|
|
272
257
|
}
|
|
273
258
|
|
|
274
|
-
annotations = {
|
|
275
|
-
description = "Actor for processing background jobs"
|
|
276
|
-
version = "1.0.0"
|
|
277
|
-
}
|
|
278
|
-
|
|
279
259
|
visibility = "protected"
|
|
280
260
|
}
|
|
281
261
|
}
|
|
@@ -289,20 +269,16 @@ application "my-app" {
|
|
|
289
269
|
// Check that we have exactly one application with one actor
|
|
290
270
|
expect(apps.length).toBe(1);
|
|
291
271
|
expect(apps[0].actor.length).toBe(1);
|
|
292
|
-
// Check the actor's labels
|
|
272
|
+
// Check the actor's labels
|
|
293
273
|
const actor = apps[0].actor[0];
|
|
294
274
|
// Verify labels
|
|
295
275
|
expect(actor.labels).toBeDefined();
|
|
296
276
|
expect(actor.labels['environment']).toBe('production');
|
|
297
277
|
expect(actor.labels['team']).toBe('platform');
|
|
298
|
-
// Verify annotations
|
|
299
|
-
expect(actor.annotations).toBeDefined();
|
|
300
|
-
expect(actor.annotations['description']).toBe('Actor for processing background jobs');
|
|
301
|
-
expect(actor.annotations['version']).toBe('1.0.0');
|
|
302
278
|
// Verify other properties still work
|
|
303
279
|
expect(valueOf(actor.visibility)).toBe('protected');
|
|
304
280
|
});
|
|
305
|
-
test('observer with labels
|
|
281
|
+
test('observer with labels', () => {
|
|
306
282
|
const CONFIG = `
|
|
307
283
|
application "my-app" {
|
|
308
284
|
bucket "my-bucket" {}
|
|
@@ -313,11 +289,6 @@ application "my-app" {
|
|
|
313
289
|
team = "platform"
|
|
314
290
|
}
|
|
315
291
|
|
|
316
|
-
annotations = {
|
|
317
|
-
description = "Observer for monitoring bucket changes"
|
|
318
|
-
version = "1.0.0"
|
|
319
|
-
}
|
|
320
|
-
|
|
321
292
|
source {
|
|
322
293
|
bucket = "my-bucket"
|
|
323
294
|
}
|
|
@@ -333,16 +304,12 @@ application "my-app" {
|
|
|
333
304
|
// Check that we have exactly one application with one observer
|
|
334
305
|
expect(apps.length).toBe(1);
|
|
335
306
|
expect(apps[0].observer.length).toBe(1);
|
|
336
|
-
// Check the observer's labels
|
|
307
|
+
// Check the observer's labels
|
|
337
308
|
const observer = apps[0].observer[0];
|
|
338
309
|
// Verify labels
|
|
339
310
|
expect(observer.labels).toBeDefined();
|
|
340
311
|
expect(observer.labels['environment']).toBe('production');
|
|
341
312
|
expect(observer.labels['team']).toBe('platform');
|
|
342
|
-
// Verify annotations
|
|
343
|
-
expect(observer.annotations).toBeDefined();
|
|
344
|
-
expect(observer.annotations['description']).toBe('Observer for monitoring bucket changes');
|
|
345
|
-
expect(observer.annotations['version']).toBe('1.0.0');
|
|
346
313
|
// Verify source still works
|
|
347
314
|
expect(observer.source.length).toBe(1);
|
|
348
315
|
expect(valueOf(observer.source[0].bucket)).toBe('my-bucket');
|
|
@@ -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,EACX,IAAI,EAIJ,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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AAC;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,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,MAAM,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,CAAC;IAClB,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,CAiBvG;AAodD,eAAO,MAAM,UAAU,EAAE,SAAS,EAYjC,CAAC"}
|
package/dist/appify/validate.js
CHANGED
|
@@ -223,7 +223,8 @@ const observerSourceValidator = {
|
|
|
223
223
|
});
|
|
224
224
|
}
|
|
225
225
|
if (source.bucket !== undefined &&
|
|
226
|
-
!app.bucket.some((b) => valueOf(b.name) === (source.bucket && valueOf(source.bucket)))
|
|
226
|
+
!app.bucket.some((b) => valueOf(b.name) === (source.bucket && valueOf(source.bucket))) &&
|
|
227
|
+
!app.smartBucket.some((b) => valueOf(b.name) === (source.bucket && valueOf(source.bucket)))) {
|
|
227
228
|
errors.push({
|
|
228
229
|
message: `bucket ${source.bucket.value} not found`,
|
|
229
230
|
severity: 'error',
|
|
@@ -12,18 +12,24 @@ export declare const file_liquidmetal_v1alpha1_bucket_name: GenFile;
|
|
|
12
12
|
export type BucketName = Message<"liquidmetal.v1alpha1.BucketName"> & {
|
|
13
13
|
/**
|
|
14
14
|
* The name of the bucket
|
|
15
|
+
* __EXAMPLE__ "my-bucket"
|
|
16
|
+
* __REQUIRED__ TRUE
|
|
15
17
|
*
|
|
16
18
|
* @generated from field: string name = 1;
|
|
17
19
|
*/
|
|
18
20
|
name: string;
|
|
19
21
|
/**
|
|
20
22
|
* Optional version of the bucket
|
|
23
|
+
* __EXAMPLE__ "01jtryx2f2f61ryk06vd8mr91p"
|
|
24
|
+
* __REQUIRED__ FALSE
|
|
21
25
|
*
|
|
22
26
|
* @generated from field: optional string version = 2;
|
|
23
27
|
*/
|
|
24
28
|
version?: string;
|
|
25
29
|
/**
|
|
26
30
|
* Optional Application
|
|
31
|
+
* __EXAMPLE__ "my-app"
|
|
32
|
+
* __REQUIRED__ FALSE
|
|
27
33
|
*
|
|
28
34
|
* @generated from field: optional string application_name = 3;
|
|
29
35
|
*/
|
|
@@ -39,16 +45,25 @@ export declare const BucketNameSchema: GenMessage<BucketName>;
|
|
|
39
45
|
*/
|
|
40
46
|
export type BucketLocator = Message<"liquidmetal.v1alpha1.BucketLocator"> & {
|
|
41
47
|
/**
|
|
48
|
+
* __EXAMPLE__ { name: 'my-smartbucket' }
|
|
49
|
+
* __REQUIRED__ TRUE
|
|
50
|
+
*
|
|
42
51
|
* @generated from oneof liquidmetal.v1alpha1.BucketLocator.bucket_location
|
|
43
52
|
*/
|
|
44
53
|
bucketLocation: {
|
|
45
54
|
/**
|
|
55
|
+
* __EXAMPLE__ "01jtryx2f2f61ryk06vd8mr91p"
|
|
56
|
+
* __REQUIRED__ FALSE
|
|
57
|
+
*
|
|
46
58
|
* @generated from field: string module_id = 1;
|
|
47
59
|
*/
|
|
48
60
|
value: string;
|
|
49
61
|
case: "moduleId";
|
|
50
62
|
} | {
|
|
51
63
|
/**
|
|
64
|
+
* __EXAMPLE__ { name: 'my-smartbucket' }
|
|
65
|
+
* __REQUIRED__ FALSE
|
|
66
|
+
*
|
|
52
67
|
* @generated from field: liquidmetal.v1alpha1.BucketName bucket = 2;
|
|
53
68
|
*/
|
|
54
69
|
value: BucketName;
|
|
@@ -68,18 +83,26 @@ export declare const BucketLocatorSchema: GenMessage<BucketLocator>;
|
|
|
68
83
|
*/
|
|
69
84
|
export type BucketResponse = Message<"liquidmetal.v1alpha1.BucketResponse"> & {
|
|
70
85
|
/**
|
|
86
|
+
* __EXAMPLE__ "01jtryx2f2f61ryk06vd8mr91p"
|
|
87
|
+
*
|
|
71
88
|
* @generated from field: string module_id = 1;
|
|
72
89
|
*/
|
|
73
90
|
moduleId: string;
|
|
74
91
|
/**
|
|
92
|
+
* __EXAMPLE__ "my-smartbucket"
|
|
93
|
+
*
|
|
75
94
|
* @generated from field: string bucket_name = 2;
|
|
76
95
|
*/
|
|
77
96
|
bucketName: string;
|
|
78
97
|
/**
|
|
98
|
+
* __EXAMPLE__ "01jtryx2f2f61ryk06vd8mr91p"
|
|
99
|
+
*
|
|
79
100
|
* @generated from field: string application_version_id = 4;
|
|
80
101
|
*/
|
|
81
102
|
applicationVersionId: string;
|
|
82
103
|
/**
|
|
104
|
+
* __EXAMPLE__ "my-app"
|
|
105
|
+
*
|
|
83
106
|
* @generated from field: string application_name = 5;
|
|
84
107
|
*/
|
|
85
108
|
applicationName: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bucket_name_pb.d.ts","sourceRoot":"","sources":["../../../src/liquidmetal/v1alpha1/bucket_name_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE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GAAG,OAAO,CAAC,qCAAqC,CAAC,GAAG;IAC5E;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAE7B;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,UAAU,CAAC,cAAc,CACL,CAAC"}
|
|
@@ -5,7 +5,7 @@ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
|
5
5
|
/**
|
|
6
6
|
* Describes the file liquidmetal/v1alpha1/bucket_name.proto.
|
|
7
7
|
*/
|
|
8
|
-
export const file_liquidmetal_v1alpha1_bucket_name = /*@__PURE__*/ fileDesc("
|
|
8
|
+
export const file_liquidmetal_v1alpha1_bucket_name = /*@__PURE__*/ fileDesc("CiZsaXF1aWRtZXRhbC92MWFscGhhMS9idWNrZXRfbmFtZS5wcm90bxIUbGlxdWlkbWV0YWwudjFhbHBoYTEicAoKQnVja2V0TmFtZRIMCgRuYW1lGAEgASgJEhQKB3ZlcnNpb24YAiABKAlIAIgBARIdChBhcHBsaWNhdGlvbl9uYW1lGAMgASgJSAGIAQFCCgoIX3ZlcnNpb25CEwoRX2FwcGxpY2F0aW9uX25hbWUiawoNQnVja2V0TG9jYXRvchITCgltb2R1bGVfaWQYASABKAlIABIyCgZidWNrZXQYAiABKAsyIC5saXF1aWRtZXRhbC52MWFscGhhMS5CdWNrZXROYW1lSABCEQoPYnVja2V0X2xvY2F0aW9uInIKDkJ1Y2tldFJlc3BvbnNlEhEKCW1vZHVsZV9pZBgBIAEoCRITCgtidWNrZXRfbmFtZRgCIAEoCRIeChZhcHBsaWNhdGlvbl92ZXJzaW9uX2lkGAQgASgJEhgKEGFwcGxpY2F0aW9uX25hbWUYBSABKAlC6gEKGGNvbS5saXF1aWRtZXRhbC52MWFscGhhMUIPQnVja2V0TmFtZVByb3RvUAFaTGdpdGh1Yi5jb20vbGlxdWlkbWV0YWwtYWkvcHJvdG9nZW4yL2xpcXVpZG1ldGFsL3YxYWxwaGExO2xpcXVpZG1ldGFsdjFhbHBoYTGiAgNMWFiqAhRMaXF1aWRtZXRhbC5WMWFscGhhMcoCFExpcXVpZG1ldGFsXFYxYWxwaGEx4gIgTGlxdWlkbWV0YWxcVjFhbHBoYTFcR1BCTWV0YWRhdGHqAhVMaXF1aWRtZXRhbDo6VjFhbHBoYTFiBnByb3RvMw");
|
|
9
9
|
/**
|
|
10
10
|
* Describes the message liquidmetal.v1alpha1.BucketName.
|
|
11
11
|
* Use `create(BucketNameSchema)` to create a new message.
|
|
@@ -1116,6 +1116,83 @@ export type QueryModulesResponse_SmartBucketModule = Message<"liquidmetal.v1alph
|
|
|
1116
1116
|
* Use `create(QueryModulesResponse_SmartBucketModuleSchema)` to create a new message.
|
|
1117
1117
|
*/
|
|
1118
1118
|
export declare const QueryModulesResponse_SmartBucketModuleSchema: GenMessage<QueryModulesResponse_SmartBucketModule>;
|
|
1119
|
+
/**
|
|
1120
|
+
* @generated from message liquidmetal.v1alpha1.QueryModulesResponse.BucketModule
|
|
1121
|
+
*/
|
|
1122
|
+
export type QueryModulesResponse_BucketModule = Message<"liquidmetal.v1alpha1.QueryModulesResponse.BucketModule"> & {
|
|
1123
|
+
/**
|
|
1124
|
+
* @generated from field: string url = 1;
|
|
1125
|
+
*/
|
|
1126
|
+
url: string;
|
|
1127
|
+
};
|
|
1128
|
+
/**
|
|
1129
|
+
* Describes the message liquidmetal.v1alpha1.QueryModulesResponse.BucketModule.
|
|
1130
|
+
* Use `create(QueryModulesResponse_BucketModuleSchema)` to create a new message.
|
|
1131
|
+
*/
|
|
1132
|
+
export declare const QueryModulesResponse_BucketModuleSchema: GenMessage<QueryModulesResponse_BucketModule>;
|
|
1133
|
+
/**
|
|
1134
|
+
* @generated from message liquidmetal.v1alpha1.QueryModulesResponse.ServiceModule
|
|
1135
|
+
*/
|
|
1136
|
+
export type QueryModulesResponse_ServiceModule = Message<"liquidmetal.v1alpha1.QueryModulesResponse.ServiceModule"> & {};
|
|
1137
|
+
/**
|
|
1138
|
+
* Describes the message liquidmetal.v1alpha1.QueryModulesResponse.ServiceModule.
|
|
1139
|
+
* Use `create(QueryModulesResponse_ServiceModuleSchema)` to create a new message.
|
|
1140
|
+
*/
|
|
1141
|
+
export declare const QueryModulesResponse_ServiceModuleSchema: GenMessage<QueryModulesResponse_ServiceModule>;
|
|
1142
|
+
/**
|
|
1143
|
+
* @generated from message liquidmetal.v1alpha1.QueryModulesResponse.ObserverModule
|
|
1144
|
+
*/
|
|
1145
|
+
export type QueryModulesResponse_ObserverModule = Message<"liquidmetal.v1alpha1.QueryModulesResponse.ObserverModule"> & {};
|
|
1146
|
+
/**
|
|
1147
|
+
* Describes the message liquidmetal.v1alpha1.QueryModulesResponse.ObserverModule.
|
|
1148
|
+
* Use `create(QueryModulesResponse_ObserverModuleSchema)` to create a new message.
|
|
1149
|
+
*/
|
|
1150
|
+
export declare const QueryModulesResponse_ObserverModuleSchema: GenMessage<QueryModulesResponse_ObserverModule>;
|
|
1151
|
+
/**
|
|
1152
|
+
* @generated from message liquidmetal.v1alpha1.QueryModulesResponse.TaskModule
|
|
1153
|
+
*/
|
|
1154
|
+
export type QueryModulesResponse_TaskModule = Message<"liquidmetal.v1alpha1.QueryModulesResponse.TaskModule"> & {};
|
|
1155
|
+
/**
|
|
1156
|
+
* Describes the message liquidmetal.v1alpha1.QueryModulesResponse.TaskModule.
|
|
1157
|
+
* Use `create(QueryModulesResponse_TaskModuleSchema)` to create a new message.
|
|
1158
|
+
*/
|
|
1159
|
+
export declare const QueryModulesResponse_TaskModuleSchema: GenMessage<QueryModulesResponse_TaskModule>;
|
|
1160
|
+
/**
|
|
1161
|
+
* @generated from message liquidmetal.v1alpha1.QueryModulesResponse.SQLDatabaseModule
|
|
1162
|
+
*/
|
|
1163
|
+
export type QueryModulesResponse_SQLDatabaseModule = Message<"liquidmetal.v1alpha1.QueryModulesResponse.SQLDatabaseModule"> & {};
|
|
1164
|
+
/**
|
|
1165
|
+
* Describes the message liquidmetal.v1alpha1.QueryModulesResponse.SQLDatabaseModule.
|
|
1166
|
+
* Use `create(QueryModulesResponse_SQLDatabaseModuleSchema)` to create a new message.
|
|
1167
|
+
*/
|
|
1168
|
+
export declare const QueryModulesResponse_SQLDatabaseModuleSchema: GenMessage<QueryModulesResponse_SQLDatabaseModule>;
|
|
1169
|
+
/**
|
|
1170
|
+
* @generated from message liquidmetal.v1alpha1.QueryModulesResponse.VectorIndexModule
|
|
1171
|
+
*/
|
|
1172
|
+
export type QueryModulesResponse_VectorIndexModule = Message<"liquidmetal.v1alpha1.QueryModulesResponse.VectorIndexModule"> & {};
|
|
1173
|
+
/**
|
|
1174
|
+
* Describes the message liquidmetal.v1alpha1.QueryModulesResponse.VectorIndexModule.
|
|
1175
|
+
* Use `create(QueryModulesResponse_VectorIndexModuleSchema)` to create a new message.
|
|
1176
|
+
*/
|
|
1177
|
+
export declare const QueryModulesResponse_VectorIndexModuleSchema: GenMessage<QueryModulesResponse_VectorIndexModule>;
|
|
1178
|
+
/**
|
|
1179
|
+
* @generated from message liquidmetal.v1alpha1.QueryModulesResponse.QueueModule
|
|
1180
|
+
*/
|
|
1181
|
+
export type QueryModulesResponse_QueueModule = Message<"liquidmetal.v1alpha1.QueryModulesResponse.QueueModule"> & {};
|
|
1182
|
+
/**
|
|
1183
|
+
* Describes the message liquidmetal.v1alpha1.QueryModulesResponse.QueueModule.
|
|
1184
|
+
* Use `create(QueryModulesResponse_QueueModuleSchema)` to create a new message.
|
|
1185
|
+
*/
|
|
1186
|
+
export declare const QueryModulesResponse_QueueModuleSchema: GenMessage<QueryModulesResponse_QueueModule>;
|
|
1187
|
+
/**
|
|
1188
|
+
* @generated from message liquidmetal.v1alpha1.QueryModulesResponse.KVStoreModule
|
|
1189
|
+
*/
|
|
1190
|
+
export type QueryModulesResponse_KVStoreModule = Message<"liquidmetal.v1alpha1.QueryModulesResponse.KVStoreModule"> & {};
|
|
1191
|
+
/**
|
|
1192
|
+
* Describes the message liquidmetal.v1alpha1.QueryModulesResponse.KVStoreModule.
|
|
1193
|
+
* Use `create(QueryModulesResponse_KVStoreModuleSchema)` to create a new message.
|
|
1194
|
+
*/
|
|
1195
|
+
export declare const QueryModulesResponse_KVStoreModuleSchema: GenMessage<QueryModulesResponse_KVStoreModule>;
|
|
1119
1196
|
/**
|
|
1120
1197
|
* @generated from message liquidmetal.v1alpha1.QueryModulesResponse.Module
|
|
1121
1198
|
*/
|
|
@@ -1164,6 +1241,54 @@ export type QueryModulesResponse_Module = Message<"liquidmetal.v1alpha1.QueryMod
|
|
|
1164
1241
|
*/
|
|
1165
1242
|
value: QueryModulesResponse_SmartBucketModule;
|
|
1166
1243
|
case: "smartBucket";
|
|
1244
|
+
} | {
|
|
1245
|
+
/**
|
|
1246
|
+
* @generated from field: liquidmetal.v1alpha1.QueryModulesResponse.BucketModule bucket = 10;
|
|
1247
|
+
*/
|
|
1248
|
+
value: QueryModulesResponse_BucketModule;
|
|
1249
|
+
case: "bucket";
|
|
1250
|
+
} | {
|
|
1251
|
+
/**
|
|
1252
|
+
* @generated from field: liquidmetal.v1alpha1.QueryModulesResponse.ServiceModule service = 11;
|
|
1253
|
+
*/
|
|
1254
|
+
value: QueryModulesResponse_ServiceModule;
|
|
1255
|
+
case: "service";
|
|
1256
|
+
} | {
|
|
1257
|
+
/**
|
|
1258
|
+
* @generated from field: liquidmetal.v1alpha1.QueryModulesResponse.ObserverModule observer = 12;
|
|
1259
|
+
*/
|
|
1260
|
+
value: QueryModulesResponse_ObserverModule;
|
|
1261
|
+
case: "observer";
|
|
1262
|
+
} | {
|
|
1263
|
+
/**
|
|
1264
|
+
* @generated from field: liquidmetal.v1alpha1.QueryModulesResponse.TaskModule task = 13;
|
|
1265
|
+
*/
|
|
1266
|
+
value: QueryModulesResponse_TaskModule;
|
|
1267
|
+
case: "task";
|
|
1268
|
+
} | {
|
|
1269
|
+
/**
|
|
1270
|
+
* @generated from field: liquidmetal.v1alpha1.QueryModulesResponse.SQLDatabaseModule sql_database = 14;
|
|
1271
|
+
*/
|
|
1272
|
+
value: QueryModulesResponse_SQLDatabaseModule;
|
|
1273
|
+
case: "sqlDatabase";
|
|
1274
|
+
} | {
|
|
1275
|
+
/**
|
|
1276
|
+
* @generated from field: liquidmetal.v1alpha1.QueryModulesResponse.VectorIndexModule vector_index = 15;
|
|
1277
|
+
*/
|
|
1278
|
+
value: QueryModulesResponse_VectorIndexModule;
|
|
1279
|
+
case: "vectorIndex";
|
|
1280
|
+
} | {
|
|
1281
|
+
/**
|
|
1282
|
+
* @generated from field: liquidmetal.v1alpha1.QueryModulesResponse.QueueModule queue = 16;
|
|
1283
|
+
*/
|
|
1284
|
+
value: QueryModulesResponse_QueueModule;
|
|
1285
|
+
case: "queue";
|
|
1286
|
+
} | {
|
|
1287
|
+
/**
|
|
1288
|
+
* @generated from field: liquidmetal.v1alpha1.QueryModulesResponse.KVStoreModule kv_store = 17;
|
|
1289
|
+
*/
|
|
1290
|
+
value: QueryModulesResponse_KVStoreModule;
|
|
1291
|
+
case: "kvStore";
|
|
1167
1292
|
} | {
|
|
1168
1293
|
case: undefined;
|
|
1169
1294
|
value?: undefined;
|