kb-cloud-client-typescript 2.3.0-alpha.115 → 2.3.0-alpha.116
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/dist/adminapi/models/index.d.ts +4 -3
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +4 -3
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/postgresql-lock-analysis.d.ts +7 -7
- package/dist/adminapi/models/postgresql-lock-analysis.d.ts.map +1 -1
- package/dist/adminapi/models/postgresql-wait-graph-edge-evidence.d.ts +32 -0
- package/dist/adminapi/models/postgresql-wait-graph-edge-evidence.d.ts.map +1 -0
- package/dist/adminapi/models/postgresql-wait-graph-edge-evidence.js +16 -0
- package/dist/adminapi/models/postgresql-wait-graph-edge-evidence.js.map +1 -0
- package/dist/adminapi/models/{postgresql-wait-chain-edge.d.ts → postgresql-wait-graph-edge.d.ts} +12 -5
- package/dist/adminapi/models/postgresql-wait-graph-edge.d.ts.map +1 -0
- package/dist/adminapi/models/{postgresql-wait-chain-edge.js → postgresql-wait-graph-edge.js} +1 -1
- package/dist/adminapi/models/postgresql-wait-graph-edge.js.map +1 -0
- package/dist/adminapi/models/{postgresql-wait-chain-node.d.ts → postgresql-wait-graph-node.d.ts} +5 -11
- package/dist/adminapi/models/postgresql-wait-graph-node.d.ts.map +1 -0
- package/dist/adminapi/models/{postgresql-wait-chain-node.js → postgresql-wait-graph-node.js} +1 -1
- package/dist/adminapi/models/postgresql-wait-graph-node.js.map +1 -0
- package/dist/adminapi/models/postgresql-wait-graph.d.ts +33 -0
- package/dist/adminapi/models/{postgresql-wait-chain.d.ts.map → postgresql-wait-graph.d.ts.map} +1 -1
- package/dist/adminapi/models/{postgresql-wait-chain.js → postgresql-wait-graph.js} +1 -1
- package/dist/adminapi/models/postgresql-wait-graph.js.map +1 -0
- package/dist/openapi/models/index.d.ts +4 -3
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +4 -3
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/postgresql-lock-analysis.d.ts +7 -7
- package/dist/openapi/models/postgresql-lock-analysis.d.ts.map +1 -1
- package/dist/openapi/models/{postgresql-wait-chain.d.ts → postgresql-wait-graph-edge-evidence.d.ts} +12 -13
- package/dist/openapi/models/postgresql-wait-graph-edge-evidence.d.ts.map +1 -0
- package/dist/openapi/models/postgresql-wait-graph-edge-evidence.js +16 -0
- package/dist/openapi/models/postgresql-wait-graph-edge-evidence.js.map +1 -0
- package/dist/openapi/models/{postgresql-wait-chain-edge.d.ts → postgresql-wait-graph-edge.d.ts} +12 -5
- package/dist/openapi/models/postgresql-wait-graph-edge.d.ts.map +1 -0
- package/dist/openapi/models/{postgresql-wait-chain-edge.js → postgresql-wait-graph-edge.js} +1 -1
- package/dist/openapi/models/postgresql-wait-graph-edge.js.map +1 -0
- package/dist/openapi/models/{postgresql-wait-chain-node.d.ts → postgresql-wait-graph-node.d.ts} +5 -11
- package/dist/openapi/models/postgresql-wait-graph-node.d.ts.map +1 -0
- package/dist/openapi/models/{postgresql-wait-chain-node.js → postgresql-wait-graph-node.js} +1 -1
- package/dist/openapi/models/postgresql-wait-graph-node.js.map +1 -0
- package/dist/openapi/models/postgresql-wait-graph.d.ts +33 -0
- package/dist/openapi/models/{postgresql-wait-chain.d.ts.map → postgresql-wait-graph.d.ts.map} +1 -1
- package/dist/openapi/models/{postgresql-wait-chain.js → postgresql-wait-graph.js} +1 -1
- package/dist/openapi/models/postgresql-wait-graph.js.map +1 -0
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +4 -3
- package/src/adminapi/models/index.ts +4 -3
- package/src/adminapi/models/postgresql-lock-analysis.ts +7 -7
- package/src/adminapi/models/postgresql-wait-graph-edge-evidence.ts +39 -0
- package/src/adminapi/models/{postgresql-wait-chain-edge.ts → postgresql-wait-graph-edge.ts} +13 -4
- package/src/adminapi/models/{postgresql-wait-chain-node.ts → postgresql-wait-graph-node.ts} +4 -10
- package/src/adminapi/models/postgresql-wait-graph.ts +42 -0
- package/src/adminapi.yaml +32 -16
- package/src/openapi/.openapi-generator/FILES +4 -3
- package/src/openapi/models/index.ts +4 -3
- package/src/openapi/models/postgresql-lock-analysis.ts +7 -7
- package/src/openapi/models/{postgresql-wait-chain.ts → postgresql-wait-graph-edge-evidence.ts} +11 -14
- package/src/openapi/models/{postgresql-wait-chain-edge.ts → postgresql-wait-graph-edge.ts} +13 -4
- package/src/openapi/models/{postgresql-wait-chain-node.ts → postgresql-wait-graph-node.ts} +4 -10
- package/src/openapi/models/postgresql-wait-graph.ts +42 -0
- package/src/openapi.yaml +32 -16
- package/dist/adminapi/models/postgresql-wait-chain-edge.d.ts.map +0 -1
- package/dist/adminapi/models/postgresql-wait-chain-edge.js.map +0 -1
- package/dist/adminapi/models/postgresql-wait-chain-node.d.ts.map +0 -1
- package/dist/adminapi/models/postgresql-wait-chain-node.js.map +0 -1
- package/dist/adminapi/models/postgresql-wait-chain.d.ts +0 -33
- package/dist/adminapi/models/postgresql-wait-chain.js.map +0 -1
- package/dist/openapi/models/postgresql-wait-chain-edge.d.ts.map +0 -1
- package/dist/openapi/models/postgresql-wait-chain-edge.js.map +0 -1
- package/dist/openapi/models/postgresql-wait-chain-node.d.ts.map +0 -1
- package/dist/openapi/models/postgresql-wait-chain-node.js.map +0 -1
- package/dist/openapi/models/postgresql-wait-chain.js.map +0 -1
- package/src/adminapi/models/postgresql-wait-chain.ts +0 -42
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
import type { PostgresqlDeadlockEvidence } from './postgresql-deadlock-evidence';
|
|
13
13
|
import type { PostgresqlLockRow } from './postgresql-lock-row';
|
|
14
14
|
import type { PostgresqlSession } from './postgresql-session';
|
|
15
|
-
import type {
|
|
15
|
+
import type { PostgresqlWaitGraph } from './postgresql-wait-graph';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
@@ -26,17 +26,17 @@ export interface PostgresqlLockAnalysis {
|
|
|
26
26
|
*/
|
|
27
27
|
'selectedSession': PostgresqlSession;
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* Sessions that directly block the selected session in the current snapshot.
|
|
30
30
|
* @type {Array<PostgresqlSession>}
|
|
31
31
|
* @memberof PostgresqlLockAnalysis
|
|
32
32
|
*/
|
|
33
|
-
'
|
|
33
|
+
'directBlockingSessions': Array<PostgresqlSession>;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Sessions that are directly blocked by the selected session in the current snapshot.
|
|
36
36
|
* @type {Array<PostgresqlSession>}
|
|
37
37
|
* @memberof PostgresqlLockAnalysis
|
|
38
38
|
*/
|
|
39
|
-
'
|
|
39
|
+
'directBlockedSessions': Array<PostgresqlSession>;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @type {Array<PostgresqlLockRow>}
|
|
@@ -45,10 +45,10 @@ export interface PostgresqlLockAnalysis {
|
|
|
45
45
|
'lockRows': Array<PostgresqlLockRow>;
|
|
46
46
|
/**
|
|
47
47
|
*
|
|
48
|
-
* @type {
|
|
48
|
+
* @type {PostgresqlWaitGraph}
|
|
49
49
|
* @memberof PostgresqlLockAnalysis
|
|
50
50
|
*/
|
|
51
|
-
'
|
|
51
|
+
'waitGraph': PostgresqlWaitGraph;
|
|
52
52
|
/**
|
|
53
53
|
*
|
|
54
54
|
* @type {PostgresqlDeadlockEvidence}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postgresql-lock-analysis.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/postgresql-lock-analysis.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAGjF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAG/D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAG9D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAEnE;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,iBAAiB,EAAE,iBAAiB,CAAC;IACrC;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"postgresql-lock-analysis.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/postgresql-lock-analysis.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAGjF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAG/D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAG9D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAEnE;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,iBAAiB,EAAE,iBAAiB,CAAC;IACrC;;;;OAIG;IACH,wBAAwB,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;IACnD;;;;OAIG;IACH,uBAAuB,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;IAClD;;;;OAIG;IACH,UAAU,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;IACrC;;;;OAIG;IACH,WAAW,EAAE,mBAAmB,CAAC;IACjC;;;;OAIG;IACH,UAAU,EAAE,0BAA0B,CAAC;IACvC;;;;OAIG;IACH,aAAa,EAAE,OAAO,CAAC;IACvB;;;;OAIG;IACH,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1B;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;CACxB"}
|
package/dist/openapi/models/{postgresql-wait-chain.d.ts → postgresql-wait-graph-edge-evidence.d.ts}
RENAMED
|
@@ -9,25 +9,24 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
13
|
-
import type { PostgresqlWaitChainNode } from './postgresql-wait-chain-node';
|
|
12
|
+
import type { PostgresqlLockRow } from './postgresql-lock-row';
|
|
14
13
|
/**
|
|
15
14
|
*
|
|
16
15
|
* @export
|
|
17
|
-
* @interface
|
|
16
|
+
* @interface PostgresqlWaitGraphEdgeEvidence
|
|
18
17
|
*/
|
|
19
|
-
export interface
|
|
18
|
+
export interface PostgresqlWaitGraphEdgeEvidence {
|
|
20
19
|
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {Array<
|
|
23
|
-
* @memberof
|
|
20
|
+
* Lock rows the backend can associate with this wait edge.
|
|
21
|
+
* @type {Array<PostgresqlLockRow>}
|
|
22
|
+
* @memberof PostgresqlWaitGraphEdgeEvidence
|
|
24
23
|
*/
|
|
25
|
-
'
|
|
24
|
+
'lockRows': Array<PostgresqlLockRow>;
|
|
26
25
|
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {
|
|
29
|
-
* @memberof
|
|
26
|
+
* Non-empty when the backend cannot associate precise lock rows with this edge.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof PostgresqlWaitGraphEdgeEvidence
|
|
30
29
|
*/
|
|
31
|
-
'
|
|
30
|
+
'limitation': string;
|
|
32
31
|
}
|
|
33
|
-
//# sourceMappingURL=postgresql-wait-
|
|
32
|
+
//# sourceMappingURL=postgresql-wait-graph-edge-evidence.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"postgresql-wait-graph-edge-evidence.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/postgresql-wait-graph-edge-evidence.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D;;;;GAIG;AACH,MAAM,WAAW,+BAA+B;IAC5C;;;;OAIG;IACH,UAAU,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;IACrC;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;CACxB"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* KubeBlocks Cloud API
|
|
6
|
+
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: support@apecloud.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
//# sourceMappingURL=postgresql-wait-graph-edge-evidence.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"postgresql-wait-graph-edge-evidence.js","sourceRoot":"","sources":["../../../src/openapi/models/postgresql-wait-graph-edge-evidence.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
package/dist/openapi/models/{postgresql-wait-chain-edge.d.ts → postgresql-wait-graph-edge.d.ts}
RENAMED
|
@@ -9,23 +9,30 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { PostgresqlWaitGraphEdgeEvidence } from './postgresql-wait-graph-edge-evidence';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
15
|
-
* @interface
|
|
16
|
+
* @interface PostgresqlWaitGraphEdge
|
|
16
17
|
*/
|
|
17
|
-
export interface
|
|
18
|
+
export interface PostgresqlWaitGraphEdge {
|
|
18
19
|
/**
|
|
19
20
|
* PID that blocks another session.
|
|
20
21
|
* @type {number}
|
|
21
|
-
* @memberof
|
|
22
|
+
* @memberof PostgresqlWaitGraphEdge
|
|
22
23
|
*/
|
|
23
24
|
'blockingPid': number;
|
|
24
25
|
/**
|
|
25
26
|
* PID that is blocked by another session.
|
|
26
27
|
* @type {number}
|
|
27
|
-
* @memberof
|
|
28
|
+
* @memberof PostgresqlWaitGraphEdge
|
|
28
29
|
*/
|
|
29
30
|
'blockedPid': number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {PostgresqlWaitGraphEdgeEvidence}
|
|
34
|
+
* @memberof PostgresqlWaitGraphEdge
|
|
35
|
+
*/
|
|
36
|
+
'evidence': PostgresqlWaitGraphEdgeEvidence;
|
|
30
37
|
}
|
|
31
|
-
//# sourceMappingURL=postgresql-wait-
|
|
38
|
+
//# sourceMappingURL=postgresql-wait-graph-edge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"postgresql-wait-graph-edge.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/postgresql-wait-graph-edge.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,uCAAuC,CAAC;AAE7F;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACpC;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,UAAU,EAAE,+BAA+B,CAAC;CAC/C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"postgresql-wait-graph-edge.js","sourceRoot":"","sources":["../../../src/openapi/models/postgresql-wait-graph-edge.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
package/dist/openapi/models/{postgresql-wait-chain-node.d.ts → postgresql-wait-graph-node.d.ts}
RENAMED
|
@@ -13,26 +13,20 @@ import type { PostgresqlSession } from './postgresql-session';
|
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
16
|
-
* @interface
|
|
16
|
+
* @interface PostgresqlWaitGraphNode
|
|
17
17
|
*/
|
|
18
|
-
export interface
|
|
18
|
+
export interface PostgresqlWaitGraphNode {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
21
|
* @type {number}
|
|
22
|
-
* @memberof
|
|
22
|
+
* @memberof PostgresqlWaitGraphNode
|
|
23
23
|
*/
|
|
24
24
|
'pid': number;
|
|
25
|
-
/**
|
|
26
|
-
* Role in the selected session wait graph. Known values are selected, blocking, blocked, and related.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof PostgresqlWaitChainNode
|
|
29
|
-
*/
|
|
30
|
-
'role': string;
|
|
31
25
|
/**
|
|
32
26
|
*
|
|
33
27
|
* @type {PostgresqlSession}
|
|
34
|
-
* @memberof
|
|
28
|
+
* @memberof PostgresqlWaitGraphNode
|
|
35
29
|
*/
|
|
36
30
|
'session'?: PostgresqlSession;
|
|
37
31
|
}
|
|
38
|
-
//# sourceMappingURL=postgresql-wait-
|
|
32
|
+
//# sourceMappingURL=postgresql-wait-graph-node.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"postgresql-wait-graph-node.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/postgresql-wait-graph-node.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAE9D;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACpC;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,SAAS,CAAC,EAAE,iBAAiB,CAAC;CACjC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"postgresql-wait-graph-node.js","sourceRoot":"","sources":["../../../src/openapi/models/postgresql-wait-graph-node.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* KubeBlocks Cloud API
|
|
3
|
+
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: support@apecloud.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { PostgresqlWaitGraphEdge } from './postgresql-wait-graph-edge';
|
|
13
|
+
import type { PostgresqlWaitGraphNode } from './postgresql-wait-graph-node';
|
|
14
|
+
/**
|
|
15
|
+
* Wait graph related to the selected PID. It contains the selected session\'s ancestor and descendant wait edges that the backend can prove from the current snapshot; unrelated side branches are intentionally excluded.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PostgresqlWaitGraph
|
|
18
|
+
*/
|
|
19
|
+
export interface PostgresqlWaitGraph {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<PostgresqlWaitGraphNode>}
|
|
23
|
+
* @memberof PostgresqlWaitGraph
|
|
24
|
+
*/
|
|
25
|
+
'nodes': Array<PostgresqlWaitGraphNode>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<PostgresqlWaitGraphEdge>}
|
|
29
|
+
* @memberof PostgresqlWaitGraph
|
|
30
|
+
*/
|
|
31
|
+
'edges': Array<PostgresqlWaitGraphEdge>;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=postgresql-wait-graph.d.ts.map
|
package/dist/openapi/models/{postgresql-wait-chain.d.ts.map → postgresql-wait-graph.d.ts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postgresql-wait-
|
|
1
|
+
{"version":3,"file":"postgresql-wait-graph.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/postgresql-wait-graph.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAG5E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAE5E;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,OAAO,EAAE,KAAK,CAAC,uBAAuB,CAAC,CAAC;IACxC;;;;OAIG;IACH,OAAO,EAAE,KAAK,CAAC,uBAAuB,CAAC,CAAC;CAC3C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"postgresql-wait-graph.js","sourceRoot":"","sources":["../../../src/openapi/models/postgresql-wait-graph.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
package/package.json
CHANGED
|
@@ -722,9 +722,10 @@ models/postgresql-deadlock-evidence.ts
|
|
|
722
722
|
models/postgresql-lock-analysis.ts
|
|
723
723
|
models/postgresql-lock-row.ts
|
|
724
724
|
models/postgresql-session.ts
|
|
725
|
-
models/postgresql-wait-
|
|
726
|
-
models/postgresql-wait-
|
|
727
|
-
models/postgresql-wait-
|
|
725
|
+
models/postgresql-wait-graph-edge-evidence.ts
|
|
726
|
+
models/postgresql-wait-graph-edge.ts
|
|
727
|
+
models/postgresql-wait-graph-node.ts
|
|
728
|
+
models/postgresql-wait-graph.ts
|
|
728
729
|
models/pre-check-result.ts
|
|
729
730
|
models/pre-check-status.ts
|
|
730
731
|
models/pre-check-task-detail.ts
|
|
@@ -624,9 +624,10 @@ export * from './postgresql-deadlock-evidence';
|
|
|
624
624
|
export * from './postgresql-lock-analysis';
|
|
625
625
|
export * from './postgresql-lock-row';
|
|
626
626
|
export * from './postgresql-session';
|
|
627
|
-
export * from './postgresql-wait-
|
|
628
|
-
export * from './postgresql-wait-
|
|
629
|
-
export * from './postgresql-wait-
|
|
627
|
+
export * from './postgresql-wait-graph';
|
|
628
|
+
export * from './postgresql-wait-graph-edge';
|
|
629
|
+
export * from './postgresql-wait-graph-edge-evidence';
|
|
630
|
+
export * from './postgresql-wait-graph-node';
|
|
630
631
|
export * from './pre-check-result';
|
|
631
632
|
export * from './pre-check-status';
|
|
632
633
|
export * from './pre-check-task-detail';
|
|
@@ -24,7 +24,7 @@ import type { PostgresqlLockRow } from './postgresql-lock-row';
|
|
|
24
24
|
import type { PostgresqlSession } from './postgresql-session';
|
|
25
25
|
// May contain unused imports in some cases
|
|
26
26
|
// @ts-ignore
|
|
27
|
-
import type {
|
|
27
|
+
import type { PostgresqlWaitGraph } from './postgresql-wait-graph';
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
@@ -39,17 +39,17 @@ export interface PostgresqlLockAnalysis {
|
|
|
39
39
|
*/
|
|
40
40
|
'selectedSession': PostgresqlSession;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* Sessions that directly block the selected session in the current snapshot.
|
|
43
43
|
* @type {Array<PostgresqlSession>}
|
|
44
44
|
* @memberof PostgresqlLockAnalysis
|
|
45
45
|
*/
|
|
46
|
-
'
|
|
46
|
+
'directBlockingSessions': Array<PostgresqlSession>;
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* Sessions that are directly blocked by the selected session in the current snapshot.
|
|
49
49
|
* @type {Array<PostgresqlSession>}
|
|
50
50
|
* @memberof PostgresqlLockAnalysis
|
|
51
51
|
*/
|
|
52
|
-
'
|
|
52
|
+
'directBlockedSessions': Array<PostgresqlSession>;
|
|
53
53
|
/**
|
|
54
54
|
*
|
|
55
55
|
* @type {Array<PostgresqlLockRow>}
|
|
@@ -58,10 +58,10 @@ export interface PostgresqlLockAnalysis {
|
|
|
58
58
|
'lockRows': Array<PostgresqlLockRow>;
|
|
59
59
|
/**
|
|
60
60
|
*
|
|
61
|
-
* @type {
|
|
61
|
+
* @type {PostgresqlWaitGraph}
|
|
62
62
|
* @memberof PostgresqlLockAnalysis
|
|
63
63
|
*/
|
|
64
|
-
'
|
|
64
|
+
'waitGraph': PostgresqlWaitGraph;
|
|
65
65
|
/**
|
|
66
66
|
*
|
|
67
67
|
* @type {PostgresqlDeadlockEvidence}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { PostgresqlLockRow } from './postgresql-lock-row';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface PostgresqlWaitGraphEdgeEvidence
|
|
24
|
+
*/
|
|
25
|
+
export interface PostgresqlWaitGraphEdgeEvidence {
|
|
26
|
+
/**
|
|
27
|
+
* Lock rows the backend can associate with this wait edge.
|
|
28
|
+
* @type {Array<PostgresqlLockRow>}
|
|
29
|
+
* @memberof PostgresqlWaitGraphEdgeEvidence
|
|
30
|
+
*/
|
|
31
|
+
'lockRows': Array<PostgresqlLockRow>;
|
|
32
|
+
/**
|
|
33
|
+
* Non-empty when the backend cannot associate precise lock rows with this edge.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof PostgresqlWaitGraphEdgeEvidence
|
|
36
|
+
*/
|
|
37
|
+
'limitation': string;
|
|
38
|
+
}
|
|
39
|
+
|
|
@@ -13,24 +13,33 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { PostgresqlWaitGraphEdgeEvidence } from './postgresql-wait-graph-edge-evidence';
|
|
16
19
|
|
|
17
20
|
/**
|
|
18
21
|
*
|
|
19
22
|
* @export
|
|
20
|
-
* @interface
|
|
23
|
+
* @interface PostgresqlWaitGraphEdge
|
|
21
24
|
*/
|
|
22
|
-
export interface
|
|
25
|
+
export interface PostgresqlWaitGraphEdge {
|
|
23
26
|
/**
|
|
24
27
|
* PID that blocks another session.
|
|
25
28
|
* @type {number}
|
|
26
|
-
* @memberof
|
|
29
|
+
* @memberof PostgresqlWaitGraphEdge
|
|
27
30
|
*/
|
|
28
31
|
'blockingPid': number;
|
|
29
32
|
/**
|
|
30
33
|
* PID that is blocked by another session.
|
|
31
34
|
* @type {number}
|
|
32
|
-
* @memberof
|
|
35
|
+
* @memberof PostgresqlWaitGraphEdge
|
|
33
36
|
*/
|
|
34
37
|
'blockedPid': number;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {PostgresqlWaitGraphEdgeEvidence}
|
|
41
|
+
* @memberof PostgresqlWaitGraphEdge
|
|
42
|
+
*/
|
|
43
|
+
'evidence': PostgresqlWaitGraphEdgeEvidence;
|
|
35
44
|
}
|
|
36
45
|
|
|
@@ -20,25 +20,19 @@ import type { PostgresqlSession } from './postgresql-session';
|
|
|
20
20
|
/**
|
|
21
21
|
*
|
|
22
22
|
* @export
|
|
23
|
-
* @interface
|
|
23
|
+
* @interface PostgresqlWaitGraphNode
|
|
24
24
|
*/
|
|
25
|
-
export interface
|
|
25
|
+
export interface PostgresqlWaitGraphNode {
|
|
26
26
|
/**
|
|
27
27
|
*
|
|
28
28
|
* @type {number}
|
|
29
|
-
* @memberof
|
|
29
|
+
* @memberof PostgresqlWaitGraphNode
|
|
30
30
|
*/
|
|
31
31
|
'pid': number;
|
|
32
|
-
/**
|
|
33
|
-
* Role in the selected session wait graph. Known values are selected, blocking, blocked, and related.
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof PostgresqlWaitChainNode
|
|
36
|
-
*/
|
|
37
|
-
'role': string;
|
|
38
32
|
/**
|
|
39
33
|
*
|
|
40
34
|
* @type {PostgresqlSession}
|
|
41
|
-
* @memberof
|
|
35
|
+
* @memberof PostgresqlWaitGraphNode
|
|
42
36
|
*/
|
|
43
37
|
'session'?: PostgresqlSession;
|
|
44
38
|
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { PostgresqlWaitGraphEdge } from './postgresql-wait-graph-edge';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import type { PostgresqlWaitGraphNode } from './postgresql-wait-graph-node';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Wait graph related to the selected PID. It contains the selected session\'s ancestor and descendant wait edges that the backend can prove from the current snapshot; unrelated side branches are intentionally excluded.
|
|
25
|
+
* @export
|
|
26
|
+
* @interface PostgresqlWaitGraph
|
|
27
|
+
*/
|
|
28
|
+
export interface PostgresqlWaitGraph {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {Array<PostgresqlWaitGraphNode>}
|
|
32
|
+
* @memberof PostgresqlWaitGraph
|
|
33
|
+
*/
|
|
34
|
+
'nodes': Array<PostgresqlWaitGraphNode>;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {Array<PostgresqlWaitGraphEdge>}
|
|
38
|
+
* @memberof PostgresqlWaitGraph
|
|
39
|
+
*/
|
|
40
|
+
'edges': Array<PostgresqlWaitGraphEdge>;
|
|
41
|
+
}
|
|
42
|
+
|
package/src/adminapi.yaml
CHANGED
|
@@ -35531,25 +35531,36 @@ components:
|
|
|
35531
35531
|
type: string
|
|
35532
35532
|
objSubID:
|
|
35533
35533
|
type: string
|
|
35534
|
-
|
|
35534
|
+
postgresqlWaitGraphNode:
|
|
35535
35535
|
type: object
|
|
35536
35536
|
required:
|
|
35537
35537
|
- pid
|
|
35538
|
-
- role
|
|
35539
35538
|
properties:
|
|
35540
35539
|
pid:
|
|
35541
35540
|
type: integer
|
|
35542
35541
|
format: int64
|
|
35543
|
-
role:
|
|
35544
|
-
type: string
|
|
35545
|
-
description: Role in the selected session wait graph. Known values are selected, blocking, blocked, and related.
|
|
35546
35542
|
session:
|
|
35547
35543
|
$ref: '#/components/schemas/postgresqlSession'
|
|
35548
|
-
|
|
35544
|
+
postgresqlWaitGraphEdgeEvidence:
|
|
35545
|
+
type: object
|
|
35546
|
+
required:
|
|
35547
|
+
- lockRows
|
|
35548
|
+
- limitation
|
|
35549
|
+
properties:
|
|
35550
|
+
lockRows:
|
|
35551
|
+
type: array
|
|
35552
|
+
description: Lock rows the backend can associate with this wait edge.
|
|
35553
|
+
items:
|
|
35554
|
+
$ref: '#/components/schemas/postgresqlLockRow'
|
|
35555
|
+
limitation:
|
|
35556
|
+
type: string
|
|
35557
|
+
description: Non-empty when the backend cannot associate precise lock rows with this edge.
|
|
35558
|
+
postgresqlWaitGraphEdge:
|
|
35549
35559
|
type: object
|
|
35550
35560
|
required:
|
|
35551
35561
|
- blockingPid
|
|
35552
35562
|
- blockedPid
|
|
35563
|
+
- evidence
|
|
35553
35564
|
properties:
|
|
35554
35565
|
blockingPid:
|
|
35555
35566
|
type: integer
|
|
@@ -35559,8 +35570,11 @@ components:
|
|
|
35559
35570
|
type: integer
|
|
35560
35571
|
format: int64
|
|
35561
35572
|
description: PID that is blocked by another session.
|
|
35562
|
-
|
|
35573
|
+
evidence:
|
|
35574
|
+
$ref: '#/components/schemas/postgresqlWaitGraphEdgeEvidence'
|
|
35575
|
+
postgresqlWaitGraph:
|
|
35563
35576
|
type: object
|
|
35577
|
+
description: Wait graph related to the selected PID. It contains the selected session's ancestor and descendant wait edges that the backend can prove from the current snapshot; unrelated side branches are intentionally excluded.
|
|
35564
35578
|
required:
|
|
35565
35579
|
- nodes
|
|
35566
35580
|
- edges
|
|
@@ -35568,11 +35582,11 @@ components:
|
|
|
35568
35582
|
nodes:
|
|
35569
35583
|
type: array
|
|
35570
35584
|
items:
|
|
35571
|
-
$ref: '#/components/schemas/
|
|
35585
|
+
$ref: '#/components/schemas/postgresqlWaitGraphNode'
|
|
35572
35586
|
edges:
|
|
35573
35587
|
type: array
|
|
35574
35588
|
items:
|
|
35575
|
-
$ref: '#/components/schemas/
|
|
35589
|
+
$ref: '#/components/schemas/postgresqlWaitGraphEdge'
|
|
35576
35590
|
postgresqlDeadlockEvidence:
|
|
35577
35591
|
type: object
|
|
35578
35592
|
required:
|
|
@@ -35590,10 +35604,10 @@ components:
|
|
|
35590
35604
|
type: object
|
|
35591
35605
|
required:
|
|
35592
35606
|
- selectedSession
|
|
35593
|
-
-
|
|
35594
|
-
-
|
|
35607
|
+
- directBlockingSessions
|
|
35608
|
+
- directBlockedSessions
|
|
35595
35609
|
- lockRows
|
|
35596
|
-
-
|
|
35610
|
+
- waitGraph
|
|
35597
35611
|
- deadlock
|
|
35598
35612
|
- cannotProve
|
|
35599
35613
|
- warnings
|
|
@@ -35601,20 +35615,22 @@ components:
|
|
|
35601
35615
|
properties:
|
|
35602
35616
|
selectedSession:
|
|
35603
35617
|
$ref: '#/components/schemas/postgresqlSession'
|
|
35604
|
-
|
|
35618
|
+
directBlockingSessions:
|
|
35605
35619
|
type: array
|
|
35620
|
+
description: Sessions that directly block the selected session in the current snapshot.
|
|
35606
35621
|
items:
|
|
35607
35622
|
$ref: '#/components/schemas/postgresqlSession'
|
|
35608
|
-
|
|
35623
|
+
directBlockedSessions:
|
|
35609
35624
|
type: array
|
|
35625
|
+
description: Sessions that are directly blocked by the selected session in the current snapshot.
|
|
35610
35626
|
items:
|
|
35611
35627
|
$ref: '#/components/schemas/postgresqlSession'
|
|
35612
35628
|
lockRows:
|
|
35613
35629
|
type: array
|
|
35614
35630
|
items:
|
|
35615
35631
|
$ref: '#/components/schemas/postgresqlLockRow'
|
|
35616
|
-
|
|
35617
|
-
$ref: '#/components/schemas/
|
|
35632
|
+
waitGraph:
|
|
35633
|
+
$ref: '#/components/schemas/postgresqlWaitGraph'
|
|
35618
35634
|
deadlock:
|
|
35619
35635
|
$ref: '#/components/schemas/postgresqlDeadlockEvidence'
|
|
35620
35636
|
cannotProve:
|
|
@@ -654,9 +654,10 @@ models/postgresql-deadlock-evidence.ts
|
|
|
654
654
|
models/postgresql-lock-analysis.ts
|
|
655
655
|
models/postgresql-lock-row.ts
|
|
656
656
|
models/postgresql-session.ts
|
|
657
|
-
models/postgresql-wait-
|
|
658
|
-
models/postgresql-wait-
|
|
659
|
-
models/postgresql-wait-
|
|
657
|
+
models/postgresql-wait-graph-edge-evidence.ts
|
|
658
|
+
models/postgresql-wait-graph-edge.ts
|
|
659
|
+
models/postgresql-wait-graph-node.ts
|
|
660
|
+
models/postgresql-wait-graph.ts
|
|
660
661
|
models/pre-check-create.ts
|
|
661
662
|
models/pre-check-result.ts
|
|
662
663
|
models/pre-check-status.ts
|
|
@@ -567,9 +567,10 @@ export * from './postgresql-deadlock-evidence';
|
|
|
567
567
|
export * from './postgresql-lock-analysis';
|
|
568
568
|
export * from './postgresql-lock-row';
|
|
569
569
|
export * from './postgresql-session';
|
|
570
|
-
export * from './postgresql-wait-
|
|
571
|
-
export * from './postgresql-wait-
|
|
572
|
-
export * from './postgresql-wait-
|
|
570
|
+
export * from './postgresql-wait-graph';
|
|
571
|
+
export * from './postgresql-wait-graph-edge';
|
|
572
|
+
export * from './postgresql-wait-graph-edge-evidence';
|
|
573
|
+
export * from './postgresql-wait-graph-node';
|
|
573
574
|
export * from './pre-check-create';
|
|
574
575
|
export * from './pre-check-result';
|
|
575
576
|
export * from './pre-check-status';
|