@virtbase/proxmox-api 3.0.0 → 5.0.0
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 +21 -53
- package/LICENSE +22 -0
- package/README.md +81 -82
- package/dist/client.d.ts +13 -7
- package/dist/client.js +23 -23
- package/dist/errors.d.ts +364 -0
- package/dist/errors.js +372 -0
- package/dist/index.d.ts +5 -3
- package/dist/index.js +3 -18
- package/dist/model.d.ts +28875 -28491
- package/dist/model.js +4 -16
- package/dist/proxmox-engine.d.ts +273 -54
- package/dist/proxmox-engine.js +772 -248
- package/dist/proxy.d.ts +61 -19
- package/dist/proxy.js +118 -33
- package/dist/qm-monitor.d.ts +225 -25
- package/dist/qm-monitor.js +152 -52
- package/dist/schema-info.d.ts +12 -0
- package/dist/schema-info.js +13 -0
- package/dist/tasks.d.ts +129 -0
- package/dist/tasks.js +132 -0
- package/package.json +33 -34
- package/dist/client.d.ts.map +0 -1
- package/dist/client.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/model.d.ts.map +0 -1
- package/dist/model.js.map +0 -1
- package/dist/proxmox-engine.d.ts.map +0 -1
- package/dist/proxmox-engine.js.map +0 -1
- package/dist/proxy.d.ts.map +0 -1
- package/dist/proxy.js.map +0 -1
- package/dist/qm-monitor.d.ts.map +0 -1
- package/dist/qm-monitor.js.map +0 -1
- package/src/__tests__/helpers.ts +0 -39
- package/src/__tests__/proxmox-engine.test.ts +0 -393
- package/src/__tests__/proxy.test.ts +0 -190
- package/src/__tests__/qm-monitor.test.ts +0 -215
- package/src/client.ts +0 -58
- package/src/index.ts +0 -34
- package/src/model.ts +0 -32101
- package/src/proxmox-engine.ts +0 -452
- package/src/proxy.ts +0 -195
- package/src/qm-monitor.ts +0 -303
package/package.json
CHANGED
|
@@ -1,65 +1,64 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@virtbase/proxmox-api",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"description": "Cutting edge javascript / TypeScript / ESM Proxmox API",
|
|
3
|
+
"version": "5.0.0",
|
|
4
|
+
"description": "Fully typed Proxmox VE API client for TypeScript, generated from the official API schema",
|
|
6
5
|
"keywords": [
|
|
7
6
|
"proxmox",
|
|
8
|
-
"
|
|
9
|
-
"
|
|
7
|
+
"proxmox-ve",
|
|
8
|
+
"pve",
|
|
10
9
|
"api",
|
|
10
|
+
"client",
|
|
11
|
+
"sdk",
|
|
11
12
|
"typescript",
|
|
12
|
-
"
|
|
13
|
-
"promise"
|
|
14
|
-
],
|
|
15
|
-
"author": "Uriel Chemouni <uchemouni@gmail.com> (https://uriel.ovh/)",
|
|
16
|
-
"contributors": [
|
|
17
|
-
"Janic Bellmann <contact@janic.dev>"
|
|
13
|
+
"virtualization"
|
|
18
14
|
],
|
|
19
|
-
"
|
|
15
|
+
"homepage": "https://virtbase.github.io/proxmox-api/",
|
|
16
|
+
"bugs": {
|
|
17
|
+
"url": "https://github.com/virtbase/proxmox-api/issues"
|
|
18
|
+
},
|
|
20
19
|
"repository": {
|
|
21
20
|
"type": "git",
|
|
22
21
|
"url": "git+https://github.com/virtbase/proxmox-api.git",
|
|
23
22
|
"directory": "packages/api"
|
|
24
23
|
},
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
"engines": {
|
|
32
|
-
"node": ">=18"
|
|
33
|
-
},
|
|
24
|
+
"license": "MIT",
|
|
25
|
+
"author": "Uriel Chemouni <uchemouni@gmail.com> (https://uriel.ovh/)",
|
|
26
|
+
"contributors": [
|
|
27
|
+
"Janic Bellmann <contact@janic.dev>"
|
|
28
|
+
],
|
|
29
|
+
"type": "module",
|
|
34
30
|
"sideEffects": false,
|
|
35
31
|
"exports": {
|
|
36
32
|
".": {
|
|
37
33
|
"types": "./dist/index.d.ts",
|
|
38
34
|
"default": "./dist/index.js"
|
|
39
|
-
}
|
|
35
|
+
},
|
|
36
|
+
"./package.json": "./package.json"
|
|
40
37
|
},
|
|
41
|
-
"main": "./dist/index.js",
|
|
42
|
-
"types": "./dist/index.d.ts",
|
|
43
38
|
"files": [
|
|
44
39
|
"dist",
|
|
45
|
-
"src",
|
|
46
40
|
"CHANGELOG.md"
|
|
47
41
|
],
|
|
42
|
+
"engines": {
|
|
43
|
+
"node": ">=22"
|
|
44
|
+
},
|
|
45
|
+
"publishConfig": {
|
|
46
|
+
"access": "public"
|
|
47
|
+
},
|
|
48
48
|
"scripts": {
|
|
49
|
-
"build": "tsc",
|
|
49
|
+
"build": "rm -rf dist && tsc -p tsconfig.build.json",
|
|
50
50
|
"clean": "git clean -xdf .cache .turbo dist node_modules",
|
|
51
|
-
"dev": "tsc --watch",
|
|
52
|
-
"lint:package": "publint --strict && attw --pack . --ignore-rules cjs-resolves-to-esm",
|
|
51
|
+
"dev": "tsc -p tsconfig.build.json --watch",
|
|
53
52
|
"prepack": "bun run build",
|
|
53
|
+
"publint": "publint --strict && attw --pack . --profile esm-only",
|
|
54
54
|
"test": "bun test",
|
|
55
|
-
"typecheck": "tsc
|
|
55
|
+
"typecheck": "tsc -p tsconfig.json"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@arethetypeswrong/cli": "
|
|
59
|
-
"@
|
|
60
|
-
"@types/bun": "catalog:",
|
|
58
|
+
"@arethetypeswrong/cli": "0.18.5",
|
|
59
|
+
"@types/bun": "1.4.4",
|
|
61
60
|
"@virtbase/tsconfig": "workspace:*",
|
|
62
|
-
"publint": "
|
|
63
|
-
"typescript": "
|
|
61
|
+
"publint": "0.3.25",
|
|
62
|
+
"typescript": "7.0.2"
|
|
64
63
|
}
|
|
65
64
|
}
|
package/dist/client.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAEhE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAYjD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,UAAU,CACxB,OAAO,EAAE,oBAAoB,GAAG,cAAc,GAC7C,OAAO,CAAC,GAAG,CAGb;eAEc,UAAU"}
|
package/dist/client.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,mFAAmF;AACnF,gEAAgE;AAChE,EAAE;AACF,uEAAuE;AACvE,uEAAuE;AACvE,oEAAoE;AACpE,sCAAsC;AACtC,EAAE;AACF,kEAAkE;AAClE,iEAAiE;AACjE,gEAAgE;AAChE,+CAA+C;AAC/C,EAAE;AACF,oEAAoE;AACpE,wEAAwE;AAIxE,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEpD,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,iEAAiE;AACjE,MAAM,SAAS,GAAG,YAAY,CAAC;AAE/B,SAAS,aAAa,CACpB,KAA4C;IAE5C,OAAO,WAAW,IAAI,KAAK,CAAC;AAC9B,CAAC;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,UAAU,UAAU,CACxB,OAA8C;IAE9C,MAAM,MAAM,GAAG,aAAa,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,aAAa,CAAC,OAAO,CAAC,CAAC;IAC7E,OAAO,aAAa,CAAc,MAAM,EAAE,SAAS,CAAC,CAAC;AACvD,CAAC;AAED,eAAe,UAAU,CAAC"}
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,UAAU,IAAI,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAChE,YAAY,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EACL,aAAa,EACb,KAAK,oBAAoB,EACzB,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,GAC/B,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC/D,OAAO,EACL,SAAS,EACT,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,OAAO,GACb,MAAM,iBAAiB,CAAC"}
|
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,mFAAmF;AACnF,gEAAgE;AAChE,EAAE;AACF,uEAAuE;AACvE,uEAAuE;AACvE,oEAAoE;AACpE,sCAAsC;AACtC,EAAE;AACF,kEAAkE;AAClE,iEAAiE;AACjE,gEAAgE;AAChE,+CAA+C;AAC/C,EAAE;AACF,oEAAoE;AACpE,wEAAwE;AACxE,OAAO,EAAE,UAAU,IAAI,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEhE,OAAO,EACL,aAAa,GAKd,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,SAAS,GAIV,MAAM,iBAAiB,CAAC;AAEzB,kBAAkB;AAClB,2CAA2C"}
|