mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 19:14:16 +00:00
20 lines
679 B
JavaScript
Executable File
20 lines
679 B
JavaScript
Executable File
export default {
|
|
name: "User",
|
|
collection: "accounts",
|
|
schema: {
|
|
username: { type: String, required: true },
|
|
password: { type: String, required: true, select: false },
|
|
cover: { type: String },
|
|
description: { type: String, },
|
|
fullName: String,
|
|
avatar: { type: String },
|
|
email: String,
|
|
roles: { type: Array, default: [] },
|
|
verified: { type: Boolean, default: false },
|
|
birthday: { type: Date },
|
|
createdAt: { type: String },
|
|
badges: { type: Array, default: [] },
|
|
early_supporter: { type: Boolean, default: false },
|
|
links: { type: Array, default: [] },
|
|
}
|
|
} |