@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.
- package/google/api/annotations_pb.ts +15 -9
- package/google/api/field_behavior_pb.ts +19 -19
- package/google/api/http_pb.ts +43 -108
- package/google/api/httpbody_pb.ts +23 -37
- package/index.ts +10 -0
- package/package.json +58 -14
- package/protoc-gen-openapiv2/options/annotations_pb.ts +23 -29
- package/protoc-gen-openapiv2/options/openapiv2_pb.ts +338 -808
- package/raystack/assets/v1beta1/bucket_pb.ts +46 -89
- package/raystack/assets/v1beta1/dashboard_pb.ts +49 -97
- package/raystack/assets/v1beta1/event_pb.ts +22 -36
- package/raystack/assets/v1beta1/group_pb.ts +38 -74
- package/raystack/assets/v1beta1/job_pb.ts +30 -43
- package/raystack/assets/v1beta1/lineage_pb.ts +22 -36
- package/raystack/assets/v1beta1/ownership_pb.ts +31 -68
- package/raystack/assets/v1beta1/preview_pb.ts +21 -34
- package/raystack/assets/v1beta1/properties_pb.ts +22 -37
- package/raystack/assets/v1beta1/resource_pb.ts +24 -43
- package/raystack/assets/v1beta1/schema_pb.ts +59 -145
- package/raystack/assets/v1beta1/table_pb.ts +59 -120
- package/raystack/assets/v1beta1/timestamp_pb.ts +28 -62
- package/raystack/assets/v1beta1/topic_pb.ts +43 -78
- package/raystack/assets/v1beta1/user_pb.ts +58 -125
- package/raystack/assets/v1beta2/application_pb.ts +23 -39
- package/raystack/assets/v1beta2/asset_pb.ts +30 -53
- package/raystack/assets/v1beta2/bucket_pb.ts +41 -87
- package/raystack/assets/v1beta2/common_pb.ts +56 -137
- package/raystack/assets/v1beta2/dashboard_pb.ts +44 -93
- package/raystack/assets/v1beta2/experiment_pb.ts +38 -79
- package/raystack/assets/v1beta2/feature_table_pb.ts +51 -115
- package/raystack/assets/v1beta2/group_pb.ts +32 -68
- package/raystack/assets/v1beta2/job_pb.ts +21 -35
- package/raystack/assets/v1beta2/metric_pb.ts +25 -43
- package/raystack/assets/v1beta2/model_pb.ts +59 -147
- package/raystack/assets/v1beta2/table_pb.ts +82 -200
- package/raystack/assets/v1beta2/topic_pb.ts +41 -99
- package/raystack/assets/v1beta2/user_pb.ts +53 -121
- package/raystack/common/index.ts +0 -1
- package/raystack/common/v1/service-CommonService_connectquery.ts +3 -14
- package/raystack/common/v1/service_pb.ts +57 -97
- package/raystack/compass/index.ts +0 -1
- package/raystack/compass/v1beta1/service-CompassService_connectquery.ts +44 -424
- package/raystack/compass/v1beta1/service_pb.ts +1448 -3319
- package/raystack/entropy/index.ts +0 -2
- package/raystack/entropy/v1beta1/module-ModuleService_connectquery.ts +7 -54
- package/raystack/entropy/v1beta1/module_pb.ts +156 -324
- package/raystack/entropy/v1beta1/resource-ResourceService_connectquery.ts +9 -74
- package/raystack/entropy/v1beta1/resource_pb.ts +330 -756
- package/raystack/frontier/index.ts +0 -2
- package/raystack/frontier/v1beta1/admin-AdminService_connectquery.ts +54 -524
- package/raystack/frontier/v1beta1/admin_pb.ts +1755 -3846
- package/raystack/frontier/v1beta1/frontier-FrontierService_connectquery.ts +169 -1674
- package/raystack/frontier/v1beta1/frontier_pb.ts +4850 -10959
- package/raystack/frontier/v1beta1/models_pb.ts +810 -2296
- package/raystack/guardian/index.ts +0 -1
- package/raystack/guardian/v1beta1/guardian-GuardianService_connectquery.ts +42 -404
- package/raystack/guardian/v1beta1/guardian_pb.ts +1584 -3783
- package/raystack/optimus/core/v1beta1/backup-BackupService_connectquery.ts +5 -34
- package/raystack/optimus/core/v1beta1/backup_pb.ts +137 -273
- package/raystack/optimus/core/v1beta1/job_run-JobRunService_connectquery.ts +6 -44
- package/raystack/optimus/core/v1beta1/job_run_pb.ts +194 -376
- package/raystack/optimus/core/v1beta1/job_spec-JobSpecificationService_connectquery.ts +17 -154
- package/raystack/optimus/core/v1beta1/job_spec_pb.ts +910 -2081
- package/raystack/optimus/core/v1beta1/namespace-NamespaceService_connectquery.ts +5 -34
- package/raystack/optimus/core/v1beta1/namespace_pb.ts +113 -212
- package/raystack/optimus/core/v1beta1/project-ProjectService_connectquery.ts +5 -34
- package/raystack/optimus/core/v1beta1/project_pb.ts +121 -238
- package/raystack/optimus/core/v1beta1/replay-ReplayService_connectquery.ts +6 -44
- package/raystack/optimus/core/v1beta1/replay_pb.ts +160 -335
- package/raystack/optimus/core/v1beta1/resource-ResourceService_connectquery.ts +8 -64
- package/raystack/optimus/core/v1beta1/resource_pb.ts +266 -527
- package/raystack/optimus/core/v1beta1/runtime-RuntimeService_connectquery.ts +3 -14
- package/raystack/optimus/core/v1beta1/runtime_pb.ts +48 -61
- package/raystack/optimus/core/v1beta1/secret-SecretService_connectquery.ts +6 -44
- package/raystack/optimus/core/v1beta1/secret_pb.ts +155 -283
- package/raystack/optimus/core/v1beta1/status_pb.ts +35 -54
- package/raystack/optimus/integration/v1beta1/event_pb.ts +75 -187
- package/raystack/optimus/plugins/v1beta1/dependency_resolver-DependencyResolverModService_connectquery.ts +6 -44
- package/raystack/optimus/plugins/v1beta1/dependency_resolver_pb.ts +193 -426
- package/raystack/predator/v1beta1/metrics_log_pb.ts +67 -173
- package/raystack/predator/v1beta1/result_log_pb.ts +60 -144
- package/raystack/raccoon/index.ts +0 -1
- package/raystack/raccoon/v1beta1/raccoon-EventService_connectquery.ts +3 -14
- package/raystack/raccoon/v1beta1/raccoon_pb.ts +142 -189
- package/raystack/siren/index.ts +0 -1
- package/raystack/siren/v1beta1/siren-SirenService_connectquery.ts +37 -354
- package/raystack/siren/v1beta1/siren_pb.ts +1155 -2637
- package/raystack/stencil/index.ts +0 -1
- package/raystack/stencil/v1beta1/stencil-StencilService_connectquery.ts +18 -164
- package/raystack/stencil/v1beta1/stencil_pb.ts +530 -1157
- package/validate/validate_pb.ts +401 -1038
- package/raystack/common/v1/service_connect.ts +0 -26
- package/raystack/compass/v1beta1/service_connect.ts +0 -407
- package/raystack/entropy/v1beta1/module_connect.ts +0 -62
- package/raystack/entropy/v1beta1/resource_connect.ts +0 -89
- package/raystack/frontier/v1beta1/admin_connect.ts +0 -584
- package/raystack/frontier/v1beta1/frontier_connect.ts +0 -1574
- package/raystack/guardian/v1beta1/guardian_connect.ts +0 -381
- package/raystack/optimus/core/v1beta1/backup_connect.ts +0 -44
- package/raystack/optimus/core/v1beta1/job_run_connect.ts +0 -63
- package/raystack/optimus/core/v1beta1/job_spec_connect.ts +0 -233
- package/raystack/optimus/core/v1beta1/namespace_connect.ts +0 -50
- package/raystack/optimus/core/v1beta1/project_connect.ts +0 -50
- package/raystack/optimus/core/v1beta1/replay_connect.ts +0 -53
- package/raystack/optimus/core/v1beta1/resource_connect.ts +0 -96
- package/raystack/optimus/core/v1beta1/runtime_connect.ts +0 -30
- package/raystack/optimus/core/v1beta1/secret_connect.ts +0 -61
- package/raystack/optimus/plugins/v1beta1/dependency_resolver_connect.ts +0 -65
- package/raystack/raccoon/v1beta1/raccoon_connect.ts +0 -26
- package/raystack/siren/v1beta1/siren_connect.ts +0 -332
- package/raystack/stencil/v1beta1/stencil_connect.ts +0 -161
|
@@ -1,32 +1,41 @@
|
|
|
1
|
-
// @generated by protoc-gen-es
|
|
1
|
+
// @generated by protoc-gen-es v2.6.2 with parameter "target=ts,import_extension=none"
|
|
2
2
|
// @generated from file raystack/assets/v1beta2/dashboard.proto (package raystack.assets.v1beta2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
|
-
// @ts-nocheck
|
|
5
4
|
|
|
6
|
-
import type {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
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 { Event, Lineage, Owner } from "./common_pb";
|
|
10
|
+
import { file_raystack_assets_v1beta2_common } from "./common_pb";
|
|
11
|
+
import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Describes the file raystack/assets/v1beta2/dashboard.proto.
|
|
15
|
+
*/
|
|
16
|
+
export const file_raystack_assets_v1beta2_dashboard: GenFile = /*@__PURE__*/
|
|
17
|
+
fileDesc("CidyYXlzdGFjay9hc3NldHMvdjFiZXRhMi9kYXNoYm9hcmQucHJvdG8SF3JheXN0YWNrLmFzc2V0cy52MWJldGEyIsoBCglEYXNoYm9hcmQSLgoGY2hhcnRzGAEgAygLMh4ucmF5c3RhY2suYXNzZXRzLnYxYmV0YTIuQ2hhcnQSKwoKYXR0cmlidXRlcxgIIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3QSLwoLY3JlYXRlX3RpbWUYZSABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEi8KC3VwZGF0ZV90aW1lGGYgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcCLcAwoFQ2hhcnQSCwoDdXJuGAEgASgJEgwKBG5hbWUYAiABKAkSDAoEdHlwZRgDIAEoCRIOCgZzb3VyY2UYBCABKAkSEwoLZGVzY3JpcHRpb24YBSABKAkSCwoDdXJsGAYgASgJEhEKCXJhd19xdWVyeRgHIAEoCRITCgtkYXRhX3NvdXJjZRgIIAEoCRIVCg1kYXNoYm9hcmRfdXJuGAkgASgJEhgKEGRhc2hib2FyZF9zb3VyY2UYCiABKAkSLgoGb3duZXJzGB8gAygLMh4ucmF5c3RhY2suYXNzZXRzLnYxYmV0YTIuT3duZXISKwoKYXR0cmlidXRlcxggIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3QSMQoHbGluZWFnZRghIAEoCzIgLnJheXN0YWNrLmFzc2V0cy52MWJldGEyLkxpbmVhZ2USLwoLY3JlYXRlX3RpbWUYIiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEi8KC3VwZGF0ZV90aW1lGCMgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBItCgVldmVudBhkIAEoCzIeLnJheXN0YWNrLmFzc2V0cy52MWJldGEyLkV2ZW50Ql0KEmlvLnJheXN0YWNrLmFzc2V0c0IORGFzaGJvYXJkUHJvdG9aN2dpdGh1Yi5jb20vcmF5c3RhY2svcHJvdG9uL2Fzc2V0cy92MWJldGEyO2Fzc2V0c3YxYmV0YTJiBnByb3RvMw", [file_google_protobuf_struct, file_google_protobuf_timestamp, file_raystack_assets_v1beta2_common]);
|
|
9
18
|
|
|
10
19
|
/**
|
|
11
20
|
* Dashboard is a resource that represents a dashboard.
|
|
12
21
|
*
|
|
13
22
|
* @generated from message raystack.assets.v1beta2.Dashboard
|
|
14
23
|
*/
|
|
15
|
-
export
|
|
24
|
+
export type Dashboard = Message<"raystack.assets.v1beta2.Dashboard"> & {
|
|
16
25
|
/**
|
|
17
26
|
* The list of the charts in the dashboard.
|
|
18
27
|
* For an example, check the schema of the chart.
|
|
19
28
|
*
|
|
20
29
|
* @generated from field: repeated raystack.assets.v1beta2.Chart charts = 1;
|
|
21
30
|
*/
|
|
22
|
-
charts: Chart[]
|
|
31
|
+
charts: Chart[];
|
|
23
32
|
|
|
24
33
|
/**
|
|
25
34
|
* List of attributes the model has.
|
|
26
35
|
*
|
|
27
36
|
* @generated from field: google.protobuf.Struct attributes = 8;
|
|
28
37
|
*/
|
|
29
|
-
attributes?:
|
|
38
|
+
attributes?: JsonObject;
|
|
30
39
|
|
|
31
40
|
/**
|
|
32
41
|
* The timestamp of the dashboard's creation.
|
|
@@ -41,49 +50,26 @@ export class Dashboard extends Message<Dashboard> {
|
|
|
41
50
|
* @generated from field: google.protobuf.Timestamp update_time = 102;
|
|
42
51
|
*/
|
|
43
52
|
updateTime?: Timestamp;
|
|
53
|
+
};
|
|
44
54
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
static readonly typeName = "raystack.assets.v1beta2.Dashboard";
|
|
52
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
53
|
-
{ no: 1, name: "charts", kind: "message", T: Chart, repeated: true },
|
|
54
|
-
{ no: 8, name: "attributes", kind: "message", T: Struct },
|
|
55
|
-
{ no: 101, name: "create_time", kind: "message", T: Timestamp },
|
|
56
|
-
{ no: 102, name: "update_time", kind: "message", T: Timestamp },
|
|
57
|
-
]);
|
|
58
|
-
|
|
59
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Dashboard {
|
|
60
|
-
return new Dashboard().fromBinary(bytes, options);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Dashboard {
|
|
64
|
-
return new Dashboard().fromJson(jsonValue, options);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Dashboard {
|
|
68
|
-
return new Dashboard().fromJsonString(jsonString, options);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
static equals(a: Dashboard | PlainMessage<Dashboard> | undefined, b: Dashboard | PlainMessage<Dashboard> | undefined): boolean {
|
|
72
|
-
return proto3.util.equals(Dashboard, a, b);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
55
|
+
/**
|
|
56
|
+
* Describes the message raystack.assets.v1beta2.Dashboard.
|
|
57
|
+
* Use `create(DashboardSchema)` to create a new message.
|
|
58
|
+
*/
|
|
59
|
+
export const DashboardSchema: GenMessage<Dashboard> = /*@__PURE__*/
|
|
60
|
+
messageDesc(file_raystack_assets_v1beta2_dashboard, 0);
|
|
75
61
|
|
|
76
62
|
/**
|
|
77
63
|
* @generated from message raystack.assets.v1beta2.Chart
|
|
78
64
|
*/
|
|
79
|
-
export
|
|
65
|
+
export type Chart = Message<"raystack.assets.v1beta2.Chart"> & {
|
|
80
66
|
/**
|
|
81
67
|
* The URN of the chart.
|
|
82
68
|
* Example: `chart:1`.
|
|
83
69
|
*
|
|
84
70
|
* @generated from field: string urn = 1;
|
|
85
71
|
*/
|
|
86
|
-
urn
|
|
72
|
+
urn: string;
|
|
87
73
|
|
|
88
74
|
/**
|
|
89
75
|
* The name of the chart.
|
|
@@ -91,7 +77,7 @@ export class Chart extends Message<Chart> {
|
|
|
91
77
|
*
|
|
92
78
|
* @generated from field: string name = 2;
|
|
93
79
|
*/
|
|
94
|
-
name
|
|
80
|
+
name: string;
|
|
95
81
|
|
|
96
82
|
/**
|
|
97
83
|
* The type of the chart.
|
|
@@ -99,7 +85,7 @@ export class Chart extends Message<Chart> {
|
|
|
99
85
|
*
|
|
100
86
|
* @generated from field: string type = 3;
|
|
101
87
|
*/
|
|
102
|
-
type
|
|
88
|
+
type: string;
|
|
103
89
|
|
|
104
90
|
/**
|
|
105
91
|
* The source of the chart.
|
|
@@ -107,7 +93,7 @@ export class Chart extends Message<Chart> {
|
|
|
107
93
|
*
|
|
108
94
|
* @generated from field: string source = 4;
|
|
109
95
|
*/
|
|
110
|
-
source
|
|
96
|
+
source: string;
|
|
111
97
|
|
|
112
98
|
/**
|
|
113
99
|
* The description of the chart.
|
|
@@ -115,7 +101,7 @@ export class Chart extends Message<Chart> {
|
|
|
115
101
|
*
|
|
116
102
|
* @generated from field: string description = 5;
|
|
117
103
|
*/
|
|
118
|
-
description
|
|
104
|
+
description: string;
|
|
119
105
|
|
|
120
106
|
/**
|
|
121
107
|
* The url of the chart.
|
|
@@ -123,7 +109,7 @@ export class Chart extends Message<Chart> {
|
|
|
123
109
|
*
|
|
124
110
|
* @generated from field: string url = 6;
|
|
125
111
|
*/
|
|
126
|
-
url
|
|
112
|
+
url: string;
|
|
127
113
|
|
|
128
114
|
/**
|
|
129
115
|
* The raw query of the chart.
|
|
@@ -131,7 +117,7 @@ export class Chart extends Message<Chart> {
|
|
|
131
117
|
*
|
|
132
118
|
* @generated from field: string raw_query = 7;
|
|
133
119
|
*/
|
|
134
|
-
rawQuery
|
|
120
|
+
rawQuery: string;
|
|
135
121
|
|
|
136
122
|
/**
|
|
137
123
|
* The source of the data.
|
|
@@ -139,7 +125,7 @@ export class Chart extends Message<Chart> {
|
|
|
139
125
|
*
|
|
140
126
|
* @generated from field: string data_source = 8;
|
|
141
127
|
*/
|
|
142
|
-
dataSource
|
|
128
|
+
dataSource: string;
|
|
143
129
|
|
|
144
130
|
/**
|
|
145
131
|
* The dashboard ur of the chart.
|
|
@@ -147,7 +133,7 @@ export class Chart extends Message<Chart> {
|
|
|
147
133
|
*
|
|
148
134
|
* @generated from field: string dashboard_urn = 9;
|
|
149
135
|
*/
|
|
150
|
-
dashboardUrn
|
|
136
|
+
dashboardUrn: string;
|
|
151
137
|
|
|
152
138
|
/**
|
|
153
139
|
* The source of the dashboard of the chart.
|
|
@@ -155,7 +141,7 @@ export class Chart extends Message<Chart> {
|
|
|
155
141
|
*
|
|
156
142
|
* @generated from field: string dashboard_source = 10;
|
|
157
143
|
*/
|
|
158
|
-
dashboardSource
|
|
144
|
+
dashboardSource: string;
|
|
159
145
|
|
|
160
146
|
/**
|
|
161
147
|
* The ownership of the dashboard.
|
|
@@ -163,14 +149,14 @@ export class Chart extends Message<Chart> {
|
|
|
163
149
|
*
|
|
164
150
|
* @generated from field: repeated raystack.assets.v1beta2.Owner owners = 31;
|
|
165
151
|
*/
|
|
166
|
-
owners: Owner[]
|
|
152
|
+
owners: Owner[];
|
|
167
153
|
|
|
168
154
|
/**
|
|
169
155
|
* List of properties the model has.
|
|
170
156
|
*
|
|
171
157
|
* @generated from field: google.protobuf.Struct attributes = 32;
|
|
172
158
|
*/
|
|
173
|
-
attributes?:
|
|
159
|
+
attributes?: JsonObject;
|
|
174
160
|
|
|
175
161
|
/**
|
|
176
162
|
* The lineage of the chart.
|
|
@@ -201,47 +187,12 @@ export class Chart extends Message<Chart> {
|
|
|
201
187
|
* @generated from field: raystack.assets.v1beta2.Event event = 100;
|
|
202
188
|
*/
|
|
203
189
|
event?: Event;
|
|
190
|
+
};
|
|
204
191
|
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
static readonly typeName = "raystack.assets.v1beta2.Chart";
|
|
212
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
213
|
-
{ no: 1, name: "urn", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
214
|
-
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
215
|
-
{ no: 3, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
216
|
-
{ no: 4, name: "source", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
217
|
-
{ no: 5, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
218
|
-
{ no: 6, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
219
|
-
{ no: 7, name: "raw_query", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
220
|
-
{ no: 8, name: "data_source", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
221
|
-
{ no: 9, name: "dashboard_urn", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
222
|
-
{ no: 10, name: "dashboard_source", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
223
|
-
{ no: 31, name: "owners", kind: "message", T: Owner, repeated: true },
|
|
224
|
-
{ no: 32, name: "attributes", kind: "message", T: Struct },
|
|
225
|
-
{ no: 33, name: "lineage", kind: "message", T: Lineage },
|
|
226
|
-
{ no: 34, name: "create_time", kind: "message", T: Timestamp },
|
|
227
|
-
{ no: 35, name: "update_time", kind: "message", T: Timestamp },
|
|
228
|
-
{ no: 100, name: "event", kind: "message", T: Event },
|
|
229
|
-
]);
|
|
230
|
-
|
|
231
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Chart {
|
|
232
|
-
return new Chart().fromBinary(bytes, options);
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Chart {
|
|
236
|
-
return new Chart().fromJson(jsonValue, options);
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Chart {
|
|
240
|
-
return new Chart().fromJsonString(jsonString, options);
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
static equals(a: Chart | PlainMessage<Chart> | undefined, b: Chart | PlainMessage<Chart> | undefined): boolean {
|
|
244
|
-
return proto3.util.equals(Chart, a, b);
|
|
245
|
-
}
|
|
246
|
-
}
|
|
192
|
+
/**
|
|
193
|
+
* Describes the message raystack.assets.v1beta2.Chart.
|
|
194
|
+
* Use `create(ChartSchema)` to create a new message.
|
|
195
|
+
*/
|
|
196
|
+
export const ChartSchema: GenMessage<Chart> = /*@__PURE__*/
|
|
197
|
+
messageDesc(file_raystack_assets_v1beta2_dashboard, 1);
|
|
247
198
|
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
// @generated by protoc-gen-es
|
|
1
|
+
// @generated by protoc-gen-es v2.6.2 with parameter "target=ts,import_extension=none"
|
|
2
2
|
// @generated from file raystack/assets/v1beta2/experiment.proto (package raystack.assets.v1beta2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
|
-
// @ts-nocheck
|
|
5
4
|
|
|
6
|
-
import type {
|
|
7
|
-
import {
|
|
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/experiment.proto.
|
|
13
|
+
*/
|
|
14
|
+
export const file_raystack_assets_v1beta2_experiment: GenFile = /*@__PURE__*/
|
|
15
|
+
fileDesc("CihyYXlzdGFjay9hc3NldHMvdjFiZXRhMi9leHBlcmltZW50LnByb3RvEhdyYXlzdGFjay5hc3NldHMudjFiZXRhMiKMAwoKRXhwZXJpbWVudBIOCgZlbnRpdHkYASABKAkSFwoPdHJhZmZpY19wZXJjZW50GAIgASgCEj0KCHZhcmlhbnRzGAMgAygLMisucmF5c3RhY2suYXNzZXRzLnYxYmV0YTIuRXhwZXJpbWVudC5WYXJpYW50EisKCmF0dHJpYnV0ZXMYBSABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0Ei8KC2NyZWF0ZV90aW1lGGUgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIvCgt1cGRhdGVfdGltZRhmIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAahgEKB1ZhcmlhbnQSDAoEbmFtZRgBIAEoCRIXCg90cmFmZmljX3BlcmNlbnQYAiABKAISEgoKaXNfY29udHJvbBgDIAEoCBIrCgphdHRyaWJ1dGVzGAQgASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdBITCgtpc19wcm9tb3RlZBgFIAEoCEJeChJpby5yYXlzdGFjay5hc3NldHNCD0V4cGVyaW1lbnRQcm90b1o3Z2l0aHViLmNvbS9yYXlzdGFjay9wcm90b24vYXNzZXRzL3YxYmV0YTI7YXNzZXRzdjFiZXRhMmIGcHJvdG8z", [file_google_protobuf_struct, file_google_protobuf_timestamp]);
|
|
8
16
|
|
|
9
17
|
/**
|
|
10
18
|
* An experiment is the set of configurations and filters that allow for
|
|
@@ -13,28 +21,28 @@ import { Message, proto3, Struct, Timestamp } from "@bufbuild/protobuf";
|
|
|
13
21
|
*
|
|
14
22
|
* @generated from message raystack.assets.v1beta2.Experiment
|
|
15
23
|
*/
|
|
16
|
-
export
|
|
24
|
+
export type Experiment = Message<"raystack.assets.v1beta2.Experiment"> & {
|
|
17
25
|
/**
|
|
18
26
|
* Optional: Type of the entity being experimented over. ex: customer, session,
|
|
19
27
|
* device, driver etc.
|
|
20
28
|
*
|
|
21
29
|
* @generated from field: string entity = 1;
|
|
22
30
|
*/
|
|
23
|
-
entity
|
|
31
|
+
entity: string;
|
|
24
32
|
|
|
25
33
|
/**
|
|
26
34
|
* Optional: Percentage of the traffic that the experiment is enabled for.
|
|
27
35
|
*
|
|
28
36
|
* @generated from field: float traffic_percent = 2;
|
|
29
37
|
*/
|
|
30
|
-
trafficPercent
|
|
38
|
+
trafficPercent: number;
|
|
31
39
|
|
|
32
40
|
/**
|
|
33
41
|
* The variants of the experiment possibly including the control group.
|
|
34
42
|
*
|
|
35
43
|
* @generated from field: repeated raystack.assets.v1beta2.Experiment.Variant variants = 3;
|
|
36
44
|
*/
|
|
37
|
-
variants: Experiment_Variant[]
|
|
45
|
+
variants: Experiment_Variant[];
|
|
38
46
|
|
|
39
47
|
/**
|
|
40
48
|
* Optional: List of attributes the experiment has. This could include the
|
|
@@ -56,7 +64,7 @@ export class Experiment extends Message<Experiment> {
|
|
|
56
64
|
*
|
|
57
65
|
* @generated from field: google.protobuf.Struct attributes = 5;
|
|
58
66
|
*/
|
|
59
|
-
attributes?:
|
|
67
|
+
attributes?: JsonObject;
|
|
60
68
|
|
|
61
69
|
/**
|
|
62
70
|
* The timestamp of the experiment's creation.
|
|
@@ -71,110 +79,61 @@ export class Experiment extends Message<Experiment> {
|
|
|
71
79
|
* @generated from field: google.protobuf.Timestamp update_time = 102;
|
|
72
80
|
*/
|
|
73
81
|
updateTime?: Timestamp;
|
|
82
|
+
};
|
|
74
83
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
static readonly typeName = "raystack.assets.v1beta2.Experiment";
|
|
82
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
83
|
-
{ no: 1, name: "entity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
84
|
-
{ no: 2, name: "traffic_percent", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
85
|
-
{ no: 3, name: "variants", kind: "message", T: Experiment_Variant, repeated: true },
|
|
86
|
-
{ no: 5, name: "attributes", kind: "message", T: Struct },
|
|
87
|
-
{ no: 101, name: "create_time", kind: "message", T: Timestamp },
|
|
88
|
-
{ no: 102, name: "update_time", kind: "message", T: Timestamp },
|
|
89
|
-
]);
|
|
90
|
-
|
|
91
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Experiment {
|
|
92
|
-
return new Experiment().fromBinary(bytes, options);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Experiment {
|
|
96
|
-
return new Experiment().fromJson(jsonValue, options);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Experiment {
|
|
100
|
-
return new Experiment().fromJsonString(jsonString, options);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
static equals(a: Experiment | PlainMessage<Experiment> | undefined, b: Experiment | PlainMessage<Experiment> | undefined): boolean {
|
|
104
|
-
return proto3.util.equals(Experiment, a, b);
|
|
105
|
-
}
|
|
106
|
-
}
|
|
84
|
+
/**
|
|
85
|
+
* Describes the message raystack.assets.v1beta2.Experiment.
|
|
86
|
+
* Use `create(ExperimentSchema)` to create a new message.
|
|
87
|
+
*/
|
|
88
|
+
export const ExperimentSchema: GenMessage<Experiment> = /*@__PURE__*/
|
|
89
|
+
messageDesc(file_raystack_assets_v1beta2_experiment, 0);
|
|
107
90
|
|
|
108
91
|
/**
|
|
109
92
|
* Instance of configurations to be compared in the experiment.
|
|
110
93
|
*
|
|
111
94
|
* @generated from message raystack.assets.v1beta2.Experiment.Variant
|
|
112
95
|
*/
|
|
113
|
-
export
|
|
96
|
+
export type Experiment_Variant = Message<"raystack.assets.v1beta2.Experiment.Variant"> & {
|
|
114
97
|
/**
|
|
115
98
|
* Name of the experiment variant.
|
|
116
99
|
*
|
|
117
100
|
* @generated from field: string name = 1;
|
|
118
101
|
*/
|
|
119
|
-
name
|
|
102
|
+
name: string;
|
|
120
103
|
|
|
121
104
|
/**
|
|
122
105
|
* Traffic percent enabled for the variant.
|
|
123
106
|
*
|
|
124
107
|
* @generated from field: float traffic_percent = 2;
|
|
125
108
|
*/
|
|
126
|
-
trafficPercent
|
|
109
|
+
trafficPercent: number;
|
|
127
110
|
|
|
128
111
|
/**
|
|
129
112
|
* Indicated whether the variant is the control for the experiment.
|
|
130
113
|
*
|
|
131
114
|
* @generated from field: bool is_control = 3;
|
|
132
115
|
*/
|
|
133
|
-
isControl
|
|
116
|
+
isControl: boolean;
|
|
134
117
|
|
|
135
118
|
/**
|
|
136
119
|
* List of properties the entity has.
|
|
137
120
|
*
|
|
138
121
|
* @generated from field: google.protobuf.Struct attributes = 4;
|
|
139
122
|
*/
|
|
140
|
-
attributes?:
|
|
123
|
+
attributes?: JsonObject;
|
|
141
124
|
|
|
142
125
|
/**
|
|
143
126
|
* Whether the variant has been promoted to all users.
|
|
144
127
|
*
|
|
145
128
|
* @generated from field: bool is_promoted = 5;
|
|
146
129
|
*/
|
|
147
|
-
isPromoted
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
157
|
-
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
158
|
-
{ no: 2, name: "traffic_percent", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
159
|
-
{ no: 3, name: "is_control", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
160
|
-
{ no: 4, name: "attributes", kind: "message", T: Struct },
|
|
161
|
-
{ no: 5, name: "is_promoted", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
162
|
-
]);
|
|
163
|
-
|
|
164
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Experiment_Variant {
|
|
165
|
-
return new Experiment_Variant().fromBinary(bytes, options);
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Experiment_Variant {
|
|
169
|
-
return new Experiment_Variant().fromJson(jsonValue, options);
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Experiment_Variant {
|
|
173
|
-
return new Experiment_Variant().fromJsonString(jsonString, options);
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
static equals(a: Experiment_Variant | PlainMessage<Experiment_Variant> | undefined, b: Experiment_Variant | PlainMessage<Experiment_Variant> | undefined): boolean {
|
|
177
|
-
return proto3.util.equals(Experiment_Variant, a, b);
|
|
178
|
-
}
|
|
179
|
-
}
|
|
130
|
+
isPromoted: boolean;
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Describes the message raystack.assets.v1beta2.Experiment.Variant.
|
|
135
|
+
* Use `create(Experiment_VariantSchema)` to create a new message.
|
|
136
|
+
*/
|
|
137
|
+
export const Experiment_VariantSchema: GenMessage<Experiment_Variant> = /*@__PURE__*/
|
|
138
|
+
messageDesc(file_raystack_assets_v1beta2_experiment, 0, 0);
|
|
180
139
|
|