MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / getSequenceTokens

Function getSequenceTokens

packages/app-core/src/lib/keymaps.ts:1072–1080  ·  view source on GitHub ↗
(
  overrides: KeymapOverrides | null | undefined,
  id: KeymapId,
)

Source from the content-addressed store, hash-verified

1070}
1071
1072export function getSequenceTokens(
1073 overrides: KeymapOverrides | null | undefined,
1074 id: KeymapId,
1075): string[] {
1076 return getKeymapBinding(overrides, id)
1077 .split(/\s+/)
1078 .map((token) => token.trim())
1079 .filter(Boolean);
1080}
1081
1082type RuntimeZenApi = { platformSync?: () => NodeJS.Platform };
1083

Callers 9

paneMapBindingsFunction · 0.90
handlerFunction · 0.90
onKeyUpFunction · 0.90
handleSidebarKeyFunction · 0.90
handleNoteListKeyFunction · 0.90
handleConnectionsKeyFunction · 0.90
handleCommentsKeyFunction · 0.90
handlePreviewKeyFunction · 0.90
matchesSequenceTokenFunction · 0.85

Calls 1

getKeymapBindingFunction · 0.85

Tested by

no test coverage detected