(record: RaycastRecord)
| 56 | } |
| 57 | |
| 58 | function getFolderPath(record: RaycastRecord): string[] { |
| 59 | const folder = readString(record, ['folder', 'group', 'collection']) |
| 60 | if (!folder) { |
| 61 | return [] |
| 62 | } |
| 63 | |
| 64 | return folder |
| 65 | .split('/') |
| 66 | .map(part => normalizeImportEntryName(part, 'Imported')) |
| 67 | .filter(Boolean) |
| 68 | } |
| 69 | |
| 70 | function getTags(record: RaycastRecord): string[] { |
| 71 | const tags: string[] = [] |
no test coverage detected