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

Method getPropertyValue

src/bases/BasesDataAdapter.ts:112–125  ·  view source on GitHub ↗

* Get property value from a Bases entry. * Uses public API: entry.getValue()

(entry: BasesEntry, propertyId: string)

Source from the content-addressed store, hash-verified

110 * Uses public API: entry.getValue()
111 */
112 getPropertyValue(entry: BasesEntry, propertyId: string): unknown {
113 try {
114 const value = entry.getValue(propertyId as BasesPropertyId);
115 return convertBasesValueToNative(value);
116 } catch (e) {
117 this.logger.warn("Failed to get property value", {
118 category: "provider",
119 operation: "get-property-value",
120 details: { propertyId },
121 error: e,
122 });
123 return null;
124 }
125 }
126
127 /**
128 * Convert group key Value to display string.

Calls 3

warnMethod · 0.80
getValueMethod · 0.45

Tested by 1

getVarFunction · 0.64