Files
2024-09-22 16:50:32 +01:00

24 lines
449 B
Forth

namespace Gitea.InMemory
open System
open System.Threading.Tasks
open Gitea.Declarative
module Types =
type BranchName = | BranchName of string
type BranchProtectionRule =
{
RequiredChecks : string Set
}
type NativeRepo =
{
BranchProtectionRules : (BranchName * BranchProtectionRule) list
}
type Repo =
| GitHubMirror of Uri
| NativeRepo of NativeRepo