Files
dealplustech/node_modules/zod/v4/mini/coerce.js
Kunthawat Greethong 443c3377e2 refactor: Move Astro to root, use PORT env (default 80), allow all hosts
- Move Astro files from dealplustech-astro/ to project root
- Update Dockerfile: PORT environment variable (default 80)
- Add vite.config.ts with allowedHosts: true
- Matches nixpacks behavior for Easypanel deployment
- No hardcoded ports or domains
2026-03-03 11:40:50 +07:00

18 lines
570 B
JavaScript

import * as core from "../core/index.js";
import * as schemas from "./schemas.js";
export function string(params) {
return core._coercedString(schemas.ZodMiniString, params);
}
export function number(params) {
return core._coercedNumber(schemas.ZodMiniNumber, params);
}
export function boolean(params) {
return core._coercedBoolean(schemas.ZodMiniBoolean, params);
}
export function bigint(params) {
return core._coercedBigint(schemas.ZodMiniBigInt, params);
}
export function date(params) {
return core._coercedDate(schemas.ZodMiniDate, params);
}