@raystack/proton 0.1.0-35dd68d487bfa7e7339c40e9b103ee7377aac6e6 → 0.1.0-881c92a4cab2490e6c680462a94660b551b1040f

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