@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,291 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v1.10.1 with parameter "target=ts,import_extension=none"
|
|
2
|
+
// @generated from file raystack/optimus/core/v1beta1/namespace.proto (package raystack.optimus.core.v1beta1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
7
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @generated from message raystack.optimus.core.v1beta1.RegisterProjectNamespaceRequest
|
|
11
|
+
*/
|
|
12
|
+
export class RegisterProjectNamespaceRequest extends Message<RegisterProjectNamespaceRequest> {
|
|
13
|
+
/**
|
|
14
|
+
* @generated from field: string project_name = 1;
|
|
15
|
+
*/
|
|
16
|
+
projectName = "";
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* @generated from field: raystack.optimus.core.v1beta1.NamespaceSpecification namespace = 2;
|
|
20
|
+
*/
|
|
21
|
+
namespace?: NamespaceSpecification;
|
|
22
|
+
|
|
23
|
+
constructor(data?: PartialMessage<RegisterProjectNamespaceRequest>) {
|
|
24
|
+
super();
|
|
25
|
+
proto3.util.initPartial(data, this);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
29
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.RegisterProjectNamespaceRequest";
|
|
30
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
31
|
+
{ no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
32
|
+
{ no: 2, name: "namespace", kind: "message", T: NamespaceSpecification },
|
|
33
|
+
]);
|
|
34
|
+
|
|
35
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RegisterProjectNamespaceRequest {
|
|
36
|
+
return new RegisterProjectNamespaceRequest().fromBinary(bytes, options);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RegisterProjectNamespaceRequest {
|
|
40
|
+
return new RegisterProjectNamespaceRequest().fromJson(jsonValue, options);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RegisterProjectNamespaceRequest {
|
|
44
|
+
return new RegisterProjectNamespaceRequest().fromJsonString(jsonString, options);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
static equals(a: RegisterProjectNamespaceRequest | PlainMessage<RegisterProjectNamespaceRequest> | undefined, b: RegisterProjectNamespaceRequest | PlainMessage<RegisterProjectNamespaceRequest> | undefined): boolean {
|
|
48
|
+
return proto3.util.equals(RegisterProjectNamespaceRequest, a, b);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* @generated from message raystack.optimus.core.v1beta1.RegisterProjectNamespaceResponse
|
|
54
|
+
*/
|
|
55
|
+
export class RegisterProjectNamespaceResponse extends Message<RegisterProjectNamespaceResponse> {
|
|
56
|
+
/**
|
|
57
|
+
* @generated from field: bool success = 1;
|
|
58
|
+
*/
|
|
59
|
+
success = false;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @generated from field: string message = 2;
|
|
63
|
+
*/
|
|
64
|
+
message = "";
|
|
65
|
+
|
|
66
|
+
constructor(data?: PartialMessage<RegisterProjectNamespaceResponse>) {
|
|
67
|
+
super();
|
|
68
|
+
proto3.util.initPartial(data, this);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
72
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.RegisterProjectNamespaceResponse";
|
|
73
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
74
|
+
{ no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
75
|
+
{ no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
76
|
+
]);
|
|
77
|
+
|
|
78
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RegisterProjectNamespaceResponse {
|
|
79
|
+
return new RegisterProjectNamespaceResponse().fromBinary(bytes, options);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RegisterProjectNamespaceResponse {
|
|
83
|
+
return new RegisterProjectNamespaceResponse().fromJson(jsonValue, options);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RegisterProjectNamespaceResponse {
|
|
87
|
+
return new RegisterProjectNamespaceResponse().fromJsonString(jsonString, options);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
static equals(a: RegisterProjectNamespaceResponse | PlainMessage<RegisterProjectNamespaceResponse> | undefined, b: RegisterProjectNamespaceResponse | PlainMessage<RegisterProjectNamespaceResponse> | undefined): boolean {
|
|
91
|
+
return proto3.util.equals(RegisterProjectNamespaceResponse, a, b);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* @generated from message raystack.optimus.core.v1beta1.ListProjectNamespacesRequest
|
|
97
|
+
*/
|
|
98
|
+
export class ListProjectNamespacesRequest extends Message<ListProjectNamespacesRequest> {
|
|
99
|
+
/**
|
|
100
|
+
* @generated from field: string project_name = 1;
|
|
101
|
+
*/
|
|
102
|
+
projectName = "";
|
|
103
|
+
|
|
104
|
+
constructor(data?: PartialMessage<ListProjectNamespacesRequest>) {
|
|
105
|
+
super();
|
|
106
|
+
proto3.util.initPartial(data, this);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
110
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.ListProjectNamespacesRequest";
|
|
111
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
112
|
+
{ no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
113
|
+
]);
|
|
114
|
+
|
|
115
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListProjectNamespacesRequest {
|
|
116
|
+
return new ListProjectNamespacesRequest().fromBinary(bytes, options);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListProjectNamespacesRequest {
|
|
120
|
+
return new ListProjectNamespacesRequest().fromJson(jsonValue, options);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListProjectNamespacesRequest {
|
|
124
|
+
return new ListProjectNamespacesRequest().fromJsonString(jsonString, options);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
static equals(a: ListProjectNamespacesRequest | PlainMessage<ListProjectNamespacesRequest> | undefined, b: ListProjectNamespacesRequest | PlainMessage<ListProjectNamespacesRequest> | undefined): boolean {
|
|
128
|
+
return proto3.util.equals(ListProjectNamespacesRequest, a, b);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* @generated from message raystack.optimus.core.v1beta1.ListProjectNamespacesResponse
|
|
134
|
+
*/
|
|
135
|
+
export class ListProjectNamespacesResponse extends Message<ListProjectNamespacesResponse> {
|
|
136
|
+
/**
|
|
137
|
+
* @generated from field: repeated raystack.optimus.core.v1beta1.NamespaceSpecification namespaces = 1;
|
|
138
|
+
*/
|
|
139
|
+
namespaces: NamespaceSpecification[] = [];
|
|
140
|
+
|
|
141
|
+
constructor(data?: PartialMessage<ListProjectNamespacesResponse>) {
|
|
142
|
+
super();
|
|
143
|
+
proto3.util.initPartial(data, this);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
147
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.ListProjectNamespacesResponse";
|
|
148
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
149
|
+
{ no: 1, name: "namespaces", kind: "message", T: NamespaceSpecification, repeated: true },
|
|
150
|
+
]);
|
|
151
|
+
|
|
152
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListProjectNamespacesResponse {
|
|
153
|
+
return new ListProjectNamespacesResponse().fromBinary(bytes, options);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListProjectNamespacesResponse {
|
|
157
|
+
return new ListProjectNamespacesResponse().fromJson(jsonValue, options);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListProjectNamespacesResponse {
|
|
161
|
+
return new ListProjectNamespacesResponse().fromJsonString(jsonString, options);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
static equals(a: ListProjectNamespacesResponse | PlainMessage<ListProjectNamespacesResponse> | undefined, b: ListProjectNamespacesResponse | PlainMessage<ListProjectNamespacesResponse> | undefined): boolean {
|
|
165
|
+
return proto3.util.equals(ListProjectNamespacesResponse, a, b);
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* @generated from message raystack.optimus.core.v1beta1.GetNamespaceRequest
|
|
171
|
+
*/
|
|
172
|
+
export class GetNamespaceRequest extends Message<GetNamespaceRequest> {
|
|
173
|
+
/**
|
|
174
|
+
* @generated from field: string project_name = 1;
|
|
175
|
+
*/
|
|
176
|
+
projectName = "";
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* @generated from field: string namespace_name = 2;
|
|
180
|
+
*/
|
|
181
|
+
namespaceName = "";
|
|
182
|
+
|
|
183
|
+
constructor(data?: PartialMessage<GetNamespaceRequest>) {
|
|
184
|
+
super();
|
|
185
|
+
proto3.util.initPartial(data, this);
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
189
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.GetNamespaceRequest";
|
|
190
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
191
|
+
{ no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
192
|
+
{ no: 2, name: "namespace_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
193
|
+
]);
|
|
194
|
+
|
|
195
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetNamespaceRequest {
|
|
196
|
+
return new GetNamespaceRequest().fromBinary(bytes, options);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetNamespaceRequest {
|
|
200
|
+
return new GetNamespaceRequest().fromJson(jsonValue, options);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetNamespaceRequest {
|
|
204
|
+
return new GetNamespaceRequest().fromJsonString(jsonString, options);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
static equals(a: GetNamespaceRequest | PlainMessage<GetNamespaceRequest> | undefined, b: GetNamespaceRequest | PlainMessage<GetNamespaceRequest> | undefined): boolean {
|
|
208
|
+
return proto3.util.equals(GetNamespaceRequest, a, b);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* @generated from message raystack.optimus.core.v1beta1.GetNamespaceResponse
|
|
214
|
+
*/
|
|
215
|
+
export class GetNamespaceResponse extends Message<GetNamespaceResponse> {
|
|
216
|
+
/**
|
|
217
|
+
* @generated from field: raystack.optimus.core.v1beta1.NamespaceSpecification namespace = 1;
|
|
218
|
+
*/
|
|
219
|
+
namespace?: NamespaceSpecification;
|
|
220
|
+
|
|
221
|
+
constructor(data?: PartialMessage<GetNamespaceResponse>) {
|
|
222
|
+
super();
|
|
223
|
+
proto3.util.initPartial(data, this);
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
227
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.GetNamespaceResponse";
|
|
228
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
229
|
+
{ no: 1, name: "namespace", kind: "message", T: NamespaceSpecification },
|
|
230
|
+
]);
|
|
231
|
+
|
|
232
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetNamespaceResponse {
|
|
233
|
+
return new GetNamespaceResponse().fromBinary(bytes, options);
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetNamespaceResponse {
|
|
237
|
+
return new GetNamespaceResponse().fromJson(jsonValue, options);
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetNamespaceResponse {
|
|
241
|
+
return new GetNamespaceResponse().fromJsonString(jsonString, options);
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
static equals(a: GetNamespaceResponse | PlainMessage<GetNamespaceResponse> | undefined, b: GetNamespaceResponse | PlainMessage<GetNamespaceResponse> | undefined): boolean {
|
|
245
|
+
return proto3.util.equals(GetNamespaceResponse, a, b);
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* @generated from message raystack.optimus.core.v1beta1.NamespaceSpecification
|
|
251
|
+
*/
|
|
252
|
+
export class NamespaceSpecification extends Message<NamespaceSpecification> {
|
|
253
|
+
/**
|
|
254
|
+
* @generated from field: string name = 1;
|
|
255
|
+
*/
|
|
256
|
+
name = "";
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* @generated from field: map<string, string> config = 2;
|
|
260
|
+
*/
|
|
261
|
+
config: { [key: string]: string } = {};
|
|
262
|
+
|
|
263
|
+
constructor(data?: PartialMessage<NamespaceSpecification>) {
|
|
264
|
+
super();
|
|
265
|
+
proto3.util.initPartial(data, this);
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
269
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.NamespaceSpecification";
|
|
270
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
271
|
+
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
272
|
+
{ no: 2, name: "config", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
273
|
+
]);
|
|
274
|
+
|
|
275
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NamespaceSpecification {
|
|
276
|
+
return new NamespaceSpecification().fromBinary(bytes, options);
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NamespaceSpecification {
|
|
280
|
+
return new NamespaceSpecification().fromJson(jsonValue, options);
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NamespaceSpecification {
|
|
284
|
+
return new NamespaceSpecification().fromJsonString(jsonString, options);
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
static equals(a: NamespaceSpecification | PlainMessage<NamespaceSpecification> | undefined, b: NamespaceSpecification | PlainMessage<NamespaceSpecification> | undefined): boolean {
|
|
288
|
+
return proto3.util.equals(NamespaceSpecification, a, b);
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-query v1.4.2 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 { MethodKind } from "@bufbuild/protobuf";
|
|
7
|
+
import { GetProjectRequest, GetProjectResponse, ListProjectsRequest, ListProjectsResponse, RegisterProjectRequest, RegisterProjectResponse } from "./project_pb.js";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* RegisterProject creates a new optimus project
|
|
11
|
+
*
|
|
12
|
+
* @generated from rpc raystack.optimus.core.v1beta1.ProjectService.RegisterProject
|
|
13
|
+
*/
|
|
14
|
+
export const registerProject = {
|
|
15
|
+
localName: "registerProject",
|
|
16
|
+
name: "RegisterProject",
|
|
17
|
+
kind: MethodKind.Unary,
|
|
18
|
+
I: RegisterProjectRequest,
|
|
19
|
+
O: RegisterProjectResponse,
|
|
20
|
+
service: {
|
|
21
|
+
typeName: "raystack.optimus.core.v1beta1.ProjectService"
|
|
22
|
+
}
|
|
23
|
+
} as const;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* ListProjects returns list of registered projects and configurations
|
|
27
|
+
*
|
|
28
|
+
* @generated from rpc raystack.optimus.core.v1beta1.ProjectService.ListProjects
|
|
29
|
+
*/
|
|
30
|
+
export const listProjects = {
|
|
31
|
+
localName: "listProjects",
|
|
32
|
+
name: "ListProjects",
|
|
33
|
+
kind: MethodKind.Unary,
|
|
34
|
+
I: ListProjectsRequest,
|
|
35
|
+
O: ListProjectsResponse,
|
|
36
|
+
service: {
|
|
37
|
+
typeName: "raystack.optimus.core.v1beta1.ProjectService"
|
|
38
|
+
}
|
|
39
|
+
} as const;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* GetProject returns project details based on project_name
|
|
43
|
+
*
|
|
44
|
+
* @generated from rpc raystack.optimus.core.v1beta1.ProjectService.GetProject
|
|
45
|
+
*/
|
|
46
|
+
export const getProject = {
|
|
47
|
+
localName: "getProject",
|
|
48
|
+
name: "GetProject",
|
|
49
|
+
kind: MethodKind.Unary,
|
|
50
|
+
I: GetProjectRequest,
|
|
51
|
+
O: GetProjectResponse,
|
|
52
|
+
service: {
|
|
53
|
+
typeName: "raystack.optimus.core.v1beta1.ProjectService"
|
|
54
|
+
}
|
|
55
|
+
} as const;
|
|
@@ -0,0 +1,75 @@
|
|
|
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 type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
5
|
+
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
6
|
+
import { ProjectService } from "./project";
|
|
7
|
+
import type { GetProjectResponse } from "./project";
|
|
8
|
+
import type { GetProjectRequest } from "./project";
|
|
9
|
+
import type { ListProjectsResponse } from "./project";
|
|
10
|
+
import type { ListProjectsRequest } from "./project";
|
|
11
|
+
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
12
|
+
import type { RegisterProjectResponse } from "./project";
|
|
13
|
+
import type { RegisterProjectRequest } from "./project";
|
|
14
|
+
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
15
|
+
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
16
|
+
/**
|
|
17
|
+
* @generated from protobuf service raystack.optimus.core.v1beta1.ProjectService
|
|
18
|
+
*/
|
|
19
|
+
export interface IProjectServiceClient {
|
|
20
|
+
/**
|
|
21
|
+
* RegisterProject creates a new optimus project
|
|
22
|
+
*
|
|
23
|
+
* @generated from protobuf rpc: RegisterProject
|
|
24
|
+
*/
|
|
25
|
+
registerProject(input: RegisterProjectRequest, options?: RpcOptions): UnaryCall<RegisterProjectRequest, RegisterProjectResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* ListProjects returns list of registered projects and configurations
|
|
28
|
+
*
|
|
29
|
+
* @generated from protobuf rpc: ListProjects
|
|
30
|
+
*/
|
|
31
|
+
listProjects(input: ListProjectsRequest, options?: RpcOptions): UnaryCall<ListProjectsRequest, ListProjectsResponse>;
|
|
32
|
+
/**
|
|
33
|
+
* GetProject returns project details based on project_name
|
|
34
|
+
*
|
|
35
|
+
* @generated from protobuf rpc: GetProject
|
|
36
|
+
*/
|
|
37
|
+
getProject(input: GetProjectRequest, options?: RpcOptions): UnaryCall<GetProjectRequest, GetProjectResponse>;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* @generated from protobuf service raystack.optimus.core.v1beta1.ProjectService
|
|
41
|
+
*/
|
|
42
|
+
export class ProjectServiceClient implements IProjectServiceClient, ServiceInfo {
|
|
43
|
+
typeName = ProjectService.typeName;
|
|
44
|
+
methods = ProjectService.methods;
|
|
45
|
+
options = ProjectService.options;
|
|
46
|
+
constructor(private readonly _transport: RpcTransport) {
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* RegisterProject creates a new optimus project
|
|
50
|
+
*
|
|
51
|
+
* @generated from protobuf rpc: RegisterProject
|
|
52
|
+
*/
|
|
53
|
+
registerProject(input: RegisterProjectRequest, options?: RpcOptions): UnaryCall<RegisterProjectRequest, RegisterProjectResponse> {
|
|
54
|
+
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
55
|
+
return stackIntercept<RegisterProjectRequest, RegisterProjectResponse>("unary", this._transport, method, opt, input);
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* ListProjects returns list of registered projects and configurations
|
|
59
|
+
*
|
|
60
|
+
* @generated from protobuf rpc: ListProjects
|
|
61
|
+
*/
|
|
62
|
+
listProjects(input: ListProjectsRequest, options?: RpcOptions): UnaryCall<ListProjectsRequest, ListProjectsResponse> {
|
|
63
|
+
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
64
|
+
return stackIntercept<ListProjectsRequest, ListProjectsResponse>("unary", this._transport, method, opt, input);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* GetProject returns project details based on project_name
|
|
68
|
+
*
|
|
69
|
+
* @generated from protobuf rpc: GetProject
|
|
70
|
+
*/
|
|
71
|
+
getProject(input: GetProjectRequest, options?: RpcOptions): UnaryCall<GetProjectRequest, GetProjectResponse> {
|
|
72
|
+
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
73
|
+
return stackIntercept<GetProjectRequest, GetProjectResponse>("unary", this._transport, method, opt, input);
|
|
74
|
+
}
|
|
75
|
+
}
|