(collectionName: string, slug: string)
| 414 | } |
| 415 | |
| 416 | generateContentKey(collectionName: string, slug: string) { |
| 417 | const contentKey = generateContentKey(collectionName, slug); |
| 418 | if (!this.useOpenAuthoring) { |
| 419 | return contentKey; |
| 420 | } |
| 421 | |
| 422 | return `${this.repo}/${contentKey}`; |
| 423 | } |
| 424 | |
| 425 | parseContentKey(contentKey: string) { |
| 426 | if (!this.useOpenAuthoring) { |
no test coverage detected