aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Configs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-02-20 18:23:05 +0800
committercrupest <crupest@outlook.com>2019-02-20 18:23:05 +0800
commit2bcdc32c4c6d37a6d40aa4fdfc7b04478a76e961 (patch)
treeda41fde0f5c7717f9e7665225015326bf99a0321 /Timeline/Configs
parent133b90cdbafabab0640bfb3179899fb4f3df4dbe (diff)
downloadtimeline-2bcdc32c4c6d37a6d40aa4fdfc7b04478a76e961.tar.gz
timeline-2bcdc32c4c6d37a6d40aa4fdfc7b04478a76e961.tar.bz2
timeline-2bcdc32c4c6d37a6d40aa4fdfc7b04478a76e961.zip
Move some config of todo page to server side.
Diffstat (limited to 'Timeline/Configs')
-rw-r--r--Timeline/Configs/TodoListConfig.cs12
-rw-r--r--Timeline/Configs/TodoPageConfig.cs21
2 files changed, 21 insertions, 12 deletions
diff --git a/Timeline/Configs/TodoListConfig.cs b/Timeline/Configs/TodoListConfig.cs
deleted file mode 100644
index a69e8d03..00000000
--- a/Timeline/Configs/TodoListConfig.cs
+++ /dev/null
@@ -1,12 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Threading.Tasks;
-
-namespace Timeline.Configs
-{
- public class TodoListConfig
- {
- public string AzureDevOpsPat { get; set; }
- }
-}
diff --git a/Timeline/Configs/TodoPageConfig.cs b/Timeline/Configs/TodoPageConfig.cs
new file mode 100644
index 00000000..d49e9dc3
--- /dev/null
+++ b/Timeline/Configs/TodoPageConfig.cs
@@ -0,0 +1,21 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+
+namespace Timeline.Configs
+{
+ public class AzureDevOpsAccessInfo
+ {
+ public string Username { get; set; }
+ public string PersonalAccessToken { get; set; }
+ public string Organization { get; set; }
+ public string Project { get; set; }
+
+ }
+
+ public class TodoPageConfig
+ {
+ public AzureDevOpsAccessInfo AzureDevOpsAccessInfo { get; set; }
+ }
+}