(collectionName: string, slug: string)
| 287 | } |
| 288 | |
| 289 | generateContentKey(collectionName: string, slug: string) { |
| 290 | const contentKey = generateContentKey(collectionName, slug); |
| 291 | if (!this.useOpenAuthoring) { |
| 292 | return contentKey; |
| 293 | } |
| 294 | return `${this.repo}/${contentKey}`; |
| 295 | } |
| 296 | |
| 297 | parseContentKey(contentKey: string) { |
| 298 | if (!this.useOpenAuthoring) { |
no test coverage detected