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.
25 lines
686 B
JavaScript
25 lines
686 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
Object.defineProperty(exports, "default", {
|
|
enumerable: true,
|
|
get: function() {
|
|
return matchBundle;
|
|
}
|
|
});
|
|
const _getroutefromassetpath = /*#__PURE__*/ _interop_require_default(require("../shared/lib/router/utils/get-route-from-asset-path"));
|
|
function _interop_require_default(obj) {
|
|
return obj && obj.__esModule ? obj : {
|
|
default: obj
|
|
};
|
|
}
|
|
function matchBundle(regex, input) {
|
|
const result = regex.exec(input);
|
|
if (!result) {
|
|
return null;
|
|
}
|
|
return (0, _getroutefromassetpath.default)(`/${result[1]}`);
|
|
}
|
|
|
|
//# sourceMappingURL=match-bundle.js.map
|