Comparing version 1.0.1 to 1.0.2
@@ -1,2 +0,2 @@ | ||
import { SettingType } from "./SettingManager"; | ||
import { SettingType } from "./SettingManagerFactory"; | ||
export declare type SettingFieldOption<T> = { | ||
@@ -3,0 +3,0 @@ type: SettingTypeString; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.parseToSettingFieldOption = exports.isString = exports.isSettingFieldOption = exports.getSettingType = void 0; | ||
const SettingManager_1 = require("./SettingManager"); | ||
const SettingManagerFactory_1 = require("./SettingManagerFactory"); | ||
function getSettingType(string) { | ||
switch (string) { | ||
case "Array": | ||
return SettingManager_1.SettingType.Array; | ||
return SettingManagerFactory_1.SettingType.Array; | ||
case "Boolean": | ||
return SettingManager_1.SettingType.Boolean; | ||
return SettingManagerFactory_1.SettingType.Boolean; | ||
case "Integer": | ||
return SettingManager_1.SettingType.Integer; | ||
return SettingManagerFactory_1.SettingType.Integer; | ||
case "String": | ||
return SettingManager_1.SettingType.String; | ||
return SettingManagerFactory_1.SettingType.String; | ||
} | ||
@@ -16,0 +16,0 @@ } |
@@ -1,2 +0,2 @@ | ||
import { SettingManager } from "./SettingManager"; | ||
export declare const LocalSettingManager: SettingManager; | ||
import { SettingManagerFactory } from "./SettingManagerFactory"; | ||
export declare const LocalSettingManager: SettingManagerFactory; |
@@ -5,3 +5,3 @@ "use strict"; | ||
const MutableSettingStorage_1 = require("./MutableSettingStorage"); | ||
const SettingManager_1 = require("./SettingManager"); | ||
exports.LocalSettingManager = new SettingManager_1.SettingManager(new MutableSettingStorage_1.LocalSettingStorage()); | ||
const SettingManagerFactory_1 = require("./SettingManagerFactory"); | ||
exports.LocalSettingManager = new SettingManagerFactory_1.SettingManagerFactory(new MutableSettingStorage_1.LocalSettingStorage()); |
@@ -1,2 +0,2 @@ | ||
import { SettingType } from "./SettingManager"; | ||
import { SettingType } from "./SettingManagerFactory"; | ||
export declare type SettingFieldOption<T> = { | ||
@@ -3,0 +3,0 @@ type: SettingTypeString; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.parseToSettingFieldOption = exports.isString = exports.isSettingFieldOption = exports.getSettingType = void 0; | ||
const SettingManager_1 = require("./SettingManager"); | ||
const SettingManagerFactory_1 = require("./SettingManagerFactory"); | ||
function getSettingType(string) { | ||
switch (string) { | ||
case "Array": | ||
return SettingManager_1.SettingType.Array; | ||
return SettingManagerFactory_1.SettingType.Array; | ||
case "Boolean": | ||
return SettingManager_1.SettingType.Boolean; | ||
return SettingManagerFactory_1.SettingType.Boolean; | ||
case "Integer": | ||
return SettingManager_1.SettingType.Integer; | ||
return SettingManagerFactory_1.SettingType.Integer; | ||
case "String": | ||
return SettingManager_1.SettingType.String; | ||
return SettingManagerFactory_1.SettingType.String; | ||
} | ||
@@ -16,0 +16,0 @@ } |
@@ -1,2 +0,2 @@ | ||
import { SettingManager } from "./SettingManager"; | ||
export declare const LocalSettingManager: SettingManager; | ||
import { SettingManagerFactory } from "./SettingManagerFactory"; | ||
export declare const LocalSettingManager: SettingManagerFactory; |
@@ -5,3 +5,3 @@ "use strict"; | ||
const MutableSettingStorage_1 = require("./MutableSettingStorage"); | ||
const SettingManager_1 = require("./SettingManager"); | ||
exports.LocalSettingManager = new SettingManager_1.SettingManager(new MutableSettingStorage_1.LocalSettingStorage()); | ||
const SettingManagerFactory_1 = require("./SettingManagerFactory"); | ||
exports.LocalSettingManager = new SettingManagerFactory_1.SettingManagerFactory(new MutableSettingStorage_1.LocalSettingStorage()); |
{ | ||
"name": "biewangle", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./lib/cjs/index.js", |
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
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
32203
27
742