namespace ZelWiki.Library
{
    public static class Constants
    {
        public const string CRYPTOCHECK = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
        public const string DEFAULTUSERNAME = "admin@ipangci.top";
        public const string DEFAULTACCOUNT = "admin";
        public const string DEFAULTPASSWORD = "Zhu0906.";

        public enum WikiTheme
        {
            Light,
            Dark
        }

        public enum AdminPasswordChangeState
        {
            /// <summary>
            /// 密码为默认
            /// </summary>
            IsDefault,
            /// <summary>
            /// 已修改密码
            /// </summary>
            HasBeenChanged,
            /// <summary>
            /// 默认密码状态不存在，需要将密码设置为默认值
            /// </summary>
            NeedsToBeSet
        }

        public static class WikiInstruction
        {
            public static string Deprecate { get; } = "Deprecate";
            public static string Protect { get; } = "Protect";
            public static string Template { get; } = "Template";
            public static string Review { get; } = "Review";
            public static string Include { get; } = "Include";
            public static string Draft { get; } = "Draft";
            public static string NoCache { get; } = "NoCache";
            public static string HideFooterComments { get; } = "HideFooterComments";
            public static string HideFooterLastModified { get; } = "HideFooterLastModified";
        }

        public static class Roles
        {
            /// <summary>
            ///管理员可以做任何事情。添加、编辑、删除、页面、用户等。
            /// </summary>
            public const string Administrator = "Administrator";
            /// <summary>
            /// 成员
            /// </summary>
            public const string Member = "Member";
            /// <summary>
            /// 版主
            /// </summary>
            public const string Contributor = "Contributor";
            /// <summary>
            /// 主持
            /// </summary>
            public const string Moderator = "Moderator";
        }
    }
}
