(propertyId: string)
| 175 | * Strip Bases property prefixes (note., file., formula., task.) from a property ID. |
| 176 | */ |
| 177 | export function stripPropertyPrefix(propertyId: string): string { |
| 178 | const parts = propertyId.split("."); |
| 179 | if (parts.length > 1 && ["note", "file", "formula", "task"].includes(parts[0])) { |
| 180 | return parts.slice(1).join("."); |
| 181 | } |
| 182 | return propertyId; |
| 183 | } |
| 184 | |
| 185 | /** |
| 186 | * Check whether the configured sort-order field is present in the view's sort configuration. |
no outgoing calls
no test coverage detected