(collectionName: string, slug: string)
| 1005 | } |
| 1006 | |
| 1007 | async deleteUnpublishedEntry(collectionName: string, slug: string) { |
| 1008 | const contentKey = generateContentKey(collectionName, slug); |
| 1009 | const branch = branchFromContentKey(contentKey); |
| 1010 | const mergeRequest = await this.getBranchMergeRequest(branch); |
| 1011 | await this.closeMergeRequest(mergeRequest); |
| 1012 | await this.deleteBranch(branch); |
| 1013 | } |
| 1014 | |
| 1015 | async getMergeRequestStatues(mergeRequest: GitLabMergeRequest, branch: string) { |
| 1016 | const statuses: GitLabCommitStatus[] = await this.requestJSON({ |
nothing calls this directly
no test coverage detected