Skip to content

Commit f9342e9

Browse files
committed
better-abstract the GitHub integration implementation
1 parent b40a3ed commit f9342e9

8 files changed

+31
-387
lines changed

Sources/UnidocServer/GitHub.Client.Connection (ext).swift

Lines changed: 0 additions & 127 deletions
This file was deleted.

Sources/UnidocServer/GitHub.Integration.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@ import GitHubAPI
33
extension GitHub
44
{
55
public
6-
protocol Integration:AnyObject, Sendable
6+
protocol Integration:Unidoc.Registrar
77
{
88
var agent:String { get }
99
var oauth:OAuth { get }
10-
1110
var pat:PersonalAccessToken { get }
1211
}
1312
}

Sources/UnidocServer/GitHub.RefResponse.swift

Lines changed: 0 additions & 39 deletions
This file was deleted.

Sources/UnidocServer/GitHub.RepoMonitorResponse.swift

Lines changed: 0 additions & 51 deletions
This file was deleted.

Sources/UnidocServer/GitHub.RepoNode.swift

Lines changed: 0 additions & 154 deletions
This file was deleted.

0 commit comments

Comments
 (0)