configuration/strings/graph.strings.ts

configuration/strings/graph.strings.ts is a file in GovLab Docs. 10 lines of code and 2 definitions.

export const GRAPH_LABELS = {
    constructs: "new",
    fails: "fail",
    guard: "guard",
    throws: "throw",
    writes: "writes",
} as const;

export const hookLabel = function hookLabel(event: string): string {
    return `hook ${event}`;
};