@icewhale/zimaos-localstorage-openapi
Advanced tools
Comparing version 1.3.0-alpha1 to 1.3.0-alpha10
@@ -32,9 +32,9 @@ /** | ||
* @export | ||
* @interface Chilren | ||
* @interface Children | ||
*/ | ||
export interface Chilren { | ||
export interface Children { | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Chilren | ||
* @memberof Children | ||
*/ | ||
@@ -45,3 +45,3 @@ 'name'?: string; | ||
* @type {string} | ||
* @memberof Chilren | ||
* @memberof Children | ||
*/ | ||
@@ -52,3 +52,3 @@ 'mount_point'?: string; | ||
* @type {string} | ||
* @memberof Chilren | ||
* @memberof Children | ||
*/ | ||
@@ -59,3 +59,3 @@ 'path'?: string; | ||
* @type {string} | ||
* @memberof Chilren | ||
* @memberof Children | ||
*/ | ||
@@ -66,9 +66,21 @@ 'storage_name'?: string; | ||
* @type {number} | ||
* @memberof Chilren | ||
* @memberof Children | ||
*/ | ||
'avail'?: number; | ||
/** | ||
* | ||
* @type {number} | ||
* @memberof Children | ||
*/ | ||
'size'?: number; | ||
/** | ||
* | ||
* @type {number} | ||
* @memberof Children | ||
*/ | ||
'used'?: number; | ||
/** | ||
* | ||
* @type {boolean} | ||
* @memberof Chilren | ||
* @memberof Children | ||
*/ | ||
@@ -79,3 +91,3 @@ 'supported'?: boolean; | ||
* @type {string} | ||
* @memberof Chilren | ||
* @memberof Children | ||
*/ | ||
@@ -86,3 +98,3 @@ 'file_system'?: string; | ||
* @type {boolean} | ||
* @memberof Chilren | ||
* @memberof Children | ||
*/ | ||
@@ -93,3 +105,3 @@ 'raid'?: boolean; | ||
* @type {number} | ||
* @memberof Chilren | ||
* @memberof Children | ||
*/ | ||
@@ -117,2 +129,8 @@ 'raid_level'?: number; | ||
/** | ||
* estimate of the percentage of NVM subsystem life used based on the actual usage | ||
* @type {number} | ||
* @memberof Device | ||
*/ | ||
'percentage_used'?: number; | ||
/** | ||
* Whether the disk is faulty in RAID | ||
@@ -152,2 +170,8 @@ * @type {boolean} | ||
*/ | ||
'vendor'?: string; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Device | ||
*/ | ||
'type'?: string; | ||
@@ -190,2 +214,8 @@ } | ||
*/ | ||
'vendor'?: string; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Disk | ||
*/ | ||
'health'?: string; | ||
@@ -205,2 +235,8 @@ /** | ||
/** | ||
* estimate of the percentage of NVM subsystem life used based on the actual usage | ||
* @type {number} | ||
* @memberof Disk | ||
*/ | ||
'percentage_used'?: number; | ||
/** | ||
* | ||
@@ -210,4 +246,10 @@ * @type {DiskType} | ||
*/ | ||
'type'?: DiskType; | ||
'disk_type'?: DiskType; | ||
/** | ||
* fs type | ||
* @type {string} | ||
* @memberof Disk | ||
*/ | ||
'fs_type'?: string; | ||
/** | ||
* | ||
@@ -262,6 +304,6 @@ * @type {boolean} | ||
* | ||
* @type {Array<Chilren>} | ||
* @type {Array<Children>} | ||
* @memberof Disk | ||
*/ | ||
'children'?: Array<Chilren>; | ||
'children'?: Array<Children>; | ||
/** | ||
@@ -273,2 +315,8 @@ * | ||
'rota'?: boolean; | ||
/** | ||
* disk available size | ||
* @type {string} | ||
* @memberof Disk | ||
*/ | ||
'avail'?: string; | ||
} | ||
@@ -901,3 +949,3 @@ /** | ||
*/ | ||
'type'?: string; | ||
'fs_type'?: string; | ||
/** | ||
@@ -920,2 +968,8 @@ * | ||
*/ | ||
'vendor'?: string; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Storage | ||
*/ | ||
'name'?: string; | ||
@@ -958,2 +1012,8 @@ /** | ||
'power_on_hours'?: number; | ||
/** | ||
* estimate of the percentage of NVM subsystem life used based on the actual usage | ||
* @type {number} | ||
* @memberof Storage | ||
*/ | ||
'percentage_used'?: number; | ||
} | ||
@@ -960,0 +1020,0 @@ /** |
@@ -80,2 +80,8 @@ /** | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Disk | ||
*/ | ||
'vendor'?: string; | ||
/** | ||
* disk health | ||
@@ -93,2 +99,8 @@ * @type {string} | ||
/** | ||
* estimate of the percentage of NVM subsystem life used based on the actual usage | ||
* @type {number} | ||
* @memberof Disk | ||
*/ | ||
'percentage_used'?: number; | ||
/** | ||
* disk temperature | ||
@@ -100,7 +112,13 @@ * @type {number} | ||
/** | ||
* disk type | ||
* | ||
* @type {DiskType} | ||
* @memberof Disk | ||
*/ | ||
'disk_type'?: DiskType; | ||
/** | ||
* fs type | ||
* @type {string} | ||
* @memberof Disk | ||
*/ | ||
'disk_type'?: string; | ||
'fs_type'?: string; | ||
/** | ||
@@ -177,2 +195,15 @@ * whether the disk needs to be formatted | ||
* @export | ||
* @enum {string} | ||
*/ | ||
export declare const DiskType: { | ||
readonly Hdd: "HDD"; | ||
readonly Ssd: "SSD"; | ||
readonly Usb: "USB"; | ||
readonly Nvme: "NVME"; | ||
readonly Mmc: "MMC"; | ||
}; | ||
export type DiskType = typeof DiskType[keyof typeof DiskType]; | ||
/** | ||
* | ||
* @export | ||
* @interface MountPoint | ||
@@ -304,3 +335,3 @@ */ | ||
*/ | ||
'type'?: string; | ||
'fs_type'?: string; | ||
/** | ||
@@ -331,7 +362,7 @@ * storage path | ||
/** | ||
* storage disk type | ||
* @type {string} | ||
* | ||
* @type {DiskType} | ||
* @memberof Storage | ||
*/ | ||
'disk_type'?: string; | ||
'disk_type'?: DiskType; | ||
/** | ||
@@ -338,0 +369,0 @@ * whether the storage is in RAID |
@@ -28,3 +28,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.USBMethodsApi = exports.USBMethodsApiFactory = exports.USBMethodsApiFp = exports.USBMethodsApiAxiosParamCreator = exports.StorageMethodsApi = exports.StorageMethodsApiFactory = exports.StorageMethodsApiFp = exports.StorageMethodsApiAxiosParamCreator = exports.DiskMethodsApi = exports.DiskMethodsApiFactory = exports.DiskMethodsApiFp = exports.DiskMethodsApiAxiosParamCreator = exports.CloudMethodsApi = exports.CloudMethodsApiFactory = exports.CloudMethodsApiFp = exports.CloudMethodsApiAxiosParamCreator = void 0; | ||
exports.USBMethodsApi = exports.USBMethodsApiFactory = exports.USBMethodsApiFp = exports.USBMethodsApiAxiosParamCreator = exports.StorageMethodsApi = exports.StorageMethodsApiFactory = exports.StorageMethodsApiFp = exports.StorageMethodsApiAxiosParamCreator = exports.DiskMethodsApi = exports.DiskMethodsApiFactory = exports.DiskMethodsApiFp = exports.DiskMethodsApiAxiosParamCreator = exports.CloudMethodsApi = exports.CloudMethodsApiFactory = exports.CloudMethodsApiFp = exports.CloudMethodsApiAxiosParamCreator = exports.DiskType = void 0; | ||
const axios_1 = __importDefault(require("axios")); | ||
@@ -37,2 +37,14 @@ // Some imports not used depending on template conditions | ||
/** | ||
* | ||
* @export | ||
* @enum {string} | ||
*/ | ||
exports.DiskType = { | ||
Hdd: 'HDD', | ||
Ssd: 'SSD', | ||
Usb: 'USB', | ||
Nvme: 'NVME', | ||
Mmc: 'MMC' | ||
}; | ||
/** | ||
* CloudMethodsApi - axios parameter creator | ||
@@ -39,0 +51,0 @@ * @export |
{ | ||
"name": "@icewhale/zimaos-localstorage-openapi", | ||
"version": "v1.3.0-alpha1", | ||
"version": "v1.3.0-alpha10", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "build": "rm -rf dist && tsc && rm -rf generate", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
280328
6791