adding ugly start to posts page
This commit is contained in:
14
app/models/postModel.ts
Normal file
14
app/models/postModel.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
export interface Post {
|
||||
_id: string
|
||||
notes: string
|
||||
photo: string
|
||||
status: StatusEnum
|
||||
userID: string
|
||||
}
|
||||
|
||||
export enum StatusEnum {
|
||||
Created = "created",
|
||||
Pending = "pending",
|
||||
Denied = "denied",
|
||||
Accepted = "accepted"
|
||||
}
|
||||
Reference in New Issue
Block a user