@truenas/api-client 9.0.6 → 10.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/dist/{chunk-UOTSHE2J.cjs → chunk-PWRUBUVD.cjs} +24 -3
- package/dist/chunk-PWRUBUVD.cjs.map +1 -0
- package/dist/{chunk-R4VP3HBB.js → chunk-Z5U5ZRKJ.js} +24 -3
- package/dist/chunk-Z5U5ZRKJ.js.map +1 -0
- package/dist/index.cjs +37 -37
- package/dist/index.d.cts +5 -6
- package/dist/index.d.ts +5 -6
- package/dist/index.js +1 -1
- package/dist/testing/index.cjs +13 -13
- package/dist/testing/index.d.cts +1 -1
- package/dist/testing/index.d.ts +1 -1
- package/dist/testing/index.js +2 -2
- package/dist/{truenas-auth-mechanism.enum-CtU2b15s.d.cts → truenas-auth-mechanism.enum-CzbVnvTU.d.cts} +1416 -425
- package/dist/{truenas-auth-mechanism.enum-CtU2b15s.d.ts → truenas-auth-mechanism.enum-CzbVnvTU.d.ts} +1416 -425
- package/package.json +1 -1
- package/dist/chunk-R4VP3HBB.js.map +0 -1
- package/dist/chunk-UOTSHE2J.cjs.map +0 -1
|
@@ -1733,6 +1733,7 @@ __export(v27_0_0_exports, {
|
|
|
1733
1733
|
IscsiTargetCreateModeInput: () => IscsiTargetCreateModeInput,
|
|
1734
1734
|
KeychainCredentialEntryType: () => KeychainCredentialEntryType,
|
|
1735
1735
|
KeychainCredentialEntryTypeInput: () => KeychainCredentialEntryTypeInput,
|
|
1736
|
+
Layout: () => Layout,
|
|
1736
1737
|
Level: () => Level,
|
|
1737
1738
|
NFS4ACEType: () => NFS4ACEType,
|
|
1738
1739
|
NFS4ACETypeInput: () => NFS4ACETypeInput,
|
|
@@ -1847,6 +1848,10 @@ var Interval = {
|
|
|
1847
1848
|
"30": 30,
|
|
1848
1849
|
"60": 60
|
|
1849
1850
|
};
|
|
1851
|
+
var Layout = {
|
|
1852
|
+
Bucket: "BUCKET",
|
|
1853
|
+
Dataset: "DATASET"
|
|
1854
|
+
};
|
|
1850
1855
|
var Name2 = {
|
|
1851
1856
|
Cpu: "cpu",
|
|
1852
1857
|
Cputemp: "cputemp",
|
|
@@ -1990,6 +1995,7 @@ __export(v28_0_0_exports, {
|
|
|
1990
1995
|
IscsiTargetCreateModeInput: () => IscsiTargetCreateModeInput,
|
|
1991
1996
|
KeychainCredentialEntryType: () => KeychainCredentialEntryType,
|
|
1992
1997
|
KeychainCredentialEntryTypeInput: () => KeychainCredentialEntryTypeInput,
|
|
1998
|
+
Layout: () => Layout,
|
|
1993
1999
|
Level: () => Level,
|
|
1994
2000
|
NFS4ACEType: () => NFS4ACEType,
|
|
1995
2001
|
NFS4ACETypeInput: () => NFS4ACETypeInput,
|
|
@@ -2065,6 +2071,8 @@ __export(v28_0_0_exports, {
|
|
|
2065
2071
|
Versioning: () => Versioning,
|
|
2066
2072
|
Volblocksize: () => Volblocksize,
|
|
2067
2073
|
When: () => When,
|
|
2074
|
+
ZFSResourceUserspaceEntryType: () => ZFSResourceUserspaceEntryType,
|
|
2075
|
+
ZFSResourceUserspaceEntryTypeInput: () => ZFSResourceUserspaceEntryTypeInput,
|
|
2068
2076
|
ZfsTierRewriteJobEntryStatus: () => ZfsTierRewriteJobEntryStatus,
|
|
2069
2077
|
ZfsTierRewriteJobEntryStatusInput: () => ZfsTierRewriteJobEntryStatusInput,
|
|
2070
2078
|
ZpoolScrubRunAction: () => ZpoolScrubRunAction
|
|
@@ -2150,6 +2158,14 @@ var VMWareMatchDatastoresWithDatasetsResultFilesystemTypeInput = {
|
|
|
2150
2158
|
Filesystem: "FILESYSTEM",
|
|
2151
2159
|
Volume: "VOLUME"
|
|
2152
2160
|
};
|
|
2161
|
+
var ZFSResourceUserspaceEntryType = {
|
|
2162
|
+
User: "user",
|
|
2163
|
+
Group: "group"
|
|
2164
|
+
};
|
|
2165
|
+
var ZFSResourceUserspaceEntryTypeInput = {
|
|
2166
|
+
User: "user",
|
|
2167
|
+
Group: "group"
|
|
2168
|
+
};
|
|
2153
2169
|
|
|
2154
2170
|
// src/generated/index.ts
|
|
2155
2171
|
var SUPPORTED_API_VERSIONS = [
|
|
@@ -4207,7 +4223,12 @@ function toContainer3(container) {
|
|
|
4207
4223
|
return {
|
|
4208
4224
|
id: container.id.toString(),
|
|
4209
4225
|
name: container.name,
|
|
4210
|
-
status:
|
|
4226
|
+
// `status` is nullable from v28. Middleware's own word on when: "`null` if
|
|
4227
|
+
// `query-options.extra.retrieve_status` is `false`" — so a null is status
|
|
4228
|
+
// that was not fetched, not a container in an unreportable state. That is
|
|
4229
|
+
// what `Unknown` is for ("no usable state"), and it keeps `Container.status`
|
|
4230
|
+
// non-optional for every caller.
|
|
4231
|
+
status: container.status ? toAppState(container.status.state) : "UNKNOWN" /* Unknown */,
|
|
4211
4232
|
// Optional in the generated entry, required by `Container`.
|
|
4212
4233
|
autostart: container.autostart ?? false,
|
|
4213
4234
|
description
|
|
@@ -4823,5 +4844,5 @@ exports.v25_10_4_exports = v25_10_4_exports;
|
|
|
4823
4844
|
exports.v25_10_5_exports = v25_10_5_exports;
|
|
4824
4845
|
exports.v27_0_0_exports = v27_0_0_exports;
|
|
4825
4846
|
exports.v28_0_0_exports = v28_0_0_exports;
|
|
4826
|
-
//# sourceMappingURL=chunk-
|
|
4827
|
-
//# sourceMappingURL=chunk-
|
|
4847
|
+
//# sourceMappingURL=chunk-PWRUBUVD.cjs.map
|
|
4848
|
+
//# sourceMappingURL=chunk-PWRUBUVD.cjs.map
|