261968fd65
* lex * packaging * moke packaging * revert test changes * do not build temp * tidy * automatically build the list of `@atproto/lex/com` lexicons * fix build * Remove "com" export * ridy * remove manifest option * tidy * rename * tidy * tidy * tidy * tests * add procedure params * stricter tests * tidy * Improve ui8 parsing * tidy * tidy * code split * code split * fix reserved keywords conflict * exclude packages/lex/src/tests/lexicons from lint * reserved keywords * safe identifier * fix build * move lib.js to src/lib.ts * Move tests dir * fix ci ? * increast lint size * Remove `Record` type alias for recordsz * fix package json exports * Add support for unsafe characters in defs and nsids * tidy * token tests * tidy * name consistency * remove unused `unknownKeys` params option * Fix "moving" keys in `DictSchema` (remove `IntersectionSchema`) * REview comments * adapt shebang in `env` * Make sure union object have their $type property set in typings * fix * Improve typing of `UnknownTypedObject` * lex improvements * code reorg * split lex-builder * tidy * improve packaging * rename lex-validation to lex-schema * lex client * rename prettifier option * add lex-client as dependency to "lex" * Export client as part of main export * re-write example app using @atproto/lex * add missing lex-client to tsconfig * tidy * add "null" schema type * Smaller bundle code footprint * tidy * correctness * tidy * code split and improved testing * tidy * refactor common utils * test all implementations * improve tests * tidy * fix build * fixes * tidy * lint * tests * tidy * fix oauth-example app * tidy * tidy * tests * tidy * Return an actual `Uint8Array` from `fromBase64Node` * tidy * adapt xrpc-server * Rename `Lex` to `LexValue` * minor fixes * fix tests * fix tests * tidy * fix * tidy * tidy * fix `verifyCidForBytes` implementation * fix imports * tidy * split lex-json in own package * make base64 tests faster * Add interop tests * lint error * tidy * tidy * changeset * implement lex-resolver and lex-install * remove need for polyfill * readme * more details * tidy * allow specifying `service` header on a per request basis * tidy * tidy * tidy * tidy * add custom/intersection validation schemas * tidy * tidy * remive un-necessary util * improve typing of `l.object` output * make "name" required in lexicon method errors * fix tests * tidy * tidy * add error responses * update readme * add "like " to example * readme improvements * tidy * error management improvements * Improve error results * tidy * refactor * tidy * lock * Update binary to `ts-lex` * tidy * tidy * Add "Overview" section * fix build * update bin * readme-improvements * paul's feedback * Update packages/lex/lex/README.md Co-authored-by: Daniel Holmgren <dtholmgren@gmail.com> * Update packages/lex/lex/README.md Co-authored-by: Daniel Holmgren <dtholmgren@gmail.com> * Update packages/lex/lex/README.md Co-authored-by: Daniel Holmgren <dtholmgren@gmail.com> * Update packages/lex/lex/README.md Co-authored-by: Daniel Holmgren <dtholmgren@gmail.com> * Update packages/lex/lex/README.md Co-authored-by: Daniel Holmgren <dtholmgren@gmail.com> * Initial plan * Address README review comments Co-authored-by: matthieusieben <813661+matthieusieben@users.noreply.github.com> * Clarify client configuration inheritance behavior Co-authored-by: matthieusieben <813661+matthieusieben@users.noreply.github.com> * Document allowLegacyBlobs default and compatibility implications (#15) * Initial plan * Add notes about default setting and compatibility for allowLegacyBlobs Co-authored-by: matthieusieben <813661+matthieusieben@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: matthieusieben <813661+matthieusieben@users.noreply.github.com> * Rename `Json` to `JsonValue` in lex-json package (#14) * Initial plan * Rename Json to JsonValue in lex-json package and dependent packages Co-authored-by: matthieusieben <813661+matthieusieben@users.noreply.github.com> * Remove import alias for JsonValue in ipld.ts Co-authored-by: matthieusieben <813661+matthieusieben@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: matthieusieben <813661+matthieusieben@users.noreply.github.com> * Update packages/lex/lex/README.md Co-authored-by: Paul Frazee <pfrazee@gmail.com> * Update packages/lex/lex/README.md Co-authored-by: Paul Frazee <pfrazee@gmail.com> * Update packages/lex/lex/README.md Co-authored-by: Paul Frazee <pfrazee@gmail.com> * Update packages/lex/lex/README.md Co-authored-by: Paul Frazee <pfrazee@gmail.com> * Update packages/lex/lex/README.md Co-authored-by: Paul Frazee <pfrazee@gmail.com> * Update packages/lex/lex/README.md Co-authored-by: Paul Frazee <pfrazee@gmail.com> * review comments and fixes * Add lex to the dockerfiles * tidy * changeset for lex packages * tidy * Tidy * tidy * tidy * Move language parsing to lex-data * tidy * doctoc * error handling * tidy * tidy * tidy * fix --------- Co-authored-by: Daniel Holmgren <dtholmgren@gmail.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: matthieusieben <813661+matthieusieben@users.noreply.github.com> Co-authored-by: Paul Frazee <pfrazee@gmail.com>
65 lines
2.2 KiB
JSON
65 lines
2.2 KiB
JSON
[
|
|
{
|
|
"json": {
|
|
"string": "abc",
|
|
"unicode": "a~öñ©⽘☎𓋓😀👨👩👧👧",
|
|
"integer": 123,
|
|
"bool": true,
|
|
"null": null,
|
|
"array": ["abc", "def", "ghi"],
|
|
"object": {
|
|
"string": "abc",
|
|
"number": 123,
|
|
"bool": true,
|
|
"arr": ["abc", "def", "ghi"]
|
|
}
|
|
},
|
|
"cbor_base64": "p2Rib29s9WRudWxs9mVhcnJheYNjYWJjY2RlZmNnaGlmb2JqZWN0pGNhcnKDY2FiY2NkZWZjZ2hpZGJvb2z1Zm51bWJlchh7ZnN0cmluZ2NhYmNmc3RyaW5nY2FiY2dpbnRlZ2VyGHtndW5pY29kZXgvYX7DtsOxwqnivZjimI7wk4uT8J+YgPCfkajigI3wn5Gp4oCN8J+Rp+KAjfCfkac",
|
|
"cid": "bafyreiclp443lavogvhj3d2ob2cxbfuscni2k5jk7bebjzg7khl3esabwq"
|
|
},
|
|
{
|
|
"json": {
|
|
"a": {
|
|
"$link": "bafyreidfayvfuwqa7qlnopdjiqrxzs6blmoeu4rujcjtnci5beludirz2a"
|
|
},
|
|
"b": {
|
|
"$bytes": "nFERjvLLiw9qm45JrqH9QTzyC2Lu1Xb4ne6+sBrCzI0"
|
|
},
|
|
"c": {
|
|
"$type": "blob",
|
|
"ref": {
|
|
"$link": "bafkreiccldh766hwcnuxnf2wh6jgzepf2nlu2lvcllt63eww5p6chi4ity"
|
|
},
|
|
"mimeType": "image/jpeg",
|
|
"size": 10000
|
|
}
|
|
},
|
|
"cbor_base64": "o2Fh2CpYJQABcRIgZQYqWloA/BbXPGlEI3zLwVscSnI0SJM2iR0JF0GiOdBhYlggnFERjvLLiw9qm45JrqH9QTzyC2Lu1Xb4ne6+sBrCzI1hY6RjcmVm2CpYJQABVRIgQljP/3j2E2l2l1Y/kmyR5dNXTS6iWuftktbr/COjiJ5kc2l6ZRknEGUkdHlwZWRibG9iaG1pbWVUeXBlamltYWdlL2pwZWc",
|
|
"cid": "bafyreihldkhcwijkde7gx4rpkkuw7pl6lbyu5gieunyc7ihactn5bkd2nm"
|
|
},
|
|
{
|
|
"json": {
|
|
"a": {
|
|
"b": [
|
|
{
|
|
"d": [
|
|
{
|
|
"$link": "bafyreidfayvfuwqa7qlnopdjiqrxzs6blmoeu4rujcjtnci5beludirz2a"
|
|
},
|
|
{
|
|
"$link": "bafyreidfayvfuwqa7qlnopdjiqrxzs6blmoeu4rujcjtnci5beludirz2a"
|
|
}
|
|
],
|
|
"e": [
|
|
{ "$bytes": "nFERjvLLiw9qm45JrqH9QTzyC2Lu1Xb4ne6+sBrCzI0" },
|
|
{ "$bytes": "iE+sPoHobU9tSIqGI+309LLCcWQIRmEXwxcoDt19tas" }
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"cbor_base64": "oWFhoWFigaJhZILYKlglAAFxEiBlBipaWgD8Ftc8aUQjfMvBWxxKcjRIkzaJHQkXQaI50NgqWCUAAXESIGUGKlpaAPwW1zxpRCN8y8FbHEpyNEiTNokdCRdBojnQYWWCWCCcURGO8suLD2qbjkmuof1BPPILYu7Vdvid7r6wGsLMjVggiE+sPoHobU9tSIqGI+309LLCcWQIRmEXwxcoDt19tas",
|
|
"cid": "bafyreid3imdulnhgeytpf6uk7zahjvrsqlofkmm5b5ub2maw4kqus6jp4i"
|
|
}
|
|
]
|