2024-05-05 02:18:20 +01:00
|
|
|
namespace OliverBooth.Common.Data;
|
2023-08-20 14:22:52 +01:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// An enumeration of the possible visibilities of a blog post.
|
|
|
|
/// </summary>
|
2024-02-23 16:50:43 +00:00
|
|
|
public enum Visibility
|
2023-08-20 14:22:52 +01:00
|
|
|
{
|
2024-02-23 17:50:40 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Used for filtering results. Represents all visibilities.
|
|
|
|
/// </summary>
|
|
|
|
None = -1,
|
|
|
|
|
2023-08-20 14:22:52 +01:00
|
|
|
/// <summary>
|
|
|
|
/// The post is private and only visible to the author, or those with the password.
|
|
|
|
/// </summary>
|
|
|
|
Private,
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// The post is unlisted and only visible to those with the link.
|
|
|
|
/// </summary>
|
|
|
|
Unlisted,
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// The post is published and visible to everyone.
|
|
|
|
/// </summary>
|
|
|
|
Published
|
|
|
|
}
|