@raystack/proton 0.1.0-f13f5dd4b147bc7b2765cbbc10b39bd976167eec → 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.
Files changed (112) 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/package.json +6 -4
  6. package/protoc-gen-openapiv2/options/annotations_pb.ts +23 -29
  7. package/protoc-gen-openapiv2/options/openapiv2_pb.ts +338 -808
  8. package/raystack/assets/v1beta1/bucket_pb.ts +46 -89
  9. package/raystack/assets/v1beta1/dashboard_pb.ts +49 -97
  10. package/raystack/assets/v1beta1/event_pb.ts +22 -36
  11. package/raystack/assets/v1beta1/group_pb.ts +38 -74
  12. package/raystack/assets/v1beta1/job_pb.ts +30 -43
  13. package/raystack/assets/v1beta1/lineage_pb.ts +22 -36
  14. package/raystack/assets/v1beta1/ownership_pb.ts +31 -68
  15. package/raystack/assets/v1beta1/preview_pb.ts +21 -34
  16. package/raystack/assets/v1beta1/properties_pb.ts +22 -37
  17. package/raystack/assets/v1beta1/resource_pb.ts +24 -43
  18. package/raystack/assets/v1beta1/schema_pb.ts +59 -145
  19. package/raystack/assets/v1beta1/table_pb.ts +59 -120
  20. package/raystack/assets/v1beta1/timestamp_pb.ts +28 -62
  21. package/raystack/assets/v1beta1/topic_pb.ts +43 -78
  22. package/raystack/assets/v1beta1/user_pb.ts +58 -125
  23. package/raystack/assets/v1beta2/application_pb.ts +23 -39
  24. package/raystack/assets/v1beta2/asset_pb.ts +30 -53
  25. package/raystack/assets/v1beta2/bucket_pb.ts +41 -87
  26. package/raystack/assets/v1beta2/common_pb.ts +56 -137
  27. package/raystack/assets/v1beta2/dashboard_pb.ts +44 -93
  28. package/raystack/assets/v1beta2/experiment_pb.ts +38 -79
  29. package/raystack/assets/v1beta2/feature_table_pb.ts +51 -115
  30. package/raystack/assets/v1beta2/group_pb.ts +32 -68
  31. package/raystack/assets/v1beta2/job_pb.ts +21 -35
  32. package/raystack/assets/v1beta2/metric_pb.ts +25 -43
  33. package/raystack/assets/v1beta2/model_pb.ts +59 -147
  34. package/raystack/assets/v1beta2/table_pb.ts +82 -200
  35. package/raystack/assets/v1beta2/topic_pb.ts +41 -99
  36. package/raystack/assets/v1beta2/user_pb.ts +53 -121
  37. package/raystack/common/index.ts +0 -1
  38. package/raystack/common/v1/service-CommonService_connectquery.ts +3 -14
  39. package/raystack/common/v1/service_pb.ts +57 -97
  40. package/raystack/compass/index.ts +0 -1
  41. package/raystack/compass/v1beta1/service-CompassService_connectquery.ts +44 -424
  42. package/raystack/compass/v1beta1/service_pb.ts +1448 -3319
  43. package/raystack/entropy/index.ts +0 -2
  44. package/raystack/entropy/v1beta1/module-ModuleService_connectquery.ts +7 -54
  45. package/raystack/entropy/v1beta1/module_pb.ts +156 -324
  46. package/raystack/entropy/v1beta1/resource-ResourceService_connectquery.ts +9 -74
  47. package/raystack/entropy/v1beta1/resource_pb.ts +330 -756
  48. package/raystack/frontier/index.ts +0 -2
  49. package/raystack/frontier/v1beta1/admin-AdminService_connectquery.ts +60 -514
  50. package/raystack/frontier/v1beta1/admin.client.ts +17 -0
  51. package/raystack/frontier/v1beta1/admin.ts +111 -1
  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 +0 -1
  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/v1beta1/metrics_log_pb.ts +67 -173
  82. package/raystack/predator/v1beta1/result_log_pb.ts +60 -144
  83. package/raystack/raccoon/index.ts +0 -1
  84. package/raystack/raccoon/v1beta1/raccoon-EventService_connectquery.ts +3 -14
  85. package/raystack/raccoon/v1beta1/raccoon_pb.ts +142 -189
  86. package/raystack/siren/index.ts +0 -1
  87. package/raystack/siren/v1beta1/siren-SirenService_connectquery.ts +37 -354
  88. package/raystack/siren/v1beta1/siren_pb.ts +1155 -2637
  89. package/raystack/stencil/index.ts +0 -1
  90. package/raystack/stencil/v1beta1/stencil-StencilService_connectquery.ts +18 -164
  91. package/raystack/stencil/v1beta1/stencil_pb.ts +530 -1157
  92. package/validate/validate_pb.ts +401 -1038
  93. package/raystack/common/v1/service_connect.ts +0 -26
  94. package/raystack/compass/v1beta1/service_connect.ts +0 -407
  95. package/raystack/entropy/v1beta1/module_connect.ts +0 -62
  96. package/raystack/entropy/v1beta1/resource_connect.ts +0 -89
  97. package/raystack/frontier/v1beta1/admin_connect.ts +0 -573
  98. package/raystack/frontier/v1beta1/frontier_connect.ts +0 -1574
  99. package/raystack/guardian/v1beta1/guardian_connect.ts +0 -381
  100. package/raystack/optimus/core/v1beta1/backup_connect.ts +0 -44
  101. package/raystack/optimus/core/v1beta1/job_run_connect.ts +0 -63
  102. package/raystack/optimus/core/v1beta1/job_spec_connect.ts +0 -233
  103. package/raystack/optimus/core/v1beta1/namespace_connect.ts +0 -50
  104. package/raystack/optimus/core/v1beta1/project_connect.ts +0 -50
  105. package/raystack/optimus/core/v1beta1/replay_connect.ts +0 -53
  106. package/raystack/optimus/core/v1beta1/resource_connect.ts +0 -96
  107. package/raystack/optimus/core/v1beta1/runtime_connect.ts +0 -30
  108. package/raystack/optimus/core/v1beta1/secret_connect.ts +0 -61
  109. package/raystack/optimus/plugins/v1beta1/dependency_resolver_connect.ts +0 -65
  110. package/raystack/raccoon/v1beta1/raccoon_connect.ts +0 -26
  111. package/raystack/siren/v1beta1/siren_connect.ts +0 -332
  112. package/raystack/stencil/v1beta1/stencil_connect.ts +0 -161
