@raystack/proton 0.1.0-8a4f578dceca476c696c82054faaf4871b1b949c → 0.1.0-8cb19702a3e47d173732860d58084b83d6941865

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 (198) 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/index.ts +29 -29
  10. package/raystack/assets/v1beta1/bucket_pb.ts +46 -89
  11. package/raystack/assets/v1beta1/dashboard_pb.ts +49 -97
  12. package/raystack/assets/v1beta1/event_pb.ts +22 -36
  13. package/raystack/assets/v1beta1/group_pb.ts +38 -74
  14. package/raystack/assets/v1beta1/job_pb.ts +30 -43
  15. package/raystack/assets/v1beta1/lineage_pb.ts +22 -36
  16. package/raystack/assets/v1beta1/ownership_pb.ts +31 -68
  17. package/raystack/assets/v1beta1/preview_pb.ts +21 -34
  18. package/raystack/assets/v1beta1/properties_pb.ts +22 -37
  19. package/raystack/assets/v1beta1/resource_pb.ts +24 -43
  20. package/raystack/assets/v1beta1/schema_pb.ts +59 -145
  21. package/raystack/assets/v1beta1/table_pb.ts +59 -120
  22. package/raystack/assets/v1beta1/timestamp_pb.ts +28 -62
  23. package/raystack/assets/v1beta1/topic_pb.ts +43 -78
  24. package/raystack/assets/v1beta1/user_pb.ts +58 -125
  25. package/raystack/assets/v1beta2/application_pb.ts +23 -39
  26. package/raystack/assets/v1beta2/asset_pb.ts +30 -53
  27. package/raystack/assets/v1beta2/bucket_pb.ts +41 -87
  28. package/raystack/assets/v1beta2/common_pb.ts +56 -137
  29. package/raystack/assets/v1beta2/dashboard_pb.ts +44 -93
  30. package/raystack/assets/v1beta2/experiment_pb.ts +38 -79
  31. package/raystack/assets/v1beta2/feature_table_pb.ts +51 -115
  32. package/raystack/assets/v1beta2/group_pb.ts +32 -68
  33. package/raystack/assets/v1beta2/job_pb.ts +21 -35
  34. package/raystack/assets/v1beta2/metric_pb.ts +25 -43
  35. package/raystack/assets/v1beta2/model_pb.ts +59 -147
  36. package/raystack/assets/v1beta2/table_pb.ts +82 -200
  37. package/raystack/assets/v1beta2/topic_pb.ts +41 -99
  38. package/raystack/assets/v1beta2/user_pb.ts +53 -121
  39. package/raystack/common/index.ts +1 -2
  40. package/raystack/common/v1/service-CommonService_connectquery.ts +3 -14
  41. package/raystack/common/v1/service_pb.ts +57 -97
  42. package/raystack/compass/index.ts +1 -2
  43. package/raystack/compass/v1beta1/service-CompassService_connectquery.ts +44 -424
  44. package/raystack/compass/v1beta1/service_pb.ts +1448 -3319
  45. package/raystack/entropy/index.ts +2 -4
  46. package/raystack/entropy/v1beta1/module-ModuleService_connectquery.ts +7 -54
  47. package/raystack/entropy/v1beta1/module_pb.ts +156 -324
  48. package/raystack/entropy/v1beta1/resource-ResourceService_connectquery.ts +9 -74
  49. package/raystack/entropy/v1beta1/resource_pb.ts +330 -756
  50. package/raystack/frontier/index.ts +3 -5
  51. package/raystack/frontier/v1beta1/admin-AdminService_connectquery.ts +60 -514
  52. package/raystack/frontier/v1beta1/admin_pb.ts +1774 -3791
  53. package/raystack/frontier/v1beta1/frontier-FrontierService_connectquery.ts +169 -1674
  54. package/raystack/frontier/v1beta1/frontier_pb.ts +4850 -10959
  55. package/raystack/frontier/v1beta1/models_pb.ts +810 -2296
  56. package/raystack/guardian/index.ts +1 -2
  57. package/raystack/guardian/v1beta1/guardian-GuardianService_connectquery.ts +42 -404
  58. package/raystack/guardian/v1beta1/guardian_pb.ts +1584 -3783
  59. package/raystack/optimus/core/v1beta1/backup-BackupService_connectquery.ts +5 -34
  60. package/raystack/optimus/core/v1beta1/backup_pb.ts +137 -273
  61. package/raystack/optimus/core/v1beta1/job_run-JobRunService_connectquery.ts +6 -44
  62. package/raystack/optimus/core/v1beta1/job_run_pb.ts +194 -376
  63. package/raystack/optimus/core/v1beta1/job_spec-JobSpecificationService_connectquery.ts +17 -154
  64. package/raystack/optimus/core/v1beta1/job_spec_pb.ts +910 -2081
  65. package/raystack/optimus/core/v1beta1/namespace-NamespaceService_connectquery.ts +5 -34
  66. package/raystack/optimus/core/v1beta1/namespace_pb.ts +113 -212
  67. package/raystack/optimus/core/v1beta1/project-ProjectService_connectquery.ts +5 -34
  68. package/raystack/optimus/core/v1beta1/project_pb.ts +121 -238
  69. package/raystack/optimus/core/v1beta1/replay-ReplayService_connectquery.ts +6 -44
  70. package/raystack/optimus/core/v1beta1/replay_pb.ts +160 -335
  71. package/raystack/optimus/core/v1beta1/resource-ResourceService_connectquery.ts +8 -64
  72. package/raystack/optimus/core/v1beta1/resource_pb.ts +266 -527
  73. package/raystack/optimus/core/v1beta1/runtime-RuntimeService_connectquery.ts +3 -14
  74. package/raystack/optimus/core/v1beta1/runtime_pb.ts +48 -61
  75. package/raystack/optimus/core/v1beta1/secret-SecretService_connectquery.ts +6 -44
  76. package/raystack/optimus/core/v1beta1/secret_pb.ts +155 -283
  77. package/raystack/optimus/core/v1beta1/status_pb.ts +35 -54
  78. package/raystack/optimus/integration/v1beta1/event_pb.ts +75 -187
  79. package/raystack/optimus/plugins/v1beta1/dependency_resolver-DependencyResolverModService_connectquery.ts +6 -44
  80. package/raystack/optimus/plugins/v1beta1/dependency_resolver_pb.ts +193 -426
  81. package/raystack/predator/index.ts +2 -2
  82. package/raystack/predator/v1beta1/metrics_log_pb.ts +67 -173
  83. package/raystack/predator/v1beta1/result_log_pb.ts +60 -144
  84. package/raystack/raccoon/index.ts +1 -2
  85. package/raystack/raccoon/v1beta1/raccoon-EventService_connectquery.ts +3 -14
  86. package/raystack/raccoon/v1beta1/raccoon_pb.ts +142 -189
  87. package/raystack/siren/index.ts +1 -2
  88. package/raystack/siren/v1beta1/siren-SirenService_connectquery.ts +37 -354
  89. package/raystack/siren/v1beta1/siren_pb.ts +1155 -2637
  90. package/raystack/stencil/index.ts +1 -2
  91. package/raystack/stencil/v1beta1/stencil-StencilService_connectquery.ts +18 -164
  92. package/raystack/stencil/v1beta1/stencil_pb.ts +530 -1157
  93. package/validate/validate_pb.ts +401 -1038
  94. package/google/api/field_behavior.ts +0 -95
  95. package/google/api/http.ts +0 -695
  96. package/google/api/httpbody.ts +0 -159
  97. package/google/protobuf/any.ts +0 -322
  98. package/google/protobuf/descriptor.ts +0 -3475
  99. package/google/protobuf/duration.ts +0 -231
  100. package/google/protobuf/struct.ts +0 -484
  101. package/google/protobuf/timestamp.ts +0 -290
  102. package/google/protobuf/wrappers.ts +0 -752
  103. package/protoc-gen-openapiv2/options/openapiv2.ts +0 -3110
  104. package/raystack/assets/v1beta1/bucket.ts +0 -362
  105. package/raystack/assets/v1beta1/dashboard.ts +0 -426
  106. package/raystack/assets/v1beta1/event.ts +0 -105
  107. package/raystack/assets/v1beta1/group.ts +0 -223
  108. package/raystack/assets/v1beta1/job.ts +0 -147
  109. package/raystack/assets/v1beta1/lineage.ts +0 -90
  110. package/raystack/assets/v1beta1/ownership.ts +0 -179
  111. package/raystack/assets/v1beta1/preview.ts +0 -87
  112. package/raystack/assets/v1beta1/properties.ts +0 -116
  113. package/raystack/assets/v1beta1/resource.ts +0 -149
  114. package/raystack/assets/v1beta1/schema.ts +0 -421
  115. package/raystack/assets/v1beta1/table.ts +0 -408
  116. package/raystack/assets/v1beta1/timestamp.ts +0 -158
  117. package/raystack/assets/v1beta1/topic.ts +0 -253
  118. package/raystack/assets/v1beta1/user.ts +0 -451
  119. package/raystack/assets/v1beta2/application.ts +0 -125
  120. package/raystack/assets/v1beta2/asset.ts +0 -269
  121. package/raystack/assets/v1beta2/bucket.ts +0 -341
  122. package/raystack/assets/v1beta2/common.ts +0 -392
  123. package/raystack/assets/v1beta2/dashboard.ts +0 -393
  124. package/raystack/assets/v1beta2/experiment.ts +0 -274
  125. package/raystack/assets/v1beta2/feature_table.ts +0 -387
  126. package/raystack/assets/v1beta2/group.ts +0 -178
  127. package/raystack/assets/v1beta2/job.ts +0 -99
  128. package/raystack/assets/v1beta2/metric.ts +0 -163
  129. package/raystack/assets/v1beta2/model.ts +0 -519
  130. package/raystack/assets/v1beta2/table.ts +0 -663
  131. package/raystack/assets/v1beta2/topic.ts +0 -275
  132. package/raystack/assets/v1beta2/user.ts +0 -433
  133. package/raystack/common/v1/service.client.ts +0 -37
  134. package/raystack/common/v1/service.ts +0 -245
  135. package/raystack/common/v1/service_connect.ts +0 -26
  136. package/raystack/compass/v1beta1/service.client.ts +0 -594
  137. package/raystack/compass/v1beta1/service.ts +0 -8169
  138. package/raystack/compass/v1beta1/service_connect.ts +0 -407
  139. package/raystack/entropy/v1beta1/module.client.ts +0 -89
  140. package/raystack/entropy/v1beta1/module.ts +0 -692
  141. package/raystack/entropy/v1beta1/module_connect.ts +0 -62
  142. package/raystack/entropy/v1beta1/resource.client.ts +0 -129
  143. package/raystack/entropy/v1beta1/resource.ts +0 -1817
  144. package/raystack/entropy/v1beta1/resource_connect.ts +0 -89
  145. package/raystack/frontier/v1beta1/admin.client.ts +0 -849
  146. package/raystack/frontier/v1beta1/admin.ts +0 -9007
  147. package/raystack/frontier/v1beta1/admin_connect.ts +0 -573
  148. package/raystack/frontier/v1beta1/frontier.client.ts +0 -2307
  149. package/raystack/frontier/v1beta1/frontier.ts +0 -23706
  150. package/raystack/frontier/v1beta1/frontier_connect.ts +0 -1574
  151. package/raystack/frontier/v1beta1/models.ts +0 -7433
  152. package/raystack/guardian/v1beta1/guardian.client.ts +0 -552
  153. package/raystack/guardian/v1beta1/guardian.ts +0 -9688
  154. package/raystack/guardian/v1beta1/guardian_connect.ts +0 -381
  155. package/raystack/optimus/core/v1beta1/backup.client.ts +0 -63
  156. package/raystack/optimus/core/v1beta1/backup.ts +0 -708
  157. package/raystack/optimus/core/v1beta1/backup_connect.ts +0 -44
  158. package/raystack/optimus/core/v1beta1/job_run.client.ts +0 -96
  159. package/raystack/optimus/core/v1beta1/job_run.ts +0 -1008
  160. package/raystack/optimus/core/v1beta1/job_run_connect.ts +0 -63
  161. package/raystack/optimus/core/v1beta1/job_spec.client.ts +0 -363
  162. package/raystack/optimus/core/v1beta1/job_spec.ts +0 -5134
  163. package/raystack/optimus/core/v1beta1/job_spec_connect.ts +0 -233
  164. package/raystack/optimus/core/v1beta1/namespace.client.ts +0 -75
  165. package/raystack/optimus/core/v1beta1/namespace.ts +0 -477
  166. package/raystack/optimus/core/v1beta1/namespace_connect.ts +0 -50
  167. package/raystack/optimus/core/v1beta1/project.client.ts +0 -75
  168. package/raystack/optimus/core/v1beta1/project.ts +0 -520
  169. package/raystack/optimus/core/v1beta1/project_connect.ts +0 -50
  170. package/raystack/optimus/core/v1beta1/replay.client.ts +0 -76
  171. package/raystack/optimus/core/v1beta1/replay.ts +0 -881
  172. package/raystack/optimus/core/v1beta1/replay_connect.ts +0 -53
  173. package/raystack/optimus/core/v1beta1/resource.client.ts +0 -148
  174. package/raystack/optimus/core/v1beta1/resource.ts +0 -1329
  175. package/raystack/optimus/core/v1beta1/resource_connect.ts +0 -96
  176. package/raystack/optimus/core/v1beta1/runtime.client.ts +0 -45
  177. package/raystack/optimus/core/v1beta1/runtime.ts +0 -131
  178. package/raystack/optimus/core/v1beta1/runtime_connect.ts +0 -30
  179. package/raystack/optimus/core/v1beta1/secret.client.ts +0 -92
  180. package/raystack/optimus/core/v1beta1/secret.ts +0 -619
  181. package/raystack/optimus/core/v1beta1/secret_connect.ts +0 -61
  182. package/raystack/optimus/core/v1beta1/status.ts +0 -113
  183. package/raystack/optimus/integration/v1beta1/event.ts +0 -531
  184. package/raystack/optimus/plugins/v1beta1/dependency_resolver.client.ts +0 -100
  185. package/raystack/optimus/plugins/v1beta1/dependency_resolver.ts +0 -950
  186. package/raystack/optimus/plugins/v1beta1/dependency_resolver_connect.ts +0 -65
  187. package/raystack/predator/v1beta1/metrics_log.ts +0 -457
  188. package/raystack/predator/v1beta1/result_log.ts +0 -390
  189. package/raystack/raccoon/v1beta1/raccoon.client.ts +0 -37
  190. package/raystack/raccoon/v1beta1/raccoon.ts +0 -442
  191. package/raystack/raccoon/v1beta1/raccoon_connect.ts +0 -26
  192. package/raystack/siren/v1beta1/siren.client.ts +0 -479
  193. package/raystack/siren/v1beta1/siren.ts +0 -6507
  194. package/raystack/siren/v1beta1/siren_connect.ts +0 -332
  195. package/raystack/stencil/v1beta1/stencil.client.ts +0 -232
  196. package/raystack/stencil/v1beta1/stencil.ts +0 -2716
  197. package/raystack/stencil/v1beta1/stencil_connect.ts +0 -161
  198. package/validate/validate.ts +0 -4130
