MCPcopy Create free account
hub / github.com/ColmapView/Colmapview.github.io / getPersistedProperties

Function getPersistedProperties

src/config/registry/index.ts:27–29  ·  view source on GitHub ↗
(section: SectionDef)

Source from the content-addressed store, hash-verified

25 * Get persisted properties for a section (properties that should be saved)
26 */
27export function getPersistedProperties(section: SectionDef): PropertyDef[] {
28 return section.properties.filter((p) => p.persist && !p.transient);
29}
30
31/**
32 * Get the store key for a property (uses storeKey if defined, otherwise key)

Callers 8

registry.test.tsFile · 0.90
generateSectionDefaultsFunction · 0.90
resetToDefaultsFunction · 0.90
generateSectionSchemaFunction · 0.90
generateSectionTemplateFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected