Commit Graph
5383 Commits
Author SHA1 Message Date
gcanti 7e5b762817 DecodeError: add actual to unexpected errors 2022-12-29 13:28:42 +01:00
gcanti af1c4cb69b AST: add allowUnexpected to Tuple 2022-12-29 13:28:42 +01:00
gcanti eb4ae29f93 add more tests related to warnings 2022-12-29 13:28:42 +01:00
gcanti e576be702c upgrade to latest @fp-ts/data 2022-12-29 13:28:42 +01:00
gcanti f02b4c917f Arbitrary: fix optional element bug 2022-12-29 13:28:42 +01:00
gcanti 605ee2d4dd renamings 2022-12-29 13:28:42 +01:00
gcanti 0cc5da9519 remove builders 2022-12-29 13:28:42 +01:00
gcanti 29011961d7 Encoder: handle post rest elements 2022-12-29 13:28:42 +01:00
gcanti 6adc213e35 A rest element cannot follow another rest element. ts(1265) 2022-12-29 13:28:42 +01:00
gcanti 9ecf64e26d switch defaults (allowUnexpected = false) 2022-12-29 13:28:42 +01:00
gcanti fe75dfc74c remove DecoderOutputAnnotation 2022-12-29 13:28:42 +01:00
gcanti 9290591129 refactor annotations 2022-12-29 13:28:42 +01:00
gcanti d099abe072 merge stringIndexSignature, symbolIndexSignature into record 2022-12-29 13:28:42 +01:00
gcanti 2a60522b8d Schema: add condemn, exact APIs 2022-12-29 13:28:42 +01:00
gcanti 18f66c8fe3 Schema: add transformDecodeResult, withError 2022-12-29 13:28:42 +01:00
gcanti b1918969ac update README 2022-12-29 13:28:42 +01:00
gcanti 141cda61a7 add InstanceOf filter 2022-12-29 13:28:42 +01:00
gcanti 9272bf8fe9 AST: add ObjectKeyword 2022-12-29 13:28:42 +01:00
gcanti a76d563383 add Finite filter 2022-12-29 13:28:42 +01:00
gcanti b8450fcbcc handle custom errors 2022-12-29 13:28:42 +01:00
gcanti 7feb5ad389 add NonNaN filter 2022-12-29 13:28:42 +01:00
gcanti bbf3aebf3d AST: refactor Refinement 2022-12-29 13:28:42 +01:00
gcanti dc5ce33ac2 index signatures and rest should rise warnings instead of failures 2022-12-29 13:28:42 +01:00
gcanti 1f0a1b26d8 DecodeError: renaming and add Parse 2022-12-29 13:28:42 +01:00
gcanti c93f951696 fix EndsWith typo 2022-12-29 13:28:42 +01:00
gcanti 97964398e5 add NumberBuilder 2022-12-29 13:28:42 +01:00
gcanti 1fd26ddd22 add Regex filter 2022-12-29 13:28:42 +01:00
gcanti 40edb35158 add EndsWith filter 2022-12-29 13:28:42 +01:00
gcanti 65e6230471 add StartsWith filter 2022-12-29 13:28:42 +01:00
gcanti 413beb20f9 experimental: StringBuilder 2022-12-29 13:28:42 +01:00
gcanti 1f97e47b0d bug fix: adding a post rest element makes all optional elements required but also adds undefined to their type 2022-12-29 13:28:42 +01:00
gcanti 6a29bc7a50 chore 2022-12-29 13:28:42 +01:00
github-actions[bot] 4d600296c1 Version Packages 2022-12-20 19:01:30 +01:00
gcanti fec48deaba update docs 2022-12-20 18:58:03 +01:00
gcanti 99ebcebae2 TypeScript: handle struct and fields jsDocs 2022-12-20 18:58:03 +01:00
gcanti 483051474d FieldSchema -> OptionalSchema 2022-12-20 18:58:03 +01:00
gcanti 20e6d6a128 add DocumentationAnnotation 2022-12-20 18:58:03 +01:00
gcanti e879fb85f6 test/TypeScript: handle refinements 2022-12-20 18:58:03 +01:00
gcanti 011334e872 add IdentifierAnnotation 2022-12-20 18:58:03 +01:00
gcanti e1fb02ddb8 AST: add Refinement 2022-12-20 18:58:03 +01:00
gcanti e7aa747b69 add JSONSchemaAnnotation 2022-12-20 18:58:03 +01:00
gcanti af1a8da82d refactor annotations 2022-12-20 18:58:03 +01:00
gcanti 300239cd58 filters are not type aliases 2022-12-20 18:58:03 +01:00
gcanti c44016aaa2 remove Provider module 2022-12-20 18:58:03 +01:00
gcanti 92746fa724 make Pretty annotation based 2022-12-20 18:58:03 +01:00
gcanti c15daeb77d make Encoder annotation based 2022-12-20 18:58:03 +01:00
gcanti 95c2addaa6 make Decoder annotation based 2022-12-20 18:58:03 +01:00
gcanti b34e312690 make Arbitrary annotation based 2022-12-20 18:58:03 +01:00
gcanti 7dc90a0c98 make Guard annotation based 2022-12-20 18:58:03 +01:00
gcanti 10f9f0876c GuardAnnotation POC 2022-12-20 18:58:03 +01:00