@raystack/proton 0.1.0-639e522a5cab4021f05990d13ef31161a35e17d7 → 0.1.0-881c92a4cab2490e6c680462a94660b551b1040f

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (111) hide show
  1. package/google/api/annotations_pb.ts +15 -9
  2. package/google/api/field_behavior_pb.ts +19 -19
  3. package/google/api/http_pb.ts +43 -108
  4. package/google/api/httpbody_pb.ts +23 -37
  5. package/index.ts +10 -0
  6. package/package.json +58 -14
  7. package/protoc-gen-openapiv2/options/annotations_pb.ts +23 -29
  8. package/protoc-gen-openapiv2/options/openapiv2_pb.ts +338 -808
  9. package/raystack/assets/v1beta1/bucket_pb.ts +46 -89
  10. package/raystack/assets/v1beta1/dashboard_pb.ts +49 -97
  11. package/raystack/assets/v1beta1/event_pb.ts +22 -36
  12. package/raystack/assets/v1beta1/group_pb.ts +38 -74
  13. package/raystack/assets/v1beta1/job_pb.ts +30 -43
  14. package/raystack/assets/v1beta1/lineage_pb.ts +22 -36
  15. package/raystack/assets/v1beta1/ownership_pb.ts +31 -68
  16. package/raystack/assets/v1beta1/preview_pb.ts +21 -34
  17. package/raystack/assets/v1beta1/properties_pb.ts +22 -37
  18. package/raystack/assets/v1beta1/resource_pb.ts +24 -43
  19. package/raystack/assets/v1beta1/schema_pb.ts +59 -145
  20. package/raystack/assets/v1beta1/table_pb.ts +59 -120
  21. package/raystack/assets/v1beta1/timestamp_pb.ts +28 -62
  22. package/raystack/assets/v1beta1/topic_pb.ts +43 -78
  23. package/raystack/assets/v1beta1/user_pb.ts +58 -125
  24. package/raystack/assets/v1beta2/application_pb.ts +23 -39
  25. package/raystack/assets/v1beta2/asset_pb.ts +30 -53
  26. package/raystack/assets/v1beta2/bucket_pb.ts +41 -87
  27. package/raystack/assets/v1beta2/common_pb.ts +56 -137
  28. package/raystack/assets/v1beta2/dashboard_pb.ts +44 -93
  29. package/raystack/assets/v1beta2/experiment_pb.ts +38 -79
  30. package/raystack/assets/v1beta2/feature_table_pb.ts +51 -115
  31. package/raystack/assets/v1beta2/group_pb.ts +32 -68
  32. package/raystack/assets/v1beta2/job_pb.ts +21 -35
  33. package/raystack/assets/v1beta2/metric_pb.ts +25 -43
  34. package/raystack/assets/v1beta2/model_pb.ts +59 -147
  35. package/raystack/assets/v1beta2/table_pb.ts +82 -200
  36. package/raystack/assets/v1beta2/topic_pb.ts +41 -99
  37. package/raystack/assets/v1beta2/user_pb.ts +53 -121
  38. package/raystack/common/index.ts +0 -1
  39. package/raystack/common/v1/service-CommonService_connectquery.ts +3 -14
  40. package/raystack/common/v1/service_pb.ts +57 -97
  41. package/raystack/compass/index.ts +0 -1
  42. package/raystack/compass/v1beta1/service-CompassService_connectquery.ts +44 -424
  43. package/raystack/compass/v1beta1/service_pb.ts +1448 -3319
  44. package/raystack/entropy/index.ts +0 -2
  45. package/raystack/entropy/v1beta1/module-ModuleService_connectquery.ts +7 -54
  46. package/raystack/entropy/v1beta1/module_pb.ts +156 -324
  47. package/raystack/entropy/v1beta1/resource-ResourceService_connectquery.ts +9 -74
  48. package/raystack/entropy/v1beta1/resource_pb.ts +330 -756
  49. package/raystack/frontier/index.ts +0 -2
  50. package/raystack/frontier/v1beta1/admin-AdminService_connectquery.ts +54 -524
  51. package/raystack/frontier/v1beta1/admin_pb.ts +1755 -3846
  52. package/raystack/frontier/v1beta1/frontier-FrontierService_connectquery.ts +169 -1674
  53. package/raystack/frontier/v1beta1/frontier_pb.ts +4850 -10959
  54. package/raystack/frontier/v1beta1/models_pb.ts +810 -2296
  55. package/raystack/guardian/index.ts +0 -1
  56. package/raystack/guardian/v1beta1/guardian-GuardianService_connectquery.ts +42 -404
  57. package/raystack/guardian/v1beta1/guardian_pb.ts +1584 -3783
  58. package/raystack/optimus/core/v1beta1/backup-BackupService_connectquery.ts +5 -34
  59. package/raystack/optimus/core/v1beta1/backup_pb.ts +137 -273
  60. package/raystack/optimus/core/v1beta1/job_run-JobRunService_connectquery.ts +6 -44
  61. package/raystack/optimus/core/v1beta1/job_run_pb.ts +194 -376
  62. package/raystack/optimus/core/v1beta1/job_spec-JobSpecificationService_connectquery.ts +17 -154
  63. package/raystack/optimus/core/v1beta1/job_spec_pb.ts +910 -2081
  64. package/raystack/optimus/core/v1beta1/namespace-NamespaceService_connectquery.ts +5 -34
  65. package/raystack/optimus/core/v1beta1/namespace_pb.ts +113 -212
  66. package/raystack/optimus/core/v1beta1/project-ProjectService_connectquery.ts +5 -34
  67. package/raystack/optimus/core/v1beta1/project_pb.ts +121 -238
  68. package/raystack/optimus/core/v1beta1/replay-ReplayService_connectquery.ts +6 -44
  69. package/raystack/optimus/core/v1beta1/replay_pb.ts +160 -335
  70. package/raystack/optimus/core/v1beta1/resource-ResourceService_connectquery.ts +8 -64
  71. package/raystack/optimus/core/v1beta1/resource_pb.ts +266 -527
  72. package/raystack/optimus/core/v1beta1/runtime-RuntimeService_connectquery.ts +3 -14
  73. package/raystack/optimus/core/v1beta1/runtime_pb.ts +48 -61
  74. package/raystack/optimus/core/v1beta1/secret-SecretService_connectquery.ts +6 -44
  75. package/raystack/optimus/core/v1beta1/secret_pb.ts +155 -283
  76. package/raystack/optimus/core/v1beta1/status_pb.ts +35 -54
  77. package/raystack/optimus/integration/v1beta1/event_pb.ts +75 -187
  78. package/raystack/optimus/plugins/v1beta1/dependency_resolver-DependencyResolverModService_connectquery.ts +6 -44
  79. package/raystack/optimus/plugins/v1beta1/dependency_resolver_pb.ts +193 -426
  80. package/raystack/predator/v1beta1/metrics_log_pb.ts +67 -173
  81. package/raystack/predator/v1beta1/result_log_pb.ts +60 -144
  82. package/raystack/raccoon/index.ts +0 -1
  83. package/raystack/raccoon/v1beta1/raccoon-EventService_connectquery.ts +3 -14
  84. package/raystack/raccoon/v1beta1/raccoon_pb.ts +142 -189
  85. package/raystack/siren/index.ts +0 -1
  86. package/raystack/siren/v1beta1/siren-SirenService_connectquery.ts +37 -354
  87. package/raystack/siren/v1beta1/siren_pb.ts +1155 -2637
  88. package/raystack/stencil/index.ts +0 -1
  89. package/raystack/stencil/v1beta1/stencil-StencilService_connectquery.ts +18 -164
  90. package/raystack/stencil/v1beta1/stencil_pb.ts +530 -1157
  91. package/validate/validate_pb.ts +401 -1038
  92. package/raystack/common/v1/service_connect.ts +0 -26
  93. package/raystack/compass/v1beta1/service_connect.ts +0 -407
  94. package/raystack/entropy/v1beta1/module_connect.ts +0 -62
  95. package/raystack/entropy/v1beta1/resource_connect.ts +0 -89
  96. package/raystack/frontier/v1beta1/admin_connect.ts +0 -584
  97. package/raystack/frontier/v1beta1/frontier_connect.ts +0 -1574
  98. package/raystack/guardian/v1beta1/guardian_connect.ts +0 -381
  99. package/raystack/optimus/core/v1beta1/backup_connect.ts +0 -44
  100. package/raystack/optimus/core/v1beta1/job_run_connect.ts +0 -63
  101. package/raystack/optimus/core/v1beta1/job_spec_connect.ts +0 -233
  102. package/raystack/optimus/core/v1beta1/namespace_connect.ts +0 -50
  103. package/raystack/optimus/core/v1beta1/project_connect.ts +0 -50
  104. package/raystack/optimus/core/v1beta1/replay_connect.ts +0 -53
  105. package/raystack/optimus/core/v1beta1/resource_connect.ts +0 -96
  106. package/raystack/optimus/core/v1beta1/runtime_connect.ts +0 -30
  107. package/raystack/optimus/core/v1beta1/secret_connect.ts +0 -61
  108. package/raystack/optimus/plugins/v1beta1/dependency_resolver_connect.ts +0 -65
  109. package/raystack/raccoon/v1beta1/raccoon_connect.ts +0 -26
  110. package/raystack/siren/v1beta1/siren_connect.ts +0 -332
  111. package/raystack/stencil/v1beta1/stencil_connect.ts +0 -161
