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