@daocloud-proto/mcamel-mysql 0.1.1-15 → 0.1.1-7
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/mysql.pb.ts +0 -11
- package/package.json +1 -1
package/mysql.pb.ts
CHANGED
|
@@ -105,10 +105,6 @@ export type GetMysqlBackupSecretReq = {
|
|
|
105
105
|
workspaceId?: number
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
export type GetMysqlBackupProviderListReq = {
|
|
109
|
-
workspaceId?: number
|
|
110
|
-
}
|
|
111
|
-
|
|
112
108
|
export type GetMysqlBackupListRespGetMysqlBackupItemStatus = {
|
|
113
109
|
status?: GetMysqlBackupListRespGetMysqlBackupItemStatusStatus
|
|
114
110
|
message?: string
|
|
@@ -319,10 +315,6 @@ export type GetMysqlParamResp = {
|
|
|
319
315
|
cnf?: GetMysqlParamRespSelect
|
|
320
316
|
}
|
|
321
317
|
|
|
322
|
-
export type GetMysqlBackupProviderListResp = {
|
|
323
|
-
provider?: GetMysqlParamRespSelect
|
|
324
|
-
}
|
|
325
|
-
|
|
326
318
|
export type CreateMysqlResp = {
|
|
327
319
|
message?: string
|
|
328
320
|
}
|
|
@@ -524,9 +516,6 @@ export class Mysql {
|
|
|
524
516
|
static GetMysqlBackupSecret(req: GetMysqlBackupSecretReq, initReq?: fm.InitReq): Promise<GetMysqlBackupSecretResp> {
|
|
525
517
|
return fm.fetchReq<GetMysqlBackupSecretReq, GetMysqlBackupSecretResp>(`/apis/mcamel.io/mysql/v1alpha1/mysql/${req["workspaceId"]}/secret?${fm.renderURLSearchParams(req, ["workspaceId"])}`, {...initReq, method: "GET"})
|
|
526
518
|
}
|
|
527
|
-
static GetMysqlBackupProviderList(req: GetMysqlBackupProviderListReq, initReq?: fm.InitReq): Promise<GetMysqlBackupProviderListResp> {
|
|
528
|
-
return fm.fetchReq<GetMysqlBackupProviderListReq, GetMysqlBackupProviderListResp>(`/apis/mcamel.io/mysql/v1alpha1/mysql/${req["workspaceId"]}/providers?${fm.renderURLSearchParams(req, ["workspaceId"])}`, {...initReq, method: "GET"})
|
|
529
|
-
}
|
|
530
519
|
static SetMysqlBackupSecret(req: SetMysqlBackupSecretReq, initReq?: fm.InitReq): Promise<SetMysqlBackupSecretResp> {
|
|
531
520
|
return fm.fetchReq<SetMysqlBackupSecretReq, SetMysqlBackupSecretResp>(`/apis/mcamel.io/mysql/v1alpha1/mysql/${req["workspaceId"]}/secret`, {...initReq, method: "PUT", body: JSON.stringify(req)})
|
|
532
521
|
}
|