@@ -1,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/feature_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 { Message, proto3, 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/feature_table.proto.
13
+ */
14
+ export const file_raystack_assets_v1beta2_feature_table: GenFile = /*@__PURE__*/
15
+ fileDesc("CityYXlzdGFjay9hc3NldHMvdjFiZXRhMi9mZWF0dXJlX3RhYmxlLnByb3RvEhdyYXlzdGFjay5hc3NldHMudjFiZXRhMiJSCgdGZWF0dXJlEgwKBG5hbWUYASABKAkSEQoJZGF0YV90eXBlGAIgASgJEhEKCWFsZ29yaXRobRgDIAEoCRITCgtlbnRpdHlfbmFtZRgEIAEoCSLsAwoMRmVhdHVyZVRhYmxlEhEKCW5hbWVzcGFjZRgBIAEoCRI+CghlbnRpdGllcxgCIAMoCzIsLnJheXN0YWNrLmFzc2V0cy52MWJldGEyLkZlYXR1cmVUYWJsZS5FbnRpdHkSMgoIZmVhdHVyZXMYAyADKAsyIC5yYXlzdGFjay5hc3NldHMudjFiZXRhMi5GZWF0dXJlEisKCmF0dHJpYnV0ZXMYBCABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0Ei8KC2NyZWF0ZV90aW1lGGUgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIvCgt1cGRhdGVfdGltZRhmIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAaxQEKBkVudGl0eRIMCgRuYW1lGAEgASgJEhEKCWpvaW5fa2V5cxgCIAMoCRJICgZsYWJlbHMYAyADKAsyOC5yYXlzdGFjay5hc3NldHMudjFiZXRhMi5GZWF0dXJlVGFibGUuRW50aXR5LkxhYmVsc0VudHJ5EhMKC2Rlc2NyaXB0aW9uGAQgASgJEgwKBHR5cGUYBSABKAkaLQoLTGFiZWxzRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4AUJbChJpby5yYXlzdGFjay5hc3NldHNCDEZlYXR1cmVQcm90b1o3Z2l0aHViLmNvbS9yYXlzdGFjay9wcm90b24vYXNzZXRzL3YxYmV0YTI7YXNzZXRzdjFiZXRhMmIGcHJvdG8z", [file_google_protobuf_struct, file_google_protobuf_timestamp]);
8
16
 
9
17
  /**
10
18
  * Feature is a Machine Learning(ML) feature. In machine learning, a feature
@@ -13,20 +21,20 @@ import { Message, proto3, Struct, Timestamp } from "@bufbuild/protobuf";
13
21
  *
14
22
  * @generated from message raystack.assets.v1beta2.Feature
15
23
  */
16
- export class Feature extends Message<Feature> {
24
+ export type Feature = Message<"raystack.assets.v1beta2.Feature"> & {
17
25
  /**
18
26
  * The name of the field.
19
27
  *
20
28
  * @generated from field: string name = 1;
21
29
  */
22
- name = "";
30
+ name: string;
23
31
 
24
32
  /**
25
33
  * The data type associated with an individual ML Feature.
26
34
  *
27
35
  * @generated from field: string data_type = 2;
28
36
  */
29
- dataType = "";
37
+ dataType: string;
30
38
 
31
39
  /**
32
40
  * Optional: Name of the algorithm used to compute the feature, e.g., PCA,
@@ -34,45 +42,22 @@ export class Feature extends Message<Feature> {
34
42
  *
35
43
  * @generated from field: string algorithm = 3;
36
44
  */
37
- algorithm = "";
45
+ algorithm: string;
38
46
 
39
47
  /**
40
48
  * Optional: Name of the entity instance.
41
49
  *
42
50
  * @generated from field: string entity_name = 4;
43
51
  */
44
- entityName = "";
45
-
46
- constructor(data?: PartialMessage<Feature>) {
47
- super();
48
- proto3.util.initPartial(data, this);
49
- }
50
-
51
- static readonly runtime: typeof proto3 = proto3;
52
- static readonly typeName = "raystack.assets.v1beta2.Feature";
53
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
54
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
55
- { no: 2, name: "data_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
56
- { no: 3, name: "algorithm", kind: "scalar", T: 9 /* ScalarType.STRING */ },
57
- { no: 4, name: "entity_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
58
- ]);
59
-
60
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Feature {
61
- return new Feature().fromBinary(bytes, options);
62
- }
63
-
64
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Feature {
65
- return new Feature().fromJson(jsonValue, options);
66
- }
67
-
68
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Feature {
69
- return new Feature().fromJsonString(jsonString, options);
70
- }
71
-
72
- static equals(a: Feature | PlainMessage<Feature> | undefined, b: Feature | PlainMessage<Feature> | undefined): boolean {
73
- return proto3.util.equals(Feature, a, b);
74
- }
75
- }
52
+ entityName: string;
53
+ };
54
+
55
+ /**
56
+ * Describes the message raystack.assets.v1beta2.Feature.
57
+ * Use `create(FeatureSchema)` to create a new message.
58
+ */
59
+ export const FeatureSchema: GenMessage<Feature> = /*@__PURE__*/
60
+ messageDesc(file_raystack_assets_v1beta2_feature_table, 0);
76
61
 
77
62
  /**
78
63
  * FeatureTable is a Machine Learning(ML) feature table or view that
@@ -81,34 +66,34 @@ export class Feature extends Message<Feature> {
81
66
  *
82
67
  * @generated from message raystack.assets.v1beta2.FeatureTable
83
68
  */
84
- export class FeatureTable extends Message<FeatureTable> {
69
+ export type FeatureTable = Message<"raystack.assets.v1beta2.FeatureTable"> & {
85
70
  /**
86
71
  * Optional: Feature store's namespace or project.
87
72
  *
88
73
  * @generated from field: string namespace = 1;
89
74
  */
90
- namespace = "";
75
+ namespace: string;
91
76
 
92
77
  /**
93
78
  * Optional: The list of entities that this feature view is associated with.
94
79
  *
95
80
  * @generated from field: repeated raystack.assets.v1beta2.FeatureTable.Entity entities = 2;
96
81
  */
97
- entities: FeatureTable_Entity[] = [];
82
+ entities: FeatureTable_Entity[];
98
83
 
99
84
  /**
100
85
  * Features that are part of the table, akin to columns in a table.
101
86
  *
102
87
  * @generated from field: repeated raystack.assets.v1beta2.Feature features = 3;
103
88
  */
104
- features: Feature[] = [];
89
+ features: Feature[];
105
90
 
106
91
  /**
107
92
  * List of attributes the model has.
108
93
  *
109
94
  * @generated from field: google.protobuf.Struct attributes = 4;
110
95
  */
111
- attributes?: Struct;
96
+ attributes?: JsonObject;
112
97
 
113
98
  /**
114
99
  * The timestamp when the feature table was created.
@@ -123,39 +108,14 @@ export class FeatureTable extends Message<FeatureTable> {
123
108
  * @generated from field: google.protobuf.Timestamp update_time = 102;
124
109
  */
125
110
  updateTime?: Timestamp;
111
+ };
126
112
 
127
- constructor(data?: PartialMessage<FeatureTable>) {
128
- super();
129
- proto3.util.initPartial(data, this);
130
- }
131
-
132
- static readonly runtime: typeof proto3 = proto3;
133
- static readonly typeName = "raystack.assets.v1beta2.FeatureTable";
134
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
135
- { no: 1, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
136
- { no: 2, name: "entities", kind: "message", T: FeatureTable_Entity, repeated: true },
137
- { no: 3, name: "features", kind: "message", T: Feature, repeated: true },
138
- { no: 4, name: "attributes", kind: "message", T: Struct },
139
- { no: 101, name: "create_time", kind: "message", T: Timestamp },
140
- { no: 102, name: "update_time", kind: "message", T: Timestamp },
141
- ]);
142
-
143
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FeatureTable {
144
- return new FeatureTable().fromBinary(bytes, options);
145
- }
146
-
147
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FeatureTable {
148
- return new FeatureTable().fromJson(jsonValue, options);
149
- }
150
-
151
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FeatureTable {
152
- return new FeatureTable().fromJsonString(jsonString, options);
153
- }
154
-
155
- static equals(a: FeatureTable | PlainMessage<FeatureTable> | undefined, b: FeatureTable | PlainMessage<FeatureTable> | undefined): boolean {
156
- return proto3.util.equals(FeatureTable, a, b);
157
- }
158
- }
113
+ /**
114
+ * Describes the message raystack.assets.v1beta2.FeatureTable.
115
+ * Use `create(FeatureTableSchema)` to create a new message.
116
+ */
117
+ export const FeatureTableSchema: GenMessage<FeatureTable> = /*@__PURE__*/
118
+ messageDesc(file_raystack_assets_v1beta2_feature_table, 1);
159
119
 
160
120
  /**
161
121
  * An entity is a collection of semantically related features. Users define
@@ -165,13 +125,13 @@ export class FeatureTable extends Message<FeatureTable> {
165
125
  *
166
126
  * @generated from message raystack.assets.v1beta2.FeatureTable.Entity
167
127
  */
168
- export class FeatureTable_Entity extends Message<FeatureTable_Entity> {
128
+ export type FeatureTable_Entity = Message<"raystack.assets.v1beta2.FeatureTable.Entity"> & {
169
129
  /**
170
130
  * The unique name of the entity.
171
131
  *
172
132
  * @generated from field: string name = 1;
173
133
  */
174
- name = "";
134
+ name: string;
175
135
 
176
136
  /**
177
137
  * A property that uniquely identifies different entities within the
@@ -180,58 +140,34 @@ export class FeatureTable_Entity extends Message<FeatureTable_Entity> {
180
140
  *
181
141
  * @generated from field: repeated string join_keys = 2;
182
142
  */
183
- joinKeys: string[] = [];
143
+ joinKeys: string[];
184
144
 
185
145
  /**
186
146
  * Optional: Arbitrary metadata.
187
147
  *
188
148
  * @generated from field: map<string, string> labels = 3;
189
149
  */
190
- labels: { [key: string]: string } = {};
150
+ labels: { [key: string]: string };
191
151
 
192
152
  /**
193
153
  * Optional: Description of the entity.
194
154
  *
195
155
  * @generated from field: string description = 4;
196
156
  */
197
- description = "";
157
+ description: string;
198
158
 
199
159
  /**
200
160
  * Optional: Data type of the entity.
201
161
  *
202
162
  * @generated from field: string type = 5;
203
163
  */
204
- type = "";
205
-
206
- constructor(data?: PartialMessage<FeatureTable_Entity>) {
207
- super();
208
- proto3.util.initPartial(data, this);
209
- }
210
-
211
- static readonly runtime: typeof proto3 = proto3;
212
- static readonly typeName = "raystack.assets.v1beta2.FeatureTable.Entity";
213
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
214
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
215
- { no: 2, name: "join_keys", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
216
- { no: 3, name: "labels", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
217
- { no: 4, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
218
- { no: 5, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
219
- ]);
220
-
221
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FeatureTable_Entity {
222
- return new FeatureTable_Entity().fromBinary(bytes, options);
223
- }
224
-
225
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FeatureTable_Entity {
226
- return new FeatureTable_Entity().fromJson(jsonValue, options);
227
- }
228
-
229
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FeatureTable_Entity {
230
- return new FeatureTable_Entity().fromJsonString(jsonString, options);
231
- }
232
-
233
- static equals(a: FeatureTable_Entity | PlainMessage<FeatureTable_Entity> | undefined, b: FeatureTable_Entity | PlainMessage<FeatureTable_Entity> | undefined): boolean {
234
- return proto3.util.equals(FeatureTable_Entity, a, b);
235
- }
236
- }
164
+ type: string;
165
+ };
166
+
167
+ /**
168
+ * Describes the message raystack.assets.v1beta2.FeatureTable.Entity.
169
+ * Use `create(FeatureTable_EntitySchema)` to create a new message.
170
+ */
171
+ export const FeatureTable_EntitySchema: GenMessage<FeatureTable_Entity> = /*@__PURE__*/
172
+ messageDesc(file_raystack_assets_v1beta2_feature_table, 1, 0);
237
173
 
@@ -1,24 +1,31 @@
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/group.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, Struct } from "@bufbuild/protobuf";
5
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
7
+ import { file_google_protobuf_struct } from "@bufbuild/protobuf/wkt";
8
+ import type { JsonObject, Message } from "@bufbuild/protobuf";
9
+
10
+ /**
11
+ * Describes the file raystack/assets/v1beta2/group.proto.
12
+ */
13
+ export const file_raystack_assets_v1beta2_group: GenFile = /*@__PURE__*/
14
+ fileDesc("CiNyYXlzdGFjay9hc3NldHMvdjFiZXRhMi9ncm91cC5wcm90bxIXcmF5c3RhY2suYXNzZXRzLnYxYmV0YTIidQoFR3JvdXASDQoFZW1haWwYASABKAkSMAoHbWVtYmVycxgCIAMoCzIfLnJheXN0YWNrLmFzc2V0cy52MWJldGEyLk1lbWJlchIrCgphdHRyaWJ1dGVzGAogASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdCIjCgZNZW1iZXISCwoDdXJuGAEgASgJEgwKBHJvbGUYAiABKAlCWQoSaW8ucmF5c3RhY2suYXNzZXRzQgpHcm91cFByb3RvWjdnaXRodWIuY29tL3JheXN0YWNrL3Byb3Rvbi9hc3NldHMvdjFiZXRhMjthc3NldHN2MWJldGEyYgZwcm90bzM", [file_google_protobuf_struct]);
8
15
 
9
16
  /**
10
17
  * Group represents a group of users and resources.
11
18
  *
12
19
  * @generated from message raystack.assets.v1beta2.Group
13
20
  */
14
- export class Group extends Message<Group> {
21
+ export type Group = Message<"raystack.assets.v1beta2.Group"> & {
15
22
  /**
16
23
  * The email of the group.
17
24
  * Example: `xyz@xyz.com`
18
25
  *
19
26
  * @generated from field: string email = 1;
20
27
  */
21
- email = "";
28
+ email: string;
22
29
 
23
30
  /**
24
31
  * The members of the group.
@@ -26,58 +33,36 @@ export class Group extends Message<Group> {
26
33
  *
27
34
  * @generated from field: repeated raystack.assets.v1beta2.Member members = 2;
28
35
  */
29
- members: Member[] = [];
36
+ members: Member[];
30
37
 
31
38
  /**
32
39
  * List of attributes the model has.
33
40
  *
34
41
  * @generated from field: google.protobuf.Struct attributes = 10;
35
42
  */
36
- attributes?: Struct;
37
-
38
- constructor(data?: PartialMessage<Group>) {
39
- super();
40
- proto3.util.initPartial(data, this);
41
- }
42
-
43
- static readonly runtime: typeof proto3 = proto3;
44
- static readonly typeName = "raystack.assets.v1beta2.Group";
45
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
46
- { no: 1, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
47
- { no: 2, name: "members", kind: "message", T: Member, repeated: true },
48
- { no: 10, name: "attributes", kind: "message", T: Struct },
49
- ]);
43
+ attributes?: JsonObject;
44
+ };
50
45
 
51
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Group {
52
- return new Group().fromBinary(bytes, options);
53
- }
54
-
55
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Group {
56
- return new Group().fromJson(jsonValue, options);
57
- }
58
-
59
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Group {
60
- return new Group().fromJsonString(jsonString, options);
61
- }
62
-
63
- static equals(a: Group | PlainMessage<Group> | undefined, b: Group | PlainMessage<Group> | undefined): boolean {
64
- return proto3.util.equals(Group, a, b);
65
- }
66
- }
46
+ /**
47
+ * Describes the message raystack.assets.v1beta2.Group.
48
+ * Use `create(GroupSchema)` to create a new message.
49
+ */
50
+ export const GroupSchema: GenMessage<Group> = /*@__PURE__*/
51
+ messageDesc(file_raystack_assets_v1beta2_group, 0);
67
52
 
68
53
  /**
69
54
  * Member represents a user.
70
55
  *
71
56
  * @generated from message raystack.assets.v1beta2.Member
72
57
  */
73
- export class Member extends Message<Member> {
58
+ export type Member = Message<"raystack.assets.v1beta2.Member"> & {
74
59
  /**
75
60
  * The unique identifier for the user.
76
61
  * Example: `user:example`.
77
62
  *
78
63
  * @generated from field: string urn = 1;
79
64
  */
80
- urn = "";
65
+ urn: string;
81
66
 
82
67
  /**
83
68
  * The role of the user.
@@ -85,34 +70,13 @@ export class Member extends Message<Member> {
85
70
  *
86
71
  * @generated from field: string role = 2;
87
72
  */
88
- role = "";
89
-
90
- constructor(data?: PartialMessage<Member>) {
91
- super();
92
- proto3.util.initPartial(data, this);
93
- }
94
-
95
- static readonly runtime: typeof proto3 = proto3;
96
- static readonly typeName = "raystack.assets.v1beta2.Member";
97
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
98
- { no: 1, name: "urn", kind: "scalar", T: 9 /* ScalarType.STRING */ },
99
- { no: 2, name: "role", kind: "scalar", T: 9 /* ScalarType.STRING */ },
100
- ]);
101
-
102
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Member {
103
- return new Member().fromBinary(bytes, options);
104
- }
73
+ role: string;
74
+ };
105
75
 
