@scaleway/sdk-serverless-sqldb 2.13.0 → 2.14.1
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.
|
@@ -14,6 +14,7 @@ const unmarshalDatabaseBackup = (data) => {
|
|
|
14
14
|
projectId: data.project_id,
|
|
15
15
|
region: data.region,
|
|
16
16
|
size: data.size,
|
|
17
|
+
srn: data.srn,
|
|
17
18
|
status: data.status
|
|
18
19
|
};
|
|
19
20
|
};
|
|
@@ -22,7 +23,8 @@ const unmarshalVersion = (data) => {
|
|
|
22
23
|
return {
|
|
23
24
|
endOfLifeAt: unmarshalDate(data.end_of_life_at),
|
|
24
25
|
name: data.name,
|
|
25
|
-
region: data.region
|
|
26
|
+
region: data.region,
|
|
27
|
+
srn: data.srn
|
|
26
28
|
};
|
|
27
29
|
};
|
|
28
30
|
const unmarshalDatabase = (data) => {
|
|
@@ -39,6 +41,7 @@ const unmarshalDatabase = (data) => {
|
|
|
39
41
|
organizationId: data.organization_id,
|
|
40
42
|
projectId: data.project_id,
|
|
41
43
|
region: data.region,
|
|
44
|
+
srn: data.srn,
|
|
42
45
|
started: data.started,
|
|
43
46
|
status: data.status,
|
|
44
47
|
version: data.version ? unmarshalVersion(data.version) : void 0
|
|
@@ -8,6 +8,10 @@ export interface Version {
|
|
|
8
8
|
* Major number of the PostgreSQL engine.
|
|
9
9
|
*/
|
|
10
10
|
name: string;
|
|
11
|
+
/**
|
|
12
|
+
* The SRN of the version.
|
|
13
|
+
*/
|
|
14
|
+
srn: string;
|
|
11
15
|
/**
|
|
12
16
|
* Date of End Of Life.
|
|
13
17
|
*/
|
|
@@ -22,6 +26,10 @@ export interface DatabaseBackup {
|
|
|
22
26
|
* UUID that uniquely identifies a Serverless SQL Database backup.
|
|
23
27
|
*/
|
|
24
28
|
id: string;
|
|
29
|
+
/**
|
|
30
|
+
* The SRN of the database backup.
|
|
31
|
+
*/
|
|
32
|
+
srn: string;
|
|
25
33
|
/**
|
|
26
34
|
* Status of the Serverless SQL Database backup. One of `unknown_status` | `error` | `ready` | `locked`.
|
|
27
35
|
*/
|
|
@@ -72,6 +80,10 @@ export interface Database {
|
|
|
72
80
|
* UUID that uniquely identifies your Serverless SQL DB Database.
|
|
73
81
|
*/
|
|
74
82
|
id: string;
|
|
83
|
+
/**
|
|
84
|
+
* The SRN of the database.
|
|
85
|
+
*/
|
|
86
|
+
srn: string;
|
|
75
87
|
/**
|
|
76
88
|
* Name of the database.
|
|
77
89
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleway/sdk-serverless-sqldb",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.14.1",
|
|
4
4
|
"description": "Scaleway SDK serverless-sqldb",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@scaleway/random-name": "6.0.2",
|
|
36
|
-
"@scaleway/sdk-std": "2.8.
|
|
36
|
+
"@scaleway/sdk-std": "2.8.2"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@repo/configs": "^0.1.1",
|
|
40
|
-
"@scaleway/sdk-client": "^2.
|
|
40
|
+
"@scaleway/sdk-client": "^2.10.0"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"@scaleway/sdk-client": "^2.
|
|
43
|
+
"@scaleway/sdk-client": "^2.10.0"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
46
|
"package:check": "pnpm publint",
|