Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@icewhale/zimaos-localstorage-openapi

Package Overview
Dependencies
Maintainers
3
Versions
141
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@icewhale/zimaos-localstorage-openapi - npm Package Compare versions

Comparing version 0.4.9-alpha3 to 0.4.9-alpha4

dist/models/Disk.d.ts

9

dist/index.d.ts

@@ -7,2 +7,4 @@ export { ApiError } from './core/ApiError';

export type { Device } from './models/Device';
export type { Disk } from './models/Disk';
export type { DiskInfo } from './models/DiskInfo';
export type { Merge } from './models/Merge';

@@ -12,8 +14,13 @@ export { MergeStatus } from './models/MergeStatus';

export type { MountPoint } from './models/MountPoint';
export type { PutRaidBody } from './models/PutRaidBody';
export type { Partition } from './models/Partition';
export type { PostStorageBody } from './models/PostStorageBody';
export { PutRaidBody } from './models/PutRaidBody';
export type { Raid } from './models/Raid';
export { RaidBody } from './models/RaidBody';
export type { Storage } from './models/Storage';
export type { Volume } from './models/Volume';
export { DiskMethodsService } from './services/DiskMethodsService';
export { MergeMethodsService } from './services/MergeMethodsService';
export { MountMethodsService } from './services/MountMethodsService';
export { RaidMethodsService } from './services/RaidMethodsService';
export { StorageMethodsService } from './services/StorageMethodsService';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RaidMethodsService = exports.MountMethodsService = exports.MergeMethodsService = exports.RaidBody = exports.MergeStatus = exports.OpenAPI = exports.CancelError = exports.CancelablePromise = exports.ApiError = void 0;
exports.StorageMethodsService = exports.RaidMethodsService = exports.MountMethodsService = exports.MergeMethodsService = exports.DiskMethodsService = exports.RaidBody = exports.PutRaidBody = exports.MergeStatus = exports.OpenAPI = exports.CancelError = exports.CancelablePromise = exports.ApiError = void 0;
/* istanbul ignore file */

@@ -16,4 +16,8 @@ /* tslint:disable */

Object.defineProperty(exports, "MergeStatus", { enumerable: true, get: function () { return MergeStatus_1.MergeStatus; } });
var PutRaidBody_1 = require("./models/PutRaidBody");
Object.defineProperty(exports, "PutRaidBody", { enumerable: true, get: function () { return PutRaidBody_1.PutRaidBody; } });
var RaidBody_1 = require("./models/RaidBody");
Object.defineProperty(exports, "RaidBody", { enumerable: true, get: function () { return RaidBody_1.RaidBody; } });
var DiskMethodsService_1 = require("./services/DiskMethodsService");
Object.defineProperty(exports, "DiskMethodsService", { enumerable: true, get: function () { return DiskMethodsService_1.DiskMethodsService; } });
var MergeMethodsService_1 = require("./services/MergeMethodsService");

@@ -25,1 +29,3 @@ Object.defineProperty(exports, "MergeMethodsService", { enumerable: true, get: function () { return MergeMethodsService_1.MergeMethodsService; } });

Object.defineProperty(exports, "RaidMethodsService", { enumerable: true, get: function () { return RaidMethodsService_1.RaidMethodsService; } });
var StorageMethodsService_1 = require("./services/StorageMethodsService");
Object.defineProperty(exports, "StorageMethodsService", { enumerable: true, get: function () { return StorageMethodsService_1.StorageMethodsService; } });

4

dist/models/Device.d.ts
export type Device = {
health?: boolean;
path?: string;
size?: number;
number?: number;
state?: string;
};
export type PutRaidBody = {
name?: string;
path?: string;
action?: PutRaidBody.action;
devices?: Array<string>;
};
export declare namespace PutRaidBody {
enum action {
ADD = "add",
REMOVE = "remove"
}
}

@@ -6,1 +6,10 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.PutRaidBody = void 0;
var PutRaidBody;
(function (PutRaidBody) {
let action;
(function (action) {
action["ADD"] = "add";
action["REMOVE"] = "remove";
})(action = PutRaidBody.action || (PutRaidBody.action = {}));
})(PutRaidBody = exports.PutRaidBody || (exports.PutRaidBody = {}));
import type { Device } from './Device';
export type Raid = {
name?: string;
devices?: Device;
devices?: Array<Device>;
mount_point?: string;
raid_level?: number;
array_size?: number;
rebuild_state?: number;
percentage?: number;
shortage?: boolean;
finish_time?: number;
path?: string;
readonly created_at?: string;
readonly updated_at?: string;
};

@@ -10,7 +10,7 @@ import type { BaseResponse } from '../models/BaseResponse';

* Get a list of all raids, or a single raid by name.
* @param name Filter the results by raid
* @param path Filter the results by raid
* @returns any OK
* @throws ApiError
*/
static getRaids(name?: string): CancelablePromise<(BaseResponse & {
static getRaids(path?: string): CancelablePromise<(BaseResponse & {
data?: Array<Raid>;

@@ -17,0 +17,0 @@ })>;

@@ -10,7 +10,7 @@ "use strict";

* Get a list of all raids, or a single raid by name.
* @param name Filter the results by raid
* @param path Filter the results by raid
* @returns any OK
* @throws ApiError
*/
static getRaids(name) {
static getRaids(path) {
return (0, request_1.request)(OpenAPI_1.OpenAPI, {

@@ -20,3 +20,3 @@ method: 'GET',

query: {
'name': name,
'path': path,
},

@@ -23,0 +23,0 @@ errors: {

{
"name": "@icewhale/zimaos-localstorage-openapi",
"version": "v0.4.9-alpha3",
"version": "v0.4.9-alpha4",
"scripts": {

@@ -5,0 +5,0 @@ "build": "rm -rf dist && tsc && rm -rf generate",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc