Initial commit

This commit is contained in:
2025-03-07 19:22:02 +01:00
commit 4a98255d83
55743 changed files with 5280367 additions and 0 deletions
@@ -0,0 +1,24 @@
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = maybe;
const next_js_1 = __importDefault(require("./next.js"));
function maybe(cb, promise) {
if (cb) {
promise.then(function (result) {
(0, next_js_1.default)(function () {
cb(null, result);
});
}, function (err) {
(0, next_js_1.default)(function () {
cb(err);
});
});
return undefined;
}
else {
return promise;
}
}