(collectionName: string, slug: string)
| 21 | } |
| 22 | |
| 23 | export function generateContentKey(collectionName: string, slug: string) { |
| 24 | return `${collectionName}/${slug}`; |
| 25 | } |
| 26 | |
| 27 | export function parseContentKey(contentKey: string) { |
| 28 | const index = contentKey.indexOf('/'); |
no outgoing calls
no test coverage detected