summaryrefslogtreecommitdiff
path: root/front/src/Authentication/Models.ts
diff options
context:
space:
mode:
authorphyscik <mynameisgennadiy@vk.com>2026-04-28 23:33:59 +0500
committerphyscik <mynameisgennadiy@vk.com>2026-04-28 23:33:59 +0500
commit533c04d9558bd0a575671c157ca42236f59a2c5a (patch)
tree895ec8672f9633fd6cfef85f6a12921fc5339ab3 /front/src/Authentication/Models.ts
parentec5ef35ed47b90b9f09199d28f7885f8287815a8 (diff)
frontend auth
Diffstat (limited to 'front/src/Authentication/Models.ts')
-rw-r--r--front/src/Authentication/Models.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/front/src/Authentication/Models.ts b/front/src/Authentication/Models.ts
new file mode 100644
index 0000000..1918b85
--- /dev/null
+++ b/front/src/Authentication/Models.ts
@@ -0,0 +1,4 @@
+export type User = {
+ Username: string,
+ Role: "user" | "editor"
+}