@daocloud-proto/mcamel-mysql 0.1.5-87 → 0.1.5-90

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.
Files changed (2) hide show
  1. package/mysql.pb.ts +4 -4
  2. package/package.json +1 -1
package/mysql.pb.ts CHANGED
@@ -87,7 +87,7 @@ export enum GetMysqlConfRespItemsParamType {
87
87
  conf = "conf",
88
88
  }
89
89
 
90
- export type RecoverReq = {
90
+ export type RecoverMysqlReq = {
91
91
  workspaceId?: number
92
92
  cluster?: string
93
93
  namespace?: string
@@ -96,7 +96,7 @@ export type RecoverReq = {
96
96
  targetMysqlClusterName?: string
97
97
  }
98
98
 
99
- export type RecoverResp = {
99
+ export type RecoverMysqlResp = {
100
100
  message?: string
101
101
  }
102
102
 
@@ -579,7 +579,7 @@ export class Mysql {
579
579
  static SetMysqlBackupSecret(req: SetMysqlBackupSecretReq, initReq?: fm.InitReq): Promise<SetMysqlBackupSecretResp> {
580
580
  return fm.fetchReq<SetMysqlBackupSecretReq, SetMysqlBackupSecretResp>(`/apis/mcamel.io/mysql/v1alpha1/mysql/${req["workspaceId"]}/secret`, {...initReq, method: "PUT", body: JSON.stringify(req)})
581
581
  }
582
- static Recover(req: RecoverReq, initReq?: fm.InitReq): Promise<RecoverResp> {
583
- return fm.fetchReq<RecoverReq, RecoverResp>(`/apis/mcamel.io/mysql/v1alpha1/mysql/${req["cluster"]}/${req["namespace"]}/${req["name"]}/recover`, {...initReq, method: "POST", body: JSON.stringify(req)})
582
+ static RecoverMysql(req: RecoverMysqlReq, initReq?: fm.InitReq): Promise<RecoverMysqlResp> {
583
+ return fm.fetchReq<RecoverMysqlReq, RecoverMysqlResp>(`/apis/mcamel.io/mysql/v1alpha1/mysql/${req["cluster"]}/${req["namespace"]}/${req["name"]}/recover`, {...initReq, method: "POST", body: JSON.stringify(req)})
584
584
  }
585
585
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/mcamel-mysql",
3
- "version":"0.1.5-87",
3
+ "version":"0.1.5-90",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {