UNPKG

@mikezimm/fps-core-v7

Version:

Library of reusable core interfaces, types and constants migrated from fps-library-v2

25 lines (24 loc) 898 B
/** * CodeAnalizerComment: Updated 1 imports on 2024-09-21 23:07:24 * Update:: import { WebPartContextCopy_15_2 } to '@mikezimm/fps-core-v7/lib/types/@msft/1.15.2/WebPartContext;' */ import { WebPartContextCopy_15_2 } from "../../types/@msft/1.15.2/WebPartContext"; export interface IHandleBarReplacements { Pages: string[]; Lists: string[]; Users: string[]; Webs: string[]; Sites: string[]; } export declare const HandleBarReplacements: IHandleBarReplacements; /** * Replaces HandleBar style strings with known replacements from context * * Used first in PageInfo converting web part prop input in relatedItems heading, web, ListTitle and restFilter * * @param str * @param context * @returns */ export declare function replaceHandleBars(str: string, context: WebPartContextCopy_15_2): string; //# sourceMappingURL=handleBarsContext.d.ts.map