Skip to content

Commit

Permalink
Add isRecordOfAtLeast and optional to exports
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelLefkowitz committed Jul 14, 2024
1 parent ae197a8 commit 79b0df2
Showing 1 changed file with 32 additions and 28 deletions.
60 changes: 32 additions & 28 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,50 +1,54 @@
export { isArrayOf, isRecordOf } from "./factories/aliases";
export { validateEach, validateAll } from "./factories/arrays";
export { validateIf } from "./factories/conditionals";
export { fail } from "./factories/errors";
export { validateOr, validateEachOr } from "./factories/fallbacks";
export { filterValid } from "./factories/filter";
export { guard, fromGuard } from "./factories/guards";
export { invalidate, invalidateWith } from "./factories/invalidate";
export { validateRegex } from "./factories/regexes";
export { all, any, merge, sieve } from "./factories/results";
export { not, both, either } from "./factories/transform";
export { validate, validateWith } from "./factories/validate";
export { Annotated, RecordLike } from "./models/records";
export { ArrayFields, ValidatedFields, ValidatorFields } from "./models/fields";
export { RecordLike, Annotated } from "./models/records";
export { RegexResult, RegexValidator } from "./models/regexes";
export {
Valid,
Guard,
Invalid,
ValidationErrors,
Valid,
Validated,
ValidationErrors,
Validator,
Guard,
} from "./models/validators";
export { serialize } from "./services/strings";
export { suite } from "./testing/suites";
export { RegexResult, RegexValidator } from "./models/regexes";
export { all, any, merge, sieve } from "./factories/results";
export { both, either, not, optional } from "./factories/transform";
export { fail } from "./factories/errors";
export { filterValid } from "./factories/filter";
export { fromGuard, guard } from "./factories/guards";
export { invalidate, invalidateWith } from "./factories/invalidate";
export {
isArray,
isManyOf,
isNonEmptyArray,
isNumberArray,
isStringArray,
isOneOf,
isManyOf,
isStringArray,
} from "./validators/arrays";
export { isInteger, isNaturalNumber } from "./validators/numbers";
export { isArrayOf, isRecordOf, isRecordOfAtLeast } from "./factories/aliases";
export {
isUndefined,
isNull,
isBoolean,
isNull,
isNumber,
isString,
isObject,
isString,
isUndefined,
} from "./validators/primitives";
export { isRecord, isNonEmptyRecord } from "./validators/records";
export { isEmail } from "./validators/regexes";
export {
isBooleanString,
isNumberString,
isIntegerString,
isNaturalNumberString,
isNumberString,
} from "./validators/strings";
export { isEmail } from "./validators/regexes";
export { isInteger, isNaturalNumber } from "./validators/numbers";
export { isNonEmptyRecord, isRecord } from "./validators/records";
export { serialize } from "./services/strings";
export { suite } from "./testing/suites";
export {
validate,
validateWith,
validateWithAtLeast,
} from "./factories/validate";
export { validateAll, validateEach } from "./factories/arrays";
export { validateEachOr, validateOr } from "./factories/fallbacks";
export { validateIf } from "./factories/conditionals";
export { validateRegex } from "./factories/regexes";

0 comments on commit 79b0df2

Please sign in to comment.