@@ -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/v1beta2/table.proto (package raystack.assets.v1beta2, 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 { ListValue, Message, proto3, protoInt64, Struct, Timestamp } from "@bufbuild/protobuf";
5
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
7
+ import type { ListValue, Timestamp } from "@bufbuild/protobuf/wkt";
8
+ import { file_google_protobuf_struct, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
9
+ import type { JsonObject, Message } from "@bufbuild/protobuf";
10
+
11
+ /**
12
+ * Describes the file raystack/assets/v1beta2/table.proto.
13
+ */
14
+ export const file_raystack_assets_v1beta2_table: GenFile = /*@__PURE__*/
15
+ fileDesc("CiNyYXlzdGFjay9hc3NldHMvdjFiZXRhMi90YWJsZS5wcm90bxIXcmF5c3RhY2suYXNzZXRzLnYxYmV0YTIiygIKBVRhYmxlEjYKB3Byb2ZpbGUYASABKAsyJS5yYXlzdGFjay5hc3NldHMudjFiZXRhMi5UYWJsZVByb2ZpbGUSMAoHY29sdW1ucxgCIAMoCzIfLnJheXN0YWNrLmFzc2V0cy52MWJldGEyLkNvbHVtbhIWCg5wcmV2aWV3X2ZpZWxkcxgDIAMoCRIwCgxwcmV2aWV3X3Jvd3MYBCABKAsyGi5nb29nbGUucHJvdG9idWYuTGlzdFZhbHVlEisKCmF0dHJpYnV0ZXMYCiABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0Ei8KC2NyZWF0ZV90aW1lGGUgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIvCgt1cGRhdGVfdGltZRhmIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAiuAEKDFRhYmxlUHJvZmlsZRISCgp0b3RhbF9yb3dzGAEgASgDEhUKDXBhcnRpdGlvbl9rZXkYAiABKAkSFwoPcGFydGl0aW9uX3ZhbHVlGAMgASgJEhMKC3VzYWdlX2NvdW50GAQgASgDEj4KDGNvbW1vbl9qb2lucxgFIAMoCzIoLnJheXN0YWNrLmFzc2V0cy52MWJldGEyLlRhYmxlQ29tbW9uSm9pbhIPCgdmaWx0ZXJzGAYgAygJIkEKD1RhYmxlQ29tbW9uSm9pbhILCgN1cm4YASABKAkSDQoFY291bnQYAiABKAMSEgoKY29uZGl0aW9ucxgDIAMoCSL7AQoGQ29sdW1uEgwKBG5hbWUYASABKAkSEwoLZGVzY3JpcHRpb24YAiABKAkSEQoJZGF0YV90eXBlGAMgASgJEhMKC2lzX251bGxhYmxlGAQgASgIEg4KBmxlbmd0aBgFIAEoAxI3Cgdwcm9maWxlGAYgASgLMiYucmF5c3RhY2suYXNzZXRzLnYxYmV0YTIuQ29sdW1uUHJvZmlsZRIwCgdjb2x1bW5zGAcgAygLMh8ucmF5c3RhY2suYXNzZXRzLnYxYmV0YTIuQ29sdW1uEisKCmF0dHJpYnV0ZXMYHyABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0Im8KDUNvbHVtblByb2ZpbGUSCwoDbWluGAEgASgJEgsKA21heBgCIAEoCRILCgNhdmcYAyABKAESCwoDbWVkGAQgASgBEg4KBnVuaXF1ZRgFIAEoAxINCgVjb3VudBgGIAEoAxILCgN0b3AYByABKAlCWQoSaW8ucmF5c3RhY2suYXNzZXRzQgpUYWJsZVByb3RvWjdnaXRodWIuY29tL3JheXN0YWNrL3Byb3Rvbi9hc3NldHMvdjFiZXRhMjthc3NldHN2MWJldGEyYgZwcm90bzM", [file_google_protobuf_struct, file_google_protobuf_timestamp]);
8
16
 
9
17
  /**
10
18
  * Table is a table in a database.
@@ -12,7 +20,7 @@ import { ListValue, Message, proto3, protoInt64, Struct, Timestamp } from "@bufb
12
20
  *
13
21
  * @generated from message raystack.assets.v1beta2.Table
14
22
  */
15
- export class Table extends Message<Table> {
23
+ export type Table = Message<"raystack.assets.v1beta2.Table"> & {
16
24
  /**
17
25
  * The metrics about the table.
18
26
  * For example check the profile schem.
@@ -27,14 +35,14 @@ export class Table extends Message<Table> {
27
35
  *
28
36
  * @generated from field: repeated raystack.assets.v1beta2.Column columns = 2;
29
37
  */
30
- columns: Column[] = [];
38
+ columns: Column[];
31
39
 
32
40
  /**
33
41
  * preview_fields of the table.
34
42
  *
35
43
  * @generated from field: repeated string preview_fields = 3;
36
44
  */
37
- previewFields: string[] = [];
45
+ previewFields: string[];
38
46
 
39
47
  /**
40
48
  * preview_rows is a multidimensional array containing preview of table
@@ -48,7 +56,7 @@ export class Table extends Message<Table> {
48
56
  *
49
57
  * @generated from field: google.protobuf.Struct attributes = 10;
50
58
  */
51
- attributes?: Struct;
59
+ attributes?: JsonObject;
52
60
 
53
61
  /**
54
62
  * The timestamp of the table's creation.
@@ -63,54 +71,28 @@ export class Table extends Message<Table> {
63
71
  * @generated from field: google.protobuf.Timestamp update_time = 102;
64
72
  */
65
73
  updateTime?: Timestamp;
74
+ };
66
75
 
67
- constructor(data?: PartialMessage<Table>) {
68
- super();
69
- proto3.util.initPartial(data, this);
70
- }
71
-
72
- static readonly runtime: typeof proto3 = proto3;
73
- static readonly typeName = "raystack.assets.v1beta2.Table";
74
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
75
- { no: 1, name: "profile", kind: "message", T: TableProfile },
76
- { no: 2, name: "columns", kind: "message", T: Column, repeated: true },
77
- { no: 3, name: "preview_fields", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
78
- { no: 4, name: "preview_rows", kind: "message", T: ListValue },
79
- { no: 10, name: "attributes", kind: "message", T: Struct },
80
- { no: 101, name: "create_time", kind: "message", T: Timestamp },
81
- { no: 102, name: "update_time", kind: "message", T: Timestamp },
82
- ]);
83
-
84
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Table {
85
- return new Table().fromBinary(bytes, options);
86
- }
87
-
88
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Table {
89
- return new Table().fromJson(jsonValue, options);
90
- }
91
-
92
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Table {
93
- return new Table().fromJsonString(jsonString, options);
94
- }
95
-
96
- static equals(a: Table | PlainMessage<Table> | undefined, b: Table | PlainMessage<Table> | undefined): boolean {
97
- return proto3.util.equals(Table, a, b);
98
- }
99
- }
76
+ /**
77
+ * Describes the message raystack.assets.v1beta2.Table.
78
+ * Use `create(TableSchema)` to create a new message.
79
+ */
80
+ export const TableSchema: GenMessage<Table> = /*@__PURE__*/
81
+ messageDesc(file_raystack_assets_v1beta2_table, 0);
100
82
 
101
83
  /**
102
84
  * TableProfile is the metrics about the table.
103
85
  *
104
86
  * @generated from message raystack.assets.v1beta2.TableProfile
105
87
  */
106
- export class TableProfile extends Message<TableProfile> {
88
+ export type TableProfile = Message<"raystack.assets.v1beta2.TableProfile"> & {
107
89
  /**
108
90
  * The number of rows in the table.
109
91
  * Example: `100`.
110
92
  *
111
93
  * @generated from field: int64 total_rows = 1;
112
94
  */
113
- totalRows = protoInt64.zero;
95
+ totalRows: bigint;
114
96
 
115
97
  /**
116
98
  * The number of rows in the table that are not deleted.
@@ -118,135 +100,88 @@ export class TableProfile extends Message<TableProfile> {
118
100
  *
119
101
  * @generated from field: string partition_key = 2;
120
102
  */
121
- partitionKey = "";
103
+ partitionKey: string;
122
104
 
123
105
  /**
124
106
  * @generated from field: string partition_value = 3;
125
107
  */
126
- partitionValue = "";
108
+ partitionValue: string;
127
109
 
128
110
  /**
129
111
  * The number of how many times table is being used
130
112
  *
131
113
  * @generated from field: int64 usage_count = 4;
132
114
  */
133
- usageCount = protoInt64.zero;
115
+ usageCount: bigint;
134
116
 
135
117
  /**
136
118
  * The information of `join` applied to the table
137
119
  *
138
120
  * @generated from field: repeated raystack.assets.v1beta2.TableCommonJoin common_joins = 5;
139
121
  */
140
- commonJoins: TableCommonJoin[] = [];
122
+ commonJoins: TableCommonJoin[];
141
123
 
142
124
  /**
143
125
  * The information of `filter` applied to the table
144
126
  *
145
127
  * @generated from field: repeated string filters = 6;
146
128
  */
147
- filters: string[] = [];
148
-
149
- constructor(data?: PartialMessage<TableProfile>) {
150
- super();
151
- proto3.util.initPartial(data, this);
152
- }
153
-
154
- static readonly runtime: typeof proto3 = proto3;
155
- static readonly typeName = "raystack.assets.v1beta2.TableProfile";
156
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
157
- { no: 1, name: "total_rows", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
158
- { no: 2, name: "partition_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
159
- { no: 3, name: "partition_value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
160
- { no: 4, name: "usage_count", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
161
- { no: 5, name: "common_joins", kind: "message", T: TableCommonJoin, repeated: true },
162
- { no: 6, name: "filters", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
163
- ]);
164
-
165
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TableProfile {
166
- return new TableProfile().fromBinary(bytes, options);
167
- }
168
-
169
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TableProfile {
170
- return new TableProfile().fromJson(jsonValue, options);
171
- }
172
-
173
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TableProfile {
174
- return new TableProfile().fromJsonString(jsonString, options);
175
- }
176
-
177
- static equals(a: TableProfile | PlainMessage<TableProfile> | undefined, b: TableProfile | PlainMessage<TableProfile> | undefined): boolean {
178
- return proto3.util.equals(TableProfile, a, b);
179
- }
180
- }
129
+ filters: string[];
130
+ };
131
+
132
+ /**
133
+ * Describes the message raystack.assets.v1beta2.TableProfile.
134
+ * Use `create(TableProfileSchema)` to create a new message.
135
+ */
136
+ export const TableProfileSchema: GenMessage<TableProfile> = /*@__PURE__*/
137
+ messageDesc(file_raystack_assets_v1beta2_table, 1);
181
138
 
182
139
  /**
183
140
  * Join is the metric of which are other tables that are joined with this table
184
141
  *
185
142
  * @generated from message raystack.assets.v1beta2.TableCommonJoin
186
143
  */
187
- export class TableCommonJoin extends Message<TableCommonJoin> {
144
+ export type TableCommonJoin = Message<"raystack.assets.v1beta2.TableCommonJoin"> & {
188
145
  /**
189
146
  * @generated from field: string urn = 1;
190
147
  */
191
- urn = "";
148
+ urn: string;
192
149
 
193
150
  /**
194
151
  * The number of how many times table is being joined with a certain table urn
195
152
  *
196
153
  * @generated from field: int64 count = 2;
197
154
  */
198
- count = protoInt64.zero;
155
+ count: bigint;
199
156
 
200
157
  /**
201
158
  * The information of `join conditions` applied to the table
202
159
  *
203
160
  * @generated from field: repeated string conditions = 3;
204
161
  */
205
- conditions: string[] = [];
206
-
207
- constructor(data?: PartialMessage<TableCommonJoin>) {
208
- super();
209
- proto3.util.initPartial(data, this);
210
- }
211
-
212
- static readonly runtime: typeof proto3 = proto3;
213
- static readonly typeName = "raystack.assets.v1beta2.TableCommonJoin";
214
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
215
- { no: 1, name: "urn", kind: "scalar", T: 9 /* ScalarType.STRING */ },
216
- { no: 2, name: "count", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
217
- { no: 3, name: "conditions", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
218
- ]);
219
-
220
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TableCommonJoin {
221
- return new TableCommonJoin().fromBinary(bytes, options);
222
- }
223
-
224
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TableCommonJoin {
225
- return new TableCommonJoin().fromJson(jsonValue, options);
226
- }
227
-
228
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TableCommonJoin {
229
- return new TableCommonJoin().fromJsonString(jsonString, options);
230
- }
231
-
232
- static equals(a: TableCommonJoin | PlainMessage<TableCommonJoin> | undefined, b: TableCommonJoin | PlainMessage<TableCommonJoin> | undefined): boolean {
233
- return proto3.util.equals(TableCommonJoin, a, b);
234
- }
235
- }
162
+ conditions: string[];
163
+ };
164
+
165
+ /**
166
+ * Describes the message raystack.assets.v1beta2.TableCommonJoin.
167
+ * Use `create(TableCommonJoinSchema)` to create a new message.
168
+ */
169
+ export const TableCommonJoinSchema: GenMessage<TableCommonJoin> = /*@__PURE__*/
170
+ messageDesc(file_raystack_assets_v1beta2_table, 2);
236
171
 
237
172
  /**
238
173
  * Column represents a column in a table or a file.
239
174
  *
240
175
  * @generated from message raystack.assets.v1beta2.Column
241
176
  */
242
- export class Column extends Message<Column> {
177
+ export type Column = Message<"raystack.assets.v1beta2.Column"> & {
243
178
  /**
244
179
  * The name of the column.
245
180
  * Example: `customer_id`.
246
181
  *
247
182
  * @generated from field: string name = 1;
248
183
  */
249
- name = "";
184
+ name: string;
250
185
 
251
186
  /**
252
187
  * The description of the column.
@@ -254,12 +189,12 @@ export class Column extends Message<Column> {
254
189
  *
255
190
  * @generated from field: string description = 2;
256
191
  */
257
- description = "";
192
+ description: string;
258
193
 
259
194
  /**
260
195
  * @generated from field: string data_type = 3;
261
196
  */
262
- dataType = "";
197
+ dataType: string;
263
198
 
264
199
  /**
265
200
  * The format of the column.
@@ -267,7 +202,7 @@ export class Column extends Message<Column> {
267
202
  *
268
203
  * @generated from field: bool is_nullable = 4;
269
204
  */
270
- isNullable = false;
205
+ isNullable: boolean;
271
206
 
272
207
  /**
273
208
  * The length of the column.
@@ -275,7 +210,7 @@ export class Column extends Message<Column> {
275
210
  *
276
211
  * @generated from field: int64 length = 5;
277
212
  */
278
- length = protoInt64.zero;
213
+ length: bigint;
279
214
 
280
215
  /**
281
216
  * The profile of the column.
@@ -289,7 +224,7 @@ export class Column extends Message<Column> {
289
224
  *
290
225
  * @generated from field: repeated raystack.assets.v1beta2.Column columns = 7;
291
226
  */
292
- columns: Column[] = [];
227
+ columns: Column[];
293
228
 
294
229
  /**
295
230
  * Representation of the column properties.
@@ -297,113 +232,60 @@ export class Column extends Message<Column> {
297
232
  *
298
233
  * @generated from field: google.protobuf.Struct attributes = 31;
299
234
  */
300
- attributes?: Struct;
301
-
302
- constructor(data?: PartialMessage<Column>) {
303
- super();
304
- proto3.util.initPartial(data, this);
305
- }
306
-
307
- static readonly runtime: typeof proto3 = proto3;
308
- static readonly typeName = "raystack.assets.v1beta2.Column";
309
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
310
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
311
- { no: 2, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
312
- { no: 3, name: "data_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
313
- { no: 4, name: "is_nullable", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
314
- { no: 5, name: "length", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
315
- { no: 6, name: "profile", kind: "message", T: ColumnProfile },
316
- { no: 7, name: "columns", kind: "message", T: Column, repeated: true },
317
- { no: 31, name: "attributes", kind: "message", T: Struct },
318
- ]);
319
-
320
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Column {
321
- return new Column().fromBinary(bytes, options);
322
- }
323
-
324
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Column {
325
- return new Column().fromJson(jsonValue, options);
326
- }
327
-
328
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Column {
329
- return new Column().fromJsonString(jsonString, options);
330
- }
331
-
332
- static equals(a: Column | PlainMessage<Column> | undefined, b: Column | PlainMessage<Column> | undefined): boolean {
333
- return proto3.util.equals(Column, a, b);
334
- }
335
- }
235
+ attributes?: JsonObject;
236
+ };
237
+
238
+ /**
239
+ * Describes the message raystack.assets.v1beta2.Column.
240
+ * Use `create(ColumnSchema)` to create a new message.
241
+ */
242
+ export const ColumnSchema: GenMessage<Column> = /*@__PURE__*/
243
+ messageDesc(file_raystack_assets_v1beta2_table, 3);
336
244
 
337
245
  /**
338
246
  * @generated from message raystack.assets.v1beta2.ColumnProfile
339
247
  */
340
- export class ColumnProfile extends Message<ColumnProfile> {
248
+ export type ColumnProfile = Message<"raystack.assets.v1beta2.ColumnProfile"> & {
341
249
  /**
342
250
  * @generated from field: string min = 1;
343
251
  */
344
- min = "";
252
+ min: string;
345
253
 
346
254
  /**
347
255
  * @generated from field: string max = 2;
348
256
  */
349
- max = "";
257
+ max: string;
350
258
 
351
259
  /**
352
260
  * @generated from field: double avg = 3;
353
261
  */
354
- avg = 0;
262
+ avg: number;
355
263
 
356
264
  /**
357
265
  * @generated from field: double med = 4;
358
266
  */
359
- med = 0;
267
+ med: number;
360
268
 
361
269
  /**
362
270
  * @generated from field: int64 unique = 5;
363
271
  */
364
- unique = protoInt64.zero;
272
+ unique: bigint;
365
273
 
366
274
  /**
367
275
  * @generated from field: int64 count = 6;
368
276
  */
369
- count = protoInt64.zero;
277
+ count: bigint;
370
278
 
371
279
  /**
372
280
  * @generated from field: string top = 7;
373
281
  */
374
- top = "";
375
-
376
- constructor(data?: PartialMessage<ColumnProfile>) {
377
- super();
378
- proto3.util.initPartial(data, this);
379
- }
380
-
381
- static readonly runtime: typeof proto3 = proto3;
382
- static readonly typeName = "raystack.assets.v1beta2.ColumnProfile";
383
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
384
- { no: 1, name: "min", kind: "scalar", T: 9 /* ScalarType.STRING */ },
385
- { no: 2, name: "max", kind: "scalar", T: 9 /* ScalarType.STRING */ },
386
- { no: 3, name: "avg", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
387
- { no: 4, name: "med", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
388
- { no: 5, name: "unique", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
389
- { no: 6, name: "count", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
390
- { no: 7, name: "top", kind: "scalar", T: 9 /* ScalarType.STRING */ },
391
- ]);
392
-
393
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ColumnProfile {
394
- return new ColumnProfile().fromBinary(bytes, options);
395
- }
396
-
397
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ColumnProfile {
398
- return new ColumnProfile().fromJson(jsonValue, options);
399
- }
400
-
401
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ColumnProfile {
402
- return new ColumnProfile().fromJsonString(jsonString, options);
403
- }
404
-
405
- static equals(a: ColumnProfile | PlainMessage<ColumnProfile> | undefined, b: ColumnProfile | PlainMessage<ColumnProfile> | undefined): boolean {
406
- return proto3.util.equals(ColumnProfile, a, b);
407
- }
408
- }
282
+ top: string;
283
+ };
284
+
285
+ /**
286
+ * Describes the message raystack.assets.v1beta2.ColumnProfile.
287
+ * Use `create(ColumnProfileSchema)` to create a new message.
288
+ */
289
+ export const ColumnProfileSchema: GenMessage<ColumnProfile> = /*@__PURE__*/
290
+ messageDesc(file_raystack_assets_v1beta2_table, 4);
409
291
 
@@ -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/v1beta2/topic.proto (package raystack.assets.v1beta2, 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, Struct, 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_struct, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
9
+ import type { JsonObject, Message } from "@bufbuild/protobuf";
10
+
11
+ /**
12
+ * Describes the file raystack/assets/v1beta2/topic.proto.
13
+ */
14
+ export const file_raystack_assets_v1beta2_topic: GenFile = /*@__PURE__*/
15
+ fileDesc("CiNyYXlzdGFjay9hc3NldHMvdjFiZXRhMi90b3BpYy5wcm90bxIXcmF5c3RhY2suYXNzZXRzLnYxYmV0YTIihAIKBVRvcGljEjYKB3Byb2ZpbGUYASABKAsyJS5yYXlzdGFjay5hc3NldHMudjFiZXRhMi5Ub3BpY1Byb2ZpbGUSNAoGc2NoZW1hGAIgASgLMiQucmF5c3RhY2suYXNzZXRzLnYxYmV0YTIuVG9waWNTY2hlbWESKwoKYXR0cmlidXRlcxgKIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3QSLwoLY3JlYXRlX3RpbWUYZSABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEi8KC3VwZGF0ZV90aW1lGGYgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcCJACgxUb3BpY1Byb2ZpbGUSEgoKdGhyb3VnaHB1dBgBIAEoCRIcChRudW1iZXJfb2ZfcGFydGl0aW9ucxgCIAEoAyIxCgtUb3BpY1NjaGVtYRISCgpzY2hlbWFfdXJsGAEgASgJEg4KBmZvcm1hdBgCIAEoCUJZChJpby5yYXlzdGFjay5hc3NldHNCClRvcGljUHJvdG9aN2dpdGh1Yi5jb20vcmF5c3RhY2svcHJvdG9uL2Fzc2V0cy92MWJldGEyO2Fzc2V0c3YxYmV0YTJiBnByb3RvMw", [file_google_protobuf_struct, file_google_protobuf_timestamp]);
8
16
 
9
17
  /**
10
18
  * Topic is resource that represents a logical group of messages
@@ -12,7 +20,7 @@ import { Message, proto3, protoInt64, Struct, Timestamp } from "@bufbuild/protob
12
20
  *
13
21
  * @generated from message raystack.assets.v1beta2.Topic
14
22
  */
15
- export class Topic extends Message<Topic> {
23
+ export type Topic = Message<"raystack.assets.v1beta2.Topic"> & {
16
24
  /**
17
25
  * The metrics of the topic.
18
26
  * For an example check out topic profile schema.
@@ -34,7 +42,7 @@ export class Topic extends Message<Topic> {
34
42
  *
35
43
  * @generated from field: google.protobuf.Struct attributes = 10;
36
44
  */
37
- attributes?: Struct;
45
+ attributes?: JsonObject;
38
46
 
39
47
  /**
40
48
  * The timestamp of the topic's creation.
@@ -49,52 +57,28 @@ export class Topic extends Message<Topic> {
49
57
  * @generated from field: google.protobuf.Timestamp update_time = 102;
50
58
  */
51
59
  updateTime?: Timestamp;
60
+ };
52
61
 
53
- constructor(data?: PartialMessage<Topic>) {
54
- super();
55
- proto3.util.initPartial(data, this);
56
- }
57
-
58
- static readonly runtime: typeof proto3 = proto3;
59
- static readonly typeName = "raystack.assets.v1beta2.Topic";
60
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
61
- { no: 1, name: "profile", kind: "message", T: TopicProfile },
62
- { no: 2, name: "schema", kind: "message", T: TopicSchema },
63
- { no: 10, name: "attributes", kind: "message", T: Struct },
64
- { no: 101, name: "create_time", kind: "message", T: Timestamp },
65
- { no: 102, name: "update_time", kind: "message", T: Timestamp },
66
- ]);
67
-
68
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Topic {
69
- return new Topic().fromBinary(bytes, options);
70
- }
71
-
72
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Topic {
73
- return new Topic().fromJson(jsonValue, options);
74
- }
75
-
76
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Topic {
77
- return new Topic().fromJsonString(jsonString, options);
78
- }
79
-
80
- static equals(a: Topic | PlainMessage<Topic> | undefined, b: Topic | PlainMessage<Topic> | undefined): boolean {
81
- return proto3.util.equals(Topic, a, b);
82
- }
83
- }
62
+ /**
63
+ * Describes the message raystack.assets.v1beta2.Topic.
64
+ * Use `create(TopicSchema$)` to create a new message.
65
+ */
66
+ export const TopicSchema$: GenMessage<Topic> = /*@__PURE__*/
67
+ messageDesc(file_raystack_assets_v1beta2_topic, 0);
84
68
 
85
69
  /**
86
70
  * TopicProfile is the profile of the topic.
87
71
  *
88
72
  * @generated from message raystack.assets.v1beta2.TopicProfile
89
73
  */
90
- export class TopicProfile extends Message<TopicProfile> {
74
+ export type TopicProfile = Message<"raystack.assets.v1beta2.TopicProfile"> & {
91
75
  /**
92
76
  * The throughput of the topic.
93
77
  * Example: `1m/minute`.
94
78
  *
95
79
  * @generated from field: string throughput = 1;
96
80
  */
97
- throughput = "";
81
+ throughput: string;
98
82
 
99
83
  /**
100
84
  * The number of partitions in the topic.
@@ -102,36 +86,15 @@ export class TopicProfile extends Message<TopicProfile> {
102
86
  *
103
87
  * @generated from field: int64 number_of_partitions = 2;
104
88
  */
105
- numberOfPartitions = protoInt64.zero;
106
-
107
- constructor(data?: PartialMessage<TopicProfile>) {
108
- super();
109
- proto3.util.initPartial(data, this);
110
- }
111
-
112
- static readonly runtime: typeof proto3 = proto3;
113
- static readonly typeName = "raystack.assets.v1beta2.TopicProfile";
114
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
115
- { no: 1, name: "throughput", kind: "scalar", T: 9 /* ScalarType.STRING */ },
116
- { no: 2, name: "number_of_partitions", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
117
- ]);
89
+ numberOfPartitions: bigint;
90
+ };
118
91
 
119
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TopicProfile {
120
- return new TopicProfile().fromBinary(bytes, options);
121
- }
122
-
123
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TopicProfile {
124
- return new TopicProfile().fromJson(jsonValue, options);
125
- }
126
-
127
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TopicProfile {
128
- return new TopicProfile().fromJsonString(jsonString, options);
129
- }
130
-
131
- static equals(a: TopicProfile | PlainMessage<TopicProfile> | undefined, b: TopicProfile | PlainMessage<TopicProfile> | undefined): boolean {
132
- return proto3.util.equals(TopicProfile, a, b);
133
- }
134
- }
92
+ /**
93
+ * Describes the message raystack.assets.v1beta2.TopicProfile.
94
+ * Use `create(TopicProfileSchema)` to create a new message.
95
+ */
96
+ export const TopicProfileSchema: GenMessage<TopicProfile> = /*@__PURE__*/
97
+ messageDesc(file_raystack_assets_v1beta2_topic, 1);
135
98
 
136
99
  /**
137
100
  * TopicSchema represents a schema for message bus.
@@ -139,43 +102,22 @@ export class TopicProfile extends Message<TopicProfile> {
139
102
  *
140
103
  * @generated from message raystack.assets.v1beta2.TopicSchema
141
104
  */
142
- export class TopicSchema extends Message<TopicSchema> {
105
+ export type TopicSchema = Message<"raystack.assets.v1beta2.TopicSchema"> & {
143
106
  /**
144
107
  * @generated from field: string schema_url = 1;
145
108
  */
146
- schemaUrl = "";
109
+ schemaUrl: string;
147
110
 
148
111
  /**
149
112
  * @generated from field: string format = 2;
150
113
  */
151
- format = "";
152
-
153
- constructor(data?: PartialMessage<TopicSchema>) {
154
- super();
155
- proto3.util.initPartial(data, this);
156
- }
114
+ format: string;
115
+ };
157
116
 
158
- static readonly runtime: typeof proto3 = proto3;
159
- static readonly typeName = "raystack.assets.v1beta2.TopicSchema";
160
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
161
- { no: 1, name: "schema_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
162
- { no: 2, name: "format", kind: "scalar", T: 9 /* ScalarType.STRING */ },
163
- ]);
164
-
165
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TopicSchema {
166
- return new TopicSchema().fromBinary(bytes, options);
167
- }
168
-
169
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TopicSchema {
170
- return new TopicSchema().fromJson(jsonValue, options);
171
- }
172
-
173
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TopicSchema {
174
- return new TopicSchema().fromJsonString(jsonString, options);
175
- }
176
-
177
- static equals(a: TopicSchema | PlainMessage<TopicSchema> | undefined, b: TopicSchema | PlainMessage<TopicSchema> | undefined): boolean {
178
- return proto3.util.equals(TopicSchema, a, b);
179
- }
180
- }
117
+ /**
118
+ * Describes the message raystack.assets.v1beta2.TopicSchema.
119
+ * Use `create(TopicSchemaSchema)` to create a new message.
120
+ */
121
+ export const TopicSchemaSchema: GenMessage<TopicSchema> = /*@__PURE__*/
122
+ messageDesc(file_raystack_assets_v1beta2_topic, 2);
181
123