@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,10 +1,16 @@
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/resource.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";
5
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
7
+ import type { Message } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * Describes the file raystack/assets/v1beta1/resource.proto.
11
+ */
12
+ export const file_raystack_assets_v1beta1_resource: GenFile = /*@__PURE__*/
13
+ fileDesc("CiZyYXlzdGFjay9hc3NldHMvdjFiZXRhMS9yZXNvdXJjZS5wcm90bxIXcmF5c3RhY2suYXNzZXRzLnYxYmV0YTEiZgoIUmVzb3VyY2USCwoDdXJuGAEgASgJEgwKBG5hbWUYAiABKAkSDwoHc2VydmljZRgDIAEoCRIMCgR0eXBlGAQgASgJEgsKA3VybBgFIAEoCRITCgtkZXNjcmlwdGlvbhgGIAEoCUJcChJpby5yYXlzdGFjay5hc3NldHNCDVJlc291cmNlUHJvdG9aN2dpdGh1Yi5jb20vcmF5c3RhY2svcHJvdG9uL2Fzc2V0cy92MWJldGExO2Fzc2V0c3YxYmV0YTFiBnByb3RvMw");
8
14
 
9
15
  /**
10
16
  * Resource is a generic resource that represents a file or other resource.
@@ -12,14 +18,14 @@ import { Message, proto3 } from "@bufbuild/protobuf";
12
18
  *
13
19
  * @generated from message raystack.assets.v1beta1.Resource
14
20
  */
