(to: string)
| 669 | } |
| 670 | |
| 671 | async getDifferences(to: string) { |
| 672 | const result = await this.requestJSON<AzureGitCommitDiffs>({ |
| 673 | url: `${this.endpointUrl}/diffs/commits`, |
| 674 | params: { |
| 675 | baseVersion: this.branch, |
| 676 | targetVersion: this.refToBranch(to), |
| 677 | }, |
| 678 | }); |
| 679 | |
| 680 | return result.changes.filter( |
| 681 | d => |
| 682 | d.item.gitObjectType === AzureObjectType.BLOB && |
| 683 | Object.values(AzureCommitChangeType).includes(d.changeType), |
| 684 | ); |
| 685 | } |
| 686 | |
| 687 | async editorialWorkflowGit( |
| 688 | files: (DataFile | AssetProxy)[], |
no test coverage detected