Commit Graph
5397 Commits
Author SHA1 Message Date
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
gcanti 6c04578abf AST: rename allowUnexpected to isUnexpectedAllowed 2023-01-13 17:44:42 +01:00
gcanti 6bb5664e57 add decodeOrThrow and an example of default error formatter 2023-01-13 17:44:42 +01:00
gcanti 1f436a5dd6 proof that Infer works both with types and interfaces 2023-01-13 17:44:42 +01:00
gcanti 148579a02e AST: rename Field to PropertySignature 2023-01-13 17:44:42 +01:00
gcanti 2da28bf698 AST: rename Struct to TypeLiteral 2023-01-13 17:44:42 +01:00
gcanti 132158adbe AST: rename LiteralType to Literal 2023-01-13 17:44:42 +01:00
gcanti 689879f1ea record: add support for refinements 2023-01-13 17:44:42 +01:00
gcanti 029bc51cca IndexSignature: add support for TemplateLiteral as parameter 2023-01-13 17:44:42 +01:00
gcanti 0ede066a06 refactor annotations 2023-01-13 17:44:42 +01:00
gcanti e71d63dc58 AST: change IndexSignature key to AST 2023-01-13 17:44:42 +01:00
gcanti b007491d5d DecodeError: remove UnexpectedKey, UnexpectedIndex in favour of Unexpected 2023-01-13 17:44:42 +01:00
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