A BitBucketCloud specific implementation of a git commit.
| 130 | |
| 131 | /** A BitBucketCloud specific implementation of a git commit. */ |
| 132 | interface BitBucketCloudCommit { |
| 133 | /** The SHA for the commit */ |
| 134 | hash: string |
| 135 | |
| 136 | /** The author of the commit, assumed to be the person who wrote the code. */ |
| 137 | author: { |
| 138 | /** Format: `Foo Bar <foo@bar.com>` */ |
| 139 | raw: string |
| 140 | user: BitBucketCloudUser |
| 141 | } |
| 142 | |
| 143 | /** When the commit was committed to the project, in ISO 8601 format */ |
| 144 | date: string |
| 145 | /** The commit's message */ |
| 146 | message: string |
| 147 | /** The commit's parents */ |
| 148 | parents: { |
| 149 | /** The full SHA */ |
| 150 | hash: string |
| 151 | }[] |
| 152 | |
| 153 | /** The commit's links */ |
| 154 | links: BitBucketCloudLinks<"html"> |
| 155 | } |
| 156 | |
| 157 | interface BitBucketCloudContent { |
| 158 | raw: string |
nothing calls this directly
no outgoing calls
no test coverage detected