Commit Graph
5383 Commits
Author SHA1 Message Date
gcanti d93caa4431 update deps 2022-12-20 18:58:03 +01:00
gcanti 9af9b0017a AST: add annotations field 2022-12-20 18:58:03 +01:00
gcanti 6261b33e2f Schema: replace Optional with FieldSchema 2022-12-20 18:58:03 +01:00
gcanti 968620c8fd AST: relax id type in TypeAliasDeclaration 2022-12-20 18:58:03 +01:00
gcanti 056687dd8c TypeScript compiler: handle type aliases 2022-12-20 18:58:03 +01:00
gcanti 54df3f6063 AST: add UniqueSymbol to getCardinality 2022-12-20 18:58:03 +01:00
gcanti d10c517f75 Provider: refactoring and 100% coverage 2022-12-20 18:58:03 +01:00
gcanti 1ce5d4718f AST: add VoidKeyword 2022-12-20 18:58:03 +01:00
gcanti 70c9989a9d AST: add Enums 2022-12-20 18:58:03 +01:00
gcanti 17b78174b3 AST: add UniqueSymbol 2022-12-20 18:58:03 +01:00
gcanti e8cb50dbd4 test: add TypeScript compiler 2022-12-20 18:58:03 +01:00
gcanti d0bf61e07f tests: more coverage 2022-12-20 18:58:03 +01:00
gcanti 837dd8a902 Arbitrary: add support for post rest elements 2022-12-20 18:58:03 +01:00
gcanti 2f6553f0af Pretty: add support for post rest elements 2022-12-20 18:58:03 +01:00
gcanti 41ceaee25a Decoder: add support for post rest elements 2022-12-20 18:58:03 +01:00
gcanti 3069765034 tuple: add support for post rest elements 2022-12-20 18:58:03 +01:00
gcanti 868d1b5070 test optional elements 2022-12-20 18:58:03 +01:00
gcanti 1b0b5430aa test optionals 2022-12-20 18:58:03 +01:00
gcanti c431999323 AST: remove OptionalType node 2022-12-20 18:58:03 +01:00
gcanti 76160cb701 AST: refactor tuple model 2022-12-20 18:58:03 +01:00
gcanti f3a84c5af1 AST: add addElement API 2022-12-20 18:58:03 +01:00
gcanti 9f220def04 prepare support for elements following a rest element 2022-12-20 18:58:03 +01:00
gcanti 93440944a0 chore 2022-12-20 18:58:03 +01:00
gcanti 4ee1faf9a5 AST: rename components to elements 2022-12-20 18:58:03 +01:00
gcanti 6c590b2e1e Experimental: crazy struct 2022-12-20 18:58:03 +01:00
gcanti bde4feb774 Decoder: use Validated type 2022-12-20 18:58:03 +01:00
gcanti 1eb49ed986 Schema: add optional combinator and change struct definition 2022-12-20 18:58:03 +01:00
gcanti a0a723b661 AST: add OptionalType 2022-12-20 18:58:03 +01:00
gcanti 0eeae911cb AST: add missing refinements 2022-12-20 18:58:03 +01:00
gcanti f02653c261 AST: rename Severity to Cardinality 2022-12-20 18:58:03 +01:00
gcanti 3f889a0659 AST: refactor sorting heuristic 2022-12-20 18:58:03 +01:00
gcanti 312c26695e AST: the weight score should give max precedence to schemas containing literals 2022-12-20 18:58:03 +01:00
gcanti f9eaba518c AST: align tuple and struct weight 2022-12-20 18:58:03 +01:00
gcanti ed4dfa350a AST: remove StructIntersectionSemigroup 2022-12-20 18:58:03 +01:00
gcanti c8484569fe AST: generalise index signatures 2022-12-20 18:58:03 +01:00
gcanti cc8bf48e33 AST: remove duplicated ASTs in unions 2022-12-20 18:58:03 +01:00
gcanti 8c23ae68db AST: simplify keyof 2022-12-20 18:58:03 +01:00
gcanti a4bc554d64 Chunk: more precise definition 2022-12-20 18:58:03 +01:00
gcanti 701284590a AST: remove Declaration 2022-12-20 18:58:03 +01:00
gcanti 16d0cb123a AST: add config field to TypeAliasDeclaration 2022-12-20 18:58:03 +01:00
gcanti 67cf15b24f AST: add keyof field to Declaration 2022-12-20 18:58:03 +01:00
gcanti 5ca14b0afe chore 2022-12-20 18:58:03 +01:00
gcanti 0fe11f7ab6 Decoder: better warnings heuristic 2022-12-20 18:58:03 +01:00
gcanti 233cce31f2 tests: add tree formatter 2022-12-20 18:58:03 +01:00
gcanti a1855d2893 AST: rename Key to PropertyKeyType 2022-12-20 18:58:03 +01:00
gcanti 91440283e4 AST: add pick, omit 2022-12-20 18:58:03 +01:00
gcanti 58193bec47 add symbol to Literal 2022-12-20 18:58:03 +01:00
gcanti 120b253289 improve decoding / encoding tactic 2022-12-20 18:58:03 +01:00
gcanti 8edb646c31 AST: sort union members by info weight 2022-12-20 18:58:03 +01:00
gcanti 4a4a4c4234 upgrade to latest @fp-ts/data 2022-12-20 18:58:03 +01:00