Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
tyowk authored Dec 24, 2024
1 parent b84ad92 commit 7a2faaa
Showing 1 changed file with 12 additions and 17 deletions.
29 changes: 12 additions & 17 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Events = exports.Database = void 0;
var Database_1 = require("./classes/Database");
Object.defineProperty(exports, "Database", { enumerable: true, get: function () { return Database_1.Database; } });
var Events;
(function (Events) {
Events["Connect"] = "connect";
Events["Ready"] = "connect";
Events["Disconnect"] = "disconnect";
Events["Close"] = "disconnect";
Events["Error"] = "error";
Events["Acquire"] = "acquire";
Events["Release"] = "release";
Events["Connection"] = "connection";
Events["Enqueue"] = "enqueue";
})(Events || (exports.Events = Events = {}));
exports.Database = require('./classes/Database.js').Database;
exports.Events = {
Connect: 'connect',
Ready: 'connect',
Disconnect: 'disconnect',
Close: 'disconnect',
Error: 'error',
Acquire: 'acquire',
Release: 'release',
Connection: 'connection',
Enqueue: 'enqueue'
};

0 comments on commit 7a2faaa

Please sign in to comment.