@raystack/proton 0.1.0-ce225175aa066e6f296bc489293bb83ed0edcef6 → 0.1.0-fe747c0278b08e54b16540b091d980d1b166f948
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/README.md +113 -0
- package/google/api/annotations_pb.ts +15 -9
- package/google/api/field_behavior_pb.ts +19 -19
- package/google/api/http_pb.ts +43 -108
- package/google/api/httpbody_pb.ts +23 -37
- package/package.json +6 -4
- package/protoc-gen-openapiv2/options/annotations_pb.ts +23 -29
- package/protoc-gen-openapiv2/options/openapiv2_pb.ts +338 -808
- package/raystack/assets/v1beta1/bucket_pb.ts +46 -89
- package/raystack/assets/v1beta1/dashboard_pb.ts +49 -97
- package/raystack/assets/v1beta1/event_pb.ts +22 -36
- package/raystack/assets/v1beta1/group_pb.ts +38 -74
- package/raystack/assets/v1beta1/job_pb.ts +30 -43
- package/raystack/assets/v1beta1/lineage_pb.ts +22 -36
- package/raystack/assets/v1beta1/ownership_pb.ts +31 -68
- package/raystack/assets/v1beta1/preview_pb.ts +21 -34
- package/raystack/assets/v1beta1/properties_pb.ts +22 -37
- package/raystack/assets/v1beta1/resource_pb.ts +24 -43
- package/raystack/assets/v1beta1/schema_pb.ts +59 -145
- package/raystack/assets/v1beta1/table_pb.ts +59 -120
- package/raystack/assets/v1beta1/timestamp_pb.ts +28 -62
- package/raystack/assets/v1beta1/topic_pb.ts +43 -78
- package/raystack/assets/v1beta1/user_pb.ts +58 -125
- package/raystack/assets/v1beta2/application_pb.ts +23 -39
- package/raystack/assets/v1beta2/asset_pb.ts +30 -53
- package/raystack/assets/v1beta2/bucket_pb.ts +41 -87
- package/raystack/assets/v1beta2/common_pb.ts +56 -137
- package/raystack/assets/v1beta2/dashboard_pb.ts +44 -93
- package/raystack/assets/v1beta2/experiment_pb.ts +38 -79
- package/raystack/assets/v1beta2/feature_table_pb.ts +51 -115
- package/raystack/assets/v1beta2/group_pb.ts +32 -68
- package/raystack/assets/v1beta2/job_pb.ts +21 -35
- package/raystack/assets/v1beta2/metric_pb.ts +25 -43
- package/raystack/assets/v1beta2/model_pb.ts +59 -147
- package/raystack/assets/v1beta2/table_pb.ts +82 -200
- package/raystack/assets/v1beta2/topic_pb.ts +41 -99
- package/raystack/assets/v1beta2/user_pb.ts +53 -121
- package/raystack/common/index.ts +0 -1
- package/raystack/common/v1/service-CommonService_connectquery.ts +3 -14
- package/raystack/common/v1/service_pb.ts +57 -97
- package/raystack/compass/index.ts +0 -1
- package/raystack/compass/v1beta1/service-CompassService_connectquery.ts +44 -424
- package/raystack/compass/v1beta1/service_pb.ts +1448 -3319
- package/raystack/entropy/index.ts +0 -2
- package/raystack/entropy/v1beta1/module-ModuleService_connectquery.ts +7 -54
- package/raystack/entropy/v1beta1/module_pb.ts +156 -324
- package/raystack/entropy/v1beta1/resource-ResourceService_connectquery.ts +9 -74
- package/raystack/entropy/v1beta1/resource_pb.ts +330 -756
- package/raystack/frontier/index.ts +0 -2
- package/raystack/frontier/v1beta1/admin-AdminService_connectquery.ts +60 -514
- package/raystack/frontier/v1beta1/admin.client.ts +17 -0
- package/raystack/frontier/v1beta1/admin.ts +111 -1
- package/raystack/frontier/v1beta1/admin_pb.ts +1774 -3791
- package/raystack/frontier/v1beta1/frontier-FrontierService_connectquery.ts +169 -1674
- package/raystack/frontier/v1beta1/frontier_pb.ts +4850 -10959
- package/raystack/frontier/v1beta1/models_pb.ts +810 -2296
- package/raystack/guardian/index.ts +0 -1
- package/raystack/guardian/v1beta1/guardian-GuardianService_connectquery.ts +42 -404
- package/raystack/guardian/v1beta1/guardian_pb.ts +1584 -3783
- package/raystack/optimus/core/v1beta1/backup-BackupService_connectquery.ts +5 -34
- package/raystack/optimus/core/v1beta1/backup_pb.ts +137 -273
- package/raystack/optimus/core/v1beta1/job_run-JobRunService_connectquery.ts +6 -44
- package/raystack/optimus/core/v1beta1/job_run_pb.ts +194 -376
- package/raystack/optimus/core/v1beta1/job_spec-JobSpecificationService_connectquery.ts +17 -154
- package/raystack/optimus/core/v1beta1/job_spec_pb.ts +910 -2081
- package/raystack/optimus/core/v1beta1/namespace-NamespaceService_connectquery.ts +5 -34
- package/raystack/optimus/core/v1beta1/namespace_pb.ts +113 -212
- package/raystack/optimus/core/v1beta1/project-ProjectService_connectquery.ts +5 -34
- package/raystack/optimus/core/v1beta1/project_pb.ts +121 -238
- package/raystack/optimus/core/v1beta1/replay-ReplayService_connectquery.ts +6 -44
- package/raystack/optimus/core/v1beta1/replay_pb.ts +160 -335
- package/raystack/optimus/core/v1beta1/resource-ResourceService_connectquery.ts +8 -64
- package/raystack/optimus/core/v1beta1/resource_pb.ts +266 -527
- package/raystack/optimus/core/v1beta1/runtime-RuntimeService_connectquery.ts +3 -14
- package/raystack/optimus/core/v1beta1/runtime_pb.ts +48 -61
- package/raystack/optimus/core/v1beta1/secret-SecretService_connectquery.ts +6 -44
- package/raystack/optimus/core/v1beta1/secret_pb.ts +155 -283
- package/raystack/optimus/core/v1beta1/status_pb.ts +35 -54
- package/raystack/optimus/integration/v1beta1/event_pb.ts +75 -187
- package/raystack/optimus/plugins/v1beta1/dependency_resolver-DependencyResolverModService_connectquery.ts +6 -44
- package/raystack/optimus/plugins/v1beta1/dependency_resolver_pb.ts +193 -426
- package/raystack/predator/v1beta1/metrics_log_pb.ts +67 -173
- package/raystack/predator/v1beta1/result_log_pb.ts +60 -144
- package/raystack/raccoon/index.ts +0 -1
- package/raystack/raccoon/v1beta1/raccoon-EventService_connectquery.ts +3 -14
- package/raystack/raccoon/v1beta1/raccoon_pb.ts +142 -189
- package/raystack/siren/index.ts +0 -1
- package/raystack/siren/v1beta1/siren-SirenService_connectquery.ts +37 -354
- package/raystack/siren/v1beta1/siren_pb.ts +1155 -2637
- package/raystack/stencil/index.ts +0 -1
- package/raystack/stencil/v1beta1/stencil-StencilService_connectquery.ts +18 -164
- package/raystack/stencil/v1beta1/stencil_pb.ts +530 -1157
- package/validate/validate_pb.ts +401 -1038
- package/raystack/common/v1/service_connect.ts +0 -26
- package/raystack/compass/v1beta1/service_connect.ts +0 -407
- package/raystack/entropy/v1beta1/module_connect.ts +0 -62
- package/raystack/entropy/v1beta1/resource_connect.ts +0 -89
- package/raystack/frontier/v1beta1/admin_connect.ts +0 -573
- package/raystack/frontier/v1beta1/frontier_connect.ts +0 -1574
- package/raystack/guardian/v1beta1/guardian_connect.ts +0 -381
- package/raystack/optimus/core/v1beta1/backup_connect.ts +0 -44
- package/raystack/optimus/core/v1beta1/job_run_connect.ts +0 -63
- package/raystack/optimus/core/v1beta1/job_spec_connect.ts +0 -233
- package/raystack/optimus/core/v1beta1/namespace_connect.ts +0 -50
- package/raystack/optimus/core/v1beta1/project_connect.ts +0 -50
- package/raystack/optimus/core/v1beta1/replay_connect.ts +0 -53
- package/raystack/optimus/core/v1beta1/resource_connect.ts +0 -96
- package/raystack/optimus/core/v1beta1/runtime_connect.ts +0 -30
- package/raystack/optimus/core/v1beta1/secret_connect.ts +0 -61
- package/raystack/optimus/plugins/v1beta1/dependency_resolver_connect.ts +0 -65
- package/raystack/raccoon/v1beta1/raccoon_connect.ts +0 -26
- package/raystack/siren/v1beta1/siren_connect.ts +0 -332
- package/raystack/stencil/v1beta1/stencil_connect.ts +0 -161
|
@@ -1,23 +1,32 @@
|
|
|
1
|
-
// @generated by protoc-gen-es
|
|
1
|
+
// @generated by protoc-gen-es v2.6.2 with parameter "target=ts,import_extension=none"
|
|
2
2
|
// @generated from file raystack/assets/v1beta2/bucket.proto (package raystack.assets.v1beta2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
|
-
// @ts-nocheck
|
|
5
4
|
|
|
6
|
-
import type {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
5
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
8
|
+
import { file_google_protobuf_struct, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
9
|
+
import type { Owner } from "./common_pb";
|
|
10
|
+
import { file_raystack_assets_v1beta2_common } from "./common_pb";
|
|
11
|
+
import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Describes the file raystack/assets/v1beta2/bucket.proto.
|
|
15
|
+
*/
|
|
16
|
+
export const file_raystack_assets_v1beta2_bucket: GenFile = /*@__PURE__*/
|
|
17
|
+
fileDesc("CiRyYXlzdGFjay9hc3NldHMvdjFiZXRhMi9idWNrZXQucHJvdG8SF3JheXN0YWNrLmFzc2V0cy52MWJldGEyIoICCgZCdWNrZXQSEwoLZGVzY3JpcHRpb24YASABKAkSEAoIbG9jYXRpb24YAiABKAkSFAoMc3RvcmFnZV90eXBlGAMgASgJEiwKBWJsb2JzGAQgAygLMh0ucmF5c3RhY2suYXNzZXRzLnYxYmV0YTIuQmxvYhIrCgphdHRyaWJ1dGVzGAogASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdBIvCgtjcmVhdGVfdGltZRhlIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLwoLdXBkYXRlX3RpbWUYZiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wIuMCCgRCbG9iEgsKA3VybhgBIAEoCRIMCgRuYW1lGAIgASgJEg4KBnNvdXJjZRgDIAEoCRIMCgRzaXplGAQgASgDEi8KC2RlbGV0ZV90aW1lGAUgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIvCgtleHBpcmVfdGltZRgGIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASKwoKYXR0cmlidXRlcxgHIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3QSMQoJb3duZXJzaGlwGB8gAygLMh4ucmF5c3RhY2suYXNzZXRzLnYxYmV0YTIuT3duZXISLwoLY3JlYXRlX3RpbWUYZSABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEi8KC3VwZGF0ZV90aW1lGGYgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEJaChJpby5yYXlzdGFjay5hc3NldHNCC0J1Y2tldFByb3RvWjdnaXRodWIuY29tL3JheXN0YWNrL3Byb3Rvbi9hc3NldHMvdjFiZXRhMjthc3NldHN2MWJldGEyYgZwcm90bzM", [file_google_protobuf_struct, file_google_protobuf_timestamp, file_raystack_assets_v1beta2_common]);
|
|
9
18
|
|
|
10
19
|
/**
|
|
11
20
|
* @generated from message raystack.assets.v1beta2.Bucket
|
|
12
21
|
*/
|
|
13
|
-
export
|
|
22
|
+
export type Bucket = Message<"raystack.assets.v1beta2.Bucket"> & {
|
|
14
23
|
/**
|
|
15
24
|
* The description of the bucket.
|
|
16
25
|
* Example: `This bucket was created by the product team.`
|
|
17
26
|
*
|
|
18
27
|
* @generated from field: string description = 1;
|
|
19
28
|
*/
|
|
20
|
-
description
|
|
29
|
+
description: string;
|
|
21
30
|
|
|
22
31
|
/**
|
|
23
32
|
* The location of the bucket. Can differ based on cloud storage used. (e.g. GCS, S3, etc)
|
|
@@ -25,7 +34,7 @@ export class Bucket extends Message<Bucket> {
|
|
|
25
34
|
*
|
|
26
35
|
* @generated from field: string location = 2;
|
|
27
36
|
*/
|
|
28
|
-
location
|
|
37
|
+
location: string;
|
|
29
38
|
|
|
30
39
|
/**
|
|
31
40
|
* The type of the storage. Can differ based on cloud storage used. (e.g. GCS, S3, etc)
|
|
@@ -33,21 +42,21 @@ export class Bucket extends Message<Bucket> {
|
|
|
33
42
|
*
|
|
34
43
|
* @generated from field: string storage_type = 3;
|
|
35
44
|
*/
|
|
36
|
-
storageType
|
|
45
|
+
storageType: string;
|
|
37
46
|
|
|
38
47
|
/**
|
|
39
48
|
* List of blobs in the bucket.
|
|
40
49
|
*
|
|
41
50
|
* @generated from field: repeated raystack.assets.v1beta2.Blob blobs = 4;
|
|
42
51
|
*/
|
|
43
|
-
blobs: Blob[]
|
|
52
|
+
blobs: Blob[];
|
|
44
53
|
|
|
45
54
|
/**
|
|
46
55
|
* List of attributes the model has.
|
|
47
56
|
*
|
|
48
57
|
* @generated from field: google.protobuf.Struct attributes = 10;
|
|
49
58
|
*/
|
|
50
|
-
attributes?:
|
|
59
|
+
attributes?: JsonObject;
|
|
51
60
|
|
|
52
61
|
/**
|
|
53
62
|
* The timestamp of the bucket's creation.
|
|
@@ -62,52 +71,26 @@ export class Bucket extends Message<Bucket> {
|
|
|
62
71
|
* @generated from field: google.protobuf.Timestamp update_time = 102;
|
|
63
72
|
*/
|
|
64
73
|
updateTime?: Timestamp;
|
|
74
|
+
};
|
|
65
75
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
static readonly typeName = "raystack.assets.v1beta2.Bucket";
|
|
73
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
74
|
-
{ no: 1, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
75
|
-
{ no: 2, name: "location", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
76
|
-
{ no: 3, name: "storage_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
77
|
-
{ no: 4, name: "blobs", kind: "message", T: Blob, repeated: true },
|
|
78
|
-
{ no: 10, name: "attributes", kind: "message", T: Struct },
|
|
79
|
-
{ no: 101, name: "create_time", kind: "message", T: Timestamp },
|
|
80
|
-
{ no: 102, name: "update_time", kind: "message", T: Timestamp },
|
|
81
|
-
]);
|
|
82
|
-
|
|
83
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Bucket {
|
|
84
|
-
return new Bucket().fromBinary(bytes, options);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Bucket {
|
|
88
|
-
return new Bucket().fromJson(jsonValue, options);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Bucket {
|
|
92
|
-
return new Bucket().fromJsonString(jsonString, options);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
static equals(a: Bucket | PlainMessage<Bucket> | undefined, b: Bucket | PlainMessage<Bucket> | undefined): boolean {
|
|
96
|
-
return proto3.util.equals(Bucket, a, b);
|
|
97
|
-
}
|
|
98
|
-
}
|
|
76
|
+
/**
|
|
77
|
+
* Describes the message raystack.assets.v1beta2.Bucket.
|
|
78
|
+
* Use `create(BucketSchema)` to create a new message.
|
|
79
|
+
*/
|
|
80
|
+
export const BucketSchema: GenMessage<Bucket> = /*@__PURE__*/
|
|
81
|
+
messageDesc(file_raystack_assets_v1beta2_bucket, 0);
|
|
99
82
|
|
|
100
83
|
/**
|
|
101
84
|
* @generated from message raystack.assets.v1beta2.Blob
|
|
102
85
|
*/
|
|
103
|
-
export
|
|
86
|
+
export type Blob = Message<"raystack.assets.v1beta2.Blob"> & {
|
|
104
87
|
/**
|
|
105
88
|
* The URN of the blob.
|
|
106
89
|
* Example: `location/bucket-name/file-name`.
|
|
107
90
|
*
|
|
108
91
|
* @generated from field: string urn = 1;
|
|
109
92
|
*/
|
|
110
|
-
urn
|
|
93
|
+
urn: string;
|
|
111
94
|
|
|
112
95
|
/**
|
|
113
96
|
* The name of the blob.
|
|
@@ -115,7 +98,7 @@ export class Blob extends Message<Blob> {
|
|
|
115
98
|
*
|
|
116
99
|
* @generated from field: string name = 2;
|
|
117
100
|
*/
|
|
118
|
-
name
|
|
101
|
+
name: string;
|
|
119
102
|
|
|
120
103
|
/**
|
|
121
104
|
* The source of the blob.
|
|
@@ -123,7 +106,7 @@ export class Blob extends Message<Blob> {
|
|
|
123
106
|
*
|
|
124
107
|
* @generated from field: string source = 3;
|
|
125
108
|
*/
|
|
126
|
-
source
|
|
109
|
+
source: string;
|
|
127
110
|
|
|
128
111
|
/**
|
|
129
112
|
* The length of the object content.
|
|
@@ -131,7 +114,7 @@ export class Blob extends Message<Blob> {
|
|
|
131
114
|
*
|
|
132
115
|
* @generated from field: int64 size = 4;
|
|
133
116
|
*/
|
|
134
|
-
size
|
|
117
|
+
size: bigint;
|
|
135
118
|
|
|
136
119
|
/**
|
|
137
120
|
* Delete time of the blob object.
|
|
@@ -152,7 +135,7 @@ export class Blob extends Message<Blob> {
|
|
|
152
135
|
*
|
|
153
136
|
* @generated from field: google.protobuf.Struct attributes = 7;
|
|
154
137
|
*/
|
|
155
|
-
attributes?:
|
|
138
|
+
attributes?: JsonObject;
|
|
156
139
|
|
|
157
140
|
/**
|
|
158
141
|
* The ownership of the blob.
|
|
@@ -160,7 +143,7 @@ export class Blob extends Message<Blob> {
|
|
|
160
143
|
*
|
|
161
144
|
* @generated from field: repeated raystack.assets.v1beta2.Owner ownership = 31;
|
|
162
145
|
*/
|
|
163
|
-
ownership: Owner[]
|
|
146
|
+
ownership: Owner[];
|
|
164
147
|
|
|
165
148
|
/**
|
|
166
149
|
* The timestamp of the blob's creation.
|
|
@@ -175,41 +158,12 @@ export class Blob extends Message<Blob> {
|
|
|
175
158
|
* @generated from field: google.protobuf.Timestamp update_time = 102;
|
|
176
159
|
*/
|
|
177
160
|
updateTime?: Timestamp;
|
|
161
|
+
};
|
|
178
162
|
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
static readonly typeName = "raystack.assets.v1beta2.Blob";
|
|
186
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
187
|
-
{ no: 1, name: "urn", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
188
|
-
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
189
|
-
{ no: 3, name: "source", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
190
|
-
{ no: 4, name: "size", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
191
|
-
{ no: 5, name: "delete_time", kind: "message", T: Timestamp },
|
|
192
|
-
{ no: 6, name: "expire_time", kind: "message", T: Timestamp },
|
|
193
|
-
{ no: 7, name: "attributes", kind: "message", T: Struct },
|
|
194
|
-
{ no: 31, name: "ownership", kind: "message", T: Owner, repeated: true },
|
|
195
|
-
{ no: 101, name: "create_time", kind: "message", T: Timestamp },
|
|
196
|
-
{ no: 102, name: "update_time", kind: "message", T: Timestamp },
|
|
197
|
-
]);
|
|
198
|
-
|
|
199
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Blob {
|
|
200
|
-
return new Blob().fromBinary(bytes, options);
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Blob {
|
|
204
|
-
return new Blob().fromJson(jsonValue, options);
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Blob {
|
|
208
|
-
return new Blob().fromJsonString(jsonString, options);
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
static equals(a: Blob | PlainMessage<Blob> | undefined, b: Blob | PlainMessage<Blob> | undefined): boolean {
|
|
212
|
-
return proto3.util.equals(Blob, a, b);
|
|
213
|
-
}
|
|
214
|
-
}
|
|
163
|
+
/**
|
|
164
|
+
* Describes the message raystack.assets.v1beta2.Blob.
|
|
165
|
+
* Use `create(BlobSchema)` to create a new message.
|
|
166
|
+
*/
|
|
167
|
+
export const BlobSchema: GenMessage<Blob> = /*@__PURE__*/
|
|
168
|
+
messageDesc(file_raystack_assets_v1beta2_bucket, 1);
|
|
215
169
|
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
// @generated by protoc-gen-es
|
|
1
|
+
// @generated by protoc-gen-es v2.6.2 with parameter "target=ts,import_extension=none"
|
|
2
2
|
// @generated from file raystack/assets/v1beta2/common.proto (package raystack.assets.v1beta2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
|
-
// @ts-nocheck
|
|
5
4
|
|
|
6
|
-
import type {
|
|
7
|
-
import {
|
|
5
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
8
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
9
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Describes the file raystack/assets/v1beta2/common.proto.
|
|
13
|
+
*/
|
|
14
|
+
export const file_raystack_assets_v1beta2_common: GenFile = /*@__PURE__*/
|
|
15
|
+
fileDesc("CiRyYXlzdGFjay9hc3NldHMvdjFiZXRhMi9jb21tb24ucHJvdG8SF3JheXN0YWNrLmFzc2V0cy52MWJldGEyIlsKBUV2ZW50Ei0KCXRpbWVzdGFtcBgBIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASDgoGYWN0aW9uGAIgASgJEhMKC2Rlc2NyaXB0aW9uGAMgASgJIncKB0xpbmVhZ2USNAoJdXBzdHJlYW1zGAEgAygLMiEucmF5c3RhY2suYXNzZXRzLnYxYmV0YTIuUmVzb3VyY2USNgoLZG93bnN0cmVhbXMYAiADKAsyIS5yYXlzdGFjay5hc3NldHMudjFiZXRhMi5SZXNvdXJjZSJECghSZXNvdXJjZRILCgN1cm4YASABKAkSDAoEbmFtZRgCIAEoCRIPCgdzZXJ2aWNlGAMgASgJEgwKBHR5cGUYBCABKAkiPwoFT3duZXISCwoDdXJuGAEgASgJEgwKBG5hbWUYAiABKAkSDAoEcm9sZRgDIAEoCRINCgVlbWFpbBgEIAEoCUJaChJpby5yYXlzdGFjay5hc3NldHNCC0NvbW1vblByb3RvWjdnaXRodWIuY29tL3JheXN0YWNrL3Byb3Rvbi9hc3NldHMvdjFiZXRhMjthc3NldHN2MWJldGEyYgZwcm90bzM", [file_google_protobuf_timestamp]);
|
|
8
16
|
|
|
9
17
|
/**
|
|
10
18
|
* Event represents an event in the system.
|
|
@@ -13,7 +21,7 @@ import { Message, proto3, Timestamp } from "@bufbuild/protobuf";
|
|
|
13
21
|
*
|
|
14
22
|
* @generated from message raystack.assets.v1beta2.Event
|
|
15
23
|
*/
|
|
16
|
-
export
|
|
24
|
+
export type Event = Message<"raystack.assets.v1beta2.Event"> & {
|
|
17
25
|
/**
|
|
18
26
|
* The timestamp of the event.
|
|
19
27
|
* Example: `2018-01-01T00:00:00Z`.
|
|
@@ -28,7 +36,7 @@ export class Event extends Message<Event> {
|
|
|
28
36
|
*
|
|
29
37
|
* @generated from field: string action = 2;
|
|
30
38
|
*/
|
|
31
|
-
action
|
|
39
|
+
action: string;
|
|
32
40
|
|
|
33
41
|
/**
|
|
34
42
|
* The description of the event.
|
|
@@ -36,37 +44,15 @@ export class Event extends Message<Event> {
|
|
|
36
44
|
*
|
|
37
45
|
* @generated from field: string description = 3;
|
|
38
46
|
*/
|
|
39
|
-
description
|
|
40
|
-
|
|
41
|
-
constructor(data?: PartialMessage<Event>) {
|
|
42
|
-
super();
|
|
43
|
-
proto3.util.initPartial(data, this);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
47
|
-
static readonly typeName = "raystack.assets.v1beta2.Event";
|
|
48
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
49
|
-
{ no: 1, name: "timestamp", kind: "message", T: Timestamp },
|
|
50
|
-
{ no: 2, name: "action", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
51
|
-
{ no: 3, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
52
|
-
]);
|
|
53
|
-
|
|
54
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Event {
|
|
55
|
-
return new Event().fromBinary(bytes, options);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Event {
|
|
59
|
-
return new Event().fromJson(jsonValue, options);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Event {
|
|
63
|
-
return new Event().fromJsonString(jsonString, options);
|
|
64
|
-
}
|
|
47
|
+
description: string;
|
|
48
|
+
};
|
|
65
49
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
50
|
+
/**
|
|
51
|
+
* Describes the message raystack.assets.v1beta2.Event.
|
|
52
|
+
* Use `create(EventSchema)` to create a new message.
|
|
53
|
+
*/
|
|
54
|
+
export const EventSchema: GenMessage<Event> = /*@__PURE__*/
|
|
55
|
+
messageDesc(file_raystack_assets_v1beta2_common, 0);
|
|
70
56
|
|
|
71
57
|
/**
|
|
72
58
|
* Linage represents the relationship of resource to other resources.
|
|
@@ -74,14 +60,14 @@ export class Event extends Message<Event> {
|
|
|
74
60
|
*
|
|
75
61
|
* @generated from message raystack.assets.v1beta2.Lineage
|
|
76
62
|
*/
|
|
77
|
-
export
|
|
63
|
+
export type Lineage = Message<"raystack.assets.v1beta2.Lineage"> & {
|
|
78
64
|
/**
|
|
79
65
|
* The resource that is the source of the relationship.
|
|
80
66
|
* Example: a resource that is the parent of another resource.
|
|
81
67
|
*
|
|
82
68
|
* @generated from field: repeated raystack.assets.v1beta2.Resource upstreams = 1;
|
|
83
69
|
*/
|
|
84
|
-
upstreams: Resource[]
|
|
70
|
+
upstreams: Resource[];
|
|
85
71
|
|
|
86
72
|
/**
|
|
87
73
|
* The resource that is the destination of the relationship.
|
|
@@ -89,48 +75,27 @@ export class Lineage extends Message<Lineage> {
|
|
|
89
75
|
*
|
|
90
76
|
* @generated from field: repeated raystack.assets.v1beta2.Resource downstreams = 2;
|
|
91
77
|
*/
|
|
92
|
-
downstreams: Resource[]
|
|
93
|
-
|
|
94
|
-
constructor(data?: PartialMessage<Lineage>) {
|
|
95
|
-
super();
|
|
96
|
-
proto3.util.initPartial(data, this);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
100
|
-
static readonly typeName = "raystack.assets.v1beta2.Lineage";
|
|
101
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
102
|
-
{ no: 1, name: "upstreams", kind: "message", T: Resource, repeated: true },
|
|
103
|
-
{ no: 2, name: "downstreams", kind: "message", T: Resource, repeated: true },
|
|
104
|
-
]);
|
|
78
|
+
downstreams: Resource[];
|
|
79
|
+
};
|
|
105
80
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Lineage {
|
|
115
|
-
return new Lineage().fromJsonString(jsonString, options);
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
static equals(a: Lineage | PlainMessage<Lineage> | undefined, b: Lineage | PlainMessage<Lineage> | undefined): boolean {
|
|
119
|
-
return proto3.util.equals(Lineage, a, b);
|
|
120
|
-
}
|
|
121
|
-
}
|
|
81
|
+
/**
|
|
82
|
+
* Describes the message raystack.assets.v1beta2.Lineage.
|
|
83
|
+
* Use `create(LineageSchema)` to create a new message.
|
|
84
|
+
*/
|
|
85
|
+
export const LineageSchema: GenMessage<Lineage> = /*@__PURE__*/
|
|
86
|
+
messageDesc(file_raystack_assets_v1beta2_common, 1);
|
|
122
87
|
|
|
123
88
|
/**
|
|
124
89
|
* @generated from message raystack.assets.v1beta2.Resource
|
|
125
90
|
*/
|
|
126
|
-
export
|
|
91
|
+
export type Resource = Message<"raystack.assets.v1beta2.Resource"> & {
|
|
127
92
|
/**
|
|
128
93
|
* The unique identifier of the resource.
|
|
129
94
|
* Example: `user:jdoe` or `group:accounting`.
|
|
130
95
|
*
|
|
131
96
|
* @generated from field: string urn = 1;
|
|
132
97
|
*/
|
|
133
|
-
urn
|
|
98
|
+
urn: string;
|
|
134
99
|
|
|
135
100
|
/**
|
|
136
101
|
* The name of the resource.
|
|
@@ -138,7 +103,7 @@ export class Resource extends Message<Resource> {
|
|
|
138
103
|
*
|
|
139
104
|
* @generated from field: string name = 2;
|
|
140
105
|
*/
|
|
141
|
-
name
|
|
106
|
+
name: string;
|
|
142
107
|
|
|
143
108
|
/**
|
|
144
109
|
* The source of the resource.
|
|
@@ -146,7 +111,7 @@ export class Resource extends Message<Resource> {
|
|
|
146
111
|
*
|
|
147
112
|
* @generated from field: string service = 3;
|
|
148
113
|
*/
|
|
149
|
-
service
|
|
114
|
+
service: string;
|
|
150
115
|
|
|
151
116
|
/**
|
|
152
117
|
* The type of the asset.
|
|
@@ -154,38 +119,15 @@ export class Resource extends Message<Resource> {
|
|
|
154
119
|
*
|
|
155
120
|
* @generated from field: string type = 4;
|
|
156
121
|
*/
|
|
157
|
-
type
|
|
158
|
-
|
|
159
|
-
constructor(data?: PartialMessage<Resource>) {
|
|
160
|
-
super();
|
|
161
|
-
proto3.util.initPartial(data, this);
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
165
|
-
static readonly typeName = "raystack.assets.v1beta2.Resource";
|
|
166
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
167
|
-
{ no: 1, name: "urn", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
168
|
-
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
169
|
-
{ no: 3, name: "service", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
170
|
-
{ no: 4, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
171
|
-
]);
|
|
172
|
-
|
|
173
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Resource {
|
|
174
|
-
return new Resource().fromBinary(bytes, options);
|
|
175
|
-
}
|
|
122
|
+
type: string;
|
|
123
|
+
};
|
|
176
124
|
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
static equals(a: Resource | PlainMessage<Resource> | undefined, b: Resource | PlainMessage<Resource> | undefined): boolean {
|
|
186
|
-
return proto3.util.equals(Resource, a, b);
|
|
187
|
-
}
|
|
188
|
-
}
|
|
125
|
+
/**
|
|
126
|
+
* Describes the message raystack.assets.v1beta2.Resource.
|
|
127
|
+
* Use `create(ResourceSchema)` to create a new message.
|
|
128
|
+
*/
|
|
129
|
+
export const ResourceSchema: GenMessage<Resource> = /*@__PURE__*/
|
|
130
|
+
messageDesc(file_raystack_assets_v1beta2_common, 2);
|
|
189
131
|
|
|
190
132
|
/**
|
|
191
133
|
* Owner is a facet that describes the owner of a resource.
|
|
@@ -195,11 +137,11 @@ export class Resource extends Message<Resource> {
|
|
|
195
137
|
*
|
|
196
138
|
* @generated from message raystack.assets.v1beta2.Owner
|
|
197
139
|
*/
|
|
198
|
-
export
|
|
140
|
+
export type Owner = Message<"raystack.assets.v1beta2.Owner"> & {
|
|
199
141
|
/**
|
|
200
142
|
* @generated from field: string urn = 1;
|
|
201
143
|
*/
|
|
202
|
-
urn
|
|
144
|
+
urn: string;
|
|
203
145
|
|
|
204
146
|
/**
|
|
205
147
|
* The name of the owner.
|
|
@@ -207,7 +149,7 @@ export class Owner extends Message<Owner> {
|
|
|
207
149
|
*
|
|
208
150
|
* @generated from field: string name = 2;
|
|
209
151
|
*/
|
|
210
|
-
name
|
|
152
|
+
name: string;
|
|
211
153
|
|
|
212
154
|
/**
|
|
213
155
|
* The role of the owner.
|
|
@@ -215,7 +157,7 @@ export class Owner extends Message<Owner> {
|
|
|
215
157
|
*
|
|
216
158
|
* @generated from field: string role = 3;
|
|
217
159
|
*/
|
|
218
|
-
role
|
|
160
|
+
role: string;
|
|
219
161
|
|
|
220
162
|
/**
|
|
221
163
|
* The email of the owner.
|
|
@@ -223,36 +165,13 @@ export class Owner extends Message<Owner> {
|
|
|
223
165
|
*
|
|
224
166
|
* @generated from field: string email = 4;
|
|
225
167
|
*/
|
|
226
|
-
email
|
|
168
|
+
email: string;
|
|
169
|
+
};
|
|
227
170
|
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
static readonly typeName = "raystack.assets.v1beta2.Owner";
|
|
235
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
236
|
-
{ no: 1, name: "urn", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
237
|
-
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
238
|
-
{ no: 3, name: "role", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
239
|
-
{ no: 4, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
240
|
-
]);
|
|
241
|
-
|
|
242
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Owner {
|
|
243
|
-
return new Owner().fromBinary(bytes, options);
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Owner {
|
|
247
|
-
return new Owner().fromJson(jsonValue, options);
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Owner {
|
|
251
|
-
return new Owner().fromJsonString(jsonString, options);
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
static equals(a: Owner | PlainMessage<Owner> | undefined, b: Owner | PlainMessage<Owner> | undefined): boolean {
|
|
255
|
-
return proto3.util.equals(Owner, a, b);
|
|
256
|
-
}
|
|
257
|
-
}
|
|
171
|
+
/**
|
|
172
|
+
* Describes the message raystack.assets.v1beta2.Owner.
|
|
173
|
+
* Use `create(OwnerSchema)` to create a new message.
|
|
174
|
+
*/
|
|
175
|
+
export const OwnerSchema: GenMessage<Owner> = /*@__PURE__*/
|
|
176
|
+
messageDesc(file_raystack_assets_v1beta2_common, 3);
|
|
258
177
|
|