Skip to content

Class: FlyzeApiStoreBaseFacade

@flyze/lib-data-store 3.0.0-alpha.55· latest

Defined in: projects/lib-data-store/src/lib/flyze-api-store-facade/flyze-api-store-base.facade.ts:26

new FlyzeApiStoreBaseFacade(storeManager): FlyzeApiStoreBaseFacade

Defined in: projects/lib-data-store/src/lib/flyze-api-store-facade/flyze-api-store-base.facade.ts:29

FlyzeApiStoreManager

FlyzeApiStoreBaseFacade

protected readonly storeManager: FlyzeApiStoreManager

Defined in: projects/lib-data-store/src/lib/flyze-api-store-facade/flyze-api-store-base.facade.ts:27

addInstance(config): Promise<FlyzeApiStoreFacadeInstance | undefined>

Defined in: projects/lib-data-store/src/lib/flyze-api-store-facade/flyze-api-store-base.facade.ts:164

Adds a new API store instance and returns its facade instance.

ApiStore_InstanceConfig

The configuration for the new instance

Promise<FlyzeApiStoreFacadeInstance | undefined>

A promise that resolves to the facade instance of the newly added instance


createInstanceFacade(instanceId, params): FlyzeApiStoreFacadeInstance

Defined in: projects/lib-data-store/src/lib/flyze-api-store-facade/flyze-api-store-base.facade.ts:53

Gets the facade instance by its name/id. If tagIds are provided, a new facade instance is created with the given tag filters.

string

The name/id of the instance

object & object = {}

FlyzeApiStoreFacadeInstance

The facade instance.


createInstanceFacadeAsync(instanceId, params): Promise<FlyzeApiStoreFacadeInstance>

Defined in: projects/lib-data-store/src/lib/flyze-api-store-facade/flyze-api-store-base.facade.ts:99

Gets a facade instance asynchronously, optionally filtered by tag IDs or tag descriptions. As tag descriptions require a lookup, this method is asynchronous.

string

{ tagId?: string | string[]; } | { tagCustomId?: string | string[]; } & object = {}

Promise<FlyzeApiStoreFacadeInstance>

A promise that resolves to the facade instance


getInstance(…args): FlyzeApiStoreFacadeInstance

Defined in: projects/lib-data-store/src/lib/flyze-api-store-facade/flyze-api-store-base.facade.ts:36

…[string, object & object]

FlyzeApiStoreFacadeInstance

Use createInstanceFacade instead


getInstanceAsync(…args): Promise<FlyzeApiStoreFacadeInstance>

Defined in: projects/lib-data-store/src/lib/flyze-api-store-facade/flyze-api-store-base.facade.ts:78

…[string, ({ tagId?: string | string[] | undefined; } | { tagCustomId?: string | string[] | undefined; }) & { selectedTagExclusive?: boolean | undefined; }]

Promise<FlyzeApiStoreFacadeInstance>

Use getAvailableInstances instead


removeInstance(instanceId): void

Defined in: projects/lib-data-store/src/lib/flyze-api-store-facade/flyze-api-store-base.facade.ts:194

Removes an existing API store instance by its name/id.

string

The id of the instance to remove

void