MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / stylePath

Function stylePath

packages/sdk/src/engine/patches.ts:48–50  ·  view source on GitHub ↗
(id: string, prop: string)

Source from the content-addressed store, hash-verified

46}
47
48export function stylePath(id: string, prop: string): string {
49 return `/elements/${escapeIdForPath(id)}/inlineStyles/${prop}`;
50}
51
52export function textPath(id: string): string {
53 return `/elements/${escapeIdForPath(id)}/text`;

Callers 4

keyToPathFunction · 0.85
applyOverrideSetFunction · 0.85
handleSetStyleFunction · 0.85
handleSetVariableValueFunction · 0.85

Calls 1

escapeIdForPathFunction · 0.85

Tested by

no test coverage detected