1import {
2 AppBskyActorProfile,
3 AppBskyActorStatus,
4 AppBskyFeedGenerator,
5 AppBskyFeedLike,
6 AppBskyFeedPost,
7 AppBskyFeedPostgate,
8 AppBskyFeedRepost,
9 AppBskyFeedThreadgate,
10 AppBskyGraphBlock,
11 AppBskyGraphFollow,
12 AppBskyGraphList,
13 AppBskyGraphListblock,
14 AppBskyGraphListitem,
15 AppBskyGraphStarterpack,
16 AppBskyGraphVerification,
17 AppBskyLabelerService,
18 ChatBskyActorDeclaration,
19} from "@atcute/bluesky";
20import {
21 PubLeafletComment,
22 PubLeafletDocument,
23 PubLeafletGraphSubscription,
24 PubLeafletPublication,
25} from "@atcute/leaflet";
26import {
27 ShTangledActorProfile,
28 ShTangledFeedStar,
29 ShTangledGraphFollow,
30 ShTangledKnot,
31 ShTangledKnotMember,
32 ShTangledPublicKey,
33 ShTangledRepo,
34 ShTangledRepoArtifact,
35 ShTangledRepoIssue,
36 ShTangledRepoIssueComment,
37 ShTangledRepoIssueState,
38 ShTangledRepoIssueStateClosed,
39 ShTangledRepoIssueStateOpen,
40 ShTangledRepoPull,
41 ShTangledRepoPullComment,
42 ShTangledRepoPullStatus,
43 ShTangledRepoPullStatusClosed,
44 ShTangledRepoPullStatusMerged,
45 ShTangledRepoPullStatusOpen,
46} from "@atcute/tangled";
47
48export const lexicons: Record<string, any> = {
49 // Bluesky
50 "app.bsky.actor.profile": AppBskyActorProfile.mainSchema,
51 "app.bsky.actor.status": AppBskyActorStatus.mainSchema,
52 "app.bsky.feed.generator": AppBskyFeedGenerator.mainSchema,
53 "app.bsky.feed.like": AppBskyFeedLike.mainSchema,
54 "app.bsky.feed.post": AppBskyFeedPost.mainSchema,
55 "app.bsky.feed.postgate": AppBskyFeedPostgate.mainSchema,
56 "app.bsky.feed.repost": AppBskyFeedRepost.mainSchema,
57 "app.bsky.feed.threadgate": AppBskyFeedThreadgate.mainSchema,
58 "app.bsky.graph.block": AppBskyGraphBlock.mainSchema,
59 "app.bsky.graph.follow": AppBskyGraphFollow.mainSchema,
60 "app.bsky.graph.list": AppBskyGraphList.mainSchema,
61 "app.bsky.graph.listblock": AppBskyGraphListblock.mainSchema,
62 "app.bsky.graph.listitem": AppBskyGraphListitem.mainSchema,
63 "app.bsky.graph.starterpack": AppBskyGraphStarterpack.mainSchema,
64 "app.bsky.graph.verification": AppBskyGraphVerification.mainSchema,
65 "app.bsky.labeler.service": AppBskyLabelerService.mainSchema,
66 "chat.bsky.actor.declaration": ChatBskyActorDeclaration.mainSchema,
67
68 // Tangled
69 "sh.tangled.actor.profile": ShTangledActorProfile.mainSchema,
70 "sh.tangled.feed.star": ShTangledFeedStar.mainSchema,
71 "sh.tangled.graph.follow": ShTangledGraphFollow.mainSchema,
72 "sh.tangled.knot.member": ShTangledKnotMember.mainSchema,
73 "sh.tangled.publicKey": ShTangledPublicKey.mainSchema,
74 "sh.tangled.repo": ShTangledRepo.mainSchema,
75 "sh.tangled.repo.artifact": ShTangledRepoArtifact.mainSchema,
76 "sh.tangled.repo.issue": ShTangledRepoIssue.mainSchema,
77 "sh.tangled.repo.issue.comment": ShTangledRepoIssueComment.mainSchema,
78 "sh.tangled.repo.issue.state": ShTangledRepoIssueState.mainSchema,
79 "sh.tangled.repo.issue.state.closed": ShTangledRepoIssueStateClosed.mainSchema,
80 "sh.tangled.repo.issue.state.open": ShTangledRepoIssueStateOpen.mainSchema,
81 "sh.tangled.repo.pull": ShTangledRepoPull.mainSchema,
82 "sh.tangled.repo.pull.comment": ShTangledRepoPullComment.mainSchema,
83 "sh.tangled.repo.pull.status": ShTangledRepoPullStatus.mainSchema,
84 "sh.tangled.repo.pull.status.closed": ShTangledRepoPullStatusClosed.mainSchema,
85 "sh.tangled.repo.pull.status.merged": ShTangledRepoPullStatusMerged.mainSchema,
86 "sh.tangled.repo.pull.status.open": ShTangledRepoPullStatusOpen.mainSchema,
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,
94};