atproto explorer

add leaflet lexicon validation

+24
+1
package.json
··· 31 31 "@atcute/did-plc": "^0.1.6", 32 32 "@atcute/identity": "^1.1.0", 33 33 "@atcute/identity-resolver": "^1.1.3", 34 + "@atcute/leaflet": "^1.0.6", 34 35 "@atcute/lexicon-doc": "^1.0.3", 35 36 "@atcute/lexicons": "^1.1.1", 36 37 "@atcute/oauth-browser-client": "^1.0.26",
+11
pnpm-lock.yaml
··· 38 38 '@atcute/identity-resolver': 39 39 specifier: ^1.1.3 40 40 version: 1.1.3(@atcute/identity@1.1.0) 41 + '@atcute/leaflet': 42 + specifier: ^1.0.6 43 + version: 1.0.6 41 44 '@atcute/lexicon-doc': 42 45 specifier: ^1.0.3 43 46 version: 1.0.3 ··· 173 176 174 177 '@atcute/identity@1.1.0': 175 178 resolution: {integrity: sha512-6vRvRqJatDB+JUQsb+UswYmtBGQnSZcqC3a2y6H5DB/v5KcIh+6nFFtc17G0+3W9rxdk7k9M4KkgkdKf/YDNoQ==} 179 + 180 + '@atcute/leaflet@1.0.6': 181 + resolution: {integrity: sha512-Q82GhrNdKwA7vd1IchWh4IUjhkDB2jfKGS1LhBeYkJSq4CJKX+nlWosSBSJOfCPY+drSqHWxHrq2bmWCCQJvXg==} 176 182 177 183 '@atcute/lexicon-doc@1.0.3': 178 184 resolution: {integrity: sha512-U7rinsTOwXGGcrF6/s7GzTXargcQpDr4BTrj5ci/XTK+POEK5jpcI+Ag1fF932pBX3k97em6y4TWwTSO8M/McQ==} ··· 1504 1510 dependencies: 1505 1511 '@atcute/lexicons': 1.1.1 1506 1512 '@badrap/valita': 0.4.6 1513 + 1514 + '@atcute/leaflet@1.0.6': 1515 + dependencies: 1516 + '@atcute/atproto': 3.1.3 1517 + '@atcute/lexicons': 1.1.1 1507 1518 1508 1519 '@atcute/lexicon-doc@1.0.3': 1509 1520 dependencies:
+12
src/utils/types/lexicons.ts
··· 18 18 ChatBskyActorDeclaration, 19 19 } from "@atcute/bluesky"; 20 20 import { 21 + PubLeafletComment, 22 + PubLeafletDocument, 23 + PubLeafletGraphSubscription, 24 + PubLeafletPublication, 25 + } from "@atcute/leaflet"; 26 + import { 21 27 ShTangledActorProfile, 22 28 ShTangledFeedStar, 23 29 ShTangledGraphFollow, ··· 79 85 "sh.tangled.repo.pull.status.merged": ShTangledRepoPullStatusMerged.mainSchema, 80 86 "sh.tangled.repo.pull.status.open": ShTangledRepoPullStatusOpen.mainSchema, 81 87 "sh.tangled.knot": ShTangledKnot.mainSchema, 88 + 89 + // Leaflet 90 + "pub.leaflet.comment": PubLeafletComment.mainSchema, 91 + "pub.leaflet.document": PubLeafletDocument.mainSchema, 92 + "pub.leaflet.graph.subscription": PubLeafletGraphSubscription.mainSchema, 93 + "pub.leaflet.publication": PubLeafletPublication.mainSchema, 82 94 };