namespace Gitea.Declarative open System open System.Collections.Generic open System.ComponentModel open Newtonsoft.Json type SerialisedMergeStyle = string [] [] [] [] type SerialisedPushMirror = { [] GitHubAddress : string } [] [] [] [] type SerialisedProtectedBranch = { [] BranchName : string [] BlockOnOutdatedBranch : Nullable [] [] RequiredStatusChecks : string array } [] [] [] [] type internal SerialisedNativeRepo = { [] [] DefaultBranch : string [] [] Private : Nullable [] [] IgnoreWhitespaceConflicts : Nullable [] [] HasPullRequests : Nullable [] [] HasProjects : Nullable [] [] HasIssues : Nullable [] [] HasWiki : Nullable [] [] DefaultMergeStyle : SerialisedMergeStyle [] [] DeleteBranchAfterMerge : Nullable [] [] AllowSquashMerge : Nullable [] [] AllowRebaseUpdate : Nullable [] [] AllowRebase : Nullable [] [] AllowRebaseExplicit : Nullable [] [] AllowMergeCommits : Nullable [] [] Mirror : Nullable [] [] ProtectedBranches : SerialisedProtectedBranch array [] [] Collaborators : string array } [] [] [] type internal SerialisedGitHubRepo = { [] [] Uri : string [] [] MirrorInterval : string } [] [] type internal SerialisedRepo = { [] [] Description : string [] [] GitHub : Nullable [] [] Native : Nullable [] [] Deleted : Nullable } [] [] type internal SerialisedUserInfo = { [] IsAdmin : Nullable [] Email : string [] Website : Uri [] Visibility : string } [] [] type internal SerialisedGiteaConfig = { [] Users : Dictionary [] Repos : Dictionary> }