UNPKG

@o3r/dynamic-content

Version:

This module provides a mechanism to retrieve media and data depending on the host or a server specific url.

19 lines 899 B
import { Store } from '@ngrx/store'; import type { RulesEngineActionHandler } from '@o3r/core'; import { ActionUpdateAssetBlock } from './asset.interfaces'; import { AssetPathOverrideStore } from '@o3r/dynamic-content'; import * as i0 from "@angular/core"; /** * Service to handle async Asset actions */ export declare class AssetRulesEngineActionHandler implements RulesEngineActionHandler<ActionUpdateAssetBlock> { private readonly store; /** @inheritdoc */ readonly supportingActions: readonly ["UPDATE_ASSET"]; constructor(store: Store<AssetPathOverrideStore>); /** @inheritdoc */ executeActions(actions: ActionUpdateAssetBlock[]): void | Promise<void>; static ɵfac: i0.ɵɵFactoryDeclaration<AssetRulesEngineActionHandler, never>; static ɵprov: i0.ɵɵInjectableDeclaration<AssetRulesEngineActionHandler>; } //# sourceMappingURL=asset.handler-action.d.ts.map