mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
redux: auth and map init
This commit is contained in:
parent
dca55a3bc4
commit
df6202c32d
17 changed files with 325 additions and 163 deletions
18
src/constants/types.js
Normal file
18
src/constants/types.js
Normal file
|
@ -0,0 +1,18 @@
|
|||
import { ROLES } from '$constants/auth';
|
||||
|
||||
export type UserType = {
|
||||
new_messages: Number,
|
||||
place_types: Object,
|
||||
random_url: String,
|
||||
role: String,
|
||||
routes: Array<Object>,
|
||||
success: Boolean,
|
||||
id: String,
|
||||
token: String,
|
||||
userdata: {
|
||||
name: String,
|
||||
agent: String,
|
||||
ip: String,
|
||||
photo: String,
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue