diff options
author | crupest <crupest@outlook.com> | 2021-01-07 16:36:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-07 16:36:57 +0800 |
commit | d3c9d0a9335ac6df3e330172b1b1a8a219cbdbaf (patch) | |
tree | bb99d1a24fffc9c4142219b9c25dc66e3d2b60d2 /BackEnd/Timeline/Models/Timeline.cs | |
parent | 79b597f5163619f8620e60c02e3ff33894ac29d4 (diff) | |
parent | 7594a16e38304739487b053405153379faee6e58 (diff) | |
download | timeline-d3c9d0a9335ac6df3e330172b1b1a8a219cbdbaf.tar.gz timeline-d3c9d0a9335ac6df3e330172b1b1a8a219cbdbaf.tar.bz2 timeline-d3c9d0a9335ac6df3e330172b1b1a8a219cbdbaf.zip |
Merge pull request #198 from crupest/back-dev
Refactor back end.
Diffstat (limited to 'BackEnd/Timeline/Models/Timeline.cs')
-rw-r--r-- | BackEnd/Timeline/Models/Timeline.cs | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/BackEnd/Timeline/Models/Timeline.cs b/BackEnd/Timeline/Models/Timeline.cs new file mode 100644 index 00000000..fa3c0eb3 --- /dev/null +++ b/BackEnd/Timeline/Models/Timeline.cs @@ -0,0 +1,27 @@ +using System;
+using System.Collections.Generic;
+
+namespace Timeline.Models
+{
+ public enum TimelineVisibility
+ {
+ /// <summary>
+ /// All people including those without accounts.
+ /// </summary>
+ Public,
+ /// <summary>
+ /// Only people signed in.
+ /// </summary>
+ Register,
+ /// <summary>
+ /// Only member.
+ /// </summary>
+ Private
+ }
+
+ public static class TimelinePostContentTypes
+ {
+ public const string Text = "text";
+ public const string Image = "image";
+ }
+}
|