* Get property value from a Bases entry. * Uses public API: entry.getValue()
(entry: BasesEntry, propertyId: string)
| 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. |