@raystack/proton 0.1.0-881c92a4cab2490e6c680462a94660b551b1040f → 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 (96) hide show
  1. package/package.json +1 -1
  2. package/raystack/assets/index.ts +29 -29
  3. package/raystack/common/index.ts +1 -1
  4. package/raystack/compass/index.ts +1 -1
  5. package/raystack/entropy/index.ts +2 -2
  6. package/raystack/frontier/index.ts +3 -3
  7. package/raystack/guardian/index.ts +1 -1
  8. package/raystack/predator/index.ts +2 -2
  9. package/raystack/raccoon/index.ts +1 -1
  10. package/raystack/siren/index.ts +1 -1
  11. package/raystack/stencil/index.ts +1 -1
  12. package/google/api/field_behavior.ts +0 -95
  13. package/google/api/http.ts +0 -695
  14. package/google/api/httpbody.ts +0 -159
  15. package/google/protobuf/any.ts +0 -322
  16. package/google/protobuf/descriptor.ts +0 -3475
  17. package/google/protobuf/duration.ts +0 -231
  18. package/google/protobuf/struct.ts +0 -484
  19. package/google/protobuf/timestamp.ts +0 -290
  20. package/google/protobuf/wrappers.ts +0 -752
  21. package/protoc-gen-openapiv2/options/openapiv2.ts +0 -3110
  22. package/raystack/assets/v1beta1/bucket.ts +0 -362
  23. package/raystack/assets/v1beta1/dashboard.ts +0 -426
  24. package/raystack/assets/v1beta1/event.ts +0 -105
  25. package/raystack/assets/v1beta1/group.ts +0 -223
  26. package/raystack/assets/v1beta1/job.ts +0 -147
  27. package/raystack/assets/v1beta1/lineage.ts +0 -90
  28. package/raystack/assets/v1beta1/ownership.ts +0 -179
  29. package/raystack/assets/v1beta1/preview.ts +0 -87
  30. package/raystack/assets/v1beta1/properties.ts +0 -116
  31. package/raystack/assets/v1beta1/resource.ts +0 -149
  32. package/raystack/assets/v1beta1/schema.ts +0 -421
  33. package/raystack/assets/v1beta1/table.ts +0 -408
  34. package/raystack/assets/v1beta1/timestamp.ts +0 -158
  35. package/raystack/assets/v1beta1/topic.ts +0 -253
  36. package/raystack/assets/v1beta1/user.ts +0 -451
  37. package/raystack/assets/v1beta2/application.ts +0 -125
  38. package/raystack/assets/v1beta2/asset.ts +0 -269
  39. package/raystack/assets/v1beta2/bucket.ts +0 -341
  40. package/raystack/assets/v1beta2/common.ts +0 -392
  41. package/raystack/assets/v1beta2/dashboard.ts +0 -393
  42. package/raystack/assets/v1beta2/experiment.ts +0 -274
  43. package/raystack/assets/v1beta2/feature_table.ts +0 -387
  44. package/raystack/assets/v1beta2/group.ts +0 -178
  45. package/raystack/assets/v1beta2/job.ts +0 -99
  46. package/raystack/assets/v1beta2/metric.ts +0 -163
  47. package/raystack/assets/v1beta2/model.ts +0 -519
  48. package/raystack/assets/v1beta2/table.ts +0 -663
  49. package/raystack/assets/v1beta2/topic.ts +0 -275
  50. package/raystack/assets/v1beta2/user.ts +0 -433
  51. package/raystack/common/v1/service.client.ts +0 -37
  52. package/raystack/common/v1/service.ts +0 -245
  53. package/raystack/compass/v1beta1/service.client.ts +0 -594
  54. package/raystack/compass/v1beta1/service.ts +0 -8169
  55. package/raystack/entropy/v1beta1/module.client.ts +0 -89
  56. package/raystack/entropy/v1beta1/module.ts +0 -692
  57. package/raystack/entropy/v1beta1/resource.client.ts +0 -129
  58. package/raystack/entropy/v1beta1/resource.ts +0 -1817
  59. package/raystack/frontier/v1beta1/admin.client.ts +0 -866
  60. package/raystack/frontier/v1beta1/admin.ts +0 -9117
  61. package/raystack/frontier/v1beta1/frontier.client.ts +0 -2307
  62. package/raystack/frontier/v1beta1/frontier.ts +0 -23706
  63. package/raystack/frontier/v1beta1/models.ts +0 -7433
  64. package/raystack/guardian/v1beta1/guardian.client.ts +0 -552
  65. package/raystack/guardian/v1beta1/guardian.ts +0 -9688
  66. package/raystack/optimus/core/v1beta1/backup.client.ts +0 -63
  67. package/raystack/optimus/core/v1beta1/backup.ts +0 -708
  68. package/raystack/optimus/core/v1beta1/job_run.client.ts +0 -96
  69. package/raystack/optimus/core/v1beta1/job_run.ts +0 -1008
  70. package/raystack/optimus/core/v1beta1/job_spec.client.ts +0 -363
  71. package/raystack/optimus/core/v1beta1/job_spec.ts +0 -5134
  72. package/raystack/optimus/core/v1beta1/namespace.client.ts +0 -75
  73. package/raystack/optimus/core/v1beta1/namespace.ts +0 -477
  74. package/raystack/optimus/core/v1beta1/project.client.ts +0 -75
  75. package/raystack/optimus/core/v1beta1/project.ts +0 -520
  76. package/raystack/optimus/core/v1beta1/replay.client.ts +0 -76
  77. package/raystack/optimus/core/v1beta1/replay.ts +0 -881
  78. package/raystack/optimus/core/v1beta1/resource.client.ts +0 -148
  79. package/raystack/optimus/core/v1beta1/resource.ts +0 -1329
  80. package/raystack/optimus/core/v1beta1/runtime.client.ts +0 -45
  81. package/raystack/optimus/core/v1beta1/runtime.ts +0 -131
  82. package/raystack/optimus/core/v1beta1/secret.client.ts +0 -92
  83. package/raystack/optimus/core/v1beta1/secret.ts +0 -619
  84. package/raystack/optimus/core/v1beta1/status.ts +0 -113
  85. package/raystack/optimus/integration/v1beta1/event.ts +0 -531
  86. package/raystack/optimus/plugins/v1beta1/dependency_resolver.client.ts +0 -100
  87. package/raystack/optimus/plugins/v1beta1/dependency_resolver.ts +0 -950
  88. package/raystack/predator/v1beta1/metrics_log.ts +0 -457
  89. package/raystack/predator/v1beta1/result_log.ts +0 -390
  90. package/raystack/raccoon/v1beta1/raccoon.client.ts +0 -37
  91. package/raystack/raccoon/v1beta1/raccoon.ts +0 -442
  92. package/raystack/siren/v1beta1/siren.client.ts +0 -479
  93. package/raystack/siren/v1beta1/siren.ts +0 -6507
  94. package/raystack/stencil/v1beta1/stencil.client.ts +0 -232
  95. package/raystack/stencil/v1beta1/stencil.ts +0 -2716
  96. package/validate/validate.ts +0 -4130
