main
|
Last change
on this file since 4022db1 was 0c86e77, checked in by Filip Gavrilovski <filipgavrilovski28@…>, 6 months ago |
|
add axios, auth context, simple working register form on frontend
|
-
Property mode
set to
100644
|
|
File size:
224 bytes
|
| Line | |
|---|
| 1 | export interface UserResponse {
|
|---|
| 2 | username: string;
|
|---|
| 3 | role: "ADMIN" | "NONADMIN";
|
|---|
| 4 | }
|
|---|
| 5 |
|
|---|
| 6 | export interface User {
|
|---|
| 7 | username: string;
|
|---|
| 8 | fullName: string;
|
|---|
| 9 | email: string;
|
|---|
| 10 | profilePhoto?: string | null;
|
|---|
| 11 | role?: "ADMIN" | "NONADMIN";
|
|---|
| 12 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.