You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
316 B
12 lines
316 B
import { schema } from 'normalizr'
|
|
import { EntityType } from 'src/types'
|
|
|
|
export const groupSchema = new schema.Entity(EntityType.Group)
|
|
|
|
export const userSchema = new schema.Entity(EntityType.User, {
|
|
group: groupSchema,
|
|
})
|
|
|
|
export const logSchema = new schema.Entity(EntityType.Log, {
|
|
user: userSchema,
|
|
})
|