@nirvana-labs/nirvana 0.1.0-alpha.15 → 0.1.0-alpha.16
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/CHANGELOG.md +9 -0
- package/package.json +1 -1
- package/resources/compute/compute.d.ts +4 -4
- package/resources/compute/compute.d.ts.map +1 -1
- package/resources/compute/compute.js.map +1 -1
- package/resources/compute/compute.mjs +1 -1
- package/resources/compute/compute.mjs.map +1 -1
- package/resources/compute/index.d.ts +2 -2
- package/resources/compute/index.d.ts.map +1 -1
- package/resources/compute/index.js.map +1 -1
- package/resources/compute/index.mjs.map +1 -1
- package/resources/compute/vms/index.d.ts +1 -1
- package/resources/compute/vms/index.d.ts.map +1 -1
- package/resources/compute/vms/index.js.map +1 -1
- package/resources/compute/vms/index.mjs.map +1 -1
- package/resources/compute/vms/vms.d.ts +25 -65
- package/resources/compute/vms/vms.d.ts.map +1 -1
- package/resources/compute/vms/vms.js.map +1 -1
- package/resources/compute/vms/vms.mjs.map +1 -1
- package/resources/compute/volumes.d.ts +3 -3
- package/resources/compute/volumes.d.ts.map +1 -1
- package/resources/operations.d.ts +8 -5
- package/resources/operations.d.ts.map +1 -1
- package/src/resources/compute/compute.ts +15 -3
- package/src/resources/compute/index.ts +3 -1
- package/src/resources/compute/vms/index.ts +2 -0
- package/src/resources/compute/vms/vms.ts +28 -70
- package/src/resources/compute/volumes.ts +3 -3
- package/src/resources/operations.ts +11 -5
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.0-alpha.16 (2025-02-08)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.1.0-alpha.15...v0.1.0-alpha.16](https://github.com/nirvana-labs/nirvana-node/compare/v0.1.0-alpha.15...v0.1.0-alpha.16)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** manual updates ([#59](https://github.com/nirvana-labs/nirvana-node/issues/59)) ([5c09a20](https://github.com/nirvana-labs/nirvana-node/commit/5c09a207ad2223b234c728675aea49130f06e98f))
|
|
10
|
+
* **api:** manual updates ([#61](https://github.com/nirvana-labs/nirvana-node/issues/61)) ([60a87b4](https://github.com/nirvana-labs/nirvana-node/commit/60a87b4fab3fbf20266e4e50e366ae5f621aa22c))
|
|
11
|
+
|
|
3
12
|
## 0.1.0-alpha.15 (2025-02-07)
|
|
4
13
|
|
|
5
14
|
Full Changelog: [v0.1.0-alpha.14...v0.1.0-alpha.15](https://github.com/nirvana-labs/nirvana-node/compare/v0.1.0-alpha.14...v0.1.0-alpha.15)
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { APIResource } from "../../resource.js";
|
|
2
2
|
import * as VolumesAPI from "./volumes.js";
|
|
3
|
-
import { StorageType, Volume, VolumeCreateParams, VolumeKind,
|
|
3
|
+
import { StorageType, Volume, VolumeCreateParams, VolumeKind, VolumeList, VolumeUpdateParams, Volumes } from "./volumes.js";
|
|
4
4
|
import * as VMsAPI from "./vms/vms.js";
|
|
5
|
-
import { OSImage, SSHKey, VM, VMCreateParams, VMList, VMUpdateParams, VMs } from "./vms/vms.js";
|
|
5
|
+
import { CPUConfig, MemoryConfig, OSImage, SSHKey, VM, VMCreateParams, VMList, VMUpdateParams, VMs } from "./vms/vms.js";
|
|
6
6
|
export declare class Compute extends APIResource {
|
|
7
7
|
vms: VMsAPI.VMs;
|
|
8
8
|
volumes: VolumesAPI.Volumes;
|
|
9
9
|
}
|
|
10
10
|
export declare namespace Compute {
|
|
11
|
-
export { VMs as VMs, type OSImage as OSImage, type SSHKey as SSHKey, type VM as VM, type VMList as VMList, type VMCreateParams as VMCreateParams, type VMUpdateParams as VMUpdateParams, };
|
|
12
|
-
export { Volumes as Volumes, type StorageType as StorageType, type Volume as Volume, type VolumeKind as VolumeKind, type
|
|
11
|
+
export { VMs as VMs, type CPUConfig as CPUConfig, type MemoryConfig as MemoryConfig, type OSImage as OSImage, type SSHKey as SSHKey, type VM as VM, type VMList as VMList, type VMCreateParams as VMCreateParams, type VMUpdateParams as VMUpdateParams, };
|
|
12
|
+
export { Volumes as Volumes, type StorageType as StorageType, type Volume as Volume, type VolumeKind as VolumeKind, type VolumeList as VolumeList, type VolumeCreateParams as VolumeCreateParams, type VolumeUpdateParams as VolumeUpdateParams, };
|
|
13
13
|
}
|
|
14
14
|
//# sourceMappingURL=compute.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compute.d.ts","sourceRoot":"","sources":["../../src/resources/compute/compute.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,WAAW,CAAC;AACxC,OAAO,EACL,WAAW,EACX,MAAM,EACN,kBAAkB,EAClB,UAAU,EACV,
|
|
1
|
+
{"version":3,"file":"compute.d.ts","sourceRoot":"","sources":["../../src/resources/compute/compute.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,WAAW,CAAC;AACxC,OAAO,EACL,WAAW,EACX,MAAM,EACN,kBAAkB,EAClB,UAAU,EACV,UAAU,EACV,kBAAkB,EAClB,OAAO,EACR,MAAM,WAAW,CAAC;AACnB,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AACpC,OAAO,EACL,SAAS,EACT,YAAY,EACZ,OAAO,EACP,MAAM,EACN,EAAE,EACF,cAAc,EACd,MAAM,EACN,cAAc,EACd,GAAG,EACJ,MAAM,WAAW,CAAC;AAEnB,qBAAa,OAAQ,SAAQ,WAAW;IACtC,GAAG,EAAE,MAAM,CAAC,GAAG,CAAgC;IAC/C,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;CACpE;AAKD,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,GAAG,IAAI,GAAG,EACV,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,MAAM,IAAI,MAAM,EACrB,KAAK,EAAE,IAAI,EAAE,EACb,KAAK,MAAM,IAAI,MAAM,EACrB,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,cAAc,IAAI,cAAc,GACtC,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,MAAM,IAAI,MAAM,EACrB,KAAK,UAAU,IAAI,UAAU,EAC7B,KAAK,UAAU,IAAI,UAAU,EAC7B,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compute.js","sourceRoot":"","sources":["../../src/resources/compute/compute.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtF,gDAA6C;AAC7C,yDAAwC;AACxC,0CAQmB;AACnB,qDAAoC;AACpC,
|
|
1
|
+
{"version":3,"file":"compute.js","sourceRoot":"","sources":["../../src/resources/compute/compute.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtF,gDAA6C;AAC7C,yDAAwC;AACxC,0CAQmB;AACnB,qDAAoC;AACpC,sCAUmB;AAEnB,MAAa,OAAQ,SAAQ,sBAAW;IAAxC;;QACE,QAAG,GAAe,IAAI,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC/C,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACrE,CAAC;CAAA;AAHD,0BAGC;AAED,OAAO,CAAC,GAAG,GAAG,SAAG,CAAC;AAClB,OAAO,CAAC,OAAO,GAAG,iBAAO,CAAC"}
|
|
@@ -3,7 +3,7 @@ import { APIResource } from "../../resource.mjs";
|
|
|
3
3
|
import * as VolumesAPI from "./volumes.mjs";
|
|
4
4
|
import { Volumes, } from "./volumes.mjs";
|
|
5
5
|
import * as VMsAPI from "./vms/vms.mjs";
|
|
6
|
-
import { VMs } from "./vms/vms.mjs";
|
|
6
|
+
import { VMs, } from "./vms/vms.mjs";
|
|
7
7
|
export class Compute extends APIResource {
|
|
8
8
|
constructor() {
|
|
9
9
|
super(...arguments);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compute.mjs","sourceRoot":"","sources":["../../src/resources/compute/compute.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAOL,OAAO,GACR;OACM,KAAK,MAAM;OACX,
|
|
1
|
+
{"version":3,"file":"compute.mjs","sourceRoot":"","sources":["../../src/resources/compute/compute.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAOL,OAAO,GACR;OACM,KAAK,MAAM;OACX,EASL,GAAG,GACJ;AAED,MAAM,OAAO,OAAQ,SAAQ,WAAW;IAAxC;;QACE,QAAG,GAAe,IAAI,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC/C,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACrE,CAAC;CAAA;AAED,OAAO,CAAC,GAAG,GAAG,GAAG,CAAC;AAClB,OAAO,CAAC,OAAO,GAAG,OAAO,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { Compute } from "./compute.js";
|
|
2
|
-
export { VMs, type OSImage, type SSHKey, type VM, type VMList, type VMCreateParams, type VMUpdateParams, } from "./vms/index.js";
|
|
3
|
-
export { Volumes, type StorageType, type Volume, type VolumeKind, type
|
|
2
|
+
export { VMs, type CPUConfig, type MemoryConfig, type OSImage, type SSHKey, type VM, type VMList, type VMCreateParams, type VMUpdateParams, } from "./vms/index.js";
|
|
3
|
+
export { Volumes, type StorageType, type Volume, type VolumeKind, type VolumeList, type VolumeCreateParams, type VolumeUpdateParams, } from "./volumes.js";
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/compute/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EACL,GAAG,EACH,KAAK,OAAO,EACZ,KAAK,MAAM,EACX,KAAK,EAAE,EACP,KAAK,MAAM,EACX,KAAK,cAAc,EACnB,KAAK,cAAc,GACpB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,OAAO,EACP,KAAK,WAAW,EAChB,KAAK,MAAM,EACX,KAAK,UAAU,EACf,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/compute/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EACL,GAAG,EACH,KAAK,SAAS,EACd,KAAK,YAAY,EACjB,KAAK,OAAO,EACZ,KAAK,MAAM,EACX,KAAK,EAAE,EACP,KAAK,MAAM,EACX,KAAK,cAAc,EACnB,KAAK,cAAc,GACpB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,OAAO,EACP,KAAK,WAAW,EAChB,KAAK,MAAM,EACX,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,GACxB,MAAM,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/compute/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAAoC;AAA3B,kGAAA,OAAO,OAAA;AAChB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/compute/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAAoC;AAA3B,kGAAA,OAAO,OAAA;AAChB,wCAUqB;AATnB,4FAAA,GAAG,OAAA;AAUL,wCAQmB;AAPjB,kGAAA,OAAO,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/compute/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,OAAO,EAAE;OACX,EACL,GAAG,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/compute/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,OAAO,EAAE;OACX,EACL,GAAG,GASJ;OACM,EACL,OAAO,GAOR"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { OSImages, type OSImageListResponse } from "./os-images.js";
|
|
2
|
-
export { VMs, type OSImage, type SSHKey, type VM, type VMList, type VMCreateParams, type VMUpdateParams, } from "./vms.js";
|
|
2
|
+
export { VMs, type CPUConfig, type MemoryConfig, type OSImage, type SSHKey, type VM, type VMList, type VMCreateParams, type VMUpdateParams, } from "./vms.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/compute/vms/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,KAAK,mBAAmB,EAAE,MAAM,aAAa,CAAC;AACjE,OAAO,EACL,GAAG,EACH,KAAK,OAAO,EACZ,KAAK,MAAM,EACX,KAAK,EAAE,EACP,KAAK,MAAM,EACX,KAAK,cAAc,EACnB,KAAK,cAAc,GACpB,MAAM,OAAO,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/compute/vms/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,KAAK,mBAAmB,EAAE,MAAM,aAAa,CAAC;AACjE,OAAO,EACL,GAAG,EACH,KAAK,SAAS,EACd,KAAK,YAAY,EACjB,KAAK,OAAO,EACZ,KAAK,MAAM,EACX,KAAK,EAAE,EACP,KAAK,MAAM,EACX,KAAK,cAAc,EACnB,KAAK,cAAc,GACpB,MAAM,OAAO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/compute/vms/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,4CAAiE;AAAxD,qGAAA,QAAQ,OAAA;AACjB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/compute/vms/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,4CAAiE;AAAxD,qGAAA,QAAQ,OAAA;AACjB,gCAUe;AATb,0FAAA,GAAG,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/compute/vms/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,QAAQ,EAA4B;OACtC,EACL,GAAG,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/compute/vms/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,QAAQ,EAA4B;OACtC,EACL,GAAG,GASJ"}
|
|
@@ -27,6 +27,24 @@ export declare class VMs extends APIResource {
|
|
|
27
27
|
*/
|
|
28
28
|
get(vmId: string, options?: Core.RequestOptions): Core.APIPromise<VM>;
|
|
29
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* CPU config details.
|
|
32
|
+
*/
|
|
33
|
+
export interface CPUConfig {
|
|
34
|
+
/**
|
|
35
|
+
* virtual CPUs
|
|
36
|
+
*/
|
|
37
|
+
vcpu: number;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Memory config details.
|
|
41
|
+
*/
|
|
42
|
+
export interface MemoryConfig {
|
|
43
|
+
/**
|
|
44
|
+
* memory size
|
|
45
|
+
*/
|
|
46
|
+
size: number;
|
|
47
|
+
}
|
|
30
48
|
export interface OSImage {
|
|
31
49
|
created_at: string;
|
|
32
50
|
display_name: string;
|
|
@@ -47,13 +65,13 @@ export interface VM {
|
|
|
47
65
|
/**
|
|
48
66
|
* CPU config details.
|
|
49
67
|
*/
|
|
50
|
-
cpu_config:
|
|
68
|
+
cpu_config: CPUConfig;
|
|
51
69
|
created_at: string;
|
|
52
70
|
data_volume_ids: Array<string>;
|
|
53
71
|
/**
|
|
54
72
|
* Memory config details.
|
|
55
73
|
*/
|
|
56
|
-
memory_config:
|
|
74
|
+
memory_config: MemoryConfig;
|
|
57
75
|
name: string;
|
|
58
76
|
private_ip: string;
|
|
59
77
|
public_ip: string;
|
|
@@ -62,26 +80,6 @@ export interface VM {
|
|
|
62
80
|
updated_at: string;
|
|
63
81
|
vpc_id: string;
|
|
64
82
|
}
|
|
65
|
-
export declare namespace VM {
|
|
66
|
-
/**
|
|
67
|
-
* CPU config details.
|
|
68
|
-
*/
|
|
69
|
-
interface CPUConfig {
|
|
70
|
-
/**
|
|
71
|
-
* virtual CPUs
|
|
72
|
-
*/
|
|
73
|
-
vcpu: number;
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
* Memory config details.
|
|
77
|
-
*/
|
|
78
|
-
interface MemoryConfig {
|
|
79
|
-
/**
|
|
80
|
-
* memory size
|
|
81
|
-
*/
|
|
82
|
-
size: number;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
83
|
export interface VMList {
|
|
86
84
|
items: Array<VM>;
|
|
87
85
|
}
|
|
@@ -93,11 +91,11 @@ export interface VMCreateParams {
|
|
|
93
91
|
/**
|
|
94
92
|
* CPU config details.
|
|
95
93
|
*/
|
|
96
|
-
cpu_config:
|
|
94
|
+
cpu_config: CPUConfig;
|
|
97
95
|
/**
|
|
98
96
|
* Memory config details.
|
|
99
97
|
*/
|
|
100
|
-
memory_config:
|
|
98
|
+
memory_config: MemoryConfig;
|
|
101
99
|
name: string;
|
|
102
100
|
os_image_name: string;
|
|
103
101
|
public_ip_enabled: boolean;
|
|
@@ -116,24 +114,6 @@ export declare namespace VMCreateParams {
|
|
|
116
114
|
interface BootVolume {
|
|
117
115
|
size: number;
|
|
118
116
|
}
|
|
119
|
-
/**
|
|
120
|
-
* CPU config details.
|
|
121
|
-
*/
|
|
122
|
-
interface CPUConfig {
|
|
123
|
-
/**
|
|
124
|
-
* virtual CPUs
|
|
125
|
-
*/
|
|
126
|
-
vcpu: number;
|
|
127
|
-
}
|
|
128
|
-
/**
|
|
129
|
-
* Memory config details.
|
|
130
|
-
*/
|
|
131
|
-
interface MemoryConfig {
|
|
132
|
-
/**
|
|
133
|
-
* memory size
|
|
134
|
-
*/
|
|
135
|
-
size: number;
|
|
136
|
-
}
|
|
137
117
|
/**
|
|
138
118
|
* VM data volume create request.
|
|
139
119
|
*/
|
|
@@ -145,34 +125,14 @@ export interface VMUpdateParams {
|
|
|
145
125
|
/**
|
|
146
126
|
* CPU config details.
|
|
147
127
|
*/
|
|
148
|
-
cpu_config?:
|
|
128
|
+
cpu_config?: CPUConfig;
|
|
149
129
|
/**
|
|
150
130
|
* Memory config details.
|
|
151
131
|
*/
|
|
152
|
-
memory_config?:
|
|
153
|
-
}
|
|
154
|
-
export declare namespace VMUpdateParams {
|
|
155
|
-
/**
|
|
156
|
-
* CPU config details.
|
|
157
|
-
*/
|
|
158
|
-
interface CPUConfig {
|
|
159
|
-
/**
|
|
160
|
-
* virtual CPUs
|
|
161
|
-
*/
|
|
162
|
-
vcpu: number;
|
|
163
|
-
}
|
|
164
|
-
/**
|
|
165
|
-
* Memory config details.
|
|
166
|
-
*/
|
|
167
|
-
interface MemoryConfig {
|
|
168
|
-
/**
|
|
169
|
-
* memory size
|
|
170
|
-
*/
|
|
171
|
-
size: number;
|
|
172
|
-
}
|
|
132
|
+
memory_config?: MemoryConfig;
|
|
173
133
|
}
|
|
174
134
|
export declare namespace VMs {
|
|
175
|
-
export { type OSImage as OSImage, type SSHKey as SSHKey, type VM as VM, type VMList as VMList, type VMCreateParams as VMCreateParams, type VMUpdateParams as VMUpdateParams, };
|
|
135
|
+
export { type CPUConfig as CPUConfig, type MemoryConfig as MemoryConfig, type OSImage as OSImage, type SSHKey as SSHKey, type VM as VM, type VMList as VMList, type VMCreateParams as VMCreateParams, type VMUpdateParams as VMUpdateParams, };
|
|
176
136
|
export { OSImages as OSImages, type OSImageListResponse as OSImageListResponse };
|
|
177
137
|
}
|
|
178
138
|
//# sourceMappingURL=vms.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vms.d.ts","sourceRoot":"","sources":["../../../src/resources/compute/vms/vms.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,eAAe,CAAC;AACtC,OAAO,KAAK,aAAa,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,MAAM,MAAM,cAAc,CAAC;AACvC,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAE5D,qBAAa,GAAI,SAAQ,WAAW;IAClC,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAA0C;IAExE;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,cAAc,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC;IAIrG;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,cAAc,EACpB,OAAO,CAAC,EAA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O,CAAC,CAAC;IAC3D,CAAC;CACF;AA4ID,GAAG,CAAC,QAAQ,GAAG,QAAQ,CAAC"}
|
|
@@ -13,7 +13,7 @@ export declare class Volumes extends APIResource {
|
|
|
13
13
|
/**
|
|
14
14
|
* List all volumes
|
|
15
15
|
*/
|
|
16
|
-
list(options?: Core.RequestOptions): Core.APIPromise<
|
|
16
|
+
list(options?: Core.RequestOptions): Core.APIPromise<VolumeList>;
|
|
17
17
|
/**
|
|
18
18
|
* Delete a Volume. Boot or data volumes can be deleted.
|
|
19
19
|
*/
|
|
@@ -49,7 +49,7 @@ export interface Volume {
|
|
|
49
49
|
* Volume kind.
|
|
50
50
|
*/
|
|
51
51
|
export type VolumeKind = 'boot' | 'data';
|
|
52
|
-
export interface
|
|
52
|
+
export interface VolumeList {
|
|
53
53
|
items: Array<Volume>;
|
|
54
54
|
}
|
|
55
55
|
export interface VolumeCreateParams {
|
|
@@ -60,6 +60,6 @@ export interface VolumeUpdateParams {
|
|
|
60
60
|
size: number;
|
|
61
61
|
}
|
|
62
62
|
export declare namespace Volumes {
|
|
63
|
-
export { type StorageType as StorageType, type Volume as Volume, type VolumeKind as VolumeKind, type
|
|
63
|
+
export { type StorageType as StorageType, type Volume as Volume, type VolumeKind as VolumeKind, type VolumeList as VolumeList, type VolumeCreateParams as VolumeCreateParams, type VolumeUpdateParams as VolumeUpdateParams, };
|
|
64
64
|
}
|
|
65
65
|
//# sourceMappingURL=volumes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"volumes.d.ts","sourceRoot":"","sources":["../../src/resources/compute/volumes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,aAAa,MAAM,eAAe,CAAC;AAE/C,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,kBAAkB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AC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC;CAG9E;AAED;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC;AAEjC;;GAEG;AACH,MAAM,WAAW,MAAM;IACrB,EAAE,EAAE,MAAM,CAAC;IAEX,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC;IAEjB,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,IAAI,EAAE,WAAW,CAAC;IAElB,UAAU,EAAE,MAAM,CAAC;IAEnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,MAAM,CAAC;AAEzC,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACtB;AAED,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,MAAM,CAAC;IAEb,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,MAAM,IAAI,MAAM,EACrB,KAAK,UAAU,IAAI,UAAU,EAC7B,KAAK,UAAU,IAAI,UAAU,EAC7B,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
|
|
@@ -4,7 +4,7 @@ export declare class Operations extends APIResource {
|
|
|
4
4
|
/**
|
|
5
5
|
* List all operations
|
|
6
6
|
*/
|
|
7
|
-
list(options?: Core.RequestOptions): Core.APIPromise<
|
|
7
|
+
list(options?: Core.RequestOptions): Core.APIPromise<OperationList>;
|
|
8
8
|
/**
|
|
9
9
|
* Get details about a specific operation
|
|
10
10
|
*/
|
|
@@ -16,13 +16,16 @@ export declare class Operations extends APIResource {
|
|
|
16
16
|
export interface Operation {
|
|
17
17
|
id: string;
|
|
18
18
|
created_at: string;
|
|
19
|
-
kind:
|
|
19
|
+
kind: OperationKind;
|
|
20
20
|
resource_id: string;
|
|
21
|
-
status:
|
|
22
|
-
type:
|
|
21
|
+
status: OperationStatus;
|
|
22
|
+
type: OperationType;
|
|
23
23
|
updated_at: string;
|
|
24
24
|
}
|
|
25
|
-
export
|
|
25
|
+
export type OperationKind = 'vm' | 'volume' | 'vpc' | 'firewall_rule';
|
|
26
|
+
export interface OperationList {
|
|
26
27
|
items: Array<Operation>;
|
|
27
28
|
}
|
|
29
|
+
export type OperationStatus = 'pending' | 'running' | 'done' | 'failed' | 'unknown';
|
|
30
|
+
export type OperationType = 'create' | 'update' | 'delete';
|
|
28
31
|
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../src/resources/operations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAEhC,qBAAa,UAAW,SAAQ,WAAW;IACzC;;OAEG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../src/resources/operations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAEhC,qBAAa,UAAW,SAAQ,WAAW;IACzC;;OAEG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC;IAInE;;OAEG;IACH,GAAG,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC;CAGpF;AAED;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IAEX,UAAU,EAAE,MAAM,CAAC;IAEnB,IAAI,EAAE,aAAa,CAAC;IAEpB,WAAW,EAAE,MAAM,CAAC;IAEpB,MAAM,EAAE,eAAe,CAAC;IAExB,IAAI,EAAE,aAAa,CAAC;IAEpB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,MAAM,aAAa,GAAG,IAAI,GAAG,QAAQ,GAAG,KAAK,GAAG,eAAe,CAAC;AAEtE,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;CACzB;AAED,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,CAAC;AAEpF,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC"}
|
|
@@ -7,12 +7,22 @@ import {
|
|
|
7
7
|
Volume,
|
|
8
8
|
VolumeCreateParams,
|
|
9
9
|
VolumeKind,
|
|
10
|
-
|
|
10
|
+
VolumeList,
|
|
11
11
|
VolumeUpdateParams,
|
|
12
12
|
Volumes,
|
|
13
13
|
} from './volumes';
|
|
14
14
|
import * as VMsAPI from './vms/vms';
|
|
15
|
-
import {
|
|
15
|
+
import {
|
|
16
|
+
CPUConfig,
|
|
17
|
+
MemoryConfig,
|
|
18
|
+
OSImage,
|
|
19
|
+
SSHKey,
|
|
20
|
+
VM,
|
|
21
|
+
VMCreateParams,
|
|
22
|
+
VMList,
|
|
23
|
+
VMUpdateParams,
|
|
24
|
+
VMs,
|
|
25
|
+
} from './vms/vms';
|
|
16
26
|
|
|
17
27
|
export class Compute extends APIResource {
|
|
18
28
|
vms: VMsAPI.VMs = new VMsAPI.VMs(this._client);
|
|
@@ -25,6 +35,8 @@ Compute.Volumes = Volumes;
|
|
|
25
35
|
export declare namespace Compute {
|
|
26
36
|
export {
|
|
27
37
|
VMs as VMs,
|
|
38
|
+
type CPUConfig as CPUConfig,
|
|
39
|
+
type MemoryConfig as MemoryConfig,
|
|
28
40
|
type OSImage as OSImage,
|
|
29
41
|
type SSHKey as SSHKey,
|
|
30
42
|
type VM as VM,
|
|
@@ -38,7 +50,7 @@ export declare namespace Compute {
|
|
|
38
50
|
type StorageType as StorageType,
|
|
39
51
|
type Volume as Volume,
|
|
40
52
|
type VolumeKind as VolumeKind,
|
|
41
|
-
type
|
|
53
|
+
type VolumeList as VolumeList,
|
|
42
54
|
type VolumeCreateParams as VolumeCreateParams,
|
|
43
55
|
type VolumeUpdateParams as VolumeUpdateParams,
|
|
44
56
|
};
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
export { Compute } from './compute';
|
|
4
4
|
export {
|
|
5
5
|
VMs,
|
|
6
|
+
type CPUConfig,
|
|
7
|
+
type MemoryConfig,
|
|
6
8
|
type OSImage,
|
|
7
9
|
type SSHKey,
|
|
8
10
|
type VM,
|
|
@@ -15,7 +17,7 @@ export {
|
|
|
15
17
|
type StorageType,
|
|
16
18
|
type Volume,
|
|
17
19
|
type VolumeKind,
|
|
18
|
-
type
|
|
20
|
+
type VolumeList,
|
|
19
21
|
type VolumeCreateParams,
|
|
20
22
|
type VolumeUpdateParams,
|
|
21
23
|
} from './volumes';
|
|
@@ -50,6 +50,26 @@ export class VMs extends APIResource {
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
+
/**
|
|
54
|
+
* CPU config details.
|
|
55
|
+
*/
|
|
56
|
+
export interface CPUConfig {
|
|
57
|
+
/**
|
|
58
|
+
* virtual CPUs
|
|
59
|
+
*/
|
|
60
|
+
vcpu: number;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Memory config details.
|
|
65
|
+
*/
|
|
66
|
+
export interface MemoryConfig {
|
|
67
|
+
/**
|
|
68
|
+
* memory size
|
|
69
|
+
*/
|
|
70
|
+
size: number;
|
|
71
|
+
}
|
|
72
|
+
|
|
53
73
|
export interface OSImage {
|
|
54
74
|
created_at: string;
|
|
55
75
|
|
|
@@ -76,7 +96,7 @@ export interface VM {
|
|
|
76
96
|
/**
|
|
77
97
|
* CPU config details.
|
|
78
98
|
*/
|
|
79
|
-
cpu_config:
|
|
99
|
+
cpu_config: CPUConfig;
|
|
80
100
|
|
|
81
101
|
created_at: string;
|
|
82
102
|
|
|
@@ -85,7 +105,7 @@ export interface VM {
|
|
|
85
105
|
/**
|
|
86
106
|
* Memory config details.
|
|
87
107
|
*/
|
|
88
|
-
memory_config:
|
|
108
|
+
memory_config: MemoryConfig;
|
|
89
109
|
|
|
90
110
|
name: string;
|
|
91
111
|
|
|
@@ -102,28 +122,6 @@ export interface VM {
|
|
|
102
122
|
vpc_id: string;
|
|
103
123
|
}
|
|
104
124
|
|
|
105
|
-
export namespace VM {
|
|
106
|
-
/**
|
|
107
|
-
* CPU config details.
|
|
108
|
-
*/
|
|
109
|
-
export interface CPUConfig {
|
|
110
|
-
/**
|
|
111
|
-
* virtual CPUs
|
|
112
|
-
*/
|
|
113
|
-
vcpu: number;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
* Memory config details.
|
|
118
|
-
*/
|
|
119
|
-
export interface MemoryConfig {
|
|
120
|
-
/**
|
|
121
|
-
* memory size
|
|
122
|
-
*/
|
|
123
|
-
size: number;
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
|
|
127
125
|
export interface VMList {
|
|
128
126
|
items: Array<VM>;
|
|
129
127
|
}
|
|
@@ -137,12 +135,12 @@ export interface VMCreateParams {
|
|
|
137
135
|
/**
|
|
138
136
|
* CPU config details.
|
|
139
137
|
*/
|
|
140
|
-
cpu_config:
|
|
138
|
+
cpu_config: CPUConfig;
|
|
141
139
|
|
|
142
140
|
/**
|
|
143
141
|
* Memory config details.
|
|
144
142
|
*/
|
|
145
|
-
memory_config:
|
|
143
|
+
memory_config: MemoryConfig;
|
|
146
144
|
|
|
147
145
|
name: string;
|
|
148
146
|
|
|
@@ -170,26 +168,6 @@ export namespace VMCreateParams {
|
|
|
170
168
|
size: number;
|
|
171
169
|
}
|
|
172
170
|
|
|
173
|
-
/**
|
|
174
|
-
* CPU config details.
|
|
175
|
-
*/
|
|
176
|
-
export interface CPUConfig {
|
|
177
|
-
/**
|
|
178
|
-
* virtual CPUs
|
|
179
|
-
*/
|
|
180
|
-
vcpu: number;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
/**
|
|
184
|
-
* Memory config details.
|
|
185
|
-
*/
|
|
186
|
-
export interface MemoryConfig {
|
|
187
|
-
/**
|
|
188
|
-
* memory size
|
|
189
|
-
*/
|
|
190
|
-
size: number;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
171
|
/**
|
|
194
172
|
* VM data volume create request.
|
|
195
173
|
*/
|
|
@@ -202,40 +180,20 @@ export interface VMUpdateParams {
|
|
|
202
180
|
/**
|
|
203
181
|
* CPU config details.
|
|
204
182
|
*/
|
|
205
|
-
cpu_config?:
|
|
183
|
+
cpu_config?: CPUConfig;
|
|
206
184
|
|
|
207
185
|
/**
|
|
208
186
|
* Memory config details.
|
|
209
187
|
*/
|
|
210
|
-
memory_config?:
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
export namespace VMUpdateParams {
|
|
214
|
-
/**
|
|
215
|
-
* CPU config details.
|
|
216
|
-
*/
|
|
217
|
-
export interface CPUConfig {
|
|
218
|
-
/**
|
|
219
|
-
* virtual CPUs
|
|
220
|
-
*/
|
|
221
|
-
vcpu: number;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
/**
|
|
225
|
-
* Memory config details.
|
|
226
|
-
*/
|
|
227
|
-
export interface MemoryConfig {
|
|
228
|
-
/**
|
|
229
|
-
* memory size
|
|
230
|
-
*/
|
|
231
|
-
size: number;
|
|
232
|
-
}
|
|
188
|
+
memory_config?: MemoryConfig;
|
|
233
189
|
}
|
|
234
190
|
|
|
235
191
|
VMs.OSImages = OSImages;
|
|
236
192
|
|
|
237
193
|
export declare namespace VMs {
|
|
238
194
|
export {
|
|
195
|
+
type CPUConfig as CPUConfig,
|
|
196
|
+
type MemoryConfig as MemoryConfig,
|
|
239
197
|
type OSImage as OSImage,
|
|
240
198
|
type SSHKey as SSHKey,
|
|
241
199
|
type VM as VM,
|
|
@@ -26,7 +26,7 @@ export class Volumes extends APIResource {
|
|
|
26
26
|
/**
|
|
27
27
|
* List all volumes
|
|
28
28
|
*/
|
|
29
|
-
list(options?: Core.RequestOptions): Core.APIPromise<
|
|
29
|
+
list(options?: Core.RequestOptions): Core.APIPromise<VolumeList> {
|
|
30
30
|
return this._client.get('/compute/volumes', options);
|
|
31
31
|
}
|
|
32
32
|
|
|
@@ -80,7 +80,7 @@ export interface Volume {
|
|
|
80
80
|
*/
|
|
81
81
|
export type VolumeKind = 'boot' | 'data';
|
|
82
82
|
|
|
83
|
-
export interface
|
|
83
|
+
export interface VolumeList {
|
|
84
84
|
items: Array<Volume>;
|
|
85
85
|
}
|
|
86
86
|
|
|
@@ -99,7 +99,7 @@ export declare namespace Volumes {
|
|
|
99
99
|
type StorageType as StorageType,
|
|
100
100
|
type Volume as Volume,
|
|
101
101
|
type VolumeKind as VolumeKind,
|
|
102
|
-
type
|
|
102
|
+
type VolumeList as VolumeList,
|
|
103
103
|
type VolumeCreateParams as VolumeCreateParams,
|
|
104
104
|
type VolumeUpdateParams as VolumeUpdateParams,
|
|
105
105
|
};
|
|
@@ -7,7 +7,7 @@ export class Operations extends APIResource {
|
|
|
7
7
|
/**
|
|
8
8
|
* List all operations
|
|
9
9
|
*/
|
|
10
|
-
list(options?: Core.RequestOptions): Core.APIPromise<
|
|
10
|
+
list(options?: Core.RequestOptions): Core.APIPromise<OperationList> {
|
|
11
11
|
return this._client.get('/operations', options);
|
|
12
12
|
}
|
|
13
13
|
|
|
@@ -27,17 +27,23 @@ export interface Operation {
|
|
|
27
27
|
|
|
28
28
|
created_at: string;
|
|
29
29
|
|
|
30
|
-
kind:
|
|
30
|
+
kind: OperationKind;
|
|
31
31
|
|
|
32
32
|
resource_id: string;
|
|
33
33
|
|
|
34
|
-
status:
|
|
34
|
+
status: OperationStatus;
|
|
35
35
|
|
|
36
|
-
type:
|
|
36
|
+
type: OperationType;
|
|
37
37
|
|
|
38
38
|
updated_at: string;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
export
|
|
41
|
+
export type OperationKind = 'vm' | 'volume' | 'vpc' | 'firewall_rule';
|
|
42
|
+
|
|
43
|
+
export interface OperationList {
|
|
42
44
|
items: Array<Operation>;
|
|
43
45
|
}
|
|
46
|
+
|
|
47
|
+
export type OperationStatus = 'pending' | 'running' | 'done' | 'failed' | 'unknown';
|
|
48
|
+
|
|
49
|
+
export type OperationType = 'create' | 'update' | 'delete';
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.1.0-alpha.
|
|
1
|
+
export const VERSION = '0.1.0-alpha.16'; // x-release-please-version
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.1.0-alpha.
|
|
1
|
+
export declare const VERSION = "0.1.0-alpha.16";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VERSION = void 0;
|
|
4
|
-
exports.VERSION = '0.1.0-alpha.
|
|
4
|
+
exports.VERSION = '0.1.0-alpha.16'; // x-release-please-version
|
|
5
5
|
//# sourceMappingURL=version.js.map
|
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.1.0-alpha.
|
|
1
|
+
export const VERSION = '0.1.0-alpha.16'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|