ing
This commit is contained in:
parent
f3076b7a91
commit
57d4784ba2
|
@ -2,6 +2,6 @@ export const POUCH_DEFAULT_QUALIFIER = Symbol('__QUALIFIER__');
|
|||
|
||||
export enum PouchScope {
|
||||
SINGLETON,
|
||||
PROTOTYPE,
|
||||
TRANSIENT,
|
||||
}
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
import { DecoratorType, Newable } from '@overflow/commons/core/constants';
|
||||
import * as METADATA from '../constants';
|
||||
|
||||
import {
|
||||
|
@ -99,7 +100,7 @@ class PouchFactory {
|
|||
instance = this._newInstance(clazz, pouchDefinition, args);
|
||||
}
|
||||
} else {
|
||||
if (pouchDefinition.scope === PouchScope.PROTOTYPE) {
|
||||
if (pouchDefinition.scope === PouchScope.TRANSIENT) {
|
||||
instance = this._newInstance(clazz, pouchDefinition, args);
|
||||
} else {
|
||||
if (this._hasPouchInstance(clazz, qualifier)) {
|
||||
|
|
|
@ -10,7 +10,7 @@ import Service from '@overflow/discovery/api/model/Service';
|
|||
|
||||
import MetaSensorItem from '@overflow/meta/api/model/MetaSensorItem';
|
||||
|
||||
import * as Utils from '@overflow/commons/utils/Utils';
|
||||
import * as Utils from '@overflow/commons/util/Utils';
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -17,9 +17,7 @@ import {
|
|||
import MetaSensorItemType from '../../api/model/MetaSensorItemType';
|
||||
import MetaSensorItem from '../../api/model/MetaSensorItem';
|
||||
|
||||
import * as Utils from '@overflow/commons/utils/Utils';
|
||||
|
||||
|
||||
import * as Utils from '@overflow/commons/util/Utils';
|
||||
|
||||
|
||||
export interface SensorItemTreeStateProps {
|
||||
|
|
Loading…
Reference in New Issue
Block a user