Commit Graph
5346 Commits
Author SHA1 Message Date
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
Michael Arnaldi d678e77835 restructure package 2022-12-07 14:08:52 +00:00
github-actions[bot] db800c647e Version Packages @effect/printer-ansi@0.1.11 @effect/printer@0.1.11 2022-12-07 12:34:52 +00:00
Michael Arnaldi 25e95d9c2e improve semver ranges 2022-12-07 12:32:12 +00:00
github-actions[bot] 45a471cfc2 Version Packages 2022-12-07 11:39:07 +01:00
gcanti 35ce081a9e README: add schema combinator example 2022-12-07 11:33:30 +01:00
gcanti 6d6c877a10 parseOrThrow: add support for custom formatters 2022-12-07 11:33:30 +01:00
gcanti 82fde410c8 add support for optional tuple components 2022-12-07 11:33:30 +01:00
gcanti 448b2e0d19 partial: add support for unions 2022-12-07 11:33:30 +01:00
gcanti eeb8623bb6 partial: add support for arrays 2022-12-07 11:33:30 +01:00
gcanti e0cc14d50c Schema: rename withRest to restElement 2022-12-07 11:33:30 +01:00
gcanti 15d9cb2174 DecodeError: refactor NotType error 2022-12-07 11:33:30 +01:00