106
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Member {
107
- return new Member().fromJson(jsonValue, options);
108
- }
109
-
110
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Member {
111
- return new Member().fromJsonString(jsonString, options);
112
- }
113
-
114
- static equals(a: Member | PlainMessage<Member> | undefined, b: Member | PlainMessage<Member> | undefined): boolean {
115
- return proto3.util.equals(Member, a, b);
116
- }
117
- }
76
+ /**
77
+ * Describes the message raystack.assets.v1beta2.Member.
78
+ * Use `create(MemberSchema)` to create a new message.
79
+ */
80
+ export const MemberSchema: GenMessage<Member> = /*@__PURE__*/
81
+ messageDesc(file_raystack_assets_v1beta2_group, 1);
118
82
 
@@ -1,23 +1,31 @@
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/job.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, 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/job.proto.
13
+ */
14
+ export const file_raystack_assets_v1beta2_job: GenFile = /*@__PURE__*/
15
+ fileDesc("CiFyYXlzdGFjay9hc3NldHMvdjFiZXRhMi9qb2IucHJvdG8SF3JheXN0YWNrLmFzc2V0cy52MWJldGEyIpQBCgNKb2ISKwoKYXR0cmlidXRlcxgKIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3QSLwoLY3JlYXRlX3RpbWUYZSABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEi8KC3VwZGF0ZV90aW1lGGYgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEJXChJpby5yYXlzdGFjay5hc3NldHNCCEpvYlByb3RvWjdnaXRodWIuY29tL3JheXN0YWNrL3Byb3Rvbi9hc3NldHMvdjFiZXRhMjthc3NldHN2MWJldGEyYgZwcm90bzM", [file_google_protobuf_struct, file_google_protobuf_timestamp]);
8
16
 
