@docsvision/webclient
Version:
Type definitions for DocsVision WebClient scripts and extensions.
10 lines (9 loc) • 501 B
TypeScript
import { IDirectoryTreeRow } from "@docsvision/webclient/BackOffice/IDirectoryTreeRow";
export declare type FindStaffSectionResult = {
row: IDirectoryTreeRow;
parentRow: IDirectoryTreeRow;
index: number;
path: IDirectoryTreeRow[];
};
export declare function findStaffSection(staffId: string, tree: IDirectoryTreeRow[]): FindStaffSectionResult;
export declare function findStaffSectionImpl(staffId: string, tree: IDirectoryTreeRow[], path: IDirectoryTreeRow[]): FindStaffSectionResult;