aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ClientApp/src/app/user/entities.ts
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-03-09 01:42:38 +0800
committercrupest <crupest@outlook.com>2019-03-09 01:42:38 +0800
commitb01ba534a0017ad8bf85ddecff7610a6de6a74e9 (patch)
tree282b8feda6ac6dfd5213f4fe67766401d72472c3 /Timeline/ClientApp/src/app/user/entities.ts
parent17d90077b289c6b2203a34de727dd77c1985f146 (diff)
downloadtimeline-b01ba534a0017ad8bf85ddecff7610a6de6a74e9.tar.gz
timeline-b01ba534a0017ad8bf85ddecff7610a6de6a74e9.tar.bz2
timeline-b01ba534a0017ad8bf85ddecff7610a6de6a74e9.zip
User named route in dialog.
Diffstat (limited to 'Timeline/ClientApp/src/app/user/entities.ts')
-rw-r--r--Timeline/ClientApp/src/app/user/entities.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/Timeline/ClientApp/src/app/user/entities.ts b/Timeline/ClientApp/src/app/user/entities.ts
new file mode 100644
index 00000000..6d432ec6
--- /dev/null
+++ b/Timeline/ClientApp/src/app/user/entities.ts
@@ -0,0 +1,9 @@
+export interface UserCredentials {
+ username: string;
+ password: string;
+}
+
+export interface UserInfo {
+ username: string;
+ roles: string[];
+}