summary refs log tree commit diff
path: root/dist/models/Event.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dist/models/Event.js11
-rw-r--r--dist/models/Event.js.map2
2 files changed, 12 insertions, 1 deletions
diff --git a/dist/models/Event.js b/dist/models/Event.js

index c5315321..0f4d0d8d 100644 --- a/dist/models/Event.js +++ b/dist/models/Event.js
@@ -1,3 +1,14 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +exports.EventModel = exports.EventSchema = void 0; +const mongoose_1 = require("mongoose"); +exports.EventSchema = new mongoose_1.Schema({ + guild_id: mongoose_1.Types.Long, + user_id: mongoose_1.Types.Long, + channel_id: mongoose_1.Types.Long, + created_at: { type: Number, required: true }, + event: { type: String, required: true }, + data: Object, +}); +exports.EventModel = mongoose_1.model("Event", exports.EventSchema, "events"); //# sourceMappingURL=Event.js.map \ No newline at end of file diff --git a/dist/models/Event.js.map b/dist/models/Event.js.map
index 63cd8fca..bc639871 100644 --- a/dist/models/Event.js.map +++ b/dist/models/Event.js.map
@@ -1 +1 @@ -{"version":3,"file":"Event.js","sourceRoot":"","sources":["../../src/models/Event.ts"],"names":[],"mappings":""} \ No newline at end of file +{"version":3,"file":"Event.js","sourceRoot":"","sources":["../../src/models/Event.ts"],"names":[],"mappings":";;;AAYA,uCAA0D;AAW7C,QAAA,WAAW,GAAG,IAAI,iBAAM,CAAC;IACrC,QAAQ,EAAE,gBAAK,CAAC,IAAI;IACpB,OAAO,EAAE,gBAAK,CAAC,IAAI;IACnB,UAAU,EAAE,gBAAK,CAAC,IAAI;IACtB,UAAU,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;IAC5C,KAAK,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;IACvC,IAAI,EAAE,MAAM;CACZ,CAAC,CAAC;AAEU,QAAA,UAAU,GAAG,gBAAK,CAAQ,OAAO,EAAE,mBAAW,EAAE,QAAQ,CAAC,CAAC"} \ No newline at end of file