aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Models/Timeline.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-01-07 16:36:57 +0800
committerGitHub <noreply@github.com>2021-01-07 16:36:57 +0800
commit5ad1b1f0191ee1131e7808c8fcb0484ba29c0d4d (patch)
treec483a2fff48ad952e787e5af1bb541d939a09f19 /BackEnd/Timeline/Models/Timeline.cs
parent20e9136a9f27a0b77f076ea5997b71d89ce3cfca (diff)
parentdf1ef1e21d8d889a2c9abd440039533c6a43818f (diff)
downloadtimeline-5ad1b1f0191ee1131e7808c8fcb0484ba29c0d4d.tar.gz
timeline-5ad1b1f0191ee1131e7808c8fcb0484ba29c0d4d.tar.bz2
timeline-5ad1b1f0191ee1131e7808c8fcb0484ba29c0d4d.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.cs27
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";
+ }
+}