Put types and enums that both the server and web need into a common area
This commit is contained in:
parent
526b4c5771
commit
4c957cce07
4 changed files with 37 additions and 0 deletions
7
common/enums/Status.ts
Normal file
7
common/enums/Status.ts
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
export const Status = {
|
||||
Success: 200,
|
||||
UnknownError: 400,
|
||||
OutOfDate: 401,
|
||||
NotFound: 404,
|
||||
Teapot: 418,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue