MCPcopy Index your code
hub / github.com/massCodeIO/massCode / getLegacyNotesLayoutMode

Function getLegacyNotesLayoutMode

src/main/store/module/app.ts:213–221  ·  view source on GitHub ↗
(
  source: Record<string, unknown>,
)

Source from the content-addressed store, hash-verified

211}
212
213function getLegacyNotesLayoutMode(
214 source: Record<string, unknown>,
215): SpaceLayoutMode {
216 if (source.isSidebarHidden !== true) {
217 return 'all-panels'
218 }
219
220 return source.isListHidden === true ? 'editor-only' : 'list-editor'
221}
222
223function sanitizeDonations(value: unknown): DonationsState {
224 const source = asRecord(value)

Callers 1

sanitizeAppStoreFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected