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