Initial hDiyanetProxy backend scaffold (Express + MySQL + Diyanet setup)

This commit is contained in:
hbt22bot
2026-02-27 05:01:41 +00:00
commit 94d5388864
4399 changed files with 464304 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
var __defProp = Object.defineProperty;
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
var __export = (target, all) => {
__markAsModule(target);
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
__export(exports, {
withSqliteForeignKeysOff: () => withSqliteForeignKeysOff
});
async function withSqliteForeignKeysOff(sequelize, options, cb) {
try {
await sequelize.query("PRAGMA foreign_keys = OFF", options);
return await cb();
} finally {
await sequelize.query("PRAGMA foreign_keys = ON", options);
}
}
//# sourceMappingURL=sqlite-utils.js.map