@daocloud-proto/skoala 0.49.0-2 → 0.49.0-26
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/protobuf/field_mask.pb.ts → api/crds/version.pb.ts} +5 -2
- package/api/hosted/v1alpha3/ai_gateway.pb.ts +32 -0
- package/api/hosted/v1alpha3/gateway_api.pb.ts +412 -0
- package/package.json +3 -3
- package/alert/v1alpha1/alert.pb.ts +0 -433
- package/alert/v1alpha1/inhibition.pb.ts +0 -56
- package/alert/v1alpha1/notify.pb.ts +0 -250
- package/alert/v1alpha1/silence.pb.ts +0 -85
- package/alert/v1alpha1/type.pb.ts +0 -55
- package/event/v1alpha1/event.pb.ts +0 -137
- package/feature_gate/v1alpha1/feature_gate.pb.ts +0 -31
- package/github.com/mwitkow/go-proto-validators/validator.pb.ts +0 -29
- package/gogoproto/gogo.pb.ts +0 -1
- package/google/api/annotations.pb.ts +0 -1
- package/google/api/http.pb.ts +0 -34
- package/google/api/httpbody.pb.ts +0 -12
- package/google/protobuf/any.pb.ts +0 -9
- package/google/protobuf/api.pb.ts +0 -32
- package/google/protobuf/descriptor.pb.ts +0 -262
- package/google/protobuf/duration.pb.ts +0 -9
- package/google/protobuf/empty.pb.ts +0 -7
- package/google/protobuf/struct.pb.ts +0 -33
- package/google/protobuf/timestamp.pb.ts +0 -9
- package/google/protobuf/type.pb.ts +0 -83
- package/google/protobuf/wrappers.pb.ts +0 -40
- package/google/rpc/status.pb.ts +0 -12
- package/graph/v1alpha1/graph.pb.ts +0 -175
- package/log/v1alpha1/log.pb.ts +0 -163
- package/metric/v1alpha1/metric.pb.ts +0 -116
- package/net_flow/v1alpha1/net_flow.pb.ts +0 -8
- package/openapi/annotations.pb.ts +0 -1
- package/openapi/openapiv2.pb.ts +0 -193
- package/overview/v1alpha1/overview.pb.ts +0 -95
- package/probes/v1alpha1/probe.pb.ts +0 -132
- package/resource/v1alpha1/cluster.pb.ts +0 -156
- package/resource/v1alpha1/job.pb.ts +0 -113
- package/resource/v1alpha1/namespace.pb.ts +0 -43
- package/resource/v1alpha1/node.pb.ts +0 -96
- package/resource/v1alpha1/pod.pb.ts +0 -112
- package/resource/v1alpha1/service.pb.ts +0 -62
- package/resource/v1alpha1/type.pb.ts +0 -26
- package/resource/v1alpha1/workload.pb.ts +0 -98
- package/span_metric/v1alpha1/otelspankind.pb.ts +0 -14
- package/span_metric/v1alpha1/span_metric.pb.ts +0 -142
- package/tracing/v1alpha1/model.pb.ts +0 -95
- package/tracing/v1alpha1/query.pb.ts +0 -43
- package/tracing/v1alpha1/tracing.pb.ts +0 -64
- package/type/v1alpha1/objectmeta.pb.ts +0 -67
- package/type/v1alpha1/page.pb.ts +0 -11
- package/user/v1alpha1/user.pb.ts +0 -23
- package/validate/validate.pb.ts +0 -266
|
@@ -97,6 +97,11 @@ export type HigressConfig = {
|
|
|
97
97
|
observability?: boolean
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
+
export type Observability = {
|
|
101
|
+
enabled?: boolean
|
|
102
|
+
builtin?: boolean
|
|
103
|
+
}
|
|
104
|
+
|
|
100
105
|
export type HigressConsoleConfig = {
|
|
101
106
|
}
|
|
102
107
|
|
|
@@ -250,6 +255,33 @@ export type AIGateway = {
|
|
|
250
255
|
consoleUrl?: string
|
|
251
256
|
status?: HelmStatus
|
|
252
257
|
serviceType?: SkoalaApiGeneralV1alpha1Service.ServiceType
|
|
258
|
+
dashboardUrl?: DashboardURL
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
export type DashboardURLAI = {
|
|
262
|
+
url?: string
|
|
263
|
+
zhUrl?: string
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
export type DashboardURLMain = {
|
|
267
|
+
url?: string
|
|
268
|
+
zhUrl?: string
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
export type DashboardURLLog = {
|
|
272
|
+
url?: string
|
|
273
|
+
zhUrl?: string
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
export type DashboardURL = {
|
|
277
|
+
log?: DashboardURLLog
|
|
278
|
+
main?: DashboardURLMain
|
|
279
|
+
ai?: DashboardURLAI
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
export type LogDashboardURL = {
|
|
283
|
+
url?: string
|
|
284
|
+
zhUrl?: string
|
|
253
285
|
}
|
|
254
286
|
|
|
255
287
|
export type GatewayCondition = {
|
|
@@ -0,0 +1,412 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
/*
|
|
4
|
+
* This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import * as SkoalaApiGeneralV1alpha1Common from "../../general/v1alpha1/common.pb"
|
|
8
|
+
import * as SkoalaApiGeneralV1alpha2Ratelimit from "../../general/v1alpha2/ratelimit.pb"
|
|
9
|
+
import * as SkoalaApiHostedV1alpha1Api from "../v1alpha1/api.pb"
|
|
10
|
+
import * as SkoalaApiHostedV1alpha1Http from "../v1alpha1/http.pb"
|
|
11
|
+
|
|
12
|
+
type Absent<T, K extends keyof T> = { [k in Exclude<keyof T, K>]?: undefined };
|
|
13
|
+
type OneOf<T> =
|
|
14
|
+
| { [k in keyof T]?: undefined }
|
|
15
|
+
| (
|
|
16
|
+
keyof T extends infer K ?
|
|
17
|
+
(K extends string & keyof T ? { [k in K]: T[K] } & Absent<T, K>
|
|
18
|
+
: never)
|
|
19
|
+
: never);
|
|
20
|
+
|
|
21
|
+
export enum HttpRetryOnEnum {
|
|
22
|
+
five_xx = "five_xx",
|
|
23
|
+
gateway_error = "gateway_error",
|
|
24
|
+
reset = "reset",
|
|
25
|
+
connect_failure = "connect_failure",
|
|
26
|
+
retriable_4xx = "retriable_4xx",
|
|
27
|
+
refused_stream = "refused_stream",
|
|
28
|
+
retriable_status_codes = "retriable_status_codes",
|
|
29
|
+
retriable_headers = "retriable_headers",
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export enum GrpcRetryOnEnum {
|
|
33
|
+
cancelled = "cancelled",
|
|
34
|
+
deadline_exceeded = "deadline_exceeded",
|
|
35
|
+
internal = "internal",
|
|
36
|
+
resource_exhausted = "resource_exhausted",
|
|
37
|
+
unavailable = "unavailable",
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export enum IPPolicyLevel {
|
|
41
|
+
IP_POLICY_LEVEL_UNSPECIFIED = "IP_POLICY_LEVEL_UNSPECIFIED",
|
|
42
|
+
VirtualHost = "VirtualHost",
|
|
43
|
+
Route = "Route",
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export enum IPSource {
|
|
47
|
+
IP_SOURCE_UNSPECIFIED = "IP_SOURCE_UNSPECIFIED",
|
|
48
|
+
RemoteIp = "RemoteIp",
|
|
49
|
+
DirectRemoteIp = "DirectRemoteIp",
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export enum IPPolicyStatus {
|
|
53
|
+
IP_POLICY_STATUS_UNSPECIFIED = "IP_POLICY_STATUS_UNSPECIFIED",
|
|
54
|
+
AllowEnabled = "AllowEnabled",
|
|
55
|
+
DenyEnabled = "DenyEnabled",
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export enum LoadBalancePolicyStrategy {
|
|
59
|
+
Random = "Random",
|
|
60
|
+
RoundRobin = "RoundRobin",
|
|
61
|
+
WeightedLeastRequest = "WeightedLeastRequest",
|
|
62
|
+
Cookie = "Cookie",
|
|
63
|
+
RequestHash = "RequestHash",
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export enum CookieSameSitesameSite {
|
|
67
|
+
Strict = "Strict",
|
|
68
|
+
Lax = "Lax",
|
|
69
|
+
None = "None",
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export type CreateAPIReq = {
|
|
73
|
+
workspaceId?: string
|
|
74
|
+
gatewayName?: string
|
|
75
|
+
clusterName?: string
|
|
76
|
+
namespaceName?: string
|
|
77
|
+
apiConfig?: APIConfig
|
|
78
|
+
advancedApiConfig?: AdvancedAPIConfig
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export type UpdateAPIReq = {
|
|
82
|
+
workspaceId?: string
|
|
83
|
+
gatewayName?: string
|
|
84
|
+
clusterName?: string
|
|
85
|
+
namespaceName?: string
|
|
86
|
+
apiName?: string
|
|
87
|
+
apiConfig?: APIConfig
|
|
88
|
+
advancedApiConfig?: AdvancedAPIConfig
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export type GetAPIReq = {
|
|
92
|
+
workspaceId?: string
|
|
93
|
+
gatewayName?: string
|
|
94
|
+
clusterName?: string
|
|
95
|
+
namespaceName?: string
|
|
96
|
+
apiName?: string
|
|
97
|
+
apiVersion?: string
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export type GetAPIRes = {
|
|
101
|
+
apiName?: string
|
|
102
|
+
enabled?: boolean
|
|
103
|
+
apiGroup?: string
|
|
104
|
+
fqdn?: string
|
|
105
|
+
matchRule?: MatchRule
|
|
106
|
+
routeRules?: RouteRule[]
|
|
107
|
+
advancedPolicy?: AdvancedAPIConfig
|
|
108
|
+
apiStatus?: SkoalaApiHostedV1alpha1Http.APIStatus
|
|
109
|
+
status?: SkoalaApiHostedV1alpha1Http.APIStatusEnum
|
|
110
|
+
statusDescription?: string
|
|
111
|
+
apiCreateType?: SkoalaApiHostedV1alpha1Http.APICreateType
|
|
112
|
+
permitInsecure?: boolean
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export type GetAPIDocReq = {
|
|
116
|
+
workspaceId?: string
|
|
117
|
+
gatewayName?: string
|
|
118
|
+
clusterName?: string
|
|
119
|
+
namespaceName?: string
|
|
120
|
+
apiName?: string
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export type GetAPIDocRes = {
|
|
124
|
+
apiName?: string
|
|
125
|
+
apiDoc?: string
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export type APIConfig = {
|
|
129
|
+
apiName?: string
|
|
130
|
+
fqdn?: string
|
|
131
|
+
matchRule?: MatchRule
|
|
132
|
+
routeRules?: RouteRule[]
|
|
133
|
+
enabled?: boolean
|
|
134
|
+
apiGroup?: string
|
|
135
|
+
permitInsecure?: boolean
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
type BaseMatchRule = {
|
|
140
|
+
httpMethod?: SkoalaApiHostedV1alpha1Http.HttpMethod[]
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export type MatchRule = BaseMatchRule
|
|
144
|
+
& OneOf<{ exact: string; prefix: string; regex: string }>
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
type BaseRouteRule = {
|
|
148
|
+
headers?: SkoalaApiHostedV1alpha1Http.HeaderRule[]
|
|
149
|
+
queryParameters?: SkoalaApiHostedV1alpha1Http.QueryParameterRule[]
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
export type RouteRule = BaseRouteRule
|
|
153
|
+
& OneOf<{ routeAction: SkoalaApiHostedV1alpha1Api.RouteAction; redirect: SkoalaApiHostedV1alpha1Api.RedirectAction; directResponse: SkoalaApiHostedV1alpha1Api.DirectResponse }>
|
|
154
|
+
|
|
155
|
+
export type APIDebugReq = {
|
|
156
|
+
workspaceId?: string
|
|
157
|
+
gatewayName?: string
|
|
158
|
+
clusterName?: string
|
|
159
|
+
namespaceName?: string
|
|
160
|
+
apiName?: string
|
|
161
|
+
method?: string
|
|
162
|
+
path?: string
|
|
163
|
+
body?: string
|
|
164
|
+
query?: {[key: string]: string}
|
|
165
|
+
header?: {[key: string]: string}
|
|
166
|
+
scheme?: string
|
|
167
|
+
insecureSkipVerify?: boolean
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
export type APIDebugRes = {
|
|
171
|
+
status?: string
|
|
172
|
+
latency?: string
|
|
173
|
+
log?: string
|
|
174
|
+
request?: string
|
|
175
|
+
response?: string
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
export type ListAPIReq = {
|
|
179
|
+
workspaceId?: string
|
|
180
|
+
clusterName?: string
|
|
181
|
+
gatewayName?: string
|
|
182
|
+
namespaceName?: string
|
|
183
|
+
apiName?: string
|
|
184
|
+
apiGroup?: string
|
|
185
|
+
fqdn?: string
|
|
186
|
+
page?: number
|
|
187
|
+
pageSize?: number
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
export type ListAPIRes = {
|
|
191
|
+
items?: SkoalaApiHostedV1alpha1Http.APIInfo[]
|
|
192
|
+
pagination?: SkoalaApiGeneralV1alpha1Common.Pagination
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
export type AdvancedAPIConfig = {
|
|
196
|
+
loadBalancePolicy?: LoadBalancePolicy
|
|
197
|
+
timeoutPolicy?: TimeoutPolicy
|
|
198
|
+
pathRewritePolicy?: PathRewritePolicy
|
|
199
|
+
retryPolicy?: RetryPolicy
|
|
200
|
+
websocketPolicy?: WebsocketPolicy
|
|
201
|
+
healthCheckPolicy?: HealthCheckPolicy
|
|
202
|
+
requestHeadersPolicy?: HeaderPolicy
|
|
203
|
+
responseHeadersPolicy?: HeaderPolicy
|
|
204
|
+
jwtPreRoutePolicy?: JWTPreRoutePolicy
|
|
205
|
+
authPreRoutePolicy?: AuthPreRoutePolicy
|
|
206
|
+
cookieRewritePolicy?: CookieRewritePolicy[]
|
|
207
|
+
ipPolicy?: IPPolicy
|
|
208
|
+
domainIpPolicyStatus?: IPPolicyStatus
|
|
209
|
+
extProcPreRoutePolicy?: ExtProcPreRoutePolicy
|
|
210
|
+
localRateLimitPolicy?: LocalRateLimitPolicy
|
|
211
|
+
globalRateLimitPolicy?: GlobalRateLimitPreRoutePolicy
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
export type LoadBalancePolicy = {
|
|
215
|
+
requestHashPolicies?: RequestHashPolicies[]
|
|
216
|
+
strategy?: LoadBalancePolicyStrategy
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
export type RequestHashPolicies = {
|
|
220
|
+
hashSourceIp?: boolean
|
|
221
|
+
terminal?: boolean
|
|
222
|
+
headerHashPolicy?: HeaderHashPolicy
|
|
223
|
+
queryParameterHashPolicy?: QueryParameterHashPolicy
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
export type HeaderHashPolicy = {
|
|
227
|
+
headerName?: string
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
export type QueryParameterHashPolicy = {
|
|
231
|
+
parameterName?: string
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
export type TimeoutPolicy = {
|
|
235
|
+
response?: string
|
|
236
|
+
idleConnection?: string
|
|
237
|
+
idle?: string
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
export type PathRewritePolicy = {
|
|
241
|
+
oldPath?: string
|
|
242
|
+
replacement?: string
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
export type RetryPolicy = {
|
|
246
|
+
count?: string
|
|
247
|
+
perTryTimeout?: string
|
|
248
|
+
retriablesStatusCode?: number[]
|
|
249
|
+
httpRetryOn?: HttpRetryOn
|
|
250
|
+
grpcRetryOn?: GrpcRetryOn
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
export type HttpRetryOn = {
|
|
254
|
+
httpRetryOn?: HttpRetryOnEnum[]
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
export type GrpcRetryOn = {
|
|
258
|
+
grpcRetryOn?: GrpcRetryOnEnum[]
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
export type WebsocketPolicy = {
|
|
262
|
+
enabled?: boolean
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
export type HealthCheckPolicy = {
|
|
266
|
+
healthThresholdCount?: string
|
|
267
|
+
host?: string
|
|
268
|
+
intervalSeconds?: string
|
|
269
|
+
path?: string
|
|
270
|
+
timeoutSeconds?: string
|
|
271
|
+
unhealthThresholdCount?: string
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
export type HeaderPolicy = {
|
|
275
|
+
remove?: string[]
|
|
276
|
+
set?: Header[]
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
export type Header = {
|
|
280
|
+
name?: string
|
|
281
|
+
value?: string
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
export type JWTPreRoutePolicyJWTConfig = {
|
|
285
|
+
require?: string
|
|
286
|
+
disabled?: boolean
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
export type JWTPreRoutePolicy = {
|
|
290
|
+
default?: boolean
|
|
291
|
+
jwtConfig?: JWTPreRoutePolicyJWTConfig
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
export type AuthPreRoutePolicyAuthConfig = {
|
|
295
|
+
context?: {[key: string]: string}
|
|
296
|
+
disabled?: boolean
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
export type AuthPreRoutePolicy = {
|
|
300
|
+
default?: boolean
|
|
301
|
+
authConfig?: AuthPreRoutePolicyAuthConfig
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
export type CookieRewritePolicy = {
|
|
305
|
+
name?: string
|
|
306
|
+
cookieDomainRewrite?: CookieDomainRewrite
|
|
307
|
+
cookiePathRewrite?: CookiePathRewrite
|
|
308
|
+
cookieSameSite?: CookieSameSite
|
|
309
|
+
cookieSecure?: CookieSecure
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
export type CookiePathRewrite = {
|
|
313
|
+
path?: string
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
export type CookieDomainRewrite = {
|
|
317
|
+
domain?: string
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
export type CookieSecure = {
|
|
321
|
+
secure?: boolean
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
export type CookieSameSite = {
|
|
325
|
+
sameSite?: CookieSameSitesameSite
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
export type IPPolicy = {
|
|
329
|
+
level?: IPPolicyLevel
|
|
330
|
+
allowRules?: IPPolicyRule[]
|
|
331
|
+
denyRules?: IPPolicyRule[]
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
export type IPPolicyRule = {
|
|
335
|
+
cidr?: string
|
|
336
|
+
source?: IPSource
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
export type ExtProcPreRoutePolicyExtProcConfig = {
|
|
340
|
+
extProcPluginName?: string
|
|
341
|
+
disabled?: boolean
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
export type ExtProcPreRoutePolicy = {
|
|
345
|
+
default?: boolean
|
|
346
|
+
extProcConfig?: ExtProcPreRoutePolicyExtProcConfig
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
export type GlobalRateLimitPreRoutePolicyGlobalRatelimitConfig = {
|
|
350
|
+
disabled?: boolean
|
|
351
|
+
globalRateLimitConfig?: SkoalaApiGeneralV1alpha2Ratelimit.GlobalRatelimitPolicy
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
export type GlobalRateLimitPreRoutePolicy = {
|
|
355
|
+
default?: boolean
|
|
356
|
+
globalRateLimitConfig?: GlobalRateLimitPreRoutePolicyGlobalRatelimitConfig
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
export type LocalRateLimitPolicy = {
|
|
360
|
+
burst?: number
|
|
361
|
+
request?: number
|
|
362
|
+
responseHeadersToAdd?: Header[]
|
|
363
|
+
responseStatusCode?: SkoalaApiHostedV1alpha1Http.HttpStatus
|
|
364
|
+
unit?: SkoalaApiGeneralV1alpha1Common.TimeUnit
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
export type DeleteAPIReq = {
|
|
368
|
+
workspaceId?: string
|
|
369
|
+
gatewayName?: string
|
|
370
|
+
clusterName?: string
|
|
371
|
+
namespaceName?: string
|
|
372
|
+
apiName?: string
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
export type ListAPIHistoryReq = {
|
|
376
|
+
workspaceId?: string
|
|
377
|
+
gatewayName?: string
|
|
378
|
+
clusterName?: string
|
|
379
|
+
namespaceName?: string
|
|
380
|
+
apiName?: string
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
export type ListAPIHistoryRes = {
|
|
384
|
+
items?: APIHistory[]
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
export type APIHistory = {
|
|
388
|
+
version?: string
|
|
389
|
+
createTime?: string
|
|
390
|
+
description?: string
|
|
391
|
+
enabled?: boolean
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
export type UpdateAPIStatusReq = {
|
|
395
|
+
workspaceId?: string
|
|
396
|
+
gatewayName?: string
|
|
397
|
+
clusterName?: string
|
|
398
|
+
namespaceName?: string
|
|
399
|
+
apiName?: string
|
|
400
|
+
apiVersion?: string
|
|
401
|
+
enabled?: boolean
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
export type UpdateAPIDescriptionReq = {
|
|
405
|
+
workspaceId?: string
|
|
406
|
+
gatewayName?: string
|
|
407
|
+
clusterName?: string
|
|
408
|
+
namespaceName?: string
|
|
409
|
+
apiName?: string
|
|
410
|
+
apiVersion?: string
|
|
411
|
+
description?: string
|
|
412
|
+
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@daocloud-proto/skoala",
|
|
3
|
-
"version": "0.49.0-
|
|
4
|
-
"description": "",
|
|
3
|
+
"version": "0.49.0-26",
|
|
5
4
|
"main": "index.js",
|
|
6
5
|
"scripts": {
|
|
7
6
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
7
|
},
|
|
9
8
|
"keywords": [],
|
|
10
9
|
"author": "",
|
|
11
|
-
"license": "ISC"
|
|
10
|
+
"license": "ISC",
|
|
11
|
+
"description": ""
|
|
12
12
|
}
|