(groups: Group[])
| 18 | } |
| 19 | |
| 20 | export function extractGroupSlugs(groups: Group[]): string[] { |
| 21 | const slugs = groups.map(({ slug }) => removeIndex(slug)); |
| 22 | return [...new Set(slugs)]; |
| 23 | } |
| 24 | |
| 25 | export function resolveUrlWeight( |
| 26 | weights: PluginUrlContext['weights'], |
no test coverage detected