@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,275 +0,0 @@
1
- // @generated by protobuf-ts 2.11.1
2
- // @generated from protobuf file "raystack/assets/v1beta2/topic.proto" (package "raystack.assets.v1beta2", 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
- import { Struct } from "../../../google/protobuf/struct";
15
- /**
16
- * Topic is resource that represents a logical group of messages
17
- * in message bus like kafka, pubsub, pulsar etc.
18
- *
19
- * @generated from protobuf message raystack.assets.v1beta2.Topic
20
- */
21
- export interface Topic {
22
- /**
23
- * The metrics of the topic.
24
- * For an example check out topic profile schema.
25
- *
26
- * @generated from protobuf field: raystack.assets.v1beta2.TopicProfile profile = 1
27
- */
28
- profile?: TopicProfile;
29
- /**
30
- * The schema of the topic.
31
- * For an example check out topic schema.
32
- *
33
- * @generated from protobuf field: raystack.assets.v1beta2.TopicSchema schema = 2
34
- */
35
- schema?: TopicSchema;
36
- /**
37
- * List of attributes the model has.
38
- *
39
- * @generated from protobuf field: google.protobuf.Struct attributes = 10
40
- */
41
- attributes?: Struct;
42
- /**
43
- * The timestamp of the topic's creation.
44
- *
45
- * @generated from protobuf field: google.protobuf.Timestamp create_time = 101
46
- */
47
- createTime?: Timestamp;
48
- /**
49
- * The timestamp when the topic was last modified.
50
- *
51
- * @generated from protobuf field: google.protobuf.Timestamp update_time = 102
52
- */
53
- updateTime?: Timestamp;
54
- }
55
- /**
56
- * TopicProfile is the profile of the topic.
57
- *
58
- * @generated from protobuf message raystack.assets.v1beta2.TopicProfile
59
- */
60
- export interface TopicProfile {
61
- /**
62
- * The throughput of the topic.
63
- * Example: `1m/minute`.
64
- *
65
- * @generated from protobuf field: string throughput = 1
66
- */
67
- throughput: string;
68
- /**
69
- * The number of partitions in the topic.
70
- * Example: `12`.
71
- *
72
- * @generated from protobuf field: int64 number_of_partitions = 2
73
- */
74
- numberOfPartitions: bigint;
75
- }
76
- /**
77
- * TopicSchema represents a schema for message bus.
78
- * It is facet used to specify the schema of a message bus.
79
- *
80
- * @generated from protobuf message raystack.assets.v1beta2.TopicSchema
81
- */
82
- export interface TopicSchema {
83
- /**
84
- * @generated from protobuf field: string schema_url = 1
85
- */
86
- schemaUrl: string;
87
- /**
88
- * @generated from protobuf field: string format = 2
89
- */
90
- format: string;
91
- }
92
- // @generated message type with reflection information, may provide speed optimized methods
93
- class Topic$Type extends MessageType<Topic> {
94
- constructor() {
95
- super("raystack.assets.v1beta2.Topic", [
96
- { no: 1, name: "profile", kind: "message", T: () => TopicProfile },
97
- { no: 2, name: "schema", kind: "message", T: () => TopicSchema },
98
- { no: 10, name: "attributes", kind: "message", T: () => Struct },
99
- { no: 101, name: "create_time", kind: "message", T: () => Timestamp },
100
- { no: 102, name: "update_time", kind: "message", T: () => Timestamp }
101
- ]);
102
- }
103
- create(value?: PartialMessage<Topic>): Topic {
104
- const message = globalThis.Object.create((this.messagePrototype!));
105
- if (value !== undefined)
106
- reflectionMergePartial<Topic>(this, message, value);
107
- return message;
108
- }
109
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Topic): Topic {
110
- let message = target ?? this.create(), end = reader.pos + length;
111
- while (reader.pos < end) {
112
- let [fieldNo, wireType] = reader.tag();
113
- switch (fieldNo) {
114
- case /* raystack.assets.v1beta2.TopicProfile profile */ 1:
115
- message.profile = TopicProfile.internalBinaryRead(reader, reader.uint32(), options, message.profile);
116
- break;
117
- case /* raystack.assets.v1beta2.TopicSchema schema */ 2:
118
- message.schema = TopicSchema.internalBinaryRead(reader, reader.uint32(), options, message.schema);
119
- break;
120
- case /* google.protobuf.Struct attributes */ 10:
121
- message.attributes = Struct.internalBinaryRead(reader, reader.uint32(), options, message.attributes);
122
- break;
123
- case /* google.protobuf.Timestamp create_time */ 101:
124
- message.createTime = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.createTime);
125
- break;
126
- case /* google.protobuf.Timestamp update_time */ 102:
127
- message.updateTime = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.updateTime);
128
- break;
129
- default:
130
- let u = options.readUnknownField;
131
- if (u === "throw")
132
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
133
- let d = reader.skip(wireType);
134
- if (u !== false)
135
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
136
- }
137
- }
138
- return message;
139
- }
140
- internalBinaryWrite(message: Topic, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
141
- /* raystack.assets.v1beta2.TopicProfile profile = 1; */
142
- if (message.profile)
143
- TopicProfile.internalBinaryWrite(message.profile, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
144
- /* raystack.assets.v1beta2.TopicSchema schema = 2; */
145
- if (message.schema)
146
- TopicSchema.internalBinaryWrite(message.schema, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
147
- /* google.protobuf.Struct attributes = 10; */
148
- if (message.attributes)
149
- Struct.internalBinaryWrite(message.attributes, writer.tag(10, WireType.LengthDelimited).fork(), options).join();
150
- /* google.protobuf.Timestamp create_time = 101; */
151
- if (message.createTime)
152
- Timestamp.internalBinaryWrite(message.createTime, writer.tag(101, WireType.LengthDelimited).fork(), options).join();
153
- /* google.protobuf.Timestamp update_time = 102; */
154
- if (message.updateTime)
155
- Timestamp.internalBinaryWrite(message.updateTime, writer.tag(102, WireType.LengthDelimited).fork(), options).join();
156
- let u = options.writeUnknownFields;
157
- if (u !== false)
158
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
159
- return writer;
160
- }
161
- }
162
- /**
163
- * @generated MessageType for protobuf message raystack.assets.v1beta2.Topic
164
- */
165
- export const Topic = new Topic$Type();
166
- // @generated message type with reflection information, may provide speed optimized methods
167
- class TopicProfile$Type extends MessageType<TopicProfile> {
168
- constructor() {
169
- super("raystack.assets.v1beta2.TopicProfile", [
170
- { no: 1, name: "throughput", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
171
- { no: 2, name: "number_of_partitions", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }
172
- ]);
173
- }
174
- create(value?: PartialMessage<TopicProfile>): TopicProfile {
175
- const message = globalThis.Object.create((this.messagePrototype!));
176
- message.throughput = "";
177
- message.numberOfPartitions = 0n;
178
- if (value !== undefined)
179
- reflectionMergePartial<TopicProfile>(this, message, value);
180
- return message;
181
- }
182
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TopicProfile): TopicProfile {
183
- let message = target ?? this.create(), end = reader.pos + length;
184
- while (reader.pos < end) {
185
- let [fieldNo, wireType] = reader.tag();
186
- switch (fieldNo) {
187
- case /* string throughput */ 1:
188
- message.throughput = reader.string();
189
- break;
190
- case /* int64 number_of_partitions */ 2:
191
- message.numberOfPartitions = reader.int64().toBigInt();
192
- break;
193
- default:
194
- let u = options.readUnknownField;
195
- if (u === "throw")
196
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
197
- let d = reader.skip(wireType);
198
- if (u !== false)
199
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
200
- }
201
- }
202
- return message;
203
- }
204
- internalBinaryWrite(message: TopicProfile, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
205
- /* string throughput = 1; */
206
- if (message.throughput !== "")
207
- writer.tag(1, WireType.LengthDelimited).string(message.throughput);
208
- /* int64 number_of_partitions = 2; */
209
- if (message.numberOfPartitions !== 0n)
210
- writer.tag(2, WireType.Varint).int64(message.numberOfPartitions);
211
- let u = options.writeUnknownFields;
212
- if (u !== false)
213
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
214
- return writer;
215
- }
216
- }
217
- /**
218
- * @generated MessageType for protobuf message raystack.assets.v1beta2.TopicProfile
219
- */
220
- export const TopicProfile = new TopicProfile$Type();
221
- // @generated message type with reflection information, may provide speed optimized methods
222
- class TopicSchema$Type extends MessageType<TopicSchema> {
223
- constructor() {
224
- super("raystack.assets.v1beta2.TopicSchema", [
225
- { no: 1, name: "schema_url", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
226
- { no: 2, name: "format", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
227
- ]);
228
- }
229
- create(value?: PartialMessage<TopicSchema>): TopicSchema {
230
- const message = globalThis.Object.create((this.messagePrototype!));
231
- message.schemaUrl = "";
232
- message.format = "";
233
- if (value !== undefined)
234
- reflectionMergePartial<TopicSchema>(this, message, value);
235
- return message;
236
- }
237
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TopicSchema): TopicSchema {
238
- let message = target ?? this.create(), end = reader.pos + length;
239
- while (reader.pos < end) {
240
- let [fieldNo, wireType] = reader.tag();
241
- switch (fieldNo) {
242
- case /* string schema_url */ 1:
243
- message.schemaUrl = reader.string();
244
- break;
245
- case /* string format */ 2:
246
- message.format = reader.string();
247
- break;
248
- default:
249
- let u = options.readUnknownField;
250
- if (u === "throw")
251
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
252
- let d = reader.skip(wireType);
253
- if (u !== false)
254
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
255
- }
256
- }
257
- return message;
258
- }
259
- internalBinaryWrite(message: TopicSchema, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
260
- /* string schema_url = 1; */
261
- if (message.schemaUrl !== "")
262
- writer.tag(1, WireType.LengthDelimited).string(message.schemaUrl);
263
- /* string format = 2; */
264
- if (message.format !== "")
265
- writer.tag(2, WireType.LengthDelimited).string(message.format);
266
- let u = options.writeUnknownFields;
267
- if (u !== false)
268
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
269
- return writer;
270
- }
271
- }
272
- /**
273
- * @generated MessageType for protobuf message raystack.assets.v1beta2.TopicSchema
274
- */
275
- export const TopicSchema = new TopicSchema$Type();