♻️ 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:
21
dealplustech-astro/node_modules/zod-to-json-schema/dist/esm/parsers/optional.js
generated
vendored
21
dealplustech-astro/node_modules/zod-to-json-schema/dist/esm/parsers/optional.js
generated
vendored
@@ -1,21 +0,0 @@
|
||||
import { parseDef } from "../parseDef.js";
|
||||
import { parseAnyDef } from "./any.js";
|
||||
export const parseOptionalDef = (def, refs) => {
|
||||
if (refs.currentPath.toString() === refs.propertyPath?.toString()) {
|
||||
return parseDef(def.innerType._def, refs);
|
||||
}
|
||||
const innerSchema = parseDef(def.innerType._def, {
|
||||
...refs,
|
||||
currentPath: [...refs.currentPath, "anyOf", "1"],
|
||||
});
|
||||
return innerSchema
|
||||
? {
|
||||
anyOf: [
|
||||
{
|
||||
not: parseAnyDef(refs),
|
||||
},
|
||||
innerSchema,
|
||||
],
|
||||
}
|
||||
: parseAnyDef(refs);
|
||||
};
|
||||
Reference in New Issue
Block a user