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
29 lines (21 loc) • 705 B
TypeScript
import {IEnhancement, BEAllProps} from '../trans-render/be/types';
import { Specifier } from "../trans-render/dss/types";
export interface EndUserProps extends IEnhancement{
}
export interface AllProps extends EndUserProps{
parsedStatements: Array<ResolvingParameters>,
rawStatements?: Array<string>
}
export type AP = AllProps;
export type PAP = Partial<AP>;
export type ProPAP = Promise<PAP>;
export type BAP = AP & BEAllProps;
export interface Actions{
hydrate(self: BAP): ProPAP;
}
export interface ResolvingParameters{
remoteSpecifierString: string;
remoteSpecifier: Specifier;
localSpecifierString: string;
localSpecifier: Specifier;
}