♻️ Restructure: Move Astro to repository root
BREAKING CHANGE: Astro project is now at repository root - Removed dealplustech-astro subdirectory - Moved all Astro files to root - Updated PostCSS config to .cjs - Removed old Next.js files ✅ 11 pages built successfully ✅ Cookie consent banner included ✅ Privacy/Terms links in footer ✅ Ready for Easypanel deployment (no root dir needed) Migration path: - Old structure: /dealplustech-astro/ - New structure: / (root)
This commit is contained in:
20
dealplustech-astro/node_modules/zod-to-json-schema/dist/cjs/parsers/nativeEnum.js
generated
vendored
20
dealplustech-astro/node_modules/zod-to-json-schema/dist/cjs/parsers/nativeEnum.js
generated
vendored
@@ -1,20 +0,0 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.parseNativeEnumDef = void 0;
|
||||
function parseNativeEnumDef(def) {
|
||||
const object = def.values;
|
||||
const actualKeys = Object.keys(def.values).filter((key) => {
|
||||
return typeof object[object[key]] !== "number";
|
||||
});
|
||||
const actualValues = actualKeys.map((key) => object[key]);
|
||||
const parsedTypes = Array.from(new Set(actualValues.map((values) => typeof values)));
|
||||
return {
|
||||
type: parsedTypes.length === 1
|
||||
? parsedTypes[0] === "string"
|
||||
? "string"
|
||||
: "number"
|
||||
: ["string", "number"],
|
||||
enum: actualValues,
|
||||
};
|
||||
}
|
||||
exports.parseNativeEnumDef = parseNativeEnumDef;
|
||||
Reference in New Issue
Block a user