mirror of
https://github.com/Smaug123/PulumiConfig
synced 2025-10-09 18:48:39 +00:00
Miniflux and Woodpecker (#13)
This commit is contained in:
@@ -97,18 +97,24 @@ type WellKnownSubdomain =
|
||||
| Nextcloud
|
||||
| Gitea
|
||||
| Radicale
|
||||
| Rss
|
||||
| Woodpecker
|
||||
|
||||
override this.ToString () =
|
||||
match this with
|
||||
| Nextcloud -> "nextcloud"
|
||||
| Gitea -> "gitea"
|
||||
| Radicale -> "calendar"
|
||||
| Rss -> "rss"
|
||||
| Woodpecker -> "woodpecker"
|
||||
|
||||
static member Parse (s : string) =
|
||||
match s with
|
||||
| "nextcloud" -> WellKnownSubdomain.Nextcloud
|
||||
| "gitea" -> WellKnownSubdomain.Gitea
|
||||
| "calendar" -> WellKnownSubdomain.Radicale
|
||||
| "rss" -> WellKnownSubdomain.Rss
|
||||
| "woodpecker" -> WellKnownSubdomain.Woodpecker
|
||||
| _ -> failwith $"Failed to deserialise: {s}"
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user