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.
36 lines
881 B
JavaScript
36 lines
881 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
0 && (module.exports = {
|
|
isInternalComponent: null,
|
|
isNonRoutePagesPage: null
|
|
});
|
|
function _export(target, all) {
|
|
for(var name in all)Object.defineProperty(target, name, {
|
|
enumerable: true,
|
|
get: all[name]
|
|
});
|
|
}
|
|
_export(exports, {
|
|
isInternalComponent: function() {
|
|
return isInternalComponent;
|
|
},
|
|
isNonRoutePagesPage: function() {
|
|
return isNonRoutePagesPage;
|
|
}
|
|
});
|
|
function isInternalComponent(pathname) {
|
|
switch(pathname){
|
|
case "next/dist/pages/_app":
|
|
case "next/dist/pages/_document":
|
|
return true;
|
|
default:
|
|
return false;
|
|
}
|
|
}
|
|
function isNonRoutePagesPage(pathname) {
|
|
return pathname === "/_app" || pathname === "/_document";
|
|
}
|
|
|
|
//# sourceMappingURL=is-internal-component.js.map
|