14 lines
246 B
TypeScript
14 lines
246 B
TypeScript
export interface Post {
|
|
_id: string
|
|
notes: string
|
|
photo: string
|
|
status: StatusEnum
|
|
userID: string
|
|
}
|
|
|
|
export enum StatusEnum {
|
|
Created = "created",
|
|
Pending = "pending",
|
|
Denied = "denied",
|
|
Accepted = "accepted"
|
|
} |