Commit Graph
5358 Commits
Author SHA1 Message Date
gcanti 46c43f79eb add support for template literals 2023-01-13 17:44:42 +01:00
gcanti cbf9a04867 Codec: remove parseOrThrow, stringify, of 2023-01-13 17:44:42 +01:00
gcanti e931adf205 Codec: refactor from class to interface 2023-01-13 17:44:42 +01:00
gcanti d9c9818170 unify type alias hooks 2023-01-13 17:44:42 +01:00
gcanti e16f2fb838 regex refinement: fix pattern value 2023-01-13 17:44:42 +01:00
github-actions[bot] 7c24a46db3 Version Packages 2022-12-29 13:33:28 +01:00
gcanti 9efe6a0bbb upgrade to latest @fp-ts/data 2022-12-29 13:28:42 +01:00
gcanti 2972083a82 update docs 2022-12-29 13:28:42 +01:00
gcanti 13ef0cc76c remove arbitrary and pretty from Codec 2022-12-29 13:28:42 +01:00
gcanti 6c0109396a chore 2022-12-29 13:28:42 +01:00
gcanti b4ab929163 /data/Option handle undefined 2022-12-29 13:28:42 +01:00
gcanti 8d7b4311bd do not throw on duplicate keys/index signatures 2022-12-29 13:28:42 +01:00
gcanti d0a9ff1f57 replace records with index signatures 2022-12-29 13:28:42 +01:00
gcanti f8e4536a51 add /data/ReadonlyMap 2022-12-29 13:28:42 +01:00
gcanti 656946b51d test/TypeScript: refactor record handling 2022-12-29 13:28:42 +01:00
gcanti f498ec2065 chore 2022-12-29 13:28:42 +01:00
gcanti 57b07ee532 AST: unify unions 2022-12-29 13:28:42 +01:00
gcanti 7940ed5be5 AST: fix record implementation 2022-12-29 13:28:42 +01:00
gcanti 7cd7c1f5a2 refactor parser 2022-12-29 13:28:42 +01:00
gcanti aeb7354309 refactor refinements 2022-12-29 13:28:42 +01:00
gcanti 5d4bea8677 refactor annotations 2022-12-29 13:28:42 +01:00
gcanti 914b942954 Schema: add null 2022-12-29 13:28:42 +01:00
gcanti 315934908d record: add basic support for refinements 2022-12-29 13:28:42 +01:00
gcanti 459b807a39 improve record 2022-12-29 13:28:42 +01:00
gcanti 0f2bf2bf4d AST: rename Refinement.declaration to meta 2022-12-29 13:28:42 +01:00
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