typia
Version:
Superfast runtime validators with only one line
169 lines (168 loc) • 5.34 kB
JavaScript
import { __exportAll } from "./_virtual/_rolldown/runtime.mjs";
import { NoTransformConfigurationError } from "./transformers/NoTransformConfigurationError.mjs";
//#region src/notations.ts
var notations_exports = /* @__PURE__ */ __exportAll({
assertCamel: () => assertCamel,
assertKebab: () => assertKebab,
assertPascal: () => assertPascal,
assertSnake: () => assertSnake,
camel: () => camel,
createAssertCamel: () => createAssertCamel,
createAssertKebab: () => createAssertKebab,
createAssertPascal: () => createAssertPascal,
createAssertSnake: () => createAssertSnake,
createCamel: () => createCamel,
createIsCamel: () => createIsCamel,
createIsKebab: () => createIsKebab,
createIsPascal: () => createIsPascal,
createIsSnake: () => createIsSnake,
createKebab: () => createKebab,
createPascal: () => createPascal,
createSnake: () => createSnake,
createValidateCamel: () => createValidateCamel,
createValidateKebab: () => createValidateKebab,
createValidatePascal: () => createValidatePascal,
createValidateSnake: () => createValidateSnake,
isCamel: () => isCamel,
isKebab: () => isKebab,
isPascal: () => isPascal,
isSnake: () => isSnake,
kebab: () => kebab,
pascal: () => pascal,
snake: () => snake,
validateCamel: () => validateCamel,
validateKebab: () => validateKebab,
validatePascal: () => validatePascal,
validateSnake: () => validateSnake
});
/** @internal */
function camel() {
return NoTransformConfigurationError("notations.camel");
}
/** @internal */
function assertCamel() {
return NoTransformConfigurationError("notations.assertCamel");
}
/** @internal */
function isCamel() {
return NoTransformConfigurationError("notations.isCamel");
}
/** @internal */
function validateCamel() {
return NoTransformConfigurationError("notations.validateCamel");
}
/** @internal */
function pascal() {
return NoTransformConfigurationError("notations.pascal");
}
/** @internal */
function assertPascal() {
return NoTransformConfigurationError("notations.assertPascal");
}
/** @internal */
function isPascal() {
return NoTransformConfigurationError("notations.isPascal");
}
/** @internal */
function validatePascal() {
return NoTransformConfigurationError("notations.validatePascal");
}
/** @internal */
function snake() {
return NoTransformConfigurationError("notations.snake");
}
/** @internal */
function assertSnake() {
return NoTransformConfigurationError("notations.assertSnake");
}
/** @internal */
function isSnake() {
return NoTransformConfigurationError("notations.isSnake");
}
/** @internal */
function validateSnake() {
return NoTransformConfigurationError("notations.validateSnake");
}
/** @internal */
function kebab() {
return NoTransformConfigurationError("notations.kebab");
}
/** @internal */
function assertKebab() {
return NoTransformConfigurationError("notations.assertKebab");
}
/** @internal */
function isKebab() {
return NoTransformConfigurationError("notations.isKebab");
}
/** @internal */
function validateKebab() {
return NoTransformConfigurationError("notations.validateKebab");
}
/** @internal */
function createCamel() {
NoTransformConfigurationError("notations.createCamel");
}
/** @internal */
function createAssertCamel() {
NoTransformConfigurationError("notations.createAssertCamel");
}
/** @internal */
function createIsCamel() {
NoTransformConfigurationError("notations.createIsCamel");
}
/** @internal */
function createValidateCamel() {
NoTransformConfigurationError("notations.createValidateCamel");
}
/** @internal */
function createPascal() {
NoTransformConfigurationError("notations.createPascal");
}
/** @internal */
function createAssertPascal() {
NoTransformConfigurationError("notations.createAssertPascal");
}
/** @internal */
function createIsPascal() {
NoTransformConfigurationError("notations.createIsPascal");
}
/** @internal */
function createValidatePascal() {
NoTransformConfigurationError("notations.createValidatePascal");
}
/** @internal */
function createSnake() {
NoTransformConfigurationError("notations.createSnake");
}
/** @internal */
function createAssertSnake() {
NoTransformConfigurationError("notations.createAssertSnake");
}
/** @internal */
function createIsSnake() {
NoTransformConfigurationError("notations.createIsSnake");
}
/** @internal */
function createValidateSnake() {
NoTransformConfigurationError("notations.createValidateSnake");
}
/** @internal */
function createKebab() {
NoTransformConfigurationError("notations.createKebab");
}
/** @internal */
function createAssertKebab() {
NoTransformConfigurationError("notations.createAssertKebab");
}
/** @internal */
function createIsKebab() {
NoTransformConfigurationError("notations.createIsKebab");
}
/** @internal */
function createValidateKebab() {
NoTransformConfigurationError("notations.createValidateKebab");
}
//#endregion
export { assertCamel, assertKebab, assertPascal, assertSnake, camel, createAssertCamel, createAssertKebab, createAssertPascal, createAssertSnake, createCamel, createIsCamel, createIsKebab, createIsPascal, createIsSnake, createKebab, createPascal, createSnake, createValidateCamel, createValidateKebab, createValidatePascal, createValidateSnake, isCamel, isKebab, isPascal, isSnake, kebab, notations_exports, pascal, snake, validateCamel, validateKebab, validatePascal, validateSnake };
//# sourceMappingURL=notations.mjs.map