Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
18 lines
570 B
Plaintext
18 lines
570 B
Plaintext
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);
|
|
}
|