MCPcopy Index your code
hub / github.com/callumalpass/tasknotes / fromUserField

Method fromUserField

src/core/FieldMapper.ts:182–184  ·  view source on GitHub ↗

* @deprecated Use lookupMappingKey() instead for clarity about what is returned * Convert user's property name back to internal field name * This is the reverse of toUserField()

(userPropertyName: string)

Source from the content-addressed store, hash-verified

180 * This is the reverse of toUserField()
181 */
182 fromUserField(userPropertyName: string): keyof FieldMapping | null {
183 return this.lookupMappingKey(userPropertyName);
184 }
185
186 /**
187 * Validate that a mapping has no empty field names

Callers

nothing calls this directly

Calls 1

lookupMappingKeyMethod · 0.95

Tested by

no test coverage detected