@@ -1,18 +1,32 @@
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/table.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 } from "@bufbuild/protobuf";
8
- import { Resource } from "./resource_pb";
9
- import { Columns } from "./schema_pb";
10
- import { Preview } from "./preview_pb";
11
- import { Ownership } from "./ownership_pb";
12
- import { Lineage } from "./lineage_pb";
13
- import { Properties } from "./properties_pb";
14
- import { Timestamp } from "./timestamp_pb";
15
- 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 { Preview } from "./preview_pb";
14
+ import { file_raystack_assets_v1beta1_preview } from "./preview_pb";
15
+ import type { Properties } from "./properties_pb";
16
+ import { file_raystack_assets_v1beta1_properties } from "./properties_pb";
17
+ import type { Resource } from "./resource_pb";
18
+ import { file_raystack_assets_v1beta1_resource } from "./resource_pb";
19
+ import type { Columns } from "./schema_pb";
20
+ import { file_raystack_assets_v1beta1_schema } from "./schema_pb";
21
+ import type { Timestamp } from "./timestamp_pb";
22
+ import { file_raystack_assets_v1beta1_timestamp } from "./timestamp_pb";
23
+ import type { Message } from "@bufbuild/protobuf";
24
+
25
+ /**
26
+ * Describes the file raystack/assets/v1beta1/table.proto.
27
+ */
28
+ export const file_raystack_assets_v1beta1_table: GenFile = /*@__PURE__*/
29
+ fileDesc("CiNyYXlzdGFjay9hc3NldHMvdjFiZXRhMS90YWJsZS5wcm90bxIXcmF5c3RhY2suYXNzZXRzLnYxYmV0YTEi4wMKBVRhYmxlEjMKCHJlc291cmNlGAEgASgLMiEucmF5c3RhY2suYXNzZXRzLnYxYmV0YTEuUmVzb3VyY2USNgoHcHJvZmlsZRgVIAEoCzIlLnJheXN0YWNrLmFzc2V0cy52MWJldGExLlRhYmxlUHJvZmlsZRIwCgZzY2hlbWEYFiABKAsyIC5yYXlzdGFjay5hc3NldHMudjFiZXRhMS5Db2x1bW5zEjEKB3ByZXZpZXcYFyABKAsyIC5yYXlzdGFjay5hc3NldHMudjFiZXRhMS5QcmV2aWV3EjUKCW93bmVyc2hpcBgfIAEoCzIiLnJheXN0YWNrLmFzc2V0cy52MWJldGExLk93bmVyc2hpcBIxCgdsaW5lYWdlGCAgASgLMiAucmF5c3RhY2suYXNzZXRzLnYxYmV0YTEuTGluZWFnZRI3Cgpwcm9wZXJ0aWVzGCEgASgLMiMucmF5c3RhY2suYXNzZXRzLnYxYmV0YTEuUHJvcGVydGllcxI2Cgp0aW1lc3RhbXBzGCIgASgLMiIucmF5c3RhY2suYXNzZXRzLnYxYmV0YTEuVGltZXN0YW1wEi0KBWV2ZW50GGQgASgLMh4ucmF5c3RhY2suYXNzZXRzLnYxYmV0YTEuRXZlbnQipgEKDFRhYmxlUHJvZmlsZRISCgp0b3RhbF9yb3dzGAEgASgDEhUKDXBhcnRpdGlvbl9rZXkYAiABKAkSFwoPcGFydGl0aW9uX3ZhbHVlGAMgASgJEhMKC3VzYWdlX2NvdW50GAQgASgDEiwKBWpvaW5zGAUgAygLMh0ucmF5c3RhY2suYXNzZXRzLnYxYmV0YTEuSm9pbhIPCgdmaWx0ZXJzGAYgAygJIjYKBEpvaW4SCwoDdXJuGAEgASgJEg0KBWNvdW50GAIgASgDEhIKCmNvbmRpdGlvbnMYAyADKAlCWQoSaW8ucmF5c3RhY2suYXNzZXRzQgpUYWJsZVByb3RvWjdnaXRodWIuY29tL3JheXN0YWNrL3Byb3Rvbi9hc3NldHMvdjFiZXRhMTthc3NldHN2MWJldGExYgZwcm90bzM", [file_raystack_assets_v1beta1_event, file_raystack_assets_v1beta1_lineage, file_raystack_assets_v1beta1_ownership, file_raystack_assets_v1beta1_preview, file_raystack_assets_v1beta1_properties, file_raystack_assets_v1beta1_resource, file_raystack_assets_v1beta1_schema, file_raystack_assets_v1beta1_timestamp]);
16
30
 
17
31
  /**
18
32
  * Table is a table in a database.
@@ -20,7 +34,7 @@ import { Event } from "./event_pb";
20
34
  *
21
35
  * @generated from message raystack.assets.v1beta1.Table
22
36
  */
23
- export class Table extends Message<Table> {
37
+ export type Table = Message<"raystack.assets.v1beta1.Table"> & {
24
38
  /**
25
39
  * Representation of the resource
26
40
  *
@@ -91,56 +105,28 @@ export class Table extends Message<Table> {
91
105
  * @generated from field: raystack.assets.v1beta1.Event event = 100;
92
106
  */
93
107
  event?: Event;
108
+ };
94
109
 
95
- constructor(data?: PartialMessage<Table>) {
96
- super();
97
- proto3.util.initPartial(data, this);
98
- }
99
-
100
- static readonly runtime: typeof proto3 = proto3;
101
- static readonly typeName = "raystack.assets.v1beta1.Table";
102
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
103
- { no: 1, name: "resource", kind: "message", T: Resource },
104
- { no: 21, name: "profile", kind: "message", T: TableProfile },
105
- { no: 22, name: "schema", kind: "message", T: Columns },
106
- { no: 23, name: "preview", kind: "message", T: Preview },
107
- { no: 31, name: "ownership", kind: "message", T: Ownership },
108
- { no: 32, name: "lineage", kind: "message", T: Lineage },
109
- { no: 33, name: "properties", kind: "message", T: Properties },
110
- { no: 34, name: "timestamps", kind: "message", T: Timestamp },
111
- { no: 100, name: "event", kind: "message", T: Event },
112
- ]);
113
-
114
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Table {
115
- return new Table().fromBinary(bytes, options);
116
- }
117
-
118
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Table {
119
- return new Table().fromJson(jsonValue, options);
120
- }
121
-
122
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Table {
123
- return new Table().fromJsonString(jsonString, options);
124
- }
125
-
126
- static equals(a: Table | PlainMessage<Table> | undefined, b: Table | PlainMessage<Table> | undefined): boolean {
127
- return proto3.util.equals(Table, a, b);
128
- }
129
- }
110
+ /**
111
+ * Describes the message raystack.assets.v1beta1.Table.
112
+ * Use `create(TableSchema)` to create a new message.
113
+ */
114
+ export const TableSchema: GenMessage<Table> = /*@__PURE__*/
115
+ messageDesc(file_raystack_assets_v1beta1_table, 0);
130
116
 
131
117
  /**
132
118
  * TableProfile is the metrics about the table.
133
119
  *
134
120
  * @generated from message raystack.assets.v1beta1.TableProfile
135
121
  */
136
- export class TableProfile extends Message<TableProfile> {
122
+ export type TableProfile = Message<"raystack.assets.v1beta1.TableProfile"> & {
137
123
  /**
138
124
  * The number of rows in the table.
139
125
  * Example: `100`.
140
126
  *
141
127
  * @generated from field: int64 total_rows = 1;
142
128
  */
143
- totalRows = protoInt64.zero;
129
+ totalRows: bigint;
144
130
 
145
131
  /**
146
132
  * The number of rows in the table that are not deleted.
@@ -148,119 +134,72 @@ export class TableProfile extends Message<TableProfile> {
148
134
  *
149
135
  * @generated from field: string partition_key = 2;
150
136
  */
151
- partitionKey = "";
137
+ partitionKey: string;
152
138
 
153
139
  /**
154
140
  * @generated from field: string partition_value = 3;
155
141
  */
156
- partitionValue = "";
142
+ partitionValue: string;
157
143
 
158
144
  /**
159
145
  * The number of how many times table is being used
160
146
  *
161
147
  * @generated from field: int64 usage_count = 4;
162
148
  */
163
- usageCount = protoInt64.zero;
149
+ usageCount: bigint;
164
150
 
165
151
  /**
166
152
  * The information of `join` applied to the table
167
153
  *
168
154
  * @generated from field: repeated raystack.assets.v1beta1.Join joins = 5;
169
155
  */
170
- joins: Join[] = [];
156
+ joins: Join[];
171
157
 
172
158
  /**
173
159
  * The information of `filter` applied to the table
174
160
  *
175
161
  * @generated from field: repeated string filters = 6;
176
162
  */
177
- filters: string[] = [];
178
-
179
- constructor(data?: PartialMessage<TableProfile>) {
180
- super();
181
- proto3.util.initPartial(data, this);
182
- }
183
-
184
- static readonly runtime: typeof proto3 = proto3;
185
- static readonly typeName = "raystack.assets.v1beta1.TableProfile";
186
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
187
- { no: 1, name: "total_rows", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
188
- { no: 2, name: "partition_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
189
- { no: 3, name: "partition_value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
190
- { no: 4, name: "usage_count", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
191
- { no: 5, name: "joins", kind: "message", T: Join, repeated: true },
192
- { no: 6, name: "filters", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
193
- ]);
163
+ filters: string[];
164
+ };
194
165
 
195
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TableProfile {
196
- return new TableProfile().fromBinary(bytes, options);
197
- }
198
-
199
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TableProfile {
200
- return new TableProfile().fromJson(jsonValue, options);
201
- }
202
-
203
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TableProfile {
204
- return new TableProfile().fromJsonString(jsonString, options);
205
- }
206
-
207
- static equals(a: TableProfile | PlainMessage<TableProfile> | undefined, b: TableProfile | PlainMessage<TableProfile> | undefined): boolean {
208
- return proto3.util.equals(TableProfile, a, b);
209
- }
210
- }
166
+ /**
167
+ * Describes the message raystack.assets.v1beta1.TableProfile.
168
+ * Use `create(TableProfileSchema)` to create a new message.
169
+ */
170
+ export const TableProfileSchema: GenMessage<TableProfile> = /*@__PURE__*/
171
+ messageDesc(file_raystack_assets_v1beta1_table, 1);
211
172
 
212
173
  /**
213
174
  * Join is the metric of which are other tables that are joined with this table
214
175
  *
215
176
  * @generated from message raystack.assets.v1beta1.Join
216
177
  */
217
- export class Join extends Message<Join> {
178
+ export type Join = Message<"raystack.assets.v1beta1.Join"> & {
218
179
  /**
219
180
  * @generated from field: string urn = 1;
220
181
  */
221
- urn = "";
182
+ urn: string;
222
183
 
223
184
  /**
224
185
  * The number of how many times table is being joined with a certain table urn
225
186
  *
226
187
  * @generated from field: int64 count = 2;
227
188
  */
228
- count = protoInt64.zero;
189
+ count: bigint;
229
190
 
230
191
  /**
231
192
  * The information of `join conditions` applied to the table
232
193
  *
233
194
  * @generated from field: repeated string conditions = 3;
234
195
  */
235
- conditions: string[] = [];
236
-
237
- constructor(data?: PartialMessage<Join>) {
238
- super();
239
- proto3.util.initPartial(data, this);
240
- }
196
+ conditions: string[];
197
+ };
241
198
 
242
- static readonly runtime: typeof proto3 = proto3;
243
- static readonly typeName = "raystack.assets.v1beta1.Join";
244
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
245
- { no: 1, name: "urn", kind: "scalar", T: 9 /* ScalarType.STRING */ },
246
- { no: 2, name: "count", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
247
- { no: 3, name: "conditions", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
248
- ]);
249
-
250
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Join {
251
- return new Join().fromBinary(bytes, options);
252
- }
253
-
254
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Join {
255
- return new Join().fromJson(jsonValue, options);
256
- }
257
-
258
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Join {
259
- return new Join().fromJsonString(jsonString, options);
260
- }
261
-
262
- static equals(a: Join | PlainMessage<Join> | undefined, b: Join | PlainMessage<Join> | undefined): boolean {
263
- return proto3.util.equals(Join, a, b);
264
- }
265
- }
199
+ /**
200
+ * Describes the message raystack.assets.v1beta1.Join.
201
+ * Use `create(JoinSchema)` to create a new message.
202
+ */
203
+ export const JoinSchema: GenMessage<Join> = /*@__PURE__*/
204
+ messageDesc(file_raystack_assets_v1beta1_table, 2);
266
205
 
@@ -1,17 +1,25 @@
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/timestamp.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 as Timestamp$1 } from "@bufbuild/protobuf";
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 { Message } from "@bufbuild/protobuf";
10
+
11
+ /**
12
+ * Describes the file raystack/assets/v1beta1/timestamp.proto.
13
+ */
14
+ export const file_raystack_assets_v1beta1_timestamp: GenFile = /*@__PURE__*/
15
+ fileDesc("CidyYXlzdGFjay9hc3NldHMvdjFiZXRhMS90aW1lc3RhbXAucHJvdG8SF3JheXN0YWNrLmFzc2V0cy52MWJldGExIm0KCVRpbWVzdGFtcBIvCgtjcmVhdGVfdGltZRgBIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLwoLdXBkYXRlX3RpbWUYAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wImoKClRpbWVXaW5kb3cSLgoKc3RhcnRfdGltZRgBIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLAoIZW5kX3RpbWUYAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wQl0KEmlvLnJheXN0YWNrLmFzc2V0c0IOVGltZXN0YW1wUHJvdG9aN2dpdGh1Yi5jb20vcmF5c3RhY2svcHJvdG9uL2Fzc2V0cy92MWJldGExO2Fzc2V0c3YxYmV0YTFiBnByb3RvMw", [file_google_protobuf_timestamp]);
8
16
 
9
17
  /**
10
18
  * Timestamp represents created and modified timestamps.
11
19
  *
12
20
  * @generated from message raystack.assets.v1beta1.Timestamp
13
21
  */
14
- export class Timestamp extends Message<Timestamp> {
22
+ export type Timestamp = Message<"raystack.assets.v1beta1.Timestamp"> & {
15
23
  /**
16
24
  * The timestamp when the object was created.
17
25
  *
@@ -25,42 +33,21 @@ export class Timestamp extends Message<Timestamp> {
25
33
  * @generated from field: google.protobuf.Timestamp update_time = 2;
26
34
  */
27
35
  updateTime?: Timestamp$1;
36
+ };
28
37
 
29
- constructor(data?: PartialMessage<Timestamp>) {
30
- super();
31
- proto3.util.initPartial(data, this);
32
- }
33
-
34
- static readonly runtime: typeof proto3 = proto3;
35
- static readonly typeName = "raystack.assets.v1beta1.Timestamp";
36
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
37
- { no: 1, name: "create_time", kind: "message", T: Timestamp$1 },
38
- { no: 2, name: "update_time", kind: "message", T: Timestamp$1 },
39
- ]);
40
-
41
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Timestamp {
42
- return new Timestamp().fromBinary(bytes, options);
43
- }
44
-
45
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Timestamp {
46
- return new Timestamp().fromJson(jsonValue, options);
47
- }
48
-
49
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Timestamp {
50
- return new Timestamp().fromJsonString(jsonString, options);
51
- }
52
-
53
- static equals(a: Timestamp | PlainMessage<Timestamp> | undefined, b: Timestamp | PlainMessage<Timestamp> | undefined): boolean {
54
- return proto3.util.equals(Timestamp, a, b);
55
- }
56
- }
38
+ /**
39
+ * Describes the message raystack.assets.v1beta1.Timestamp.
40
+ * Use `create(TimestampSchema)` to create a new message.
41
+ */
42
+ export const TimestampSchema: GenMessage<Timestamp> = /*@__PURE__*/
43
+ messageDesc(file_raystack_assets_v1beta1_timestamp, 0);
57
44
 
58
45
  /**
59
46
  * A time window specified by its `start_time` and `end_time`.
60
47
  *
61
48
  * @generated from message raystack.assets.v1beta1.TimeWindow
62
49
  */
63
- export class TimeWindow extends Message<TimeWindow> {
50
+ export type TimeWindow = Message<"raystack.assets.v1beta1.TimeWindow"> & {
64
51
  /**
65
52
  * Start time of the time window (exclusive).
66
53
  *
@@ -75,33 +62,12 @@ export class TimeWindow extends Message<TimeWindow> {
75
62
  * @generated from field: google.protobuf.Timestamp end_time = 2;
76
63
  */
77
64
  endTime?: Timestamp$1;
65
+ };
78
66
 
79
- constructor(data?: PartialMessage<TimeWindow>) {
80
- super();
81
- proto3.util.initPartial(data, this);
82
- }
83
-
84
- static readonly runtime: typeof proto3 = proto3;
85
- static readonly typeName = "raystack.assets.v1beta1.TimeWindow";
86
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
87
- { no: 1, name: "start_time", kind: "message", T: Timestamp$1 },
88
- { no: 2, name: "end_time", kind: "message", T: Timestamp$1 },
89
- ]);
90
-
91
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TimeWindow {
92
- return new TimeWindow().fromBinary(bytes, options);
93
- }
94
-
95
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TimeWindow {
96
- return new TimeWindow().fromJson(jsonValue, options);
97
- }
98
-
99
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TimeWindow {
100
- return new TimeWindow().fromJsonString(jsonString, options);
101
- }
102
-
103
- static equals(a: TimeWindow | PlainMessage<TimeWindow> | undefined, b: TimeWindow | PlainMessage<TimeWindow> | undefined): boolean {
104
- return proto3.util.equals(TimeWindow, a, b);
105
- }
106
- }
67
+ /**
68
+ * Describes the message raystack.assets.v1beta1.TimeWindow.
69
+ * Use `create(TimeWindowSchema)` to create a new message.
70
+ */
71
+ export const TimeWindowSchema: GenMessage<TimeWindow> = /*@__PURE__*/
72
+ messageDesc(file_raystack_assets_v1beta1_timestamp, 1);
107
73
 
