@daocloud-proto/skoala 0.27.2-92 → 0.27.2-96
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.
|
@@ -4,10 +4,16 @@
|
|
|
4
4
|
* This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
+
export enum InputPattern {
|
|
8
|
+
PATTERN_TYPE_UNSPECIFIED = "PATTERN_TYPE_UNSPECIFIED",
|
|
9
|
+
ADDRESS_PATTERN = "ADDRESS_PATTERN",
|
|
10
|
+
DETAIL_PATTERN = "DETAIL_PATTERN",
|
|
11
|
+
}
|
|
12
|
+
|
|
7
13
|
export enum APIDataType {
|
|
8
14
|
DATA_TYPE_UNSPECIFIED = "DATA_TYPE_UNSPECIFIED",
|
|
9
|
-
|
|
10
|
-
|
|
15
|
+
swagger = "swagger",
|
|
16
|
+
markdown = "markdown",
|
|
11
17
|
}
|
|
12
18
|
|
|
13
19
|
export enum OrderBy {
|
|
@@ -164,6 +170,10 @@ export type API = {
|
|
|
164
170
|
nacosGroupName?: string
|
|
165
171
|
dataType?: APIDataType
|
|
166
172
|
detail?: string
|
|
173
|
+
address?: string
|
|
174
|
+
inputPattern?: InputPattern
|
|
175
|
+
createAt?: string
|
|
176
|
+
updateAt?: string
|
|
167
177
|
}
|
|
168
178
|
|
|
169
179
|
export type Image = {
|
|
@@ -334,4 +334,12 @@ export type ListWorkspaceRolePermissionsReq = {
|
|
|
334
334
|
|
|
335
335
|
export type ListWorkspaceRolePermissionsRes = {
|
|
336
336
|
permissions?: string[]
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
export type ListSwaggerReq = {
|
|
340
|
+
swaggerUrl?: string
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
export type ListSwaggerRes = {
|
|
344
|
+
item?: string
|
|
337
345
|
}
|
|
@@ -364,6 +364,8 @@ export type CreateNacosServiceAPIReq = {
|
|
|
364
364
|
nacosService?: string
|
|
365
365
|
dataType?: SkoalaApiGeneralV1alpha1Common.APIDataType
|
|
366
366
|
detail?: string
|
|
367
|
+
address?: string
|
|
368
|
+
inputPattern?: SkoalaApiGeneralV1alpha1Common.InputPattern
|
|
367
369
|
}
|
|
368
370
|
|
|
369
371
|
export type UpdateNacosServiceAPIReq = {
|
|
@@ -377,6 +379,8 @@ export type UpdateNacosServiceAPIReq = {
|
|
|
377
379
|
apiId?: number
|
|
378
380
|
dataType?: SkoalaApiGeneralV1alpha1Common.APIDataType
|
|
379
381
|
detail?: string
|
|
382
|
+
address?: string
|
|
383
|
+
inputPattern?: SkoalaApiGeneralV1alpha1Common.InputPattern
|
|
380
384
|
}
|
|
381
385
|
|
|
382
386
|
export type DeleteNacosServiceAPIReq = {
|
|
@@ -76,6 +76,8 @@ export type CreateServiceAPIReq = {
|
|
|
76
76
|
serviceName?: string
|
|
77
77
|
dataType?: SkoalaApiGeneralV1alpha1Common.APIDataType
|
|
78
78
|
detail?: string
|
|
79
|
+
address?: string
|
|
80
|
+
inputPattern?: SkoalaApiGeneralV1alpha1Common.InputPattern
|
|
79
81
|
}
|
|
80
82
|
|
|
81
83
|
export type UpdateServiceAPIReq = {
|
|
@@ -84,6 +86,8 @@ export type UpdateServiceAPIReq = {
|
|
|
84
86
|
serviceName?: string
|
|
85
87
|
dataType?: SkoalaApiGeneralV1alpha1Common.APIDataType
|
|
86
88
|
detail?: string
|
|
89
|
+
address?: string
|
|
90
|
+
inputPattern?: SkoalaApiGeneralV1alpha1Common.InputPattern
|
|
87
91
|
apiId?: number
|
|
88
92
|
}
|
|
89
93
|
|
|
@@ -105,6 +105,9 @@ export class Skoala {
|
|
|
105
105
|
static ListWorkspaceRolePermissions(req: SkoalaApiGeneralV1alpha1Skoala.ListWorkspaceRolePermissionsReq, initReq?: fm.InitReq): Promise<SkoalaApiGeneralV1alpha1Skoala.ListWorkspaceRolePermissionsRes> {
|
|
106
106
|
return fm.fetchReq<SkoalaApiGeneralV1alpha1Skoala.ListWorkspaceRolePermissionsReq, SkoalaApiGeneralV1alpha1Skoala.ListWorkspaceRolePermissionsRes>(`/apis/skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/permissions?${fm.renderURLSearchParams(req, ["workspaceId"])}`, {...initReq, method: "GET"})
|
|
107
107
|
}
|
|
108
|
+
static GetSwaggerDetail(req: SkoalaApiGeneralV1alpha1Skoala.ListSwaggerReq, initReq?: fm.InitReq): Promise<SkoalaApiGeneralV1alpha1Skoala.ListSwaggerRes> {
|
|
109
|
+
return fm.fetchReq<SkoalaApiGeneralV1alpha1Skoala.ListSwaggerReq, SkoalaApiGeneralV1alpha1Skoala.ListSwaggerRes>(`/apis/skoala.io/v1alpha1/swagger?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
110
|
+
}
|
|
108
111
|
}
|
|
109
112
|
export class Registry {
|
|
110
113
|
static List(req: SkoalaApiIntegratedV1alpha1Registry.ListRegistryReq, initReq?: fm.InitReq): Promise<SkoalaApiIntegratedV1alpha1Registry.ListRegistryRes> {
|