@daocloud-proto/mcamel-postgresql 0.0.2-473 → 0.0.2-474

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/package.json +1 -1
  2. package/postgresql.pb.ts +21 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/mcamel-postgresql",
3
- "version":"0.0.2-473",
3
+ "version":"0.0.2-474",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/postgresql.pb.ts CHANGED
@@ -33,8 +33,25 @@ export enum GetPostgresqlTopologyRespNodePodStatus {
33
33
 
34
34
  export enum GetPostgresqlTopologyRespNodeRole {
35
35
  RoleUnknown = "RoleUnknown",
36
- RoleMaster = "RoleMaster",
37
- RoleReplica = "RoleReplica",
36
+ Primary = "Primary",
37
+ Standby = "Standby",
38
+ }
39
+
40
+ export enum GetPostgresqlTopologyRespNodeSyncState {
41
+ SyncStateUnknown = "SyncStateUnknown",
42
+ Sync = "Sync",
43
+ Async = "Async",
44
+ Potential = "Potential",
45
+ Quorum = "Quorum",
46
+ }
47
+
48
+ export enum GetPostgresqlTopologyRespNodeState {
49
+ StateUnknown = "StateUnknown",
50
+ Startup = "Startup",
51
+ Catchup = "Catchup",
52
+ Streaming = "Streaming",
53
+ Backup = "Backup",
54
+ Stopping = "Stopping",
38
55
  }
39
56
 
40
57
  export enum GetPostgresqlS3ConfigListReqSortDir {
@@ -143,7 +160,8 @@ export type GetPostgresqlTopologyRespNode = {
143
160
  podCpuLimit?: string
144
161
  podMemoryLimit?: string
145
162
  role?: GetPostgresqlTopologyRespNodeRole
146
- syncState?: string
163
+ syncState?: GetPostgresqlTopologyRespNodeSyncState
164
+ state?: GetPostgresqlTopologyRespNodeState
147
165
  sentLsn?: string
148
166
  writeLsn?: string
149
167
  flushLsn?: string