Commit Graph
5407 Commits
Author SHA1 Message Date
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
gcanti a28bc4553b AST: first attempt to implement keyof 2022-12-20 18:58:03 +01:00
gcanti 20bada4c2e AST: add TypeAliasDeclaration 2022-12-20 18:58:03 +01:00
gcanti 163b6bba5a optimize Guard and Decoder tuples in case of unknown and any 2022-12-20 18:58:03 +01:00
gcanti 38674f1b9f upgrade to latest fp-ts/data 2022-12-20 18:58:03 +01:00
gcanti a91a02e628 fix /data/Chunk name 2022-12-20 18:58:03 +01:00
gcanti a663b48598 remove /data/UnknownArray, /data/UnknownObject 2022-12-20 18:58:03 +01:00
gcanti f933c414ef remove /data/JsonArray, /data/JsonObject 2022-12-20 18:58:03 +01:00
gcanti f1fa2edc42 remove /data/Option in favour of option combinator in Schema.ts 2022-12-20 18:58:03 +01:00
gcanti e93309d397 AST: add SymbolKeyword 2022-12-20 18:58:03 +01:00
gcanti 705f79d697 remove chunk, list and readonlySet from Schema and Codec 2022-12-20 18:58:03 +01:00
gcanti ad515ccd27 rename restElement to rest 2022-12-20 18:58:03 +01:00
gcanti 186037cbc2 AST: add BigIntKeyword 2022-12-20 18:58:03 +01:00
gcanti f68aebfcfc AST: add BooleanKeyword 2022-12-20 18:58:03 +01:00
gcanti 703f1ebaea AST: add NumberKeyword 2022-12-20 18:58:03 +01:00
gcanti 8c00f9267b AST: add StringKeyword 2022-12-20 18:58:03 +01:00
gcanti 1a25721b99 AST: add AnyKeyword 2022-12-20 18:58:03 +01:00
gcanti f5763a675e AST: add UnknownKeyword 2022-12-20 18:58:03 +01:00
gcanti a88e9658e7 AST: add NeverKeyword 2022-12-20 18:58:03 +01:00
gcanti 46058f3606 AST: add UndefinedKeyword 2022-12-20 18:58:03 +01:00
gcanti 4467ce2181 AST: refactor Of to LiteralType 2022-12-20 18:58:03 +01:00
gcanti efdc298037 DecodeError: make NotType's expected field a string 2022-12-20 18:58:03 +01:00
gcanti 8f218230bf tests: flesh out JSONSchema compiler 2022-12-20 18:58:03 +01:00
github-actions[bot] 6c8721e767 Version Packages (next) effect@v2.0.0-next.13 2022-12-19 23:00:00 +00:00
Michael Arnaldi 23eb623743 lock versions 2022-12-19 22:57:54 +00:00
Michael Arnaldi 153304bf7c elect selected modules to main 2022-12-12 19:17:54 +00:00
github-actions[bot] 46f873744f Version Packages (next) effect@v2.0.0-next.12 2022-12-07 14:11:06 +00:00