Version: 4.3

Interface: IMetadataStorage

Hierarchy

  • IMetadataStorage

Methods

find

find<T>(entity: string): EntityMetadata<T> | undefined

Defined in packages/core/src/typings.ts:422

Type parameters:

NameTypeDefault
TAnyEntity<T>any

Parameters:

NameType
entitystring

Returns: EntityMetadata<T> | undefined


get

get<T>(entity: string, init?: boolean, validate?: boolean): EntityMetadata<T>

Defined in packages/core/src/typings.ts:421

Type parameters:

NameTypeDefault
TAnyEntity<T>any

Parameters:

NameType
entitystring
init?boolean
validate?boolean

Returns: EntityMetadata<T>


getAll

getAll(): Dictionary<EntityMetadata>

Defined in packages/core/src/typings.ts:420

Returns: Dictionary<EntityMetadata>


has

has(entity: string): boolean

Defined in packages/core/src/typings.ts:423

Parameters:

NameType
entitystring

Returns: boolean


reset

reset(entity: string): void

Defined in packages/core/src/typings.ts:425

Parameters:

NameType
entitystring

Returns: void


set

set(entity: string, meta: EntityMetadata): EntityMetadata

Defined in packages/core/src/typings.ts:424

Parameters:

NameType
entitystring
metaEntityMetadata

Returns: EntityMetadata

Last updated on by Martin Adámek