MCPcopy Create free account
hub / github.com/massCodeIO/massCode / useApp

Function useApp

src/renderer/composables/useApp.ts:125–153  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

123}
124
125export function useApp() {
126 return {
127 codeLayoutMode,
128 focusedFolderId,
129 focusedSnippetId,
130 isAppLoading,
131 isCodeSpaceInitialized,
132 pendingCodeNavigation,
133 highlightedFolderIds,
134 highlightedSnippetIds,
135 highlightedTagId,
136 isCompactListMode,
137 isFocusedSnippetName,
138 focusSnippetNameInput,
139 isFocusedSearch,
140 isShowCodeImage,
141 isShowCodePreview,
142 isShowJsonVisualizer,
143 isSidebarHidden,
144 isSponsored,
145 restoreStateSnapshot,
146 saveStateSnapshot,
147 setCodeLayoutMode,
148 state,
149 stateSnapshots,
150 toggleCodeSidebar,
151 toggleCompactListMode,
152 }
153}

Callers 13

useFolders.tsFile · 0.90
showToastFunction · 0.90
deepLinks.tsFile · 0.90
system.tsFile · 0.90
main-menu.tsFile · 0.90
sync.tsFile · 0.90
useSnippets.tsFile · 0.85
createSnippetFromPaletteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected