Created
October 14, 2022 10:18
-
-
Save JWLangford/1ff0b949da73a305e9e8644b69834f64 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface Id { | |
id: string | |
} | |
interface IDates { | |
created: string | |
updated: string | |
} | |
interface IEmail { | |
email: string | |
} | |
interface IObjectBase { | |
id: string | |
created: string | |
updated: string | |
} | |
interface IModalBase { | |
open: boolean | |
setOpen(open: boolean): void | |
} | |
interface ISliceBase { | |
loading: boolean | |
error: boolean | |
errorMessage: string | |
} | |
interface IUserBase { | |
username: string | |
email: string | |
status: number | |
} | |
interface IAdminUser extends IObjectBase, IUserBase { | |
totalSubUsers: number | |
} | |
interface ISubUser extends IObjectBase, IUserBase { | |
adminId: string | |
} | |
interface IAdmin2 extends Id, IDates, IUserBase, IEmail { | |
totalSubUsers: number | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment