We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a78bae commit f7c3cdaCopy full SHA for f7c3cda
src/proxy/actions/Action.ts
@@ -1,6 +1,20 @@
1
import { getProxyUrl } from "../../config";
2
import { Step } from "./Step";
3
4
+/**
5
+ * Represents a commit.
6
+ */
7
+export interface Commit {
8
+ message: string;
9
+ committer: string;
10
+ tree: string;
11
+ parent: string;
12
+ author: string;
13
+ authorEmail: string;
14
+ commitTS?: string; // TODO: Normalize this to commitTimestamp
15
+ commitTimestamp?: string;
16
+}
17
+
18
/**
19
* Class representing a Push.
20
*/
@@ -14,6 +28,7 @@ class Action {
28
authorised: boolean = false;
29
canceled: boolean = false;
30
rejected: boolean = false;
31
+ commitData?: Commit[] = [];
32
commitFrom?: string;
33
commitTo?: string;
34
branch?: string;
0 commit comments