(collectionName: string, slug: string)
| 995 | } |
| 996 | |
| 997 | async deleteUnpublishedEntry(collectionName: string, slug: string) { |
| 998 | const contentKey = generateContentKey(collectionName, slug); |
| 999 | const branch = branchFromContentKey(contentKey); |
| 1000 | const mergeRequest = await this.getBranchMergeRequest(branch); |
| 1001 | await this.closeMergeRequest(mergeRequest); |
| 1002 | await this.deleteBranch(branch); |
| 1003 | } |
| 1004 | |
| 1005 | async getMergeRequestStatues(mergeRequest: GitLabMergeRequest, branch: string) { |
| 1006 | const statuses: GitLabCommitStatus[] = await this.requestJSON({ |
nothing calls this directly
no test coverage detected