Converted main codebase to typescript
Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
11
src/schemas/waitinglistSchema.ts
Normal file
11
src/schemas/waitinglistSchema.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { Schema, model } from "mongoose"
|
||||
|
||||
const waitinglistSchema = new Schema({
|
||||
_id: Schema.Types.ObjectId,
|
||||
userID: { type: String, required: true },
|
||||
uuid: { type: String, required: true },
|
||||
IGN: { type: String, required: true },
|
||||
timestamp: { type: Number, required: true }
|
||||
})
|
||||
|
||||
export = model("waitinglist", waitinglistSchema, "waitinglist")
|
||||
Reference in New Issue
Block a user