This commit implements the core admin dashboard functionality including NextAuth authentication, Cloudflare D1 database integration with complete schema, and Cloudflare R2 file upload system for portfolio images. Features include artist management, appointment scheduling, and data migration capabilities.
20 lines
481 B
JavaScript
20 lines
481 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
Object.defineProperty(exports, "flushAndExit", {
|
|
enumerable: true,
|
|
get: function() {
|
|
return flushAndExit;
|
|
}
|
|
});
|
|
const _shared = require("../trace/shared");
|
|
async function flushAndExit(code) {
|
|
let telemetry = _shared.traceGlobals.get("telemetry");
|
|
if (telemetry) {
|
|
await telemetry.flush();
|
|
}
|
|
process.exit(code);
|
|
}
|
|
|
|
//# sourceMappingURL=flush-and-exit.js.map
|