9
17
  /**
10
18
  * Job is a resource that represents a job.
11
19
  *
12
20
  * @generated from message raystack.assets.v1beta2.Job
13
21
  */
14
- export class Job extends Message<Job> {
22
+ export type Job = Message<"raystack.assets.v1beta2.Job"> & {
15
23
  /**
16
24
  * List of attributes the model has.
17
25
  *
18
26
  * @generated from field: google.protobuf.Struct attributes = 10;
19
27
  */
20
- attributes?: Struct;
28
+ attributes?: JsonObject;
21
29
 
22
30
  /**
23
31
  * The timestamp of the job's creation.
@@ -32,34 +40,12 @@ export class Job extends Message<Job> {
32
40
  * @generated from field: google.protobuf.Timestamp update_time = 102;
33
41
  */
34
42
  updateTime?: Timestamp;
43
+ };
35
44
 
36
- constructor(data?: PartialMessage<Job>) {
37
- super();
38
- proto3.util.initPartial(data, this);
39
- }
40
-
41
- static readonly runtime: typeof proto3 = proto3;
42
- static readonly typeName = "raystack.assets.v1beta2.Job";
43
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
44
- { no: 10, name: "attributes", kind: "message", T: Struct },
45
- { no: 101, name: "create_time", kind: "message", T: Timestamp },
46
- { no: 102, name: "update_time", kind: "message", T: Timestamp },
47
- ]);
48
-
49
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Job {
50
- return new Job().fromBinary(bytes, options);
51
- }
52
-
53
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Job {
54
- return new Job().fromJson(jsonValue, options);
55
- }
56
-
57
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Job {
58
- return new Job().fromJsonString(jsonString, options);
59
- }
60
-
61
- static equals(a: Job | PlainMessage<Job> | undefined, b: Job | PlainMessage<Job> | undefined): boolean {
62
- return proto3.util.equals(Job, a, b);
63
- }
64
- }
45
+ /**
46
+ * Describes the message raystack.assets.v1beta2.Job.
47
+ * Use `create(JobSchema)` to create a new message.
48
+ */
49
+ export const JobSchema: GenMessage<Job> = /*@__PURE__*/
50
+ messageDesc(file_raystack_assets_v1beta2_job, 0);
65
51
 