15
- export class Resource extends Message<Resource> {
21
+ export type Resource = Message<"raystack.assets.v1beta1.Resource"> & {
16
22
  /**
17
23
  * The unique identifier of the resource.
18
24
  * Example: `user:jdoe` or `group:accounting`.
19
25
  *
20
26
  * @generated from field: string urn = 1;
21
27
  */
22
- urn = "";
28
+ urn: string;
23
29
 
24
30
  /**
25
31
  * The name of the resource.
@@ -27,7 +33,7 @@ export class Resource extends Message<Resource> {
27
33
  *
28
34
  * @generated from field: string name = 2;
29
35
  */
30
- name = "";
36
+ name: string;
31
37
 
32
38
  /**
33
39
  * The source of the resource.
@@ -35,7 +41,7 @@ export class Resource extends Message<Resource> {
35
41
  *
36
42
  * @generated from field: string service = 3;
37
43
  */
38
- service = "";
44
+ service: string;
39
45
 
40
46
  /**
41
47
  * The type of the asset.
@@ -43,7 +49,7 @@ export class Resource extends Message<Resource> {
43
49
  *
44
50
  * @generated from field: string type = 4;
45
51
  */
46
- type = "";
52
+ type: string;
47
53
 
48
54
  /**
49
55
  * The REST URL for accessing the resource. URL returns the resource itself.
@@ -51,7 +57,7 @@ export class Resource extends Message<Resource> {
51
57
  *
52
58
  * @generated from field: string url = 5;
53
59
  */
54
- url = "";
60
+ url: string;
55
61
 
56
62
  /**
57
63
  * The description of the resource.
@@ -59,38 +65,13 @@ export class Resource extends Message<Resource> {
59
65
  *
60
66
  * @generated from field: string description = 6;
61
67
  */
62
- description = "";
63
-
64
- constructor(data?: PartialMessage<Resource>) {
65
- super();
66
- proto3.util.initPartial(data, this);
67
- }
68
-
69
- static readonly runtime: typeof proto3 = proto3;
70
- static readonly typeName = "raystack.assets.v1beta1.Resource";
71
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
72
- { no: 1, name: "urn", kind: "scalar", T: 9 /* ScalarType.STRING */ },
73
- { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
74
- { no: 3, name: "service", kind: "scalar", T: 9 /* ScalarType.STRING */ },
75
- { no: 4, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
76
- { no: 5, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
77
- { no: 6, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
78
- ]);
68
+ description: string;
69
+ };
79
70
 
80
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Resource {
81
- return new Resource().fromBinary(bytes, options);
82
- }
83
-
84
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Resource {
85
- return new Resource().fromJson(jsonValue, options);
86
- }
87
-
88
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Resource {
89
- return new Resource().fromJsonString(jsonString, options);
90
- }
91
-
92
- static equals(a: Resource | PlainMessage<Resource> | undefined, b: Resource | PlainMessage<Resource> | undefined): boolean {
93
- return proto3.util.equals(Resource, a, b);
94
- }
95
- }
71
+ /**
72
+ * Describes the message raystack.assets.v1beta1.Resource.
73
+ * Use `create(ResourceSchema)` to create a new message.
74
+ */
75
+ export const ResourceSchema: GenMessage<Resource> = /*@__PURE__*/
76
+ messageDesc(file_raystack_assets_v1beta1_resource, 0);
96
77
 
@@ -1,11 +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/schema.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 { Properties } from "./properties_pb";
5
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
7
+ import type { Properties } from "./properties_pb";
8
+ import { file_raystack_assets_v1beta1_properties } from "./properties_pb";
9
+ import type { Message } from "@bufbuild/protobuf";
10
+
11
+ /**
12
+ * Describes the file raystack/assets/v1beta1/schema.proto.
13
+ */
14
+ export const file_raystack_assets_v1beta1_schema: GenFile = /*@__PURE__*/
15
+ fileDesc("CiRyYXlzdGFjay9hc3NldHMvdjFiZXRhMS9zY2hlbWEucHJvdG8SF3JheXN0YWNrLmFzc2V0cy52MWJldGExIjsKB0NvbHVtbnMSMAoHY29sdW1ucxgBIAMoCzIfLnJheXN0YWNrLmFzc2V0cy52MWJldGExLkNvbHVtbiLVAQoGQ29sdW1uEgwKBG5hbWUYASABKAkSEwoLZGVzY3JpcHRpb24YAiABKAkSEQoJZGF0YV90eXBlGAMgASgJEhMKC2lzX251bGxhYmxlGAQgASgIEg4KBmxlbmd0aBgFIAEoAxI3Cgdwcm9maWxlGAYgASgLMiYucmF5c3RhY2suYXNzZXRzLnYxYmV0YTEuQ29sdW1uUHJvZmlsZRI3Cgpwcm9wZXJ0aWVzGB8gASgLMiMucmF5c3RhY2suYXNzZXRzLnYxYmV0YTEuUHJvcGVydGllcyJvCg1Db2x1bW5Qcm9maWxlEgsKA21pbhgBIAEoCRILCgNtYXgYAiABKAkSCwoDYXZnGAMgASgBEgsKA21lZBgEIAEoARIOCgZ1bmlxdWUYBSABKAMSDQoFY291bnQYBiABKAMSCwoDdG9wGAcgASgJIjEKC1RvcGljU2NoZW1hEhIKCnNjaGVtYV91cmwYASABKAkSDgoGZm9ybWF0GAIgASgJQloKEmlvLnJheXN0YWNrLmFzc2V0c0ILU2NoZW1hUHJvdG9aN2dpdGh1Yi5jb20vcmF5c3RhY2svcHJvdG9uL2Fzc2V0cy92MWJldGExO2Fzc2V0c3YxYmV0YTFiBnByb3RvMw", [file_raystack_assets_v1beta1_properties]);
9
16
 
10
17
  /**
11
18
  * Columns represents a list of columns.
@@ -13,55 +20,35 @@ import { Properties } from "./properties_pb";
13
20
  *
14
21
  * @generated from message raystack.assets.v1beta1.Columns
15
22
  */
16
- export class Columns extends Message<Columns> {
23
+ export type Columns = Message<"raystack.assets.v1beta1.Columns"> & {
17
24
  /**
18
25
  * The list of columns.
19
26
  *
20
27
  * @generated from field: repeated raystack.assets.v1beta1.Column columns = 1;
21
28
  */
22
- columns: Column[] = [];
23
-
24
- constructor(data?: PartialMessage<Columns>) {
25
- super();
26
- proto3.util.initPartial(data, this);
27
- }
28
-
29
- static readonly runtime: typeof proto3 = proto3;
30
- static readonly typeName = "raystack.assets.v1beta1.Columns";
31
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
32
- { no: 1, name: "columns", kind: "message", T: Column, repeated: true },
33
- ]);
34
-
35
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Columns {
36
- return new Columns().fromBinary(bytes, options);
37
- }
38
-
39
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Columns {
40
- return new Columns().fromJson(jsonValue, options);
41
- }
42
-
43
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Columns {
44
- return new Columns().fromJsonString(jsonString, options);
45
- }
29
+ columns: Column[];
30
+ };
46
31
 
47
- static equals(a: Columns | PlainMessage<Columns> | undefined, b: Columns | PlainMessage<Columns> | undefined): boolean {
48
- return proto3.util.equals(Columns, a, b);
49
- }
50
- }
32
+ /**
33
+ * Describes the message raystack.assets.v1beta1.Columns.
34
+ * Use `create(ColumnsSchema)` to create a new message.
35
+ */
36
+ export const ColumnsSchema: GenMessage<Columns> = /*@__PURE__*/
37
+ messageDesc(file_raystack_assets_v1beta1_schema, 0);
51
38
 
