mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
update post
schema
This commit is contained in:
parent
e2de69dd79
commit
3d7061925a
@ -1,4 +1,7 @@
|
||||
export default {
|
||||
user_id: String,
|
||||
message: String,
|
||||
user_id: { type: String, required: true },
|
||||
created_at: { type: Number, required: true },
|
||||
message: { type: String, required: true },
|
||||
likes: { type: Array, default: [] },
|
||||
comments: { type: Array, default: [] },
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user