@@ -1,45 +1,53 @@
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/metric.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, 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/metric.proto.
13
+ */
14
+ export const file_raystack_assets_v1beta2_metric: GenFile = /*@__PURE__*/
15
+ fileDesc("CiRyYXlzdGFjay9hc3NldHMvdjFiZXRhMi9tZXRyaWMucHJvdG8SF3JheXN0YWNrLmFzc2V0cy52MWJldGEyIuMBCgZNZXRyaWMSEQoJbmFtZXNwYWNlGAEgASgJEhIKCmZpZWxkX25hbWUYAiABKAkSFAoMbWVhc3VyZV90eXBlGAMgASgJEg0KBXF1ZXJ5GAQgASgJEisKCmF0dHJpYnV0ZXMYBSABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0Ei8KC2NyZWF0ZV90aW1lGGUgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIvCgt1cGRhdGVfdGltZRhmIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBCWgoSaW8ucmF5c3RhY2suYXNzZXRzQgtNZXRyaWNQcm90b1o3Z2l0aHViLmNvbS9yYXlzdGFjay9wcm90b24vYXNzZXRzL3YxYmV0YTI7YXNzZXRzdjFiZXRhMmIGcHJvdG8z", [file_google_protobuf_struct, file_google_protobuf_timestamp]);
8
16
 
