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