Commit Graph
5269 Commits
Author SHA1 Message Date
gcanti da33653b6b ParseError: refactor Transform error 2023-01-13 17:44:42 +01:00
gcanti 8ddc34d5f9 simplify error messages 2023-01-13 17:44:42 +01:00
gcanti d2441bbde2 AST: refactor Enums node (add identifier) 2023-01-13 17:44:42 +01:00
gcanti f4f5f154a0 ParseError: refactor expected field of Type error 2023-01-13 17:44:42 +01:00
gcanti 5d2b746239 add Meta model and refactor refinements 2023-01-13 17:44:42 +01:00
gcanti bbe413a712 remove Meta error until I know what to do with it 2023-01-13 17:44:42 +01:00
gcanti 545d9248cb is/asserts: add ParseOptions parameter 2023-01-13 17:44:42 +01:00
gcanti 6c66790569 rename Decoder to Parser, DecodeError to ParseError, DecodeResult to ParseResult 2023-01-13 17:44:42 +01:00
gcanti 76fdbf6d95 Decoder: 100% coverage 2023-01-13 17:44:42 +01:00
gcanti 8c19ac58b9 allow warnings in refinements 2023-01-13 17:44:42 +01:00
gcanti 6fb43e105c AST: rename Transform members 2023-01-13 17:44:42 +01:00
gcanti 6ac13a75fb remove Encoder module 2023-01-13 17:44:42 +01:00
gcanti 28e52dcbfe update docs 2023-01-13 17:44:42 +01:00
gcanti b9e882dae2 remove Guard module 2023-01-13 17:44:42 +01:00
gcanti ea29ea9956 do not export prettyFor 2023-01-13 17:44:42 +01:00
gcanti cdb11d40c5 do not export encoderFor 2023-01-13 17:44:42 +01:00
gcanti 87de60fd88 do not export decoderFor 2023-01-13 17:44:42 +01:00
gcanti 60ea5cddf9 do not export arbitraryFor 2023-01-13 17:44:42 +01:00
gcanti 9ce7f15b38 do not export guardFor 2023-01-13 17:44:42 +01:00
gcanti ae20fa7261 refactor hook annotations 2023-01-13 17:44:42 +01:00
gcanti 26f9c6d23d remove useless declaration 2023-01-13 17:44:42 +01:00
gcanti 47c94d2e19 add InferInput, InferOutput 2023-01-13 17:44:42 +01:00
gcanti 218370d710 refactor /data/UUID 2023-01-13 17:44:42 +01:00
gcanti 78055a7dfc rename regex to pattern 2023-01-13 17:44:42 +01:00
gcanti 10ac9837b4 more test coverage 2023-01-13 17:44:42 +01:00
gcanti 5f3d9bf797 move options near input 2023-01-13 17:44:42 +01:00
gcanti 50612862f2 more test coverage 2023-01-13 17:44:42 +01:00
gcanti 0125a125d2 template literals: add support for ${number} 2023-01-13 17:44:42 +01:00
gcanti c6823d09f8 handle allErrors 2023-01-13 17:44:42 +01:00
gcanti c151afe122 AST: remove isUnexpectedAllowed 2023-01-13 17:44:42 +01:00
gcanti af89ec40a3 move options 2023-01-13 17:44:42 +01:00
gcanti 33931215cf add options to Encoder 2023-01-13 17:44:42 +01:00
gcanti 970d6263fd add options to Decoder 2023-01-13 17:44:42 +01:00
gcanti b8af03ee5d /data: fix Chunk, ReadonlySet, ReadonlyMap 2023-01-13 17:44:42 +01:00
gcanti 8c7ed0d8f0 add some missing keyof members 2023-01-13 17:44:42 +01:00
gcanti 12fd72349a chore 2023-01-13 17:44:42 +01:00
gcanti f6655902e9 handle sensitive schemas 2023-01-13 17:44:42 +01:00
gcanti 1a52653742 add includes string filter 2023-01-13 17:44:42 +01:00
gcanti a0bb62214c Arbitrary compiler: handle refinement annotations 2023-01-13 17:44:42 +01:00
gcanti 172c8effd3 docs: Formatting errors 2023-01-13 17:44:42 +01:00
gcanti 61c39dad8e upgrade to latest @fp-ts/data 2023-01-13 17:44:42 +01:00
gcanti e90a8e3bc3 remove Codec module 2023-01-13 17:44:42 +01:00
gcanti fd87409773 allow encoders to possibly fail 2023-01-13 17:44:42 +01:00
gcanti 92d23992f1 chore 2023-01-13 17:44:42 +01:00
gcanti 0709837109 document recursive types and transformations 2023-01-13 17:44:42 +01:00
gcanti 4967c2e4ae upgrade to latest @fp-ts/data 2023-01-13 17:44:42 +01:00
gcanti c66c6b1af3 refactor /data using transform: Chunk.fromArray, ReadonlyMap.fromEntries, ReadonlySet.fromArray 2023-01-13 17:44:42 +01:00
gcanti d425c24690 Encoder: fix Transform case 2023-01-13 17:44:42 +01:00
gcanti fa6fb4695d rename parseString to parseNumber 2023-01-13 17:44:42 +01:00
gcanti cb0974fc4f AST: add Transform node 2023-01-13 17:44:42 +01:00