Skip to content
Sarj Workspace Sync

org-sync/render-org-chart-html

@sarj-ai/workspace-sync/org-sync/org-chart-html ยท Source

import type { GoogleDirectoryUser } from "./model.ts";
import { type OrgChartPolicy } from "./org-chart.ts";
export interface OrgChartHtmlArtifact {
html: string;
people: number;
photos: number;
}
export declare function renderOrgChartHtml(users: readonly GoogleDirectoryUser[], policy: OrgChartPolicy, profilePhotos?: ReadonlyMap<string, string>): OrgChartHtmlArtifact;