9
17
  /**
10
18
  * A metric is a timeseries aggregation over a table that supports zero or more dimensions.
11
19
  *
12
20
  * @generated from message raystack.assets.v1beta2.Metric
13
21
  */
14
- export class Metric extends Message<Metric> {
22
+ export type Metric = Message<"raystack.assets.v1beta2.Metric"> & {
15
23
  /**
16
24
  * Namespace of the metric. Something like `{project}-{model}` for dbt and
17
25
  * `schema` for Cube.
18
26
  *
19
27
  * @generated from field: string namespace = 1;
20
28
  */
21
- namespace = "";
29
+ namespace: string;
22
30
 
23
31
  /**
24
32
  * The field being used to calculate a metric.
25
33
  *
26
34
  * @generated from field: string field_name = 2;
27
35
  */
28
- fieldName = "";
36
+ fieldName: string;
29
37
 
30
38
  /**
31
39
  * Type of the evaluated metric. ex: count_distinct, average etc.
32
40
  *
33
41
  * @generated from field: string measure_type = 3;
34
42
  */
35
- measureType = "";
43
+ measureType: string;
36
44
 
37
45
  /**
38
46
  * Optional: The query, possibly in SQL representation, with filters and aggregations.
39
47
  *
40
48
  * @generated from field: string query = 4;
41
49
  */
42
- query = "";
50
+ query: string;
43
51
 
44
52
  /**
45
53
  * Optional: List of attributes the metric has. This could include the
@@ -53,7 +61,7 @@ export class Metric extends Message<Metric> {
53
61
  *
54
62
  * @generated from field: google.protobuf.Struct attributes = 5;
55
63
  */
56
- attributes?: Struct;
64
+ attributes?: JsonObject;
57
65
 
58
66
  /**
59
67
  * The timestamp of the metric's creation.
@@ -68,38 +76,12 @@ export class Metric extends Message<Metric> {
68
76
  * @generated from field: google.protobuf.Timestamp update_time = 102;
69
77
  */
70
78
  updateTime?: Timestamp;
79
+ };
71
80
 
72
- constructor(data?: PartialMessage<Metric>) {
73
- super();
74
- proto3.util.initPartial(data, this);
75
- }
76
-
77
- static readonly runtime: typeof proto3 = proto3;
78
- static readonly typeName = "raystack.assets.v1beta2.Metric";
79
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
80
- { no: 1, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
81
- { no: 2, name: "field_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
82
- { no: 3, name: "measure_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
83
- { no: 4, name: "query", kind: "scalar", T: 9 /* ScalarType.STRING */ },
84
- { no: 5, name: "attributes", kind: "message", T: Struct },
85
- { no: 101, name: "create_time", kind: "message", T: Timestamp },
86
- { no: 102, name: "update_time", kind: "message", T: Timestamp },
87
- ]);
88
-
89
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Metric {
90
- return new Metric().fromBinary(bytes, options);
91
- }
92
-
93
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Metric {
94
- return new Metric().fromJson(jsonValue, options);
95
- }
96
-
97
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Metric {
98
- return new Metric().fromJsonString(jsonString, options);
99
- }
100
-
101
- static equals(a: Metric | PlainMessage<Metric> | undefined, b: Metric | PlainMessage<Metric> | undefined): boolean {
102
- return proto3.util.equals(Metric, a, b);
103
- }
104
- }
81
+ /**
82
+ * Describes the message raystack.assets.v1beta2.Metric.
83
+ * Use `create(MetricSchema)` to create a new message.
84
+ */
85
+ export const MetricSchema: GenMessage<Metric> = /*@__PURE__*/
86
+ messageDesc(file_raystack_assets_v1beta2_metric, 0);
105
87