simple-body-validator
Version:
This package is inspired by Laravel validation, and aims to make body validation easier for Javascript developers
138 lines (137 loc) • 4.61 kB
TypeScript
declare namespace _default {
export const accepted: string;
export const accepted_if: string;
export const after: string;
export const after_or_equal: string;
export const alpha: string;
export const alpha_dash: string;
export const alpha_num: string;
export const array: string;
export const before: string;
export const before_or_equal: string;
export namespace between {
export const number: string;
export const string: string;
const array_1: string;
export { array_1 as array };
export const object: string;
}
export const boolean: string;
export const confirmed: string;
export const date: string;
export const date_equals: string;
export const declined: string;
export const declined_if: string;
export const different: string;
export const digits: string;
export const digits_between: string;
export const email: string;
export const ends_with: string;
export namespace gt {
const number_1: string;
export { number_1 as number };
const string_1: string;
export { string_1 as string };
const array_2: string;
export { array_2 as array };
const object_1: string;
export { object_1 as object };
}
export namespace gte {
const number_2: string;
export { number_2 as number };
const string_2: string;
export { string_2 as string };
const array_3: string;
export { array_3 as array };
const object_2: string;
export { object_2 as object };
}
const _in: string;
export { _in as in };
export const integer: string;
export const json: string;
export namespace lt {
const number_3: string;
export { number_3 as number };
const string_3: string;
export { string_3 as string };
const array_4: string;
export { array_4 as array };
const object_3: string;
export { object_3 as object };
}
export namespace lte {
const number_4: string;
export { number_4 as number };
const string_4: string;
export { string_4 as string };
const array_5: string;
export { array_5 as array };
const object_4: string;
export { object_4 as object };
}
export namespace max {
const number_5: string;
export { number_5 as number };
const string_5: string;
export { string_5 as string };
const array_6: string;
export { array_6 as array };
const object_5: string;
export { object_5 as object };
}
export namespace min {
const number_6: string;
export { number_6 as number };
const string_6: string;
export { string_6 as string };
const array_7: string;
export { array_7 as array };
const object_6: string;
export { object_6 as object };
}
export const not_in: string;
export const not_regex: string;
export const numeric: string;
const object_7: string;
export { object_7 as object };
export namespace password {
export const letter: string;
export const letters: string;
export const lower_case: string;
export const lower_cases: string;
const number_7: string;
export { number_7 as number };
export const numbers: string;
export const symbol: string;
export const symbols: string;
export const upper_case: string;
export const upper_cases: string;
}
export const present: string;
export const regex: string;
export const required: string;
export const required_if: string;
export const required_unless: string;
export const required_with: string;
export const required_with_all: string;
export const required_without: string;
export const required_without_all: string;
export const starts_with: string;
export const same: string;
export namespace size {
const number_8: string;
export { number_8 as number };
const string_7: string;
export { string_7 as string };
const array_8: string;
export { array_8 as array };
const object_8: string;
export { object_8 as object };
}
const string_8: string;
export { string_8 as string };
export const url: string;
}
export default _default;