@@ -1,17 +1,30 @@
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/topic.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 } from "@bufbuild/protobuf";
8
- import { Resource } from "./resource_pb";
9
- import { TopicSchema } from "./schema_pb";
10
- import { Ownership } from "./ownership_pb";
11
- import { Lineage } from "./lineage_pb";
12
- import { Properties } from "./properties_pb";
13
- import { Timestamp } from "./timestamp_pb";
14
- 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 { TopicSchema as TopicSchema$1 } from "./schema_pb";
18
+ import { file_raystack_assets_v1beta1_schema } from "./schema_pb";
19
+ import type { Timestamp } from "./timestamp_pb";
20
+ import { file_raystack_assets_v1beta1_timestamp } from "./timestamp_pb";
21
+ import type { Message } from "@bufbuild/protobuf";
22
+
23
+ /**
24
+ * Describes the file raystack/assets/v1beta1/topic.proto.
25
+ */
26
+ export const file_raystack_assets_v1beta1_topic: GenFile = /*@__PURE__*/
27
+ fileDesc("CiNyYXlzdGFjay9hc3NldHMvdjFiZXRhMS90b3BpYy5wcm90bxIXcmF5c3RhY2suYXNzZXRzLnYxYmV0YTEitAMKBVRvcGljEjMKCHJlc291cmNlGAEgASgLMiEucmF5c3RhY2suYXNzZXRzLnYxYmV0YTEuUmVzb3VyY2USNgoHcHJvZmlsZRgVIAEoCzIlLnJheXN0YWNrLmFzc2V0cy52MWJldGExLlRvcGljUHJvZmlsZRI0CgZzY2hlbWEYHyABKAsyJC5yYXlzdGFjay5hc3NldHMudjFiZXRhMS5Ub3BpY1NjaGVtYRI1Cglvd25lcnNoaXAYICABKAsyIi5yYXlzdGFjay5hc3NldHMudjFiZXRhMS5Pd25lcnNoaXASMQoHbGluZWFnZRghIAEoCzIgLnJheXN0YWNrLmFzc2V0cy52MWJldGExLkxpbmVhZ2USNwoKcHJvcGVydGllcxgiIAEoCzIjLnJheXN0YWNrLmFzc2V0cy52MWJldGExLlByb3BlcnRpZXMSNgoKdGltZXN0YW1wcxgjIAEoCzIiLnJheXN0YWNrLmFzc2V0cy52MWJldGExLlRpbWVzdGFtcBItCgVldmVudBhkIAEoCzIeLnJheXN0YWNrLmFzc2V0cy52MWJldGExLkV2ZW50IkAKDFRvcGljUHJvZmlsZRISCgp0aHJvdWdocHV0GAEgASgJEhwKFG51bWJlcl9vZl9wYXJ0aXRpb25zGAIgASgDQlkKEmlvLnJheXN0YWNrLmFzc2V0c0IKVG9waWNQcm90b1o3Z2l0aHViLmNvbS9yYXlzdGFjay9wcm90b24vYXNzZXRzL3YxYmV0YTE7YXNzZXRzdjFiZXRhMWIGcHJvdG8z", [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_schema, file_raystack_assets_v1beta1_timestamp]);
15
28
 
