(collectionName: string, slug: string)
| 386 | } |
| 387 | |
| 388 | generateContentKey(collectionName: string, slug: string) { |
| 389 | const contentKey = generateContentKey(collectionName, slug); |
| 390 | if (!this.useOpenAuthoring) { |
| 391 | return contentKey; |
| 392 | } |
| 393 | |
| 394 | return `${this.repo}/${contentKey}`; |
| 395 | } |
| 396 | |
| 397 | parseContentKey(contentKey: string) { |
| 398 | if (!this.useOpenAuthoring) { |
no test coverage detected