@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.
- package/package.json +1 -1
- package/raystack/assets/index.ts +29 -29
- package/raystack/common/index.ts +1 -1
- package/raystack/compass/index.ts +1 -1
- package/raystack/entropy/index.ts +2 -2
- package/raystack/frontier/index.ts +3 -3
- package/raystack/guardian/index.ts +1 -1
- package/raystack/predator/index.ts +2 -2
- package/raystack/raccoon/index.ts +1 -1
- package/raystack/siren/index.ts +1 -1
- package/raystack/stencil/index.ts +1 -1
- package/google/api/field_behavior.ts +0 -95
- package/google/api/http.ts +0 -695
- package/google/api/httpbody.ts +0 -159
- package/google/protobuf/any.ts +0 -322
- package/google/protobuf/descriptor.ts +0 -3475
- package/google/protobuf/duration.ts +0 -231
- package/google/protobuf/struct.ts +0 -484
- package/google/protobuf/timestamp.ts +0 -290
- package/google/protobuf/wrappers.ts +0 -752
- package/protoc-gen-openapiv2/options/openapiv2.ts +0 -3110
- package/raystack/assets/v1beta1/bucket.ts +0 -362
- package/raystack/assets/v1beta1/dashboard.ts +0 -426
- package/raystack/assets/v1beta1/event.ts +0 -105
- package/raystack/assets/v1beta1/group.ts +0 -223
- package/raystack/assets/v1beta1/job.ts +0 -147
- package/raystack/assets/v1beta1/lineage.ts +0 -90
- package/raystack/assets/v1beta1/ownership.ts +0 -179
- package/raystack/assets/v1beta1/preview.ts +0 -87
- package/raystack/assets/v1beta1/properties.ts +0 -116
- package/raystack/assets/v1beta1/resource.ts +0 -149
- package/raystack/assets/v1beta1/schema.ts +0 -421
- package/raystack/assets/v1beta1/table.ts +0 -408
- package/raystack/assets/v1beta1/timestamp.ts +0 -158
- package/raystack/assets/v1beta1/topic.ts +0 -253
- package/raystack/assets/v1beta1/user.ts +0 -451
- package/raystack/assets/v1beta2/application.ts +0 -125
- package/raystack/assets/v1beta2/asset.ts +0 -269
- package/raystack/assets/v1beta2/bucket.ts +0 -341
- package/raystack/assets/v1beta2/common.ts +0 -392
- package/raystack/assets/v1beta2/dashboard.ts +0 -393
- package/raystack/assets/v1beta2/experiment.ts +0 -274
- package/raystack/assets/v1beta2/feature_table.ts +0 -387
- package/raystack/assets/v1beta2/group.ts +0 -178
- package/raystack/assets/v1beta2/job.ts +0 -99
- package/raystack/assets/v1beta2/metric.ts +0 -163
- package/raystack/assets/v1beta2/model.ts +0 -519
- package/raystack/assets/v1beta2/table.ts +0 -663
- package/raystack/assets/v1beta2/topic.ts +0 -275
- package/raystack/assets/v1beta2/user.ts +0 -433
- package/raystack/common/v1/service.client.ts +0 -37
- package/raystack/common/v1/service.ts +0 -245
- package/raystack/compass/v1beta1/service.client.ts +0 -594
- package/raystack/compass/v1beta1/service.ts +0 -8169
- package/raystack/entropy/v1beta1/module.client.ts +0 -89
- package/raystack/entropy/v1beta1/module.ts +0 -692
- package/raystack/entropy/v1beta1/resource.client.ts +0 -129
- package/raystack/entropy/v1beta1/resource.ts +0 -1817
- package/raystack/frontier/v1beta1/admin.client.ts +0 -866
- package/raystack/frontier/v1beta1/admin.ts +0 -9117
- package/raystack/frontier/v1beta1/frontier.client.ts +0 -2307
- package/raystack/frontier/v1beta1/frontier.ts +0 -23706
- package/raystack/frontier/v1beta1/models.ts +0 -7433
- package/raystack/guardian/v1beta1/guardian.client.ts +0 -552
- package/raystack/guardian/v1beta1/guardian.ts +0 -9688
- package/raystack/optimus/core/v1beta1/backup.client.ts +0 -63
- package/raystack/optimus/core/v1beta1/backup.ts +0 -708
- package/raystack/optimus/core/v1beta1/job_run.client.ts +0 -96
- package/raystack/optimus/core/v1beta1/job_run.ts +0 -1008
- package/raystack/optimus/core/v1beta1/job_spec.client.ts +0 -363
- package/raystack/optimus/core/v1beta1/job_spec.ts +0 -5134
- package/raystack/optimus/core/v1beta1/namespace.client.ts +0 -75
- package/raystack/optimus/core/v1beta1/namespace.ts +0 -477
- package/raystack/optimus/core/v1beta1/project.client.ts +0 -75
- package/raystack/optimus/core/v1beta1/project.ts +0 -520
- package/raystack/optimus/core/v1beta1/replay.client.ts +0 -76
- package/raystack/optimus/core/v1beta1/replay.ts +0 -881
- package/raystack/optimus/core/v1beta1/resource.client.ts +0 -148
- package/raystack/optimus/core/v1beta1/resource.ts +0 -1329
- package/raystack/optimus/core/v1beta1/runtime.client.ts +0 -45
- package/raystack/optimus/core/v1beta1/runtime.ts +0 -131
- package/raystack/optimus/core/v1beta1/secret.client.ts +0 -92
- package/raystack/optimus/core/v1beta1/secret.ts +0 -619
- package/raystack/optimus/core/v1beta1/status.ts +0 -113
- package/raystack/optimus/integration/v1beta1/event.ts +0 -531
- package/raystack/optimus/plugins/v1beta1/dependency_resolver.client.ts +0 -100
- package/raystack/optimus/plugins/v1beta1/dependency_resolver.ts +0 -950
- package/raystack/predator/v1beta1/metrics_log.ts +0 -457
- package/raystack/predator/v1beta1/result_log.ts +0 -390
- package/raystack/raccoon/v1beta1/raccoon.client.ts +0 -37
- package/raystack/raccoon/v1beta1/raccoon.ts +0 -442
- package/raystack/siren/v1beta1/siren.client.ts +0 -479
- package/raystack/siren/v1beta1/siren.ts +0 -6507
- package/raystack/stencil/v1beta1/stencil.client.ts +0 -232
- package/raystack/stencil/v1beta1/stencil.ts +0 -2716
- 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();
|