UNPKG

be-enhanced

Version:

be-enhanced provides a base class that enables casting spells, or enhancing server-rendered DOM elements based on cross-cutting custom attributes

28 lines (19 loc) 638 B
import {IEnhancement, BEAllProps} from '../trans-render/be/types'; import { Specifier } from '../trans-render/dss/types'; export interface EndUserProps extends IEnhancement{ } export interface AP extends EndUserProps{ parsedStatements?: Array<InvokingParameters>, rawStatements?: Array<string>, } export type AllProps = AP; export type PAP = Partial<AP>; export type ProPAP = Promise<PAP> export type BAP = AP & BEAllProps; export interface Actions{ hydrate(self: this): ProPAP; } export interface InvokingParameters { remoteSpecifiers: Array<Specifier>, localEventType?: string, }