16
29
  /**
17
30
  * Topic is resource that represents a logical group of messages
@@ -19,7 +32,7 @@ import { Event } from "./event_pb";
19
32
  *
20
33
  * @generated from message raystack.assets.v1beta1.Topic
21
34
  */
22
- export class Topic extends Message<Topic> {
35
+ export type Topic = Message<"raystack.assets.v1beta1.Topic"> & {
23
36
  /**
24
37
  * Representation of the resource
25
38
  *
@@ -41,7 +54,7 @@ export class Topic extends Message<Topic> {
41
54
  *
42
55
  * @generated from field: raystack.assets.v1beta1.TopicSchema schema = 31;
43
56
  */
44
- schema?: TopicSchema;
57
+ schema?: TopicSchema$1;
45
58
 
46
59
  /**
47
60
  * The ownership of the topic.
@@ -82,55 +95,28 @@ export class Topic extends Message<Topic> {
82
95
  * @generated from field: raystack.assets.v1beta1.Event event = 100;
83
96
  */
84
97
  event?: Event;
98
+ };
85
99
 
86
- constructor(data?: PartialMessage<Topic>) {
87
- super();
88
- proto3.util.initPartial(data, this);
89
- }
90
-
91
- static readonly runtime: typeof proto3 = proto3;
92
- static readonly typeName = "raystack.assets.v1beta1.Topic";
93
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
94
- { no: 1, name: "resource", kind: "message", T: Resource },
95
- { no: 21, name: "profile", kind: "message", T: TopicProfile },
96
- { no: 31, name: "schema", kind: "message", T: TopicSchema },
97
- { no: 32, name: "ownership", kind: "message", T: Ownership },
98
- { no: 33, name: "lineage", kind: "message", T: Lineage },
99
- { no: 34, name: "properties", kind: "message", T: Properties },
100
- { no: 35, name: "timestamps", kind: "message", T: Timestamp },
101
- { no: 100, name: "event", kind: "message", T: Event },
102
- ]);
103
-
104
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Topic {
105
- return new Topic().fromBinary(bytes, options);
106
- }
107
-
108
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Topic {
109
- return new Topic().fromJson(jsonValue, options);
110
- }
111
-
112
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Topic {
113
- return new Topic().fromJsonString(jsonString, options);
114
- }
115
-
116
- static equals(a: Topic | PlainMessage<Topic> | undefined, b: Topic | PlainMessage<Topic> | undefined): boolean {
117
- return proto3.util.equals(Topic, a, b);
118
- }
119
- }
100
+ /**
101
+ * Describes the message raystack.assets.v1beta1.Topic.
102
+ * Use `create(TopicSchema)` to create a new message.
103
+ */
104
+ export const TopicSchema: GenMessage<Topic> = /*@__PURE__*/
105
+ messageDesc(file_raystack_assets_v1beta1_topic, 0);
120
106
 
121
107
  /**
122
108
  * TopicProfile is the profile of the topic.
123
109
  *
124
110
  * @generated from message raystack.assets.v1beta1.TopicProfile
125
111
  */
126
- export class TopicProfile extends Message<TopicProfile> {
112
+ export type TopicProfile = Message<"raystack.assets.v1beta1.TopicProfile"> & {
127
113
  /**
128
114
  * The thrroughput of the topic.
129
115
  * Example: `1m/minute`.
130
116
  *
131
117
  * @generated from field: string throughput = 1;
132
118
  */
133
- throughput = "";
119
+ throughput: string;
134
120
 
135
121
  /**
136
122
  * The number of partitions in the topic.
@@ -138,34 +124,13 @@ export class TopicProfile extends Message<TopicProfile> {
138
124
  *
139
125
  * @generated from field: int64 number_of_partitions = 2;
140
126
  */
141
- numberOfPartitions = protoInt64.zero;
142
-
143
- constructor(data?: PartialMessage<TopicProfile>) {
144
- super();
145
- proto3.util.initPartial(data, this);
146
- }
147
-
148
- static readonly runtime: typeof proto3 = proto3;
149
- static readonly typeName = "raystack.assets.v1beta1.TopicProfile";
150
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
151
- { no: 1, name: "throughput", kind: "scalar", T: 9 /* ScalarType.STRING */ },
152
- { no: 2, name: "number_of_partitions", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
153
- ]);
154
-
155
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TopicProfile {
156
- return new TopicProfile().fromBinary(bytes, options);
157
- }
127
+ numberOfPartitions: bigint;
128
+ };
158
129
 
159
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TopicProfile {
160
- return new TopicProfile().fromJson(jsonValue, options);
161
- }
162
-
163
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TopicProfile {
164
- return new TopicProfile().fromJsonString(jsonString, options);
165
- }
166
-
167
- static equals(a: TopicProfile | PlainMessage<TopicProfile> | undefined, b: TopicProfile | PlainMessage<TopicProfile> | undefined): boolean {
168
- return proto3.util.equals(TopicProfile, a, b);
169
- }
170
- }
130
+ /**
131
+ * Describes the message raystack.assets.v1beta1.TopicProfile.
132
+ * Use `create(TopicProfileSchema)` to create a new message.
133
+ */
134
+ export const TopicProfileSchema: GenMessage<TopicProfile> = /*@__PURE__*/
135
+ messageDesc(file_raystack_assets_v1beta1_topic, 1);
171
136