WIP on OpenGraph edit form (#52)
This commit is contained in:
@@ -581,6 +581,22 @@ type OpenGraphType =
|
||||
| "website" -> Website
|
||||
| _ -> invalidArg (nameof typ) $"{typ} is not a valid OpenGraph type"
|
||||
|
||||
/// <summary>The values and display names for valid values of this type</summary>
|
||||
static member Selections =
|
||||
[ string Article, nameof Article
|
||||
string Book, nameof Book
|
||||
string MusicAlbum, "Music: Album"
|
||||
string MusicPlaylist, "Music: Playlist"
|
||||
string MusicRadioStation, "Music: Radio Station"
|
||||
string MusicSong, "Music: Song"
|
||||
string PaymentLink, "Payment Link"
|
||||
string Profile, nameof Profile
|
||||
string VideoEpisode, "Video: Episode"
|
||||
string VideoMovie, "Video: Movie"
|
||||
string VideoOther, "Video: Other"
|
||||
string VideoTvShow, "Video: TV Show"
|
||||
string Website, nameof Website ]
|
||||
|
||||
override this.ToString() =
|
||||
match this with
|
||||
| Article -> "article"
|
||||
|
||||
Reference in New Issue
Block a user