52
39
  /**
53
40
  * Column represents a column in a table or a file.
54
41
  *
55
42
  * @generated from message raystack.assets.v1beta1.Column
56
43
  */
57
- export class Column extends Message<Column> {
44
+ export type Column = Message<"raystack.assets.v1beta1.Column"> & {
58
45
  /**
59
46
  * The name of the column.
60
47
  * Example: `customer_id`.
61
48
  *
62
49
  * @generated from field: string name = 1;
63
50
  */
64
- name = "";
51
+ name: string;
65
52
 
66
53
  /**
67
54
  * The description of the column.
@@ -69,12 +56,12 @@ export class Column extends Message<Column> {
69
56
  *
70
57
  * @generated from field: string description = 2;
71
58
  */
72
- description = "";
59
+ description: string;
73
60
 
74
61
  /**
75
62
  * @generated from field: string data_type = 3;
76
63
  */
77
- dataType = "";
64
+ dataType: string;
78
65
 
79
66
  /**
80
67
  * The format of the column.
@@ -82,7 +69,7 @@ export class Column extends Message<Column> {
82
69
  *
83
70
  * @generated from field: bool is_nullable = 4;
84
71
  */
85
- isNullable = false;
72
+ isNullable: boolean;
86
73
 
87
74
  /**
88
75
  * The length of the column.
@@ -90,7 +77,7 @@ export class Column extends Message<Column> {
90
77
  *
91
78
  * @generated from field: int64 length = 5;
92
79
  */
93
- length = protoInt64.zero;
80
+ length: bigint;
94
81
 
95
82
  /**
96
83
  * The profile of the column.
@@ -106,113 +93,61 @@ export class Column extends Message<Column> {
106
93
  * @generated from field: raystack.assets.v1beta1.Properties properties = 31;
107
94
  */
108
95
  properties?: Properties;
96
+ };
109
97
 
110
- constructor(data?: PartialMessage<Column>) {
111
- super();
112
- proto3.util.initPartial(data, this);
113
- }
114
-
115
- static readonly runtime: typeof proto3 = proto3;
116
- static readonly typeName = "raystack.assets.v1beta1.Column";
117
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
118
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
119
- { no: 2, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
120
- { no: 3, name: "data_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
121
- { no: 4, name: "is_nullable", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
122
- { no: 5, name: "length", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
123
- { no: 6, name: "profile", kind: "message", T: ColumnProfile },
124
- { no: 31, name: "properties", kind: "message", T: Properties },
125
- ]);
126
-
127
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Column {
128
- return new Column().fromBinary(bytes, options);
129
- }
130
-
131
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Column {
132
- return new Column().fromJson(jsonValue, options);
133
- }
134
-
135
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Column {
136
- return new Column().fromJsonString(jsonString, options);
137
- }
138
-
139
- static equals(a: Column | PlainMessage<Column> | undefined, b: Column | PlainMessage<Column> | undefined): boolean {
140
- return proto3.util.equals(Column, a, b);
141
- }
142
- }
98
+ /**
99
+ * Describes the message raystack.assets.v1beta1.Column.
100
+ * Use `create(ColumnSchema)` to create a new message.
101
+ */
102
+ export const ColumnSchema: GenMessage<Column> = /*@__PURE__*/
103
+ messageDesc(file_raystack_assets_v1beta1_schema, 1);
143
104
 
144
105
  /**
145
106
  * @generated from message raystack.assets.v1beta1.ColumnProfile
146
107
  */
147
- export class ColumnProfile extends Message<ColumnProfile> {
108
+ export type ColumnProfile = Message<"raystack.assets.v1beta1.ColumnProfile"> & {
148
109
  /**
149
110
  * @generated from field: string min = 1;
150
111
  */
151
- min = "";
112
+ min: string;
152
113
 
153
114
  /**
154
115
  * @generated from field: string max = 2;
155
116
  */
156
- max = "";
117
+ max: string;
157
118
 
158
119
  /**
159
120
  * @generated from field: double avg = 3;
160
121
  */
161
- avg = 0;
122
+ avg: number;
162
123
 
163
124
  /**
164
125
  * @generated from field: double med = 4;
165
126
  */
166
- med = 0;
127
+ med: number;
167
128
 
168
129
  /**
169
130
  * @generated from field: int64 unique = 5;
170
131
  */
171
- unique = protoInt64.zero;
132
+ unique: bigint;
172
133
 
173
134
  /**
174
135
  * @generated from field: int64 count = 6;
175
136
  */
176
- count = protoInt64.zero;
137
+ count: bigint;
177
138
 
178
139
  /**
179
140
  * @generated from field: string top = 7;
180
141
  */
181
- top = "";
182
-
183
- constructor(data?: PartialMessage<ColumnProfile>) {
184
- super();
185
- proto3.util.initPartial(data, this);
186
- }
187
-
188
- static readonly runtime: typeof proto3 = proto3;
189
- static readonly typeName = "raystack.assets.v1beta1.ColumnProfile";
190
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
191
- { no: 1, name: "min", kind: "scalar", T: 9 /* ScalarType.STRING */ },
192
- { no: 2, name: "max", kind: "scalar", T: 9 /* ScalarType.STRING */ },
193
- { no: 3, name: "avg", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
194
- { no: 4, name: "med", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
195
- { no: 5, name: "unique", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
196
- { no: 6, name: "count", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
197
- { no: 7, name: "top", kind: "scalar", T: 9 /* ScalarType.STRING */ },
198
- ]);
199
-
200
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ColumnProfile {
201
- return new ColumnProfile().fromBinary(bytes, options);
202
- }
142
+ top: string;
143
+ };
203
144
 
204
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ColumnProfile {
205
- return new ColumnProfile().fromJson(jsonValue, options);
206
- }
207
-
208
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ColumnProfile {
209
- return new ColumnProfile().fromJsonString(jsonString, options);
210
- }
211
-
212
- static equals(a: ColumnProfile | PlainMessage<ColumnProfile> | undefined, b: ColumnProfile | PlainMessage<ColumnProfile> | undefined): boolean {
213
- return proto3.util.equals(ColumnProfile, a, b);
214
- }
215
- }
145
+ /**
146
+ * Describes the message raystack.assets.v1beta1.ColumnProfile.
147
+ * Use `create(ColumnProfileSchema)` to create a new message.
148
+ */
149
+ export const ColumnProfileSchema: GenMessage<ColumnProfile> = /*@__PURE__*/
150
+ messageDesc(file_raystack_assets_v1beta1_schema, 2);
216
151
 
217
152
  /**
218
153
  * TopicSchema represents a schema for message bus.
@@ -220,43 +155,22 @@ export class ColumnProfile extends Message<ColumnProfile> {
220
155
  *
221
156
  * @generated from message raystack.assets.v1beta1.TopicSchema
222
157
  */
223
- export class TopicSchema extends Message<TopicSchema> {
158
+ export type TopicSchema = Message<"raystack.assets.v1beta1.TopicSchema"> & {
224
159
  /**
225
160
  * @generated from field: string schema_url = 1;
226
161
  */
227
- schemaUrl = "";
162
+ schemaUrl: string;
228
163
 
229
164
  /**
230
165
  * @generated from field: string format = 2;
231
166
  */
232
- format = "";
167
+ format: string;
168
+ };
233
169
 
234
- constructor(data?: PartialMessage<TopicSchema>) {
235
- super();
236
- proto3.util.initPartial(data, this);
237
- }
238
-
239
- static readonly runtime: typeof proto3 = proto3;
240
- static readonly typeName = "raystack.assets.v1beta1.TopicSchema";
241
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
242
- { no: 1, name: "schema_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
243
- { no: 2, name: "format", kind: "scalar", T: 9 /* ScalarType.STRING */ },
244
- ]);
245
-
246
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TopicSchema {
247
- return new TopicSchema().fromBinary(bytes, options);
248
- }
249
-
250
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TopicSchema {
251
- return new TopicSchema().fromJson(jsonValue, options);
252
- }
253
-
254
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TopicSchema {
255
- return new TopicSchema().fromJsonString(jsonString, options);
256
- }
257
-
258
- static equals(a: TopicSchema | PlainMessage<TopicSchema> | undefined, b: TopicSchema | PlainMessage<TopicSchema> | undefined): boolean {
259
- return proto3.util.equals(TopicSchema, a, b);
260
- }
261
- }
170
+ /**
171
+ * Describes the message raystack.assets.v1beta1.TopicSchema.
172
+ * Use `create(TopicSchemaSchema)` to create a new message.
173
+ */
174
+ export const TopicSchemaSchema: GenMessage<TopicSchema> = /*@__PURE__*/
175
+ messageDesc(file_raystack_assets_v1beta1_schema, 3);
262
176