@studiohyperdrive/ngx-utils
Version:
A series of abstracts, utils, pipes and services for Angular applications.
13 lines (12 loc) • 455 B
TypeScript
export type NgxReplaceElementsSelector = `${string}{{id}}${string}`;
export interface NgxReplaceElementsConfigurationElement {
element: string;
selector: NgxReplaceElementsSelector;
includeInnerText?: boolean;
}
export type NgxReplaceElementsConfiguration = Record<string, NgxReplaceElementsConfigurationElement>;
export interface NgxReplaceElementsItem {
id: string;
elementId: string;
data?: Record<Lowercase<string>, string>;
}