@@ -1,426 +0,0 @@
1
- // @generated by protobuf-ts 2.11.1
2
- // @generated from protobuf file "raystack/assets/v1beta1/dashboard.proto" (package "raystack.assets.v1beta1", syntax proto3)
3
- // tslint:disable
4
- import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
5
- import type { IBinaryWriter } from "@protobuf-ts/runtime";
6
- import { WireType } from "@protobuf-ts/runtime";
7
- import type { BinaryReadOptions } from "@protobuf-ts/runtime";
8
- import type { IBinaryReader } from "@protobuf-ts/runtime";
9
- import { UnknownFieldHandler } from "@protobuf-ts/runtime";
10
- import type { PartialMessage } from "@protobuf-ts/runtime";
11
- import { reflectionMergePartial } from "@protobuf-ts/runtime";
12
- import { MessageType } from "@protobuf-ts/runtime";
13
- import { Event } from "./event";
14
- import { Lineage } from "./lineage";
15
- import { Timestamp } from "./timestamp";
16
- import { Properties } from "./properties";
17
- import { Ownership } from "./ownership";
18
- import { Resource } from "./resource";
19
- /**
20
- * Dashboard is a resource that represents a dashboard.
21
- *
22
- * @generated from protobuf message raystack.assets.v1beta1.Dashboard
23
- */
24
- export interface Dashboard {
25
- /**
26
- * Representation of the resource
27
- *
28
- * @generated from protobuf field: raystack.assets.v1beta1.Resource resource = 1
29
- */
30
- resource?: Resource;
31
- /**
32
- * The list of the charts in the dashboard.
33
- * For an example, check the schema of the chart.
34
- *
35
- * @generated from protobuf field: repeated raystack.assets.v1beta1.Chart charts = 21
36
- */
37
- charts: Chart[];
38
- /**
39
- * The ownership of the dashboard.
40
- * For an example check out ownership.
41
- *
42
- * @generated from protobuf field: raystack.assets.v1beta1.Ownership ownership = 31
43
- */
44
- ownership?: Ownership;
45
- /**
46
- * List of the user's custom properties.
47
- * Properties facet can be used to set custom properties, tags and labels for a user.
48
- *
49
- * @generated from protobuf field: raystack.assets.v1beta1.Properties properties = 32
50
- */
51
- properties?: Properties;
52
- /**
53
- * The timestamp of the user's creation.
54
- * Timstamp facet can be used to set the creation and updation timestamp of a user.
55
- *
56
- * @generated from protobuf field: raystack.assets.v1beta1.Timestamp timestamps = 33
57
- */
58
- timestamps?: Timestamp;
59
- /**
60
- * The lineage of the dashboard.
61
- * For an example check out lineage schema.
62
- *
63
- * @generated from protobuf field: raystack.assets.v1beta1.Lineage lineage = 34
64
- */
65
- lineage?: Lineage;
66
- /**
67
- * The timestamp of the generated event.
68
- * Event schemas is defined in the common event schema.
69
- *
70
- * @generated from protobuf field: raystack.assets.v1beta1.Event event = 100
71
- */
72
- event?: Event;
73
- }
74
- /**
75
- * @generated from protobuf message raystack.assets.v1beta1.Chart
76
- */
77
- export interface Chart {
78
- /**
79
- * The URN of the chart.
80
- * Example: `chart:1`.
81
- *
82
- * @generated from protobuf field: string urn = 1
83
- */
84
- urn: string;
85
- /**
86
- * The name of the chart.
87
- * Example: `My Chart`.
88
- *
89
- * @generated from protobuf field: string name = 2
90
- */
91
- name: string;
92
- /**
93
- * The type of the chart.
94
- * Example: `line`.
95
- *
96
- * @generated from protobuf field: string type = 3
97
- */
98
- type: string;
99
- /**
100
- * The source of the chart.
101
- * Example: `metabase`.
102
- *
103
- * @generated from protobuf field: string source = 4
104
- */
105
- source: string;
106
- /**
107
- * The description of the chart.
108
- * Example: `This is a chart for my dashboard.`
109
- *
110
- * @generated from protobuf field: string description = 5
111
- */
112
- description: string;
113
- /**
114
- * The url of the chart.
115
- * Example: `http://metabase.com/charts/mychart`.
116
- *
117
- * @generated from protobuf field: string url = 6
118
- */
119
- url: string;
120
- /**
121
- * The raw query of the chart.
122
- * Example: `SELECT * FROM my_table`.
123
- *
124
- * @generated from protobuf field: string raw_query = 7
125
- */
126
- rawQuery: string;
127
- /**
128
- * The source of the data.
129
- * Example: `bigquery,graphite`.
130
- *
131
- * @generated from protobuf field: string data_source = 8
132
- */
133
- dataSource: string;
134
- /**
135
- * The dashboard ur of the chart.
136
- * Example: `dashboard:1`.
137
- *
138
- * @generated from protobuf field: string dashboard_urn = 9
139
- */
140
- dashboardUrn: string;
141
- /**
142
- * The source of the dashboard of the chart.
143
- * Example: `metabase`.
144
- *
145
- * @generated from protobuf field: string dashboard_source = 10
146
- */
147
- dashboardSource: string;
148
- /**
149
- * The ownership of the dashboard.
150
- * For an example check out ownership.
151
- *
152
- * @generated from protobuf field: raystack.assets.v1beta1.Ownership ownership = 31
153
- */
154
- ownership?: Ownership;
155
- /**
156
- * The lineage of the chart.
157
- * For an example check out lineage schema.
158
- *
159
- * @generated from protobuf field: raystack.assets.v1beta1.Lineage lineage = 32
160
- */
161
- lineage?: Lineage;
162
- /**
163
- * List of the user's custom properties.
164
- * Properties facet can be used to set custom properties, tags and labels for a dashboard.
165
- *
166
- * @generated from protobuf field: raystack.assets.v1beta1.Properties properties = 33
167
- */
168
- properties?: Properties;
169
- /**
170
- * The timestamp of the user's creation.
171
- * Timstamp facet can be used to set the creation and updation timestamp of a dashboard.
172
- *
173
- * @generated from protobuf field: raystack.assets.v1beta1.Timestamp timestamps = 34
174
- */
175
- timestamps?: Timestamp;
176
- /**
177
- * The timestamp of the generated event.
178
- * Event schemas is defined in the common event schema.
179
- *
180
- * @generated from protobuf field: raystack.assets.v1beta1.Event event = 100
181
- */
182
- event?: Event;
183
- }
184
- // @generated message type with reflection information, may provide speed optimized methods
185
- class Dashboard$Type extends MessageType<Dashboard> {
186
- constructor() {
187
- super("raystack.assets.v1beta1.Dashboard", [
188
- { no: 1, name: "resource", kind: "message", T: () => Resource },
189
- { no: 21, name: "charts", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Chart },
190
- { no: 31, name: "ownership", kind: "message", T: () => Ownership },
191
- { no: 32, name: "properties", kind: "message", T: () => Properties },
192
- { no: 33, name: "timestamps", kind: "message", T: () => Timestamp },
193
- { no: 34, name: "lineage", kind: "message", T: () => Lineage },
194
- { no: 100, name: "event", kind: "message", T: () => Event }
195
- ]);
196
- }
197
- create(value?: PartialMessage<Dashboard>): Dashboard {
198
- const message = globalThis.Object.create((this.messagePrototype!));
199
- message.charts = [];
200
- if (value !== undefined)
201
- reflectionMergePartial<Dashboard>(this, message, value);
202
- return message;
203
- }
204
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Dashboard): Dashboard {
205
- let message = target ?? this.create(), end = reader.pos + length;
206
- while (reader.pos < end) {
207
- let [fieldNo, wireType] = reader.tag();
208
- switch (fieldNo) {
209
- case /* raystack.assets.v1beta1.Resource resource */ 1:
210
- message.resource = Resource.internalBinaryRead(reader, reader.uint32(), options, message.resource);
211
- break;
212
- case /* repeated raystack.assets.v1beta1.Chart charts */ 21:
213
- message.charts.push(Chart.internalBinaryRead(reader, reader.uint32(), options));
214
- break;
215
- case /* raystack.assets.v1beta1.Ownership ownership */ 31:
216
- message.ownership = Ownership.internalBinaryRead(reader, reader.uint32(), options, message.ownership);
217
- break;
218
- case /* raystack.assets.v1beta1.Properties properties */ 32:
219
- message.properties = Properties.internalBinaryRead(reader, reader.uint32(), options, message.properties);
220
- break;
221
- case /* raystack.assets.v1beta1.Timestamp timestamps */ 33:
222
- message.timestamps = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.timestamps);
223
- break;
224
- case /* raystack.assets.v1beta1.Lineage lineage */ 34:
225
- message.lineage = Lineage.internalBinaryRead(reader, reader.uint32(), options, message.lineage);
226
- break;
227
- case /* raystack.assets.v1beta1.Event event */ 100:
228
- message.event = Event.internalBinaryRead(reader, reader.uint32(), options, message.event);
229
- break;
230
- default:
231
- let u = options.readUnknownField;
232
- if (u === "throw")
233
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
234
- let d = reader.skip(wireType);
235
- if (u !== false)
236
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
237
- }
238
- }
239
- return message;
240
- }
241
- internalBinaryWrite(message: Dashboard, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
242
- /* raystack.assets.v1beta1.Resource resource = 1; */
243
- if (message.resource)
244
- Resource.internalBinaryWrite(message.resource, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
245
- /* repeated raystack.assets.v1beta1.Chart charts = 21; */
246
- for (let i = 0; i < message.charts.length; i++)
247
- Chart.internalBinaryWrite(message.charts[i], writer.tag(21, WireType.LengthDelimited).fork(), options).join();
248
- /* raystack.assets.v1beta1.Ownership ownership = 31; */
249
- if (message.ownership)
250
- Ownership.internalBinaryWrite(message.ownership, writer.tag(31, WireType.LengthDelimited).fork(), options).join();
251
- /* raystack.assets.v1beta1.Properties properties = 32; */
252
- if (message.properties)
253
- Properties.internalBinaryWrite(message.properties, writer.tag(32, WireType.LengthDelimited).fork(), options).join();
254
- /* raystack.assets.v1beta1.Timestamp timestamps = 33; */
255
- if (message.timestamps)
256
- Timestamp.internalBinaryWrite(message.timestamps, writer.tag(33, WireType.LengthDelimited).fork(), options).join();
257
- /* raystack.assets.v1beta1.Lineage lineage = 34; */
258
- if (message.lineage)
259
- Lineage.internalBinaryWrite(message.lineage, writer.tag(34, WireType.LengthDelimited).fork(), options).join();
260
- /* raystack.assets.v1beta1.Event event = 100; */
261
- if (message.event)
262
- Event.internalBinaryWrite(message.event, writer.tag(100, WireType.LengthDelimited).fork(), options).join();
263
- let u = options.writeUnknownFields;
264
- if (u !== false)
265
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
266
- return writer;
267
- }
268
- }
269
- /**
270
- * @generated MessageType for protobuf message raystack.assets.v1beta1.Dashboard
271
- */
272
- export const Dashboard = new Dashboard$Type();
273
- // @generated message type with reflection information, may provide speed optimized methods
274
- class Chart$Type extends MessageType<Chart> {
275
- constructor() {
276
- super("raystack.assets.v1beta1.Chart", [
277
- { no: 1, name: "urn", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
278
- { no: 2, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
279
- { no: 3, name: "type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
280
- { no: 4, name: "source", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
281
- { no: 5, name: "description", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
282
- { no: 6, name: "url", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
283
- { no: 7, name: "raw_query", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
284
- { no: 8, name: "data_source", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
285
- { no: 9, name: "dashboard_urn", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
286
- { no: 10, name: "dashboard_source", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
287
- { no: 31, name: "ownership", kind: "message", T: () => Ownership },
288
- { no: 32, name: "lineage", kind: "message", T: () => Lineage },
289
- { no: 33, name: "properties", kind: "message", T: () => Properties },
290
- { no: 34, name: "timestamps", kind: "message", T: () => Timestamp },
291
- { no: 100, name: "event", kind: "message", T: () => Event }
292
- ]);
293
- }
294
- create(value?: PartialMessage<Chart>): Chart {
295
- const message = globalThis.Object.create((this.messagePrototype!));
296
- message.urn = "";
297
- message.name = "";
298
- message.type = "";
299
- message.source = "";
300
- message.description = "";
301
- message.url = "";
302
- message.rawQuery = "";
303
- message.dataSource = "";
304
- message.dashboardUrn = "";
305
- message.dashboardSource = "";
306
- if (value !== undefined)
307
- reflectionMergePartial<Chart>(this, message, value);
308
- return message;
309
- }
310
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Chart): Chart {
311
- let message = target ?? this.create(), end = reader.pos + length;
312
- while (reader.pos < end) {
313
- let [fieldNo, wireType] = reader.tag();
314
- switch (fieldNo) {
315
- case /* string urn */ 1:
316
- message.urn = reader.string();
317
- break;
318
- case /* string name */ 2:
319
- message.name = reader.string();
320
- break;
321
- case /* string type */ 3:
322
- message.type = reader.string();
323
- break;
324
- case /* string source */ 4:
325
- message.source = reader.string();
326
- break;
327
- case /* string description */ 5:
328
- message.description = reader.string();
329
- break;
330
- case /* string url */ 6:
331
- message.url = reader.string();
332
- break;
333
- case /* string raw_query */ 7:
334
- message.rawQuery = reader.string();
335
- break;
336
- case /* string data_source */ 8:
337
- message.dataSource = reader.string();
338
- break;
339
- case /* string dashboard_urn */ 9:
340
- message.dashboardUrn = reader.string();
341
- break;
342
- case /* string dashboard_source */ 10:
343
- message.dashboardSource = reader.string();
344
- break;
345
- case /* raystack.assets.v1beta1.Ownership ownership */ 31:
346
- message.ownership = Ownership.internalBinaryRead(reader, reader.uint32(), options, message.ownership);
347
- break;
348
- case /* raystack.assets.v1beta1.Lineage lineage */ 32:
349
- message.lineage = Lineage.internalBinaryRead(reader, reader.uint32(), options, message.lineage);
350
- break;
351
- case /* raystack.assets.v1beta1.Properties properties */ 33:
352
- message.properties = Properties.internalBinaryRead(reader, reader.uint32(), options, message.properties);
353
- break;
354
- case /* raystack.assets.v1beta1.Timestamp timestamps */ 34:
355
- message.timestamps = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.timestamps);
356
- break;
357
- case /* raystack.assets.v1beta1.Event event */ 100:
358
- message.event = Event.internalBinaryRead(reader, reader.uint32(), options, message.event);
359
- break;
360
- default:
361
- let u = options.readUnknownField;
362
- if (u === "throw")
363
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
364
- let d = reader.skip(wireType);
365
- if (u !== false)
366
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
367
- }
368
- }
369
- return message;
370
- }
371
- internalBinaryWrite(message: Chart, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
372
- /* string urn = 1; */
373
- if (message.urn !== "")
374
- writer.tag(1, WireType.LengthDelimited).string(message.urn);
375
- /* string name = 2; */
376
- if (message.name !== "")
377
- writer.tag(2, WireType.LengthDelimited).string(message.name);
378
- /* string type = 3; */
379
- if (message.type !== "")
380
- writer.tag(3, WireType.LengthDelimited).string(message.type);
381
- /* string source = 4; */
382
- if (message.source !== "")
383
- writer.tag(4, WireType.LengthDelimited).string(message.source);
384
- /* string description = 5; */
385
- if (message.description !== "")
386
- writer.tag(5, WireType.LengthDelimited).string(message.description);
387
- /* string url = 6; */
388
- if (message.url !== "")
389
- writer.tag(6, WireType.LengthDelimited).string(message.url);
390
- /* string raw_query = 7; */
391
- if (message.rawQuery !== "")
392
- writer.tag(7, WireType.LengthDelimited).string(message.rawQuery);
393
- /* string data_source = 8; */
394
- if (message.dataSource !== "")
395
- writer.tag(8, WireType.LengthDelimited).string(message.dataSource);
396
- /* string dashboard_urn = 9; */
397
- if (message.dashboardUrn !== "")
398
- writer.tag(9, WireType.LengthDelimited).string(message.dashboardUrn);
399
- /* string dashboard_source = 10; */
400
- if (message.dashboardSource !== "")
401
- writer.tag(10, WireType.LengthDelimited).string(message.dashboardSource);
402
- /* raystack.assets.v1beta1.Ownership ownership = 31; */
403
- if (message.ownership)
404
- Ownership.internalBinaryWrite(message.ownership, writer.tag(31, WireType.LengthDelimited).fork(), options).join();
405
- /* raystack.assets.v1beta1.Lineage lineage = 32; */
406
- if (message.lineage)
407
- Lineage.internalBinaryWrite(message.lineage, writer.tag(32, WireType.LengthDelimited).fork(), options).join();
408
- /* raystack.assets.v1beta1.Properties properties = 33; */
409
- if (message.properties)
410
- Properties.internalBinaryWrite(message.properties, writer.tag(33, WireType.LengthDelimited).fork(), options).join();
411
- /* raystack.assets.v1beta1.Timestamp timestamps = 34; */
412
- if (message.timestamps)
413
- Timestamp.internalBinaryWrite(message.timestamps, writer.tag(34, WireType.LengthDelimited).fork(), options).join();
414
- /* raystack.assets.v1beta1.Event event = 100; */
415
- if (message.event)
416
- Event.internalBinaryWrite(message.event, writer.tag(100, WireType.LengthDelimited).fork(), options).join();
417
- let u = options.writeUnknownFields;
418
- if (u !== false)
419
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
420
- return writer;
421
- }
422
- }
423
- /**
424
- * @generated MessageType for protobuf message raystack.assets.v1beta1.Chart
425
- */
426
- export const Chart = new Chart$Type();
@@ -1,105 +0,0 @@
1
- // @generated by protobuf-ts 2.11.1
2
- // @generated from protobuf file "raystack/assets/v1beta1/event.proto" (package "raystack.assets.v1beta1", syntax proto3)
3
- // tslint:disable
4
- import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
5
- import type { IBinaryWriter } from "@protobuf-ts/runtime";
6
- import { WireType } from "@protobuf-ts/runtime";
7
- import type { BinaryReadOptions } from "@protobuf-ts/runtime";
8
- import type { IBinaryReader } from "@protobuf-ts/runtime";
9
- import { UnknownFieldHandler } from "@protobuf-ts/runtime";
10
- import type { PartialMessage } from "@protobuf-ts/runtime";
11
- import { reflectionMergePartial } from "@protobuf-ts/runtime";
12
- import { MessageType } from "@protobuf-ts/runtime";
13
- import { Timestamp } from "../../../google/protobuf/timestamp";
14
- /**
15
- * Event represents an event in the system.
16
- * Event is majorly used to represent the state of the system in the form of events.
17
- * It can be used in any schema which intend to produce events to message bus.
18
- *
19
- * @generated from protobuf message raystack.assets.v1beta1.Event
20
- */
21
- export interface Event {
22
- /**
23
- * The timestamp of the event.
24
- * Example: `2018-01-01T00:00:00Z`.
25
- *
26
- * @generated from protobuf field: google.protobuf.Timestamp timestamp = 1
27
- */
28
- timestamp?: Timestamp;
29
- /**
30
- * The activity that created the event.
31
- * Example: `create`, `update`.
32
- *
33
- * @generated from protobuf field: string action = 2
34
- */
35
- action: string;
36
- /**
37
- * The description of the event.
38
- * Example: `user is created from signup form`.
39
- *
40
- * @generated from protobuf field: string description = 3
41
- */
42
- description: string;
43
- }
44
- // @generated message type with reflection information, may provide speed optimized methods
45
- class Event$Type extends MessageType<Event> {
46
- constructor() {
47
- super("raystack.assets.v1beta1.Event", [
48
- { no: 1, name: "timestamp", kind: "message", T: () => Timestamp },
49
- { no: 2, name: "action", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
50
- { no: 3, name: "description", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
51
- ]);
52
- }
53
- create(value?: PartialMessage<Event>): Event {
54
- const message = globalThis.Object.create((this.messagePrototype!));
55
- message.action = "";
56
- message.description = "";
57
- if (value !== undefined)
58
- reflectionMergePartial<Event>(this, message, value);
59
- return message;
60
- }
61
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Event): Event {
62
- let message = target ?? this.create(), end = reader.pos + length;
63
- while (reader.pos < end) {
64
- let [fieldNo, wireType] = reader.tag();
65
- switch (fieldNo) {
66
- case /* google.protobuf.Timestamp timestamp */ 1:
67
- message.timestamp = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.timestamp);
68
- break;
69
- case /* string action */ 2:
70
- message.action = reader.string();
71
- break;
72
- case /* string description */ 3:
73
- message.description = reader.string();
74
- break;
75
- default:
76
- let u = options.readUnknownField;
77
- if (u === "throw")
78
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
79
- let d = reader.skip(wireType);
80
- if (u !== false)
81
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
82
- }
83
- }
84
- return message;
85
- }
86
- internalBinaryWrite(message: Event, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
87
- /* google.protobuf.Timestamp timestamp = 1; */
88
- if (message.timestamp)
89
- Timestamp.internalBinaryWrite(message.timestamp, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
90
- /* string action = 2; */
91
- if (message.action !== "")
92
- writer.tag(2, WireType.LengthDelimited).string(message.action);
93
- /* string description = 3; */
94
- if (message.description !== "")
95
- writer.tag(3, WireType.LengthDelimited).string(message.description);
96
- let u = options.writeUnknownFields;
97
- if (u !== false)
98
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
99
- return writer;
100
- }
101
- }
102
- /**
103
- * @generated MessageType for protobuf message raystack.assets.v1beta1.Event
104
- */
105
- export const Event = new Event$Type();