@icewhale/zimaos-localstorage-openapi
Advanced tools
Comparing version 1.3.0-alpha5 to 1.3.0-alpha7
@@ -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 | ||
*/ | ||
@@ -230,4 +242,10 @@ 'raid_level'?: number; | ||
*/ | ||
'type'?: DiskType; | ||
'disk_type'?: DiskType; | ||
/** | ||
* fs type | ||
* @type {string} | ||
* @memberof Disk | ||
*/ | ||
'fs_type'?: string; | ||
/** | ||
* | ||
@@ -282,6 +300,6 @@ * @type {boolean} | ||
* | ||
* @type {Array<Chilren>} | ||
* @type {Array<Children>} | ||
* @memberof Disk | ||
*/ | ||
'children'?: Array<Chilren>; | ||
'children'?: Array<Children>; | ||
/** | ||
@@ -293,2 +311,8 @@ * | ||
'rota'?: boolean; | ||
/** | ||
* disk available size | ||
* @type {string} | ||
* @memberof Disk | ||
*/ | ||
'avail'?: string; | ||
} | ||
@@ -921,3 +945,3 @@ /** | ||
*/ | ||
'type'?: string; | ||
'fs_type'?: string; | ||
/** | ||
@@ -924,0 +948,0 @@ * |
@@ -110,7 +110,13 @@ /** | ||
/** | ||
* disk type | ||
* | ||
* @type {DiskType} | ||
* @memberof Disk | ||
*/ | ||
'disk_type'?: DiskType; | ||
/** | ||
* fs type | ||
* @type {string} | ||
* @memberof Disk | ||
*/ | ||
'disk_type'?: string; | ||
'fs_type'?: string; | ||
/** | ||
@@ -187,2 +193,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 | ||
@@ -314,3 +333,3 @@ */ | ||
*/ | ||
'type'?: string; | ||
'fs_type'?: string; | ||
/** | ||
@@ -341,7 +360,7 @@ * storage path | ||
/** | ||
* storage disk type | ||
* @type {string} | ||
* | ||
* @type {DiskType} | ||
* @memberof Storage | ||
*/ | ||
'disk_type'?: string; | ||
'disk_type'?: DiskType; | ||
/** | ||
@@ -348,0 +367,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-alpha5", | ||
"version": "v1.3.0-alpha7", | ||
"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
280327
6791
128