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

Function buildVersionsSection

packages/sdk-playground/src/main.ts:939–946  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

937}
938
939function buildVersionsSection(): HTMLDivElement {
940 const display = mkNote("");
941 display.style.maxHeight = "80px";
942 display.style.overflowY = "auto";
943 const list = mkBtn("List versions", "", () => listVersionsInto(display));
944 const loadOldest = mkBtn("Load oldest", "", () => loadOldestVersion());
945 return opSection("listVersions / loadFrom", opRow(list, loadOldest), display);
946}
947
948async function listVersionsInto(display: HTMLElement) {
949 const { adapter } = await createFileAdapter();

Callers

nothing calls this directly

Calls 6

mkNoteFunction · 0.85
mkBtnFunction · 0.85
listVersionsIntoFunction · 0.85
loadOldestVersionFunction · 0.85
opSectionFunction · 0.85
opRowFunction · 0.85

Tested by

no test coverage detected