@raystack/proton 0.1.0-ce225175aa066e6f296bc489293bb83ed0edcef6
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 +33 -0
- package/google/api/field_behavior.ts +95 -0
- package/google/api/field_behavior_pb.ts +139 -0
- package/google/api/http.ts +695 -0
- package/google/api/http_pb.ts +547 -0
- package/google/api/httpbody.ts +159 -0
- package/google/api/httpbody_pb.ts +122 -0
- package/google/protobuf/any.ts +322 -0
- package/google/protobuf/descriptor.ts +3475 -0
- package/google/protobuf/duration.ts +231 -0
- package/google/protobuf/struct.ts +484 -0
- package/google/protobuf/timestamp.ts +290 -0
- package/google/protobuf/wrappers.ts +752 -0
- package/package.json +47 -0
- package/protoc-gen-openapiv2/options/annotations_pb.ts +78 -0
- package/protoc-gen-openapiv2/options/openapiv2.ts +3110 -0
- package/protoc-gen-openapiv2/options/openapiv2_pb.ts +1995 -0
- package/raystack/assets/index.ts +29 -0
- package/raystack/assets/v1beta1/bucket.ts +362 -0
- package/raystack/assets/v1beta1/bucket_pb.ts +233 -0
- package/raystack/assets/v1beta1/dashboard.ts +426 -0
- package/raystack/assets/v1beta1/dashboard_pb.ts +275 -0
- package/raystack/assets/v1beta1/event.ts +105 -0
- package/raystack/assets/v1beta1/event_pb.ts +70 -0
- package/raystack/assets/v1beta1/group.ts +223 -0
- package/raystack/assets/v1beta1/group_pb.ts +149 -0
- package/raystack/assets/v1beta1/job.ts +147 -0
- package/raystack/assets/v1beta1/job_pb.ts +100 -0
- package/raystack/assets/v1beta1/lineage.ts +90 -0
- package/raystack/assets/v1beta1/lineage_pb.ts +61 -0
- package/raystack/assets/v1beta1/ownership.ts +179 -0
- package/raystack/assets/v1beta1/ownership_pb.ts +119 -0
- package/raystack/assets/v1beta1/preview.ts +87 -0
- package/raystack/assets/v1beta1/preview_pb.ts +58 -0
- package/raystack/assets/v1beta1/properties.ts +116 -0
- package/raystack/assets/v1beta1/properties_pb.ts +63 -0
- package/raystack/assets/v1beta1/resource.ts +149 -0
- package/raystack/assets/v1beta1/resource_pb.ts +96 -0
- package/raystack/assets/v1beta1/schema.ts +421 -0
- package/raystack/assets/v1beta1/schema_pb.ts +262 -0
- package/raystack/assets/v1beta1/table.ts +408 -0
- package/raystack/assets/v1beta1/table_pb.ts +266 -0
- package/raystack/assets/v1beta1/timestamp.ts +158 -0
- package/raystack/assets/v1beta1/timestamp_pb.ts +107 -0
- package/raystack/assets/v1beta1/topic.ts +253 -0
- package/raystack/assets/v1beta1/topic_pb.ts +171 -0
- package/raystack/assets/v1beta1/user.ts +451 -0
- package/raystack/assets/v1beta1/user_pb.ts +292 -0
- package/raystack/assets/v1beta2/application.ts +125 -0
- package/raystack/assets/v1beta2/application_pb.ts +79 -0
- package/raystack/assets/v1beta2/asset.ts +269 -0
- package/raystack/assets/v1beta2/asset_pb.ts +157 -0
- package/raystack/assets/v1beta2/bucket.ts +341 -0
- package/raystack/assets/v1beta2/bucket_pb.ts +215 -0
- package/raystack/assets/v1beta2/common.ts +392 -0
- package/raystack/assets/v1beta2/common_pb.ts +258 -0
- package/raystack/assets/v1beta2/dashboard.ts +393 -0
- package/raystack/assets/v1beta2/dashboard_pb.ts +247 -0
- package/raystack/assets/v1beta2/experiment.ts +274 -0
- package/raystack/assets/v1beta2/experiment_pb.ts +180 -0
- package/raystack/assets/v1beta2/feature_table.ts +387 -0
- package/raystack/assets/v1beta2/feature_table_pb.ts +237 -0
- package/raystack/assets/v1beta2/group.ts +178 -0
- package/raystack/assets/v1beta2/group_pb.ts +118 -0
- package/raystack/assets/v1beta2/job.ts +99 -0
- package/raystack/assets/v1beta2/job_pb.ts +65 -0
- package/raystack/assets/v1beta2/metric.ts +163 -0
- package/raystack/assets/v1beta2/metric_pb.ts +105 -0
- package/raystack/assets/v1beta2/model.ts +519 -0
- package/raystack/assets/v1beta2/model_pb.ts +322 -0
- package/raystack/assets/v1beta2/table.ts +663 -0
- package/raystack/assets/v1beta2/table_pb.ts +409 -0
- package/raystack/assets/v1beta2/topic.ts +275 -0
- package/raystack/assets/v1beta2/topic_pb.ts +181 -0
- package/raystack/assets/v1beta2/user.ts +433 -0
- package/raystack/assets/v1beta2/user_pb.ts +277 -0
- package/raystack/common/index.ts +3 -0
- package/raystack/common/v1/service-CommonService_connectquery.ts +21 -0
- package/raystack/common/v1/service.client.ts +37 -0
- package/raystack/common/v1/service.ts +245 -0
- package/raystack/common/v1/service_connect.ts +26 -0
- package/raystack/common/v1/service_pb.ts +149 -0
- package/raystack/compass/index.ts +3 -0
- package/raystack/compass/v1beta1/service-CompassService_connectquery.ts +605 -0
- package/raystack/compass/v1beta1/service.client.ts +594 -0
- package/raystack/compass/v1beta1/service.ts +8169 -0
- package/raystack/compass/v1beta1/service_connect.ts +407 -0
- package/raystack/compass/v1beta1/service_pb.ts +4975 -0
- package/raystack/entropy/index.ts +6 -0
- package/raystack/entropy/v1beta1/module-ModuleService_connectquery.ts +77 -0
- package/raystack/entropy/v1beta1/module.client.ts +89 -0
- package/raystack/entropy/v1beta1/module.ts +692 -0
- package/raystack/entropy/v1beta1/module_connect.ts +62 -0
- package/raystack/entropy/v1beta1/module_pb.ts +445 -0
- package/raystack/entropy/v1beta1/resource-ResourceService_connectquery.ts +105 -0
- package/raystack/entropy/v1beta1/resource.client.ts +129 -0
- package/raystack/entropy/v1beta1/resource.ts +1817 -0
- package/raystack/entropy/v1beta1/resource_connect.ts +89 -0
- package/raystack/entropy/v1beta1/resource_pb.ts +1092 -0
- package/raystack/frontier/index.ts +7 -0
- package/raystack/frontier/v1beta1/admin-AdminService_connectquery.ts +756 -0
- package/raystack/frontier/v1beta1/admin.client.ts +849 -0
- package/raystack/frontier/v1beta1/admin.ts +9007 -0
- package/raystack/frontier/v1beta1/admin_connect.ts +573 -0
- package/raystack/frontier/v1beta1/admin_pb.ts +5615 -0
- package/raystack/frontier/v1beta1/frontier-FrontierService_connectquery.ts +2399 -0
- package/raystack/frontier/v1beta1/frontier.client.ts +2307 -0
- package/raystack/frontier/v1beta1/frontier.ts +23706 -0
- package/raystack/frontier/v1beta1/frontier_connect.ts +1574 -0
- package/raystack/frontier/v1beta1/frontier_pb.ts +15258 -0
- package/raystack/frontier/v1beta1/models.ts +7433 -0
- package/raystack/frontier/v1beta1/models_pb.ts +4345 -0
- package/raystack/guardian/index.ts +3 -0
- package/raystack/guardian/v1beta1/guardian-GuardianService_connectquery.ts +569 -0
- package/raystack/guardian/v1beta1/guardian.client.ts +552 -0
- package/raystack/guardian/v1beta1/guardian.ts +9688 -0
- package/raystack/guardian/v1beta1/guardian_connect.ts +381 -0
- package/raystack/guardian/v1beta1/guardian_pb.ts +5858 -0
- package/raystack/optimus/core/v1beta1/backup-BackupService_connectquery.ts +49 -0
- package/raystack/optimus/core/v1beta1/backup.client.ts +63 -0
- package/raystack/optimus/core/v1beta1/backup.ts +708 -0
- package/raystack/optimus/core/v1beta1/backup_connect.ts +44 -0
- package/raystack/optimus/core/v1beta1/backup_pb.ts +406 -0
- package/raystack/optimus/core/v1beta1/job_run-JobRunService_connectquery.ts +71 -0
- package/raystack/optimus/core/v1beta1/job_run.client.ts +96 -0
- package/raystack/optimus/core/v1beta1/job_run.ts +1008 -0
- package/raystack/optimus/core/v1beta1/job_run_connect.ts +63 -0
- package/raystack/optimus/core/v1beta1/job_run_pb.ts +612 -0
- package/raystack/optimus/core/v1beta1/job_spec-JobSpecificationService_connectquery.ts +249 -0
- package/raystack/optimus/core/v1beta1/job_spec.client.ts +363 -0
- package/raystack/optimus/core/v1beta1/job_spec.ts +5134 -0
- package/raystack/optimus/core/v1beta1/job_spec_connect.ts +233 -0
- package/raystack/optimus/core/v1beta1/job_spec_pb.ts +3196 -0
- package/raystack/optimus/core/v1beta1/namespace-NamespaceService_connectquery.ts +55 -0
- package/raystack/optimus/core/v1beta1/namespace.client.ts +75 -0
- package/raystack/optimus/core/v1beta1/namespace.ts +477 -0
- package/raystack/optimus/core/v1beta1/namespace_connect.ts +50 -0
- package/raystack/optimus/core/v1beta1/namespace_pb.ts +291 -0
- package/raystack/optimus/core/v1beta1/project-ProjectService_connectquery.ts +55 -0
- package/raystack/optimus/core/v1beta1/project.client.ts +75 -0
- package/raystack/optimus/core/v1beta1/project.ts +520 -0
- package/raystack/optimus/core/v1beta1/project_connect.ts +50 -0
- package/raystack/optimus/core/v1beta1/project_pb.ts +322 -0
- package/raystack/optimus/core/v1beta1/replay-ReplayService_connectquery.ts +63 -0
- package/raystack/optimus/core/v1beta1/replay.client.ts +76 -0
- package/raystack/optimus/core/v1beta1/replay.ts +881 -0
- package/raystack/optimus/core/v1beta1/replay_connect.ts +53 -0
- package/raystack/optimus/core/v1beta1/replay_pb.ts +522 -0
- package/raystack/optimus/core/v1beta1/resource-ResourceService_connectquery.ts +104 -0
- package/raystack/optimus/core/v1beta1/resource.client.ts +148 -0
- package/raystack/optimus/core/v1beta1/resource.ts +1329 -0
- package/raystack/optimus/core/v1beta1/resource_connect.ts +96 -0
- package/raystack/optimus/core/v1beta1/resource_pb.ts +791 -0
- package/raystack/optimus/core/v1beta1/runtime-RuntimeService_connectquery.ts +23 -0
- package/raystack/optimus/core/v1beta1/runtime.client.ts +45 -0
- package/raystack/optimus/core/v1beta1/runtime.ts +131 -0
- package/raystack/optimus/core/v1beta1/runtime_connect.ts +30 -0
- package/raystack/optimus/core/v1beta1/runtime_pb.ts +82 -0
- package/raystack/optimus/core/v1beta1/secret-SecretService_connectquery.ts +71 -0
- package/raystack/optimus/core/v1beta1/secret.client.ts +92 -0
- package/raystack/optimus/core/v1beta1/secret.ts +619 -0
- package/raystack/optimus/core/v1beta1/secret_connect.ts +61 -0
- package/raystack/optimus/core/v1beta1/secret_pb.ts +393 -0
- package/raystack/optimus/core/v1beta1/status.ts +113 -0
- package/raystack/optimus/core/v1beta1/status_pb.ts +101 -0
- package/raystack/optimus/integration/v1beta1/event.ts +531 -0
- package/raystack/optimus/integration/v1beta1/event_pb.ts +362 -0
- package/raystack/optimus/plugins/v1beta1/dependency_resolver-DependencyResolverModService_connectquery.ts +72 -0
- package/raystack/optimus/plugins/v1beta1/dependency_resolver.client.ts +100 -0
- package/raystack/optimus/plugins/v1beta1/dependency_resolver.ts +950 -0
- package/raystack/optimus/plugins/v1beta1/dependency_resolver_connect.ts +65 -0
- package/raystack/optimus/plugins/v1beta1/dependency_resolver_pb.ts +604 -0
- package/raystack/predator/index.ts +2 -0
- package/raystack/predator/v1beta1/metrics_log.ts +457 -0
- package/raystack/predator/v1beta1/metrics_log_pb.ts +277 -0
- package/raystack/predator/v1beta1/result_log.ts +390 -0
- package/raystack/predator/v1beta1/result_log_pb.ts +235 -0
- package/raystack/raccoon/index.ts +3 -0
- package/raystack/raccoon/v1beta1/raccoon-EventService_connectquery.ts +21 -0
- package/raystack/raccoon/v1beta1/raccoon.client.ts +37 -0
- package/raystack/raccoon/v1beta1/raccoon.ts +442 -0
- package/raystack/raccoon/v1beta1/raccoon_connect.ts +26 -0
- package/raystack/raccoon/v1beta1/raccoon_pb.ts +324 -0
- package/raystack/siren/index.ts +3 -0
- package/raystack/siren/v1beta1/siren-SirenService_connectquery.ts +497 -0
- package/raystack/siren/v1beta1/siren.client.ts +479 -0
- package/raystack/siren/v1beta1/siren.ts +6507 -0
- package/raystack/siren/v1beta1/siren_connect.ts +332 -0
- package/raystack/siren/v1beta1/siren_pb.ts +3853 -0
- package/raystack/stencil/index.ts +3 -0
- package/raystack/stencil/v1beta1/stencil-StencilService_connectquery.ts +231 -0
- package/raystack/stencil/v1beta1/stencil.client.ts +232 -0
- package/raystack/stencil/v1beta1/stencil.ts +2716 -0
- package/raystack/stencil/v1beta1/stencil_connect.ts +161 -0
- package/raystack/stencil/v1beta1/stencil_pb.ts +1729 -0
- package/validate/validate.ts +4130 -0
- package/validate/validate_pb.ts +2621 -0
|
@@ -0,0 +1,520 @@
|
|
|
1
|
+
// @generated by protobuf-ts 2.11.1
|
|
2
|
+
// @generated from protobuf file "raystack/optimus/core/v1beta1/project.proto" (package "raystack.optimus.core.v1beta1", syntax proto3)
|
|
3
|
+
// tslint:disable
|
|
4
|
+
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
|
5
|
+
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
6
|
+
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
|
7
|
+
import { WireType } from "@protobuf-ts/runtime";
|
|
8
|
+
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
9
|
+
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
10
|
+
import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
|
11
|
+
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
12
|
+
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
13
|
+
import { MessageType } from "@protobuf-ts/runtime";
|
|
14
|
+
/**
|
|
15
|
+
* @generated from protobuf message raystack.optimus.core.v1beta1.RegisterProjectRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface RegisterProjectRequest {
|
|
18
|
+
/**
|
|
19
|
+
* @generated from protobuf field: raystack.optimus.core.v1beta1.ProjectSpecification project = 1
|
|
20
|
+
*/
|
|
21
|
+
project?: ProjectSpecification;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @generated from protobuf message raystack.optimus.core.v1beta1.RegisterProjectResponse
|
|
25
|
+
*/
|
|
26
|
+
export interface RegisterProjectResponse {
|
|
27
|
+
/**
|
|
28
|
+
* @generated from protobuf field: bool success = 1
|
|
29
|
+
*/
|
|
30
|
+
success: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* @generated from protobuf field: string message = 2
|
|
33
|
+
*/
|
|
34
|
+
message: string;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* @generated from protobuf message raystack.optimus.core.v1beta1.ListProjectsRequest
|
|
38
|
+
*/
|
|
39
|
+
export interface ListProjectsRequest {
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* @generated from protobuf message raystack.optimus.core.v1beta1.ListProjectsResponse
|
|
43
|
+
*/
|
|
44
|
+
export interface ListProjectsResponse {
|
|
45
|
+
/**
|
|
46
|
+
* @generated from protobuf field: repeated raystack.optimus.core.v1beta1.ProjectSpecification projects = 1
|
|
47
|
+
*/
|
|
48
|
+
projects: ProjectSpecification[];
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* @generated from protobuf message raystack.optimus.core.v1beta1.GetProjectRequest
|
|
52
|
+
*/
|
|
53
|
+
export interface GetProjectRequest {
|
|
54
|
+
/**
|
|
55
|
+
* @generated from protobuf field: string project_name = 1
|
|
56
|
+
*/
|
|
57
|
+
projectName: string;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* @generated from protobuf message raystack.optimus.core.v1beta1.GetProjectResponse
|
|
61
|
+
*/
|
|
62
|
+
export interface GetProjectResponse {
|
|
63
|
+
/**
|
|
64
|
+
* @generated from protobuf field: raystack.optimus.core.v1beta1.ProjectSpecification project = 1
|
|
65
|
+
*/
|
|
66
|
+
project?: ProjectSpecification;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* @generated from protobuf message raystack.optimus.core.v1beta1.ProjectSpecification
|
|
70
|
+
*/
|
|
71
|
+
export interface ProjectSpecification {
|
|
72
|
+
/**
|
|
73
|
+
* @generated from protobuf field: string name = 1
|
|
74
|
+
*/
|
|
75
|
+
name: string;
|
|
76
|
+
/**
|
|
77
|
+
* @generated from protobuf field: map<string, string> config = 2
|
|
78
|
+
*/
|
|
79
|
+
config: {
|
|
80
|
+
[key: string]: string;
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* @generated from protobuf field: repeated raystack.optimus.core.v1beta1.ProjectSpecification.ProjectSecret secrets = 3
|
|
84
|
+
*/
|
|
85
|
+
secrets: ProjectSpecification_ProjectSecret[];
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* @generated from protobuf message raystack.optimus.core.v1beta1.ProjectSpecification.ProjectSecret
|
|
89
|
+
*/
|
|
90
|
+
export interface ProjectSpecification_ProjectSecret {
|
|
91
|
+
/**
|
|
92
|
+
* @generated from protobuf field: string name = 1
|
|
93
|
+
*/
|
|
94
|
+
name: string;
|
|
95
|
+
/**
|
|
96
|
+
* @generated from protobuf field: string value = 2
|
|
97
|
+
*/
|
|
98
|
+
value: string;
|
|
99
|
+
}
|
|
100
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
101
|
+
class RegisterProjectRequest$Type extends MessageType<RegisterProjectRequest> {
|
|
102
|
+
constructor() {
|
|
103
|
+
super("raystack.optimus.core.v1beta1.RegisterProjectRequest", [
|
|
104
|
+
{ no: 1, name: "project", kind: "message", T: () => ProjectSpecification }
|
|
105
|
+
]);
|
|
106
|
+
}
|
|
107
|
+
create(value?: PartialMessage<RegisterProjectRequest>): RegisterProjectRequest {
|
|
108
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
109
|
+
if (value !== undefined)
|
|
110
|
+
reflectionMergePartial<RegisterProjectRequest>(this, message, value);
|
|
111
|
+
return message;
|
|
112
|
+
}
|
|
113
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RegisterProjectRequest): RegisterProjectRequest {
|
|
114
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
115
|
+
while (reader.pos < end) {
|
|
116
|
+
let [fieldNo, wireType] = reader.tag();
|
|
117
|
+
switch (fieldNo) {
|
|
118
|
+
case /* raystack.optimus.core.v1beta1.ProjectSpecification project */ 1:
|
|
119
|
+
message.project = ProjectSpecification.internalBinaryRead(reader, reader.uint32(), options, message.project);
|
|
120
|
+
break;
|
|
121
|
+
default:
|
|
122
|
+
let u = options.readUnknownField;
|
|
123
|
+
if (u === "throw")
|
|
124
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
125
|
+
let d = reader.skip(wireType);
|
|
126
|
+
if (u !== false)
|
|
127
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
return message;
|
|
131
|
+
}
|
|
132
|
+
internalBinaryWrite(message: RegisterProjectRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
133
|
+
/* raystack.optimus.core.v1beta1.ProjectSpecification project = 1; */
|
|
134
|
+
if (message.project)
|
|
135
|
+
ProjectSpecification.internalBinaryWrite(message.project, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
136
|
+
let u = options.writeUnknownFields;
|
|
137
|
+
if (u !== false)
|
|
138
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
139
|
+
return writer;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* @generated MessageType for protobuf message raystack.optimus.core.v1beta1.RegisterProjectRequest
|
|
144
|
+
*/
|
|
145
|
+
export const RegisterProjectRequest = new RegisterProjectRequest$Type();
|
|
146
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
147
|
+
class RegisterProjectResponse$Type extends MessageType<RegisterProjectResponse> {
|
|
148
|
+
constructor() {
|
|
149
|
+
super("raystack.optimus.core.v1beta1.RegisterProjectResponse", [
|
|
150
|
+
{ no: 1, name: "success", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
151
|
+
{ no: 2, name: "message", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
152
|
+
]);
|
|
153
|
+
}
|
|
154
|
+
create(value?: PartialMessage<RegisterProjectResponse>): RegisterProjectResponse {
|
|
155
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
156
|
+
message.success = false;
|
|
157
|
+
message.message = "";
|
|
158
|
+
if (value !== undefined)
|
|
159
|
+
reflectionMergePartial<RegisterProjectResponse>(this, message, value);
|
|
160
|
+
return message;
|
|
161
|
+
}
|
|
162
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RegisterProjectResponse): RegisterProjectResponse {
|
|
163
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
164
|
+
while (reader.pos < end) {
|
|
165
|
+
let [fieldNo, wireType] = reader.tag();
|
|
166
|
+
switch (fieldNo) {
|
|
167
|
+
case /* bool success */ 1:
|
|
168
|
+
message.success = reader.bool();
|
|
169
|
+
break;
|
|
170
|
+
case /* string message */ 2:
|
|
171
|
+
message.message = reader.string();
|
|
172
|
+
break;
|
|
173
|
+
default:
|
|
174
|
+
let u = options.readUnknownField;
|
|
175
|
+
if (u === "throw")
|
|
176
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
177
|
+
let d = reader.skip(wireType);
|
|
178
|
+
if (u !== false)
|
|
179
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
return message;
|
|
183
|
+
}
|
|
184
|
+
internalBinaryWrite(message: RegisterProjectResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
185
|
+
/* bool success = 1; */
|
|
186
|
+
if (message.success !== false)
|
|
187
|
+
writer.tag(1, WireType.Varint).bool(message.success);
|
|
188
|
+
/* string message = 2; */
|
|
189
|
+
if (message.message !== "")
|
|
190
|
+
writer.tag(2, WireType.LengthDelimited).string(message.message);
|
|
191
|
+
let u = options.writeUnknownFields;
|
|
192
|
+
if (u !== false)
|
|
193
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
194
|
+
return writer;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* @generated MessageType for protobuf message raystack.optimus.core.v1beta1.RegisterProjectResponse
|
|
199
|
+
*/
|
|
200
|
+
export const RegisterProjectResponse = new RegisterProjectResponse$Type();
|
|
201
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
202
|
+
class ListProjectsRequest$Type extends MessageType<ListProjectsRequest> {
|
|
203
|
+
constructor() {
|
|
204
|
+
super("raystack.optimus.core.v1beta1.ListProjectsRequest", []);
|
|
205
|
+
}
|
|
206
|
+
create(value?: PartialMessage<ListProjectsRequest>): ListProjectsRequest {
|
|
207
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
208
|
+
if (value !== undefined)
|
|
209
|
+
reflectionMergePartial<ListProjectsRequest>(this, message, value);
|
|
210
|
+
return message;
|
|
211
|
+
}
|
|
212
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListProjectsRequest): ListProjectsRequest {
|
|
213
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
214
|
+
while (reader.pos < end) {
|
|
215
|
+
let [fieldNo, wireType] = reader.tag();
|
|
216
|
+
switch (fieldNo) {
|
|
217
|
+
default:
|
|
218
|
+
let u = options.readUnknownField;
|
|
219
|
+
if (u === "throw")
|
|
220
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
221
|
+
let d = reader.skip(wireType);
|
|
222
|
+
if (u !== false)
|
|
223
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
return message;
|
|
227
|
+
}
|
|
228
|
+
internalBinaryWrite(message: ListProjectsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
229
|
+
let u = options.writeUnknownFields;
|
|
230
|
+
if (u !== false)
|
|
231
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
232
|
+
return writer;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* @generated MessageType for protobuf message raystack.optimus.core.v1beta1.ListProjectsRequest
|
|
237
|
+
*/
|
|
238
|
+
export const ListProjectsRequest = new ListProjectsRequest$Type();
|
|
239
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
240
|
+
class ListProjectsResponse$Type extends MessageType<ListProjectsResponse> {
|
|
241
|
+
constructor() {
|
|
242
|
+
super("raystack.optimus.core.v1beta1.ListProjectsResponse", [
|
|
243
|
+
{ no: 1, name: "projects", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ProjectSpecification }
|
|
244
|
+
]);
|
|
245
|
+
}
|
|
246
|
+
create(value?: PartialMessage<ListProjectsResponse>): ListProjectsResponse {
|
|
247
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
248
|
+
message.projects = [];
|
|
249
|
+
if (value !== undefined)
|
|
250
|
+
reflectionMergePartial<ListProjectsResponse>(this, message, value);
|
|
251
|
+
return message;
|
|
252
|
+
}
|
|
253
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListProjectsResponse): ListProjectsResponse {
|
|
254
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
255
|
+
while (reader.pos < end) {
|
|
256
|
+
let [fieldNo, wireType] = reader.tag();
|
|
257
|
+
switch (fieldNo) {
|
|
258
|
+
case /* repeated raystack.optimus.core.v1beta1.ProjectSpecification projects */ 1:
|
|
259
|
+
message.projects.push(ProjectSpecification.internalBinaryRead(reader, reader.uint32(), options));
|
|
260
|
+
break;
|
|
261
|
+
default:
|
|
262
|
+
let u = options.readUnknownField;
|
|
263
|
+
if (u === "throw")
|
|
264
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
265
|
+
let d = reader.skip(wireType);
|
|
266
|
+
if (u !== false)
|
|
267
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
return message;
|
|
271
|
+
}
|
|
272
|
+
internalBinaryWrite(message: ListProjectsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
273
|
+
/* repeated raystack.optimus.core.v1beta1.ProjectSpecification projects = 1; */
|
|
274
|
+
for (let i = 0; i < message.projects.length; i++)
|
|
275
|
+
ProjectSpecification.internalBinaryWrite(message.projects[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
276
|
+
let u = options.writeUnknownFields;
|
|
277
|
+
if (u !== false)
|
|
278
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
279
|
+
return writer;
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
/**
|
|
283
|
+
* @generated MessageType for protobuf message raystack.optimus.core.v1beta1.ListProjectsResponse
|
|
284
|
+
*/
|
|
285
|
+
export const ListProjectsResponse = new ListProjectsResponse$Type();
|
|
286
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
287
|
+
class GetProjectRequest$Type extends MessageType<GetProjectRequest> {
|
|
288
|
+
constructor() {
|
|
289
|
+
super("raystack.optimus.core.v1beta1.GetProjectRequest", [
|
|
290
|
+
{ no: 1, name: "project_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
291
|
+
]);
|
|
292
|
+
}
|
|
293
|
+
create(value?: PartialMessage<GetProjectRequest>): GetProjectRequest {
|
|
294
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
295
|
+
message.projectName = "";
|
|
296
|
+
if (value !== undefined)
|
|
297
|
+
reflectionMergePartial<GetProjectRequest>(this, message, value);
|
|
298
|
+
return message;
|
|
299
|
+
}
|
|
300
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetProjectRequest): GetProjectRequest {
|
|
301
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
302
|
+
while (reader.pos < end) {
|
|
303
|
+
let [fieldNo, wireType] = reader.tag();
|
|
304
|
+
switch (fieldNo) {
|
|
305
|
+
case /* string project_name */ 1:
|
|
306
|
+
message.projectName = reader.string();
|
|
307
|
+
break;
|
|
308
|
+
default:
|
|
309
|
+
let u = options.readUnknownField;
|
|
310
|
+
if (u === "throw")
|
|
311
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
312
|
+
let d = reader.skip(wireType);
|
|
313
|
+
if (u !== false)
|
|
314
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
return message;
|
|
318
|
+
}
|
|
319
|
+
internalBinaryWrite(message: GetProjectRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
320
|
+
/* string project_name = 1; */
|
|
321
|
+
if (message.projectName !== "")
|
|
322
|
+
writer.tag(1, WireType.LengthDelimited).string(message.projectName);
|
|
323
|
+
let u = options.writeUnknownFields;
|
|
324
|
+
if (u !== false)
|
|
325
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
326
|
+
return writer;
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
/**
|
|
330
|
+
* @generated MessageType for protobuf message raystack.optimus.core.v1beta1.GetProjectRequest
|
|
331
|
+
*/
|
|
332
|
+
export const GetProjectRequest = new GetProjectRequest$Type();
|
|
333
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
334
|
+
class GetProjectResponse$Type extends MessageType<GetProjectResponse> {
|
|
335
|
+
constructor() {
|
|
336
|
+
super("raystack.optimus.core.v1beta1.GetProjectResponse", [
|
|
337
|
+
{ no: 1, name: "project", kind: "message", T: () => ProjectSpecification }
|
|
338
|
+
]);
|
|
339
|
+
}
|
|
340
|
+
create(value?: PartialMessage<GetProjectResponse>): GetProjectResponse {
|
|
341
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
342
|
+
if (value !== undefined)
|
|
343
|
+
reflectionMergePartial<GetProjectResponse>(this, message, value);
|
|
344
|
+
return message;
|
|
345
|
+
}
|
|
346
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetProjectResponse): GetProjectResponse {
|
|
347
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
348
|
+
while (reader.pos < end) {
|
|
349
|
+
let [fieldNo, wireType] = reader.tag();
|
|
350
|
+
switch (fieldNo) {
|
|
351
|
+
case /* raystack.optimus.core.v1beta1.ProjectSpecification project */ 1:
|
|
352
|
+
message.project = ProjectSpecification.internalBinaryRead(reader, reader.uint32(), options, message.project);
|
|
353
|
+
break;
|
|
354
|
+
default:
|
|
355
|
+
let u = options.readUnknownField;
|
|
356
|
+
if (u === "throw")
|
|
357
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
358
|
+
let d = reader.skip(wireType);
|
|
359
|
+
if (u !== false)
|
|
360
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
return message;
|
|
364
|
+
}
|
|
365
|
+
internalBinaryWrite(message: GetProjectResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
366
|
+
/* raystack.optimus.core.v1beta1.ProjectSpecification project = 1; */
|
|
367
|
+
if (message.project)
|
|
368
|
+
ProjectSpecification.internalBinaryWrite(message.project, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
369
|
+
let u = options.writeUnknownFields;
|
|
370
|
+
if (u !== false)
|
|
371
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
372
|
+
return writer;
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
/**
|
|
376
|
+
* @generated MessageType for protobuf message raystack.optimus.core.v1beta1.GetProjectResponse
|
|
377
|
+
*/
|
|
378
|
+
export const GetProjectResponse = new GetProjectResponse$Type();
|
|
379
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
380
|
+
class ProjectSpecification$Type extends MessageType<ProjectSpecification> {
|
|
381
|
+
constructor() {
|
|
382
|
+
super("raystack.optimus.core.v1beta1.ProjectSpecification", [
|
|
383
|
+
{ no: 1, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
384
|
+
{ no: 2, name: "config", kind: "map", K: 9 /*ScalarType.STRING*/, V: { kind: "scalar", T: 9 /*ScalarType.STRING*/ } },
|
|
385
|
+
{ no: 3, name: "secrets", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ProjectSpecification_ProjectSecret }
|
|
386
|
+
]);
|
|
387
|
+
}
|
|
388
|
+
create(value?: PartialMessage<ProjectSpecification>): ProjectSpecification {
|
|
389
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
390
|
+
message.name = "";
|
|
391
|
+
message.config = {};
|
|
392
|
+
message.secrets = [];
|
|
393
|
+
if (value !== undefined)
|
|
394
|
+
reflectionMergePartial<ProjectSpecification>(this, message, value);
|
|
395
|
+
return message;
|
|
396
|
+
}
|
|
397
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProjectSpecification): ProjectSpecification {
|
|
398
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
399
|
+
while (reader.pos < end) {
|
|
400
|
+
let [fieldNo, wireType] = reader.tag();
|
|
401
|
+
switch (fieldNo) {
|
|
402
|
+
case /* string name */ 1:
|
|
403
|
+
message.name = reader.string();
|
|
404
|
+
break;
|
|
405
|
+
case /* map<string, string> config */ 2:
|
|
406
|
+
this.binaryReadMap2(message.config, reader, options);
|
|
407
|
+
break;
|
|
408
|
+
case /* repeated raystack.optimus.core.v1beta1.ProjectSpecification.ProjectSecret secrets */ 3:
|
|
409
|
+
message.secrets.push(ProjectSpecification_ProjectSecret.internalBinaryRead(reader, reader.uint32(), options));
|
|
410
|
+
break;
|
|
411
|
+
default:
|
|
412
|
+
let u = options.readUnknownField;
|
|
413
|
+
if (u === "throw")
|
|
414
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
415
|
+
let d = reader.skip(wireType);
|
|
416
|
+
if (u !== false)
|
|
417
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
return message;
|
|
421
|
+
}
|
|
422
|
+
private binaryReadMap2(map: ProjectSpecification["config"], reader: IBinaryReader, options: BinaryReadOptions): void {
|
|
423
|
+
let len = reader.uint32(), end = reader.pos + len, key: keyof ProjectSpecification["config"] | undefined, val: ProjectSpecification["config"][any] | undefined;
|
|
424
|
+
while (reader.pos < end) {
|
|
425
|
+
let [fieldNo, wireType] = reader.tag();
|
|
426
|
+
switch (fieldNo) {
|
|
427
|
+
case 1:
|
|
428
|
+
key = reader.string();
|
|
429
|
+
break;
|
|
430
|
+
case 2:
|
|
431
|
+
val = reader.string();
|
|
432
|
+
break;
|
|
433
|
+
default: throw new globalThis.Error("unknown map entry field for raystack.optimus.core.v1beta1.ProjectSpecification.config");
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
map[key ?? ""] = val ?? "";
|
|
437
|
+
}
|
|
438
|
+
internalBinaryWrite(message: ProjectSpecification, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
439
|
+
/* string name = 1; */
|
|
440
|
+
if (message.name !== "")
|
|
441
|
+
writer.tag(1, WireType.LengthDelimited).string(message.name);
|
|
442
|
+
/* map<string, string> config = 2; */
|
|
443
|
+
for (let k of globalThis.Object.keys(message.config))
|
|
444
|
+
writer.tag(2, WireType.LengthDelimited).fork().tag(1, WireType.LengthDelimited).string(k).tag(2, WireType.LengthDelimited).string(message.config[k]).join();
|
|
445
|
+
/* repeated raystack.optimus.core.v1beta1.ProjectSpecification.ProjectSecret secrets = 3; */
|
|
446
|
+
for (let i = 0; i < message.secrets.length; i++)
|
|
447
|
+
ProjectSpecification_ProjectSecret.internalBinaryWrite(message.secrets[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
448
|
+
let u = options.writeUnknownFields;
|
|
449
|
+
if (u !== false)
|
|
450
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
451
|
+
return writer;
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
/**
|
|
455
|
+
* @generated MessageType for protobuf message raystack.optimus.core.v1beta1.ProjectSpecification
|
|
456
|
+
*/
|
|
457
|
+
export const ProjectSpecification = new ProjectSpecification$Type();
|
|
458
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
459
|
+
class ProjectSpecification_ProjectSecret$Type extends MessageType<ProjectSpecification_ProjectSecret> {
|
|
460
|
+
constructor() {
|
|
461
|
+
super("raystack.optimus.core.v1beta1.ProjectSpecification.ProjectSecret", [
|
|
462
|
+
{ no: 1, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
463
|
+
{ no: 2, name: "value", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
464
|
+
]);
|
|
465
|
+
}
|
|
466
|
+
create(value?: PartialMessage<ProjectSpecification_ProjectSecret>): ProjectSpecification_ProjectSecret {
|
|
467
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
468
|
+
message.name = "";
|
|
469
|
+
message.value = "";
|
|
470
|
+
if (value !== undefined)
|
|
471
|
+
reflectionMergePartial<ProjectSpecification_ProjectSecret>(this, message, value);
|
|
472
|
+
return message;
|
|
473
|
+
}
|
|
474
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProjectSpecification_ProjectSecret): ProjectSpecification_ProjectSecret {
|
|
475
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
476
|
+
while (reader.pos < end) {
|
|
477
|
+
let [fieldNo, wireType] = reader.tag();
|
|
478
|
+
switch (fieldNo) {
|
|
479
|
+
case /* string name */ 1:
|
|
480
|
+
message.name = reader.string();
|
|
481
|
+
break;
|
|
482
|
+
case /* string value */ 2:
|
|
483
|
+
message.value = reader.string();
|
|
484
|
+
break;
|
|
485
|
+
default:
|
|
486
|
+
let u = options.readUnknownField;
|
|
487
|
+
if (u === "throw")
|
|
488
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
489
|
+
let d = reader.skip(wireType);
|
|
490
|
+
if (u !== false)
|
|
491
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
return message;
|
|
495
|
+
}
|
|
496
|
+
internalBinaryWrite(message: ProjectSpecification_ProjectSecret, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
497
|
+
/* string name = 1; */
|
|
498
|
+
if (message.name !== "")
|
|
499
|
+
writer.tag(1, WireType.LengthDelimited).string(message.name);
|
|
500
|
+
/* string value = 2; */
|
|
501
|
+
if (message.value !== "")
|
|
502
|
+
writer.tag(2, WireType.LengthDelimited).string(message.value);
|
|
503
|
+
let u = options.writeUnknownFields;
|
|
504
|
+
if (u !== false)
|
|
505
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
506
|
+
return writer;
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
/**
|
|
510
|
+
* @generated MessageType for protobuf message raystack.optimus.core.v1beta1.ProjectSpecification.ProjectSecret
|
|
511
|
+
*/
|
|
512
|
+
export const ProjectSpecification_ProjectSecret = new ProjectSpecification_ProjectSecret$Type();
|
|
513
|
+
/**
|
|
514
|
+
* @generated ServiceType for protobuf service raystack.optimus.core.v1beta1.ProjectService
|
|
515
|
+
*/
|
|
516
|
+
export const ProjectService = new ServiceType("raystack.optimus.core.v1beta1.ProjectService", [
|
|
517
|
+
{ name: "RegisterProject", options: { "google.api.http": { post: "/v1beta1/project", body: "*" } }, I: RegisterProjectRequest, O: RegisterProjectResponse },
|
|
518
|
+
{ name: "ListProjects", options: { "google.api.http": { get: "/v1beta1/project" } }, I: ListProjectsRequest, O: ListProjectsResponse },
|
|
519
|
+
{ name: "GetProject", options: { "google.api.http": { get: "/v1beta1/project/{project_name}" } }, I: GetProjectRequest, O: GetProjectResponse }
|
|
520
|
+
]);
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.6.1 with parameter "target=ts"
|
|
2
|
+
// @generated from file raystack/optimus/core/v1beta1/project.proto (package raystack.optimus.core.v1beta1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { GetProjectRequest, GetProjectResponse, ListProjectsRequest, ListProjectsResponse, RegisterProjectRequest, RegisterProjectResponse } from "./project_pb.js";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @generated from service raystack.optimus.core.v1beta1.ProjectService
|
|
11
|
+
*/
|
|
12
|
+
export const ProjectService = {
|
|
13
|
+
typeName: "raystack.optimus.core.v1beta1.ProjectService",
|
|
14
|
+
methods: {
|
|
15
|
+
/**
|
|
16
|
+
* RegisterProject creates a new optimus project
|
|
17
|
+
*
|
|
18
|
+
* @generated from rpc raystack.optimus.core.v1beta1.ProjectService.RegisterProject
|
|
19
|
+
*/
|
|
20
|
+
registerProject: {
|
|
21
|
+
name: "RegisterProject",
|
|
22
|
+
I: RegisterProjectRequest,
|
|
23
|
+
O: RegisterProjectResponse,
|
|
24
|
+
kind: MethodKind.Unary,
|
|
25
|
+
},
|
|
26
|
+
/**
|
|
27
|
+
* ListProjects returns list of registered projects and configurations
|
|
28
|
+
*
|
|
29
|
+
* @generated from rpc raystack.optimus.core.v1beta1.ProjectService.ListProjects
|
|
30
|
+
*/
|
|
31
|
+
listProjects: {
|
|
32
|
+
name: "ListProjects",
|
|
33
|
+
I: ListProjectsRequest,
|
|
34
|
+
O: ListProjectsResponse,
|
|
35
|
+
kind: MethodKind.Unary,
|
|
36
|
+
},
|
|
37
|
+
/**
|
|
38
|
+
* GetProject returns project details based on project_name
|
|
39
|
+
*
|
|
40
|
+
* @generated from rpc raystack.optimus.core.v1beta1.ProjectService.GetProject
|
|
41
|
+
*/
|
|
42
|
+
getProject: {
|
|
43
|
+
name: "GetProject",
|
|
44
|
+
I: GetProjectRequest,
|
|
45
|
+
O: GetProjectResponse,
|
|
46
|
+
kind: MethodKind.Unary,
|
|
47
|
+
},
|
|
48
|
+
}
|
|
49
|
+
} as const;
|
|
50
|
+
|