@atproto/pds 0.5.37 → 0.5.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/dist/account-manager/account-manager.d.ts +2 -1
- package/dist/account-manager/account-manager.d.ts.map +1 -1
- package/dist/account-manager/account-manager.js +2 -1
- package/dist/account-manager/account-manager.js.map +1 -1
- package/dist/account-manager/oauth-store.d.ts +1 -1
- package/dist/account-manager/oauth-store.d.ts.map +1 -1
- package/dist/account-manager/oauth-store.js +16 -4
- package/dist/account-manager/oauth-store.js.map +1 -1
- package/dist/lexicons/app/bsky/actor/defs.defs.d.ts +25 -0
- package/dist/lexicons/app/bsky/actor/defs.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/actor/defs.defs.js +16 -0
- package/dist/lexicons/app/bsky/actor/defs.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/actor/link.d.ts +3 -0
- package/dist/lexicons/app/bsky/actor/link.d.ts.map +1 -0
- package/dist/lexicons/app/bsky/actor/link.defs.d.ts +120 -0
- package/dist/lexicons/app/bsky/actor/link.defs.d.ts.map +1 -0
- package/dist/lexicons/app/bsky/actor/link.defs.js +39 -0
- package/dist/lexicons/app/bsky/actor/link.defs.js.map +1 -0
- package/dist/lexicons/app/bsky/actor/link.js +6 -0
- package/dist/lexicons/app/bsky/actor/link.js.map +1 -0
- package/dist/lexicons/app/bsky/actor/profile.defs.d.ts +14 -0
- package/dist/lexicons/app/bsky/actor/profile.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/actor/profile.defs.js +3 -0
- package/dist/lexicons/app/bsky/actor/profile.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/actor.d.ts +1 -0
- package/dist/lexicons/app/bsky/actor.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/actor.js +1 -0
- package/dist/lexicons/app/bsky/actor.js.map +1 -1
- package/dist/lexicons/app/bsky/authFullApp.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/authFullApp.defs.js +1 -0
- package/dist/lexicons/app/bsky/authFullApp.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/authManageProfile.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/authManageProfile.defs.js +1 -0
- package/dist/lexicons/app/bsky/authManageProfile.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/embed/external.defs.d.ts +130 -0
- package/dist/lexicons/app/bsky/embed/external.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/embed/external.defs.js +135 -0
- package/dist/lexicons/app/bsky/embed/external.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/embed/getEmbedExternalView.defs.d.ts +15 -3
- package/dist/lexicons/app/bsky/embed/getEmbedExternalView.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/embed/getEmbedExternalView.defs.js +18 -3
- package/dist/lexicons/app/bsky/embed/getEmbedExternalView.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/embed/record.defs.d.ts +8 -0
- package/dist/lexicons/app/bsky/embed/record.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/embed/record.defs.js +2 -0
- package/dist/lexicons/app/bsky/embed/record.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/notification/getGroupedNotifications.defs.d.ts +62 -3
- package/dist/lexicons/app/bsky/notification/getGroupedNotifications.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/notification/getGroupedNotifications.defs.js +53 -2
- package/dist/lexicons/app/bsky/notification/getGroupedNotifications.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/unspecced/getAtmosphereExploreTab.d.ts +3 -0
- package/dist/lexicons/app/bsky/unspecced/getAtmosphereExploreTab.d.ts.map +1 -0
- package/dist/lexicons/app/bsky/unspecced/getAtmosphereExploreTab.defs.d.ts +103 -0
- package/dist/lexicons/app/bsky/unspecced/getAtmosphereExploreTab.defs.d.ts.map +1 -0
- package/dist/lexicons/app/bsky/unspecced/getAtmosphereExploreTab.defs.js +95 -0
- package/dist/lexicons/app/bsky/unspecced/getAtmosphereExploreTab.defs.js.map +1 -0
- package/dist/lexicons/app/bsky/unspecced/getAtmosphereExploreTab.js +6 -0
- package/dist/lexicons/app/bsky/unspecced/getAtmosphereExploreTab.js.map +1 -0
- package/dist/lexicons/app/bsky/unspecced/getOnboardingSuggestedStarterPacks.defs.d.ts +2 -0
- package/dist/lexicons/app/bsky/unspecced/getOnboardingSuggestedStarterPacks.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/unspecced/getOnboardingSuggestedStarterPacks.defs.js +1 -0
- package/dist/lexicons/app/bsky/unspecced/getOnboardingSuggestedStarterPacks.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/unspecced/getOnboardingSuggestedStarterPacksSkeleton.defs.d.ts +2 -0
- package/dist/lexicons/app/bsky/unspecced/getOnboardingSuggestedStarterPacksSkeleton.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/unspecced/getOnboardingSuggestedStarterPacksSkeleton.defs.js +1 -0
- package/dist/lexicons/app/bsky/unspecced/getOnboardingSuggestedStarterPacksSkeleton.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/unspecced/getSuggestedFeeds.defs.d.ts +2 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedFeeds.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/unspecced/getSuggestedFeeds.defs.js +1 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedFeeds.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/unspecced/getSuggestedFeedsSkeleton.defs.d.ts +2 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedFeedsSkeleton.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/unspecced/getSuggestedFeedsSkeleton.defs.js +1 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedFeedsSkeleton.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/unspecced/getSuggestedStarterPacks.defs.d.ts +2 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedStarterPacks.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/unspecced/getSuggestedStarterPacks.defs.js +1 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedStarterPacks.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.defs.d.ts +2 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.defs.js +1 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/unspecced.d.ts +1 -0
- package/dist/lexicons/app/bsky/unspecced.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/unspecced.js +1 -0
- package/dist/lexicons/app/bsky/unspecced.js.map +1 -1
- package/dist/lexicons/index.d.ts +2 -0
- package/dist/lexicons/index.d.ts.map +1 -1
- package/dist/lexicons/index.js +2 -0
- package/dist/lexicons/index.js.map +1 -1
- package/dist/lexicons/place/stream/badge/defs.d.ts +2 -0
- package/dist/lexicons/place/stream/badge/defs.d.ts.map +1 -0
- package/dist/lexicons/place/stream/badge/defs.defs.d.ts +131 -0
- package/dist/lexicons/place/stream/badge/defs.defs.d.ts.map +1 -0
- package/dist/lexicons/place/stream/badge/defs.defs.js +73 -0
- package/dist/lexicons/place/stream/badge/defs.defs.js.map +1 -0
- package/dist/lexicons/place/stream/badge/defs.js +5 -0
- package/dist/lexicons/place/stream/badge/defs.js.map +1 -0
- package/dist/lexicons/place/stream/badge.d.ts +2 -0
- package/dist/lexicons/place/stream/badge.d.ts.map +1 -0
- package/dist/lexicons/place/stream/badge.js +5 -0
- package/dist/lexicons/place/stream/badge.js.map +1 -0
- package/dist/lexicons/place/stream/chat/defs.d.ts +2 -0
- package/dist/lexicons/place/stream/chat/defs.d.ts.map +1 -0
- package/dist/lexicons/place/stream/chat/defs.defs.d.ts +44 -0
- package/dist/lexicons/place/stream/chat/defs.defs.d.ts.map +1 -0
- package/dist/lexicons/place/stream/chat/defs.defs.js +41 -0
- package/dist/lexicons/place/stream/chat/defs.defs.js.map +1 -0
- package/dist/lexicons/place/stream/chat/defs.js +5 -0
- package/dist/lexicons/place/stream/chat/defs.js.map +1 -0
- package/dist/lexicons/place/stream/chat/pinnedRecord.d.ts +3 -0
- package/dist/lexicons/place/stream/chat/pinnedRecord.d.ts.map +1 -0
- package/dist/lexicons/place/stream/chat/pinnedRecord.defs.d.ts +108 -0
- package/dist/lexicons/place/stream/chat/pinnedRecord.defs.d.ts.map +1 -0
- package/dist/lexicons/place/stream/chat/pinnedRecord.defs.js +31 -0
- package/dist/lexicons/place/stream/chat/pinnedRecord.defs.js.map +1 -0
- package/dist/lexicons/place/stream/chat/pinnedRecord.js +6 -0
- package/dist/lexicons/place/stream/chat/pinnedRecord.js.map +1 -0
- package/dist/lexicons/place/stream/chat/profile.d.ts +3 -0
- package/dist/lexicons/place/stream/chat/profile.d.ts.map +1 -0
- package/dist/lexicons/place/stream/chat/profile.defs.d.ts +143 -0
- package/dist/lexicons/place/stream/chat/profile.defs.d.ts.map +1 -0
- package/dist/lexicons/place/stream/chat/profile.defs.js +62 -0
- package/dist/lexicons/place/stream/chat/profile.defs.js.map +1 -0
- package/dist/lexicons/place/stream/chat/profile.js +6 -0
- package/dist/lexicons/place/stream/chat/profile.js.map +1 -0
- package/dist/lexicons/place/stream/chat.d.ts +4 -0
- package/dist/lexicons/place/stream/chat.d.ts.map +1 -0
- package/dist/lexicons/place/stream/chat.js +7 -0
- package/dist/lexicons/place/stream/chat.js.map +1 -0
- package/dist/lexicons/place/stream/defs.d.ts +2 -0
- package/dist/lexicons/place/stream/defs.d.ts.map +1 -0
- package/dist/lexicons/place/stream/defs.defs.d.ts +54 -0
- package/dist/lexicons/place/stream/defs.defs.d.ts.map +1 -0
- package/dist/lexicons/place/stream/defs.defs.js +40 -0
- package/dist/lexicons/place/stream/defs.defs.js.map +1 -0
- package/dist/lexicons/place/stream/defs.js +5 -0
- package/dist/lexicons/place/stream/defs.js.map +1 -0
- package/dist/lexicons/place/stream/livestream.d.ts +3 -0
- package/dist/lexicons/place/stream/livestream.d.ts.map +1 -0
- package/dist/lexicons/place/stream/livestream.defs.d.ts +312 -0
- package/dist/lexicons/place/stream/livestream.defs.d.ts.map +1 -0
- package/dist/lexicons/place/stream/livestream.defs.js +105 -0
- package/dist/lexicons/place/stream/livestream.defs.js.map +1 -0
- package/dist/lexicons/place/stream/livestream.js +6 -0
- package/dist/lexicons/place/stream/livestream.js.map +1 -0
- package/dist/lexicons/place/stream.d.ts +5 -0
- package/dist/lexicons/place/stream.d.ts.map +1 -0
- package/dist/lexicons/place/stream.js +8 -0
- package/dist/lexicons/place/stream.js.map +1 -0
- package/dist/lexicons/place.d.ts +2 -0
- package/dist/lexicons/place.d.ts.map +1 -0
- package/dist/lexicons/place.js +5 -0
- package/dist/lexicons/place.js.map +1 -0
- package/dist/lexicons/site/standard/document.defs.d.ts +127 -127
- package/dist/lexicons/site/standard/document.defs.d.ts.map +1 -1
- package/dist/lexicons/site/standard/document.defs.js +28 -28
- package/dist/lexicons/site/standard/document.defs.js.map +1 -1
- package/dist/lexicons/site/standard/graph/recommend.defs.d.ts +11 -11
- package/dist/lexicons/site/standard/graph/recommend.defs.d.ts.map +1 -1
- package/dist/lexicons/site/standard/graph/recommend.defs.js +1 -1
- package/dist/lexicons/site/standard/graph/recommend.defs.js.map +1 -1
- package/dist/lexicons/site/standard/publication.defs.d.ts +52 -52
- package/dist/lexicons/site/standard/publication.defs.d.ts.map +1 -1
- package/dist/lexicons/site/standard/publication.defs.js +6 -6
- package/dist/lexicons/site/standard/publication.defs.js.map +1 -1
- package/dist/lexicons/site/standard/theme/basic.defs.d.ts +14 -14
- package/dist/lexicons/site/standard/theme/basic.defs.d.ts.map +1 -1
- package/dist/lexicons/site/standard/theme/basic.defs.js +1 -1
- package/dist/lexicons/site/standard/theme/basic.defs.js.map +1 -1
- package/dist/lexicons/social/grain/defs.d.ts +2 -0
- package/dist/lexicons/social/grain/defs.d.ts.map +1 -0
- package/dist/lexicons/social/grain/defs.defs.d.ts +15 -0
- package/dist/lexicons/social/grain/defs.defs.d.ts.map +1 -0
- package/dist/lexicons/social/grain/defs.defs.js +14 -0
- package/dist/lexicons/social/grain/defs.defs.js.map +1 -0
- package/dist/lexicons/social/grain/defs.js +5 -0
- package/dist/lexicons/social/grain/defs.js.map +1 -0
- package/dist/lexicons/social/grain/favorite.d.ts +3 -0
- package/dist/lexicons/social/grain/favorite.d.ts.map +1 -0
- package/dist/lexicons/social/grain/favorite.defs.d.ts +72 -0
- package/dist/lexicons/social/grain/favorite.defs.d.ts.map +1 -0
- package/dist/lexicons/social/grain/favorite.defs.js +26 -0
- package/dist/lexicons/social/grain/favorite.defs.js.map +1 -0
- package/dist/lexicons/social/grain/favorite.js +6 -0
- package/dist/lexicons/social/grain/favorite.js.map +1 -0
- package/dist/lexicons/social/grain/gallery/item.d.ts +3 -0
- package/dist/lexicons/social/grain/gallery/item.d.ts.map +1 -0
- package/dist/lexicons/social/grain/gallery/item.defs.d.ts +94 -0
- package/dist/lexicons/social/grain/gallery/item.defs.d.ts.map +1 -0
- package/dist/lexicons/social/grain/gallery/item.defs.js +29 -0
- package/dist/lexicons/social/grain/gallery/item.defs.js.map +1 -0
- package/dist/lexicons/social/grain/gallery/item.js +6 -0
- package/dist/lexicons/social/grain/gallery/item.js.map +1 -0
- package/dist/lexicons/social/grain/gallery.d.ts +4 -0
- package/dist/lexicons/social/grain/gallery.d.ts.map +1 -0
- package/dist/lexicons/social/grain/gallery.defs.d.ts +98 -0
- package/dist/lexicons/social/grain/gallery.defs.d.ts.map +1 -0
- package/dist/lexicons/social/grain/gallery.defs.js +33 -0
- package/dist/lexicons/social/grain/gallery.defs.js.map +1 -0
- package/dist/lexicons/social/grain/gallery.js +7 -0
- package/dist/lexicons/social/grain/gallery.js.map +1 -0
- package/dist/lexicons/social/grain/photo.d.ts +3 -0
- package/dist/lexicons/social/grain/photo.d.ts.map +1 -0
- package/dist/lexicons/social/grain/photo.defs.d.ts +98 -0
- package/dist/lexicons/social/grain/photo.defs.d.ts.map +1 -0
- package/dist/lexicons/social/grain/photo.defs.js +31 -0
- package/dist/lexicons/social/grain/photo.defs.js.map +1 -0
- package/dist/lexicons/social/grain/photo.js +6 -0
- package/dist/lexicons/social/grain/photo.js.map +1 -0
- package/dist/lexicons/social/grain.d.ts +5 -0
- package/dist/lexicons/social/grain.d.ts.map +1 -0
- package/dist/lexicons/social/grain.js +8 -0
- package/dist/lexicons/social/grain.js.map +1 -0
- package/dist/lexicons/social.d.ts +2 -0
- package/dist/lexicons/social.d.ts.map +1 -0
- package/dist/lexicons/social.js +5 -0
- package/dist/lexicons/social.js.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/defs.defs.d.ts +129 -4
- package/dist/lexicons/tools/ozone/inbox/defs.defs.d.ts.map +1 -1
- package/dist/lexicons/tools/ozone/inbox/defs.defs.js +99 -2
- package/dist/lexicons/tools/ozone/inbox/defs.defs.js.map +1 -1
- package/dist/lexicons/tools/ozone/inbox/getAccountStatus.d.ts +3 -0
- package/dist/lexicons/tools/ozone/inbox/getAccountStatus.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/getAccountStatus.defs.d.ts +50 -0
- package/dist/lexicons/tools/ozone/inbox/getAccountStatus.defs.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/getAccountStatus.defs.js +22 -0
- package/dist/lexicons/tools/ozone/inbox/getAccountStatus.defs.js.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/getAccountStatus.js +6 -0
- package/dist/lexicons/tools/ozone/inbox/getAccountStatus.js.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/getActionedSubject.d.ts +3 -0
- package/dist/lexicons/tools/ozone/inbox/getActionedSubject.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/getActionedSubject.defs.d.ts +35 -0
- package/dist/lexicons/tools/ozone/inbox/getActionedSubject.defs.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/getActionedSubject.defs.js +23 -0
- package/dist/lexicons/tools/ozone/inbox/getActionedSubject.defs.js.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/getActionedSubject.js +6 -0
- package/dist/lexicons/tools/ozone/inbox/getActionedSubject.js.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/getNotificationPreferences.d.ts +3 -0
- package/dist/lexicons/tools/ozone/inbox/getNotificationPreferences.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/getNotificationPreferences.defs.d.ts +29 -0
- package/dist/lexicons/tools/ozone/inbox/getNotificationPreferences.defs.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/getNotificationPreferences.defs.js +19 -0
- package/dist/lexicons/tools/ozone/inbox/getNotificationPreferences.defs.js.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/getNotificationPreferences.js +6 -0
- package/dist/lexicons/tools/ozone/inbox/getNotificationPreferences.js.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/getReport.d.ts +3 -0
- package/dist/lexicons/tools/ozone/inbox/getReport.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/getReport.defs.d.ts +75 -0
- package/dist/lexicons/tools/ozone/inbox/getReport.defs.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/getReport.defs.js +52 -0
- package/dist/lexicons/tools/ozone/inbox/getReport.defs.js.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/getReport.js +6 -0
- package/dist/lexicons/tools/ozone/inbox/getReport.js.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/getUnreadCount.d.ts +3 -0
- package/dist/lexicons/tools/ozone/inbox/getUnreadCount.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/getUnreadCount.defs.d.ts +43 -0
- package/dist/lexicons/tools/ozone/inbox/getUnreadCount.defs.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/getUnreadCount.defs.js +28 -0
- package/dist/lexicons/tools/ozone/inbox/getUnreadCount.defs.js.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/getUnreadCount.js +6 -0
- package/dist/lexicons/tools/ozone/inbox/getUnreadCount.js.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/listActionedSubjects.d.ts +3 -0
- package/dist/lexicons/tools/ozone/inbox/listActionedSubjects.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/listActionedSubjects.defs.d.ts +41 -0
- package/dist/lexicons/tools/ozone/inbox/listActionedSubjects.defs.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/listActionedSubjects.defs.js +33 -0
- package/dist/lexicons/tools/ozone/inbox/listActionedSubjects.defs.js.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/listActionedSubjects.js +6 -0
- package/dist/lexicons/tools/ozone/inbox/listActionedSubjects.js.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/listNotifications.d.ts +3 -0
- package/dist/lexicons/tools/ozone/inbox/listNotifications.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/listNotifications.defs.d.ts +48 -0
- package/dist/lexicons/tools/ozone/inbox/listNotifications.defs.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/listNotifications.defs.js +31 -0
- package/dist/lexicons/tools/ozone/inbox/listNotifications.defs.js.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/listNotifications.js +6 -0
- package/dist/lexicons/tools/ozone/inbox/listNotifications.js.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/listReports.d.ts +3 -0
- package/dist/lexicons/tools/ozone/inbox/listReports.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/listReports.defs.d.ts +72 -0
- package/dist/lexicons/tools/ozone/inbox/listReports.defs.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/listReports.defs.js +57 -0
- package/dist/lexicons/tools/ozone/inbox/listReports.defs.js.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/listReports.js +6 -0
- package/dist/lexicons/tools/ozone/inbox/listReports.js.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/putNotificationPreferences.d.ts +3 -0
- package/dist/lexicons/tools/ozone/inbox/putNotificationPreferences.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/putNotificationPreferences.defs.d.ts +32 -0
- package/dist/lexicons/tools/ozone/inbox/putNotificationPreferences.defs.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/putNotificationPreferences.defs.js +22 -0
- package/dist/lexicons/tools/ozone/inbox/putNotificationPreferences.defs.js.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/putNotificationPreferences.js +6 -0
- package/dist/lexicons/tools/ozone/inbox/putNotificationPreferences.js.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/updateSeen.d.ts +3 -0
- package/dist/lexicons/tools/ozone/inbox/updateSeen.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/updateSeen.defs.d.ts +40 -0
- package/dist/lexicons/tools/ozone/inbox/updateSeen.defs.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/updateSeen.defs.js +21 -0
- package/dist/lexicons/tools/ozone/inbox/updateSeen.defs.js.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/updateSeen.js +6 -0
- package/dist/lexicons/tools/ozone/inbox/updateSeen.js.map +1 -0
- package/dist/lexicons/tools/ozone/inbox.d.ts +10 -0
- package/dist/lexicons/tools/ozone/inbox.d.ts.map +1 -1
- package/dist/lexicons/tools/ozone/inbox.js +10 -0
- package/dist/lexicons/tools/ozone/inbox.js.map +1 -1
- package/dist/lexicons/tools/ozone/moderation/defs.defs.d.ts +10 -0
- package/dist/lexicons/tools/ozone/moderation/defs.defs.d.ts.map +1 -1
- package/dist/lexicons/tools/ozone/moderation/defs.defs.js +5 -0
- package/dist/lexicons/tools/ozone/moderation/defs.defs.js.map +1 -1
- package/dist/lexicons/tools/ozone/queue/defs.defs.d.ts +17 -1
- package/dist/lexicons/tools/ozone/queue/defs.defs.d.ts.map +1 -1
- package/dist/lexicons/tools/ozone/queue/defs.defs.js +8 -0
- package/dist/lexicons/tools/ozone/queue/defs.defs.js.map +1 -1
- package/dist/lexicons/tools/ozone/report/defs.defs.d.ts +71 -3
- package/dist/lexicons/tools/ozone/report/defs.defs.d.ts.map +1 -1
- package/dist/lexicons/tools/ozone/report/defs.defs.js +34 -0
- package/dist/lexicons/tools/ozone/report/defs.defs.js.map +1 -1
- package/dist/lexicons/tools/ozone/server/getCapabilities.d.ts +3 -0
- package/dist/lexicons/tools/ozone/server/getCapabilities.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/server/getCapabilities.defs.d.ts +26 -0
- package/dist/lexicons/tools/ozone/server/getCapabilities.defs.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/server/getCapabilities.defs.js +22 -0
- package/dist/lexicons/tools/ozone/server/getCapabilities.defs.js.map +1 -0
- package/dist/lexicons/tools/ozone/server/getCapabilities.js +6 -0
- package/dist/lexicons/tools/ozone/server/getCapabilities.js.map +1 -0
- package/dist/lexicons/tools/ozone/server.d.ts +1 -0
- package/dist/lexicons/tools/ozone/server.d.ts.map +1 -1
- package/dist/lexicons/tools/ozone/server.js +1 -0
- package/dist/lexicons/tools/ozone/server.js.map +1 -1
- package/dist/pipethrough.d.ts.map +1 -1
- package/dist/pipethrough.js +2 -4
- package/dist/pipethrough.js.map +1 -1
- package/package.json +12 -12
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { l } from '@atproto/lex';
|
|
5
|
+
import * as ActorDefs from '../../../app/bsky/actor/defs.defs.js';
|
|
6
|
+
import * as BadgeDefs from '../badge/defs.defs.js';
|
|
7
|
+
import * as ChatProfile from './profile.defs.js';
|
|
8
|
+
import * as ChatPinnedRecord from './pinnedRecord.defs.js';
|
|
9
|
+
const $nsid = 'place.stream.chat.defs';
|
|
10
|
+
export { $nsid };
|
|
11
|
+
const messageView = /*#__PURE__*/ l.typedObject($nsid, 'messageView',
|
|
12
|
+
/*#__PURE__*/ l.object({
|
|
13
|
+
cid: /*#__PURE__*/ l.string({ format: 'cid' }),
|
|
14
|
+
uri: /*#__PURE__*/ l.string({ format: 'at-uri' }),
|
|
15
|
+
author: /*#__PURE__*/ l.ref((() => ActorDefs.profileViewBasic)),
|
|
16
|
+
badges: /*#__PURE__*/ l.optional(
|
|
17
|
+
/*#__PURE__*/ l.array(
|
|
18
|
+
/*#__PURE__*/ l.ref((() => BadgeDefs.badgeView)), { maxLength: 3 })),
|
|
19
|
+
record: /*#__PURE__*/ l.lexMap(),
|
|
20
|
+
deleted: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.boolean()),
|
|
21
|
+
replyTo: /*#__PURE__*/ l.optional(
|
|
22
|
+
/*#__PURE__*/ l.typedUnion([/*#__PURE__*/ l.typedRef((() => messageView))], false)),
|
|
23
|
+
indexedAt: /*#__PURE__*/ l.string({ format: 'datetime' }),
|
|
24
|
+
chatProfile: /*#__PURE__*/ l.optional(
|
|
25
|
+
/*#__PURE__*/ l.ref((() => ChatProfile.main))),
|
|
26
|
+
}));
|
|
27
|
+
export { messageView };
|
|
28
|
+
/** View of a pinned chat record with hydrated message data. */
|
|
29
|
+
const pinnedRecordView = /*#__PURE__*/ l.typedObject($nsid, 'pinnedRecordView',
|
|
30
|
+
/*#__PURE__*/ l.object({
|
|
31
|
+
cid: /*#__PURE__*/ l.string({ format: 'cid' }),
|
|
32
|
+
uri: /*#__PURE__*/ l.string({ format: 'at-uri' }),
|
|
33
|
+
record: /*#__PURE__*/ l.ref((() => ChatPinnedRecord.main)),
|
|
34
|
+
message: /*#__PURE__*/ l.optional(
|
|
35
|
+
/*#__PURE__*/ l.ref((() => messageView))),
|
|
36
|
+
pinnedBy: /*#__PURE__*/ l.optional(
|
|
37
|
+
/*#__PURE__*/ l.ref((() => ChatProfile.main))),
|
|
38
|
+
indexedAt: /*#__PURE__*/ l.string({ format: 'datetime' }),
|
|
39
|
+
}));
|
|
40
|
+
export { pinnedRecordView };
|
|
41
|
+
//# sourceMappingURL=defs.defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defs.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/place/stream/chat/defs.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,SAAS,MAAM,sCAAsC,CAAA;AACjE,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAA;AAClD,OAAO,KAAK,WAAW,MAAM,mBAAmB,CAAA;AAChD,OAAO,KAAK,gBAAgB,MAAM,wBAAwB,CAAA;AAE1D,MAAM,KAAK,GAAG,wBAAwB,CAAA;AAItC,OAAO,EAAE,KAAK,EAAE,CAAA;AAyBhB,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAC7C,KAAK,EACL,aAAa;AACb,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACrB,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;IAC9C,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;IACjD,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,GAAG,CACzB,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,gBAAgB,CAAQ,CAC1C;IACD,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAC9B,aAAa,CAAC,CAAC,CAAC,KAAK;IACnB,aAAa,CAAC,CAAC,CAAC,GAAG,CACjB,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,CAAQ,CACnC,EACD,EAAE,SAAS,EAAE,CAAC,EAAE,CACjB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,CAC7D;IACD,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAChC,aAAa,CAAC,CAAC,CAAC,GAAG,CAAmB,CAAC,GAAG,EAAE,CAAC,WAAW,CAAC,IAAI,CAAQ,CAAC,CACvE;IACD,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC;CAC1D,CAAC,CACH,CAAA;AAED,OAAO,EAAE,gBAAgB,EAAE,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as ActorDefs from '../../../app/bsky/actor/defs.defs.js'\nimport * as BadgeDefs from '../badge/defs.defs.js'\nimport * as ChatProfile from './profile.defs.js'\nimport * as ChatPinnedRecord from './pinnedRecord.defs.js'\n\nconst $nsid = 'place.stream.chat.defs'\n\ntype $nsid = typeof $nsid\n\nexport { $nsid }\n\ntype MessageView = {\n $type?: 'place.stream.chat.defs#messageView'\n cid: l.CidString\n uri: l.AtUriString\n author: ActorDefs.ProfileViewBasic\n\n /**\n * Up to 3 badge tokens to display with the message. First badge is server-controlled, remaining badges are user-settable. Tokens are looked up in badges.json for display info.\n */\n badges?: BadgeDefs.BadgeView[]\n record: l.LexMap\n\n /**\n * If true, this message has been deleted or labeled and should be cleared from the cache\n */\n deleted?: boolean\n replyTo?: l.$Typed<MessageView> | l.Unknown$TypedObject\n indexedAt: l.DatetimeString\n chatProfile?: ChatProfile.Main\n}\n\nexport type { MessageView }\n\nconst messageView = /*#__PURE__*/ l.typedObject<MessageView>(\n $nsid,\n 'messageView',\n /*#__PURE__*/ l.object({\n cid: /*#__PURE__*/ l.string({ format: 'cid' }),\n uri: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n author: /*#__PURE__*/ l.ref<ActorDefs.ProfileViewBasic>(\n (() => ActorDefs.profileViewBasic) as any,\n ),\n badges: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.array(\n /*#__PURE__*/ l.ref<BadgeDefs.BadgeView>(\n (() => BadgeDefs.badgeView) as any,\n ),\n { maxLength: 3 },\n ),\n ),\n record: /*#__PURE__*/ l.lexMap(),\n deleted: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.boolean()),\n replyTo: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.typedUnion(\n [/*#__PURE__*/ l.typedRef<MessageView>((() => messageView) as any)],\n false,\n ),\n ),\n indexedAt: /*#__PURE__*/ l.string({ format: 'datetime' }),\n chatProfile: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.ref<ChatProfile.Main>((() => ChatProfile.main) as any),\n ),\n }),\n)\n\nexport { messageView }\n\n/** View of a pinned chat record with hydrated message data. */\ntype PinnedRecordView = {\n $type?: 'place.stream.chat.defs#pinnedRecordView'\n cid: l.CidString\n uri: l.AtUriString\n record: ChatPinnedRecord.Main\n message?: MessageView\n pinnedBy?: ChatProfile.Main\n indexedAt: l.DatetimeString\n}\n\nexport type { PinnedRecordView }\n\n/** View of a pinned chat record with hydrated message data. */\nconst pinnedRecordView = /*#__PURE__*/ l.typedObject<PinnedRecordView>(\n $nsid,\n 'pinnedRecordView',\n /*#__PURE__*/ l.object({\n cid: /*#__PURE__*/ l.string({ format: 'cid' }),\n uri: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n record: /*#__PURE__*/ l.ref<ChatPinnedRecord.Main>(\n (() => ChatPinnedRecord.main) as any,\n ),\n message: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.ref<MessageView>((() => messageView) as any),\n ),\n pinnedBy: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.ref<ChatProfile.Main>((() => ChatProfile.main) as any),\n ),\n indexedAt: /*#__PURE__*/ l.string({ format: 'datetime' }),\n }),\n)\n\nexport { pinnedRecordView }\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/place/stream/chat/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,gBAAgB,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './defs.defs.js'\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pinnedRecord.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/place/stream/chat/pinnedRecord.ts"],"names":[],"mappings":"AAIA,cAAc,wBAAwB,CAAA;AACtC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,wBAAwB,CAAA"}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { l } from '@atproto/lex';
|
|
2
|
+
declare const $nsid = "place.stream.chat.pinnedRecord";
|
|
3
|
+
type $nsid = typeof $nsid;
|
|
4
|
+
export { $nsid };
|
|
5
|
+
/** Record pinning a chat message for prominent display. */
|
|
6
|
+
type Main = {
|
|
7
|
+
$type: 'place.stream.chat.pinnedRecord';
|
|
8
|
+
/**
|
|
9
|
+
* DID of the user who pinned the message.
|
|
10
|
+
*/
|
|
11
|
+
pinnedBy?: l.DidString;
|
|
12
|
+
/**
|
|
13
|
+
* When this pin was created.
|
|
14
|
+
*/
|
|
15
|
+
createdAt: l.DatetimeString;
|
|
16
|
+
/**
|
|
17
|
+
* Optional expiration time. If set, the pin is considered inactive after this time.
|
|
18
|
+
*/
|
|
19
|
+
expiresAt?: l.DatetimeString;
|
|
20
|
+
/**
|
|
21
|
+
* AT-URI of the pinned chat message.
|
|
22
|
+
*/
|
|
23
|
+
pinnedMessage: l.AtUriString;
|
|
24
|
+
};
|
|
25
|
+
export type { Main };
|
|
26
|
+
/** Record pinning a chat message for prominent display. */
|
|
27
|
+
declare const main: l.RecordSchema<"tid", "place.stream.chat.pinnedRecord", l.Validator<Omit<Main, "$type">, Omit<Main, "$type">>>;
|
|
28
|
+
export { main };
|
|
29
|
+
declare const $type = "place.stream.chat.pinnedRecord";
|
|
30
|
+
type $type = typeof $type;
|
|
31
|
+
export { $type };
|
|
32
|
+
export declare const $isTypeOf: <TValue extends {
|
|
33
|
+
$type?: unknown;
|
|
34
|
+
}>(value: TValue) => value is l.TypedRecord<"place.stream.chat.pinnedRecord", TValue>;
|
|
35
|
+
export declare const $build: {
|
|
36
|
+
(input: Omit<Omit<Main, "$type">, "$type">): {
|
|
37
|
+
$type: "place.stream.chat.pinnedRecord";
|
|
38
|
+
pinnedBy?: l.DidString;
|
|
39
|
+
createdAt: l.DatetimeString;
|
|
40
|
+
expiresAt?: l.DatetimeString;
|
|
41
|
+
pinnedMessage: l.AtUriString;
|
|
42
|
+
};
|
|
43
|
+
(input: Omit<Omit<Main, "$type">, "$type">): {
|
|
44
|
+
$type: "place.stream.chat.pinnedRecord";
|
|
45
|
+
pinnedBy?: l.DidString;
|
|
46
|
+
createdAt: l.DatetimeString;
|
|
47
|
+
expiresAt?: l.DatetimeString;
|
|
48
|
+
pinnedMessage: l.AtUriString;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
export declare const $assert: (input: unknown, options?: l.ValidateOptions) => asserts input is {
|
|
52
|
+
$type: "place.stream.chat.pinnedRecord";
|
|
53
|
+
pinnedBy?: l.DidString;
|
|
54
|
+
createdAt: l.DatetimeString;
|
|
55
|
+
expiresAt?: l.DatetimeString;
|
|
56
|
+
pinnedMessage: l.AtUriString;
|
|
57
|
+
};
|
|
58
|
+
export declare const $check: (input: unknown, options?: l.ValidateOptions) => void;
|
|
59
|
+
export declare const $cast: <I>(input: I, options?: l.ValidateOptions) => I & {
|
|
60
|
+
$type: "place.stream.chat.pinnedRecord";
|
|
61
|
+
pinnedBy?: l.DidString;
|
|
62
|
+
createdAt: l.DatetimeString;
|
|
63
|
+
expiresAt?: l.DatetimeString;
|
|
64
|
+
pinnedMessage: l.AtUriString;
|
|
65
|
+
};
|
|
66
|
+
export declare const $ifMatches: <I>(input: I, options?: l.ValidateOptions) => (I & {
|
|
67
|
+
$type: "place.stream.chat.pinnedRecord";
|
|
68
|
+
pinnedBy?: l.DidString;
|
|
69
|
+
createdAt: l.DatetimeString;
|
|
70
|
+
expiresAt?: l.DatetimeString;
|
|
71
|
+
pinnedMessage: l.AtUriString;
|
|
72
|
+
}) | undefined;
|
|
73
|
+
export declare const $matches: <I>(input: I, options?: l.ValidateOptions) => input is I & {
|
|
74
|
+
$type: "place.stream.chat.pinnedRecord";
|
|
75
|
+
pinnedBy?: l.DidString;
|
|
76
|
+
createdAt: l.DatetimeString;
|
|
77
|
+
expiresAt?: l.DatetimeString;
|
|
78
|
+
pinnedMessage: l.AtUriString;
|
|
79
|
+
};
|
|
80
|
+
export declare const $parse: (input: unknown, options?: l.ParseOptions) => {
|
|
81
|
+
$type: "place.stream.chat.pinnedRecord";
|
|
82
|
+
pinnedBy?: l.DidString;
|
|
83
|
+
createdAt: l.DatetimeString;
|
|
84
|
+
expiresAt?: l.DatetimeString;
|
|
85
|
+
pinnedMessage: l.AtUriString;
|
|
86
|
+
};
|
|
87
|
+
export declare const $safeParse: (input: unknown, options?: l.ParseOptions) => l.ValidationResult<{
|
|
88
|
+
$type: "place.stream.chat.pinnedRecord";
|
|
89
|
+
pinnedBy?: l.DidString;
|
|
90
|
+
createdAt: l.DatetimeString;
|
|
91
|
+
expiresAt?: l.DatetimeString;
|
|
92
|
+
pinnedMessage: l.AtUriString;
|
|
93
|
+
}>;
|
|
94
|
+
export declare const $validate: <I>(input: I, options?: l.ValidateOptions) => I & {
|
|
95
|
+
$type: "place.stream.chat.pinnedRecord";
|
|
96
|
+
pinnedBy?: l.DidString;
|
|
97
|
+
createdAt: l.DatetimeString;
|
|
98
|
+
expiresAt?: l.DatetimeString;
|
|
99
|
+
pinnedMessage: l.AtUriString;
|
|
100
|
+
};
|
|
101
|
+
export declare const $safeValidate: <I>(input: I, options?: l.ValidateOptions) => l.ValidationResult<I & {
|
|
102
|
+
$type: "place.stream.chat.pinnedRecord";
|
|
103
|
+
pinnedBy?: l.DidString;
|
|
104
|
+
createdAt: l.DatetimeString;
|
|
105
|
+
expiresAt?: l.DatetimeString;
|
|
106
|
+
pinnedMessage: l.AtUriString;
|
|
107
|
+
}>;
|
|
108
|
+
//# sourceMappingURL=pinnedRecord.defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pinnedRecord.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/place/stream/chat/pinnedRecord.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAEhC,QAAA,MAAM,KAAK,mCAAmC,CAAA;AAE9C,KAAK,KAAK,GAAG,OAAO,KAAK,CAAA;AAEzB,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,2DAA2D;AAC3D,KAAK,IAAI,GAAG;IACV,KAAK,EAAE,gCAAgC,CAAA;IAEvC;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,CAAC,SAAS,CAAA;IAEtB;;OAEG;IACH,SAAS,EAAE,CAAC,CAAC,cAAc,CAAA;IAE3B;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,CAAC,cAAc,CAAA;IAE5B;;OAEG;IACH,aAAa,EAAE,CAAC,CAAC,WAAW,CAAA;CAC7B,CAAA;AAED,YAAY,EAAE,IAAI,EAAE,CAAA;AAEpB,2DAA2D;AAC3D,QAAA,MAAM,IAAI,gHAaT,CAAA;AAED,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,QAAA,MAAM,KAAK,mCAAQ,CAAA;AAEnB,KAAK,KAAK,GAAG,OAAO,KAAK,CAAA;AAEzB,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,eAAO,MAAM,SAAS;;qFAAyC,CAAA;AAC/D,eAAO,MAAM,MAAM;;;mBA7CN,CAAC,CAAC,SAAS;mBAKX,CAAC,CAAC,cAAc;oBAKf,CAAC,CAAC,cAAc;uBAKb,CAAC,CAAC,WAAW;;;;mBAfjB,CAAC,CAAC,SAAS;mBAKX,CA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,CAAA"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { l } from '@atproto/lex';
|
|
5
|
+
const $nsid = 'place.stream.chat.pinnedRecord';
|
|
6
|
+
export { $nsid };
|
|
7
|
+
/** Record pinning a chat message for prominent display. */
|
|
8
|
+
const main = /*#__PURE__*/ l.record('tid', $nsid,
|
|
9
|
+
/*#__PURE__*/ l.object({
|
|
10
|
+
pinnedBy: /*#__PURE__*/ l.optional(
|
|
11
|
+
/*#__PURE__*/ l.string({ format: 'did' })),
|
|
12
|
+
createdAt: /*#__PURE__*/ l.string({ format: 'datetime' }),
|
|
13
|
+
expiresAt: /*#__PURE__*/ l.optional(
|
|
14
|
+
/*#__PURE__*/ l.string({ format: 'datetime' })),
|
|
15
|
+
pinnedMessage: /*#__PURE__*/ l.string({ format: 'at-uri' }),
|
|
16
|
+
}));
|
|
17
|
+
export { main };
|
|
18
|
+
const $type = $nsid;
|
|
19
|
+
export { $type };
|
|
20
|
+
export const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main);
|
|
21
|
+
export const $build = /*#__PURE__*/ main.build.bind(main);
|
|
22
|
+
export const $assert = /*#__PURE__*/ main.assert.bind(main);
|
|
23
|
+
export const $check = /*#__PURE__*/ main.check.bind(main);
|
|
24
|
+
export const $cast = /*#__PURE__*/ main.cast.bind(main);
|
|
25
|
+
export const $ifMatches = /*#__PURE__*/ main.ifMatches.bind(main);
|
|
26
|
+
export const $matches = /*#__PURE__*/ main.matches.bind(main);
|
|
27
|
+
export const $parse = /*#__PURE__*/ main.parse.bind(main);
|
|
28
|
+
export const $safeParse = /*#__PURE__*/ main.safeParse.bind(main);
|
|
29
|
+
export const $validate = /*#__PURE__*/ main.validate.bind(main);
|
|
30
|
+
export const $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main);
|
|
31
|
+
//# sourceMappingURL=p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,MAAM,OAAO,GAAG,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;AAC3D,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;AACzD,MAAM,CAAC,MAAM,KAAK,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;AACvD,MAAM,CAAC,MAAM,UAAU,GAAG,aAAa,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;AACjE,MAAM,CAAC,MAAM,QAAQ,GAAG,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;AAC7D,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;AACzD,MAAM,CAAC,MAAM,UAAU,GAAG,aAAa,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;AACjE,MAAM,CAAC,MAAM,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;AAC/D,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'place.stream.chat.pinnedRecord'\n\ntype $nsid = typeof $nsid\n\nexport { $nsid }\n\n/** Record pinning a chat message for prominent display. */\ntype Main = {\n $type: 'place.stream.chat.pinnedRecord'\n\n /**\n * DID of the user who pinned the message.\n */\n pinnedBy?: l.DidString\n\n /**\n * When this pin was created.\n */\n createdAt: l.DatetimeString\n\n /**\n * Optional expiration time. If set, the pin is considered inactive after this time.\n */\n expiresAt?: l.DatetimeString\n\n /**\n * AT-URI of the pinned chat message.\n */\n pinnedMessage: l.AtUriString\n}\n\nexport type { Main }\n\n/** Record pinning a chat message for prominent display. */\nconst main = /*#__PURE__*/ l.record<'tid', Main>(\n 'tid',\n $nsid,\n /*#__PURE__*/ l.object({\n pinnedBy: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string({ format: 'did' }),\n ),\n createdAt: /*#__PURE__*/ l.string({ format: 'datetime' }),\n expiresAt: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string({ format: 'datetime' }),\n ),\n pinnedMessage: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n }),\n)\n\nexport { main }\n\nconst $type = $nsid\n\ntype $type = typeof $type\n\nexport { $type }\n\nexport const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main)\nexport const $build = /*#__PURE__*/ main.build.bind(main)\nexport const $assert = /*#__PURE__*/ main.assert.bind(main)\nexport const $check = /*#__PURE__*/ main.check.bind(main)\nexport const $cast = /*#__PURE__*/ main.cast.bind(main)\nexport const $ifMatches = /*#__PURE__*/ main.ifMatches.bind(main)\nexport const $matches = /*#__PURE__*/ main.matches.bind(main)\nexport const $parse = /*#__PURE__*/ main.parse.bind(main)\nexport const $safeParse = /*#__PURE__*/ main.safeParse.bind(main)\nexport const $validate = /*#__PURE__*/ main.validate.bind(main)\nexport const $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main)\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pinnedRecord.js","sourceRoot":"","sources":["../../../../../src/lexicons/place/stream/chat/pinnedRecord.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,wBAAwB,CAAA;AACtC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,wBAAwB,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './pinnedRecord.defs.js'\nexport { main as default } from './pinnedRecord.defs.js'\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/place/stream/chat/profile.ts"],"names":[],"mappings":"AAIA,cAAc,mBAAmB,CAAA;AACjC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,mBAAmB,CAAA"}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { l } from '@atproto/lex';
|
|
2
|
+
import * as RepoStrongRef from '../../../com/atproto/repo/strongRef.defs.js';
|
|
3
|
+
declare const $nsid = "place.stream.chat.profile";
|
|
4
|
+
type $nsid = typeof $nsid;
|
|
5
|
+
export { $nsid };
|
|
6
|
+
/** Record containing customizations for a user's chat profile. */
|
|
7
|
+
type Main = {
|
|
8
|
+
$type: 'place.stream.chat.profile';
|
|
9
|
+
color?: Color;
|
|
10
|
+
/**
|
|
11
|
+
* Badge selections for display in chat.
|
|
12
|
+
*/
|
|
13
|
+
badges?: BadgeSelections;
|
|
14
|
+
/**
|
|
15
|
+
* Self-applied labels for this profile, e.g. 'bot'.
|
|
16
|
+
*/
|
|
17
|
+
selfLabels?: SelfLabel[];
|
|
18
|
+
};
|
|
19
|
+
export type { Main };
|
|
20
|
+
/** Record containing customizations for a user's chat profile. */
|
|
21
|
+
declare const main: l.RecordSchema<"literal:self", "place.stream.chat.profile", l.Validator<Omit<Main, "$type">, Omit<Main, "$type">>>;
|
|
22
|
+
export { main };
|
|
23
|
+
declare const $type = "place.stream.chat.profile";
|
|
24
|
+
type $type = typeof $type;
|
|
25
|
+
export { $type };
|
|
26
|
+
export declare const $isTypeOf: <TValue extends {
|
|
27
|
+
$type?: unknown;
|
|
28
|
+
}>(value: TValue) => value is l.TypedRecord<"place.stream.chat.profile", TValue>;
|
|
29
|
+
export declare const $build: {
|
|
30
|
+
(input: Omit<Omit<Main, "$type">, "$type">): {
|
|
31
|
+
$type: "place.stream.chat.profile";
|
|
32
|
+
color?: Color;
|
|
33
|
+
badges?: BadgeSelections;
|
|
34
|
+
selfLabels?: SelfLabel[];
|
|
35
|
+
};
|
|
36
|
+
(input: Omit<Omit<Main, "$type">, "$type">): {
|
|
37
|
+
$type: "place.stream.chat.profile";
|
|
38
|
+
color?: Color;
|
|
39
|
+
badges?: BadgeSelections;
|
|
40
|
+
selfLabels?: SelfLabel[];
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
export declare const $assert: (input: unknown, options?: l.ValidateOptions) => asserts input is {
|
|
44
|
+
$type: "place.stream.chat.profile";
|
|
45
|
+
color?: Color;
|
|
46
|
+
badges?: BadgeSelections;
|
|
47
|
+
selfLabels?: SelfLabel[];
|
|
48
|
+
};
|
|
49
|
+
export declare const $check: (input: unknown, options?: l.ValidateOptions) => void;
|
|
50
|
+
export declare const $cast: <I>(input: I, options?: l.ValidateOptions) => I & {
|
|
51
|
+
$type: "place.stream.chat.profile";
|
|
52
|
+
color?: Color;
|
|
53
|
+
badges?: BadgeSelections;
|
|
54
|
+
selfLabels?: SelfLabel[];
|
|
55
|
+
};
|
|
56
|
+
export declare const $ifMatches: <I>(input: I, options?: l.ValidateOptions) => (I & {
|
|
57
|
+
$type: "place.stream.chat.profile";
|
|
58
|
+
color?: Color;
|
|
59
|
+
badges?: BadgeSelections;
|
|
60
|
+
selfLabels?: SelfLabel[];
|
|
61
|
+
}) | undefined;
|
|
62
|
+
export declare const $matches: <I>(input: I, options?: l.ValidateOptions) => input is I & {
|
|
63
|
+
$type: "place.stream.chat.profile";
|
|
64
|
+
color?: Color;
|
|
65
|
+
badges?: BadgeSelections;
|
|
66
|
+
selfLabels?: SelfLabel[];
|
|
67
|
+
};
|
|
68
|
+
export declare const $parse: (input: unknown, options?: l.ParseOptions) => {
|
|
69
|
+
$type: "place.stream.chat.profile";
|
|
70
|
+
color?: Color;
|
|
71
|
+
badges?: BadgeSelections;
|
|
72
|
+
selfLabels?: SelfLabel[];
|
|
73
|
+
};
|
|
74
|
+
export declare const $safeParse: (input: unknown, options?: l.ParseOptions) => l.ValidationResult<{
|
|
75
|
+
$type: "place.stream.chat.profile";
|
|
76
|
+
color?: Color;
|
|
77
|
+
badges?: BadgeSelections;
|
|
78
|
+
selfLabels?: SelfLabel[];
|
|
79
|
+
}>;
|
|
80
|
+
export declare const $validate: <I>(input: I, options?: l.ValidateOptions) => I & {
|
|
81
|
+
$type: "place.stream.chat.profile";
|
|
82
|
+
color?: Color;
|
|
83
|
+
badges?: BadgeSelections;
|
|
84
|
+
selfLabels?: SelfLabel[];
|
|
85
|
+
};
|
|
86
|
+
export declare const $safeValidate: <I>(input: I, options?: l.ValidateOptions) => l.ValidationResult<I & {
|
|
87
|
+
$type: "place.stream.chat.profile";
|
|
88
|
+
color?: Color;
|
|
89
|
+
badges?: BadgeSelections;
|
|
90
|
+
selfLabels?: SelfLabel[];
|
|
91
|
+
}>;
|
|
92
|
+
/** Customizations for the color of a user's name in chat */
|
|
93
|
+
type Color = {
|
|
94
|
+
$type?: 'place.stream.chat.profile#color';
|
|
95
|
+
red: number;
|
|
96
|
+
blue: number;
|
|
97
|
+
green: number;
|
|
98
|
+
};
|
|
99
|
+
export type { Color };
|
|
100
|
+
/** Customizations for the color of a user's name in chat */
|
|
101
|
+
declare const color: l.TypedObjectSchema<"place.stream.chat.profile#color", l.Validator<Color, Color>>;
|
|
102
|
+
export { color };
|
|
103
|
+
/** Label that a user can apply to their own profile. */
|
|
104
|
+
type SelfLabel = 'bot' | l.UnknownString;
|
|
105
|
+
export type { SelfLabel };
|
|
106
|
+
/** Label that a user can apply to their own profile. */
|
|
107
|
+
declare const selfLabel: l.StringSchema<{
|
|
108
|
+
knownValues: ["bot"];
|
|
109
|
+
}>;
|
|
110
|
+
export { selfLabel };
|
|
111
|
+
/** Selected badges for display in chat, organized by slot. */
|
|
112
|
+
type BadgeSelections = {
|
|
113
|
+
$type?: 'place.stream.chat.profile#badgeSelections';
|
|
114
|
+
/**
|
|
115
|
+
* Selected globally-issued badge (e.g. event badge).
|
|
116
|
+
*/
|
|
117
|
+
global?: RepoStrongRef.Main;
|
|
118
|
+
/**
|
|
119
|
+
* Selected streamer-issued badges, one per streamer channel.
|
|
120
|
+
*/
|
|
121
|
+
streamer?: StreamerBadgeSelection[];
|
|
122
|
+
};
|
|
123
|
+
export type { BadgeSelections };
|
|
124
|
+
/** Selected badges for display in chat, organized by slot. */
|
|
125
|
+
declare const badgeSelections: l.TypedObjectSchema<"place.stream.chat.profile#badgeSelections", l.Validator<BadgeSelections, BadgeSelections>>;
|
|
126
|
+
export { badgeSelections };
|
|
127
|
+
/** A selected badge for a specific streamer's channel. */
|
|
128
|
+
type StreamerBadgeSelection = {
|
|
129
|
+
$type?: 'place.stream.chat.profile#streamerBadgeSelection';
|
|
130
|
+
/**
|
|
131
|
+
* Strong reference to the selected place.stream.badge.issuance record.
|
|
132
|
+
*/
|
|
133
|
+
badge: RepoStrongRef.Main;
|
|
134
|
+
/**
|
|
135
|
+
* DID of the streamer whose channel this selection applies to.
|
|
136
|
+
*/
|
|
137
|
+
streamer: l.DidString;
|
|
138
|
+
};
|
|
139
|
+
export type { StreamerBadgeSelection };
|
|
140
|
+
/** A selected badge for a specific streamer's channel. */
|
|
141
|
+
declare const streamerBadgeSelection: l.TypedObjectSchema<"place.stream.chat.profile#streamerBadgeSelection", l.Validator<StreamerBadgeSelection, StreamerBadgeSelection>>;
|
|
142
|
+
export { streamerBadgeSelection };
|
|
143
|
+
//# sourceMappingURL=profile.defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/place/stream/chat/profile.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,aAAa,MAAM,6CAA6C,CAAA;AAE5E,QAAA,MAAM,KAAK,8BAA8B,CAAA;AAEzC,KAAK,KAAK,GAAG,OAAO,K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B,CAAA;AAED,YAAY,EAAE,sBAAsB,EAAE,CAAA;AAEtC,0DAA0D;AAC1D,QAAA,MAAM,sBAAsB,sIAUzB,CAAA;AAEH,OAAO,EAAE,sBAAsB,EAAE,CAAA"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { l } from '@atproto/lex';
|
|
5
|
+
import * as RepoStrongRef from '../../../com/atproto/repo/strongRef.defs.js';
|
|
6
|
+
const $nsid = 'place.stream.chat.profile';
|
|
7
|
+
export { $nsid };
|
|
8
|
+
/** Record containing customizations for a user's chat profile. */
|
|
9
|
+
const main = /*#__PURE__*/ l.record('literal:self', $nsid,
|
|
10
|
+
/*#__PURE__*/ l.object({
|
|
11
|
+
color: /*#__PURE__*/ l.optional(
|
|
12
|
+
/*#__PURE__*/ l.ref((() => color))),
|
|
13
|
+
badges: /*#__PURE__*/ l.optional(
|
|
14
|
+
/*#__PURE__*/ l.ref((() => badgeSelections))),
|
|
15
|
+
selfLabels: /*#__PURE__*/ l.optional(
|
|
16
|
+
/*#__PURE__*/ l.array(
|
|
17
|
+
/*#__PURE__*/ l.ref((() => selfLabel)), { maxLength: 10 })),
|
|
18
|
+
}));
|
|
19
|
+
export { main };
|
|
20
|
+
const $type = $nsid;
|
|
21
|
+
export { $type };
|
|
22
|
+
export const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main);
|
|
23
|
+
export const $build = /*#__PURE__*/ main.build.bind(main);
|
|
24
|
+
export const $assert = /*#__PURE__*/ main.assert.bind(main);
|
|
25
|
+
export const $check = /*#__PURE__*/ main.check.bind(main);
|
|
26
|
+
export const $cast = /*#__PURE__*/ main.cast.bind(main);
|
|
27
|
+
export const $ifMatches = /*#__PURE__*/ main.ifMatches.bind(main);
|
|
28
|
+
export const $matches = /*#__PURE__*/ main.matches.bind(main);
|
|
29
|
+
export const $parse = /*#__PURE__*/ main.parse.bind(main);
|
|
30
|
+
export const $safeParse = /*#__PURE__*/ main.safeParse.bind(main);
|
|
31
|
+
export const $validate = /*#__PURE__*/ main.validate.bind(main);
|
|
32
|
+
export const $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main);
|
|
33
|
+
/** Customizations for the color of a user's name in chat */
|
|
34
|
+
const color = /*#__PURE__*/ l.typedObject($nsid, 'color',
|
|
35
|
+
/*#__PURE__*/ l.object({
|
|
36
|
+
red: /*#__PURE__*/ l.integer({ maximum: 255, minimum: 0 }),
|
|
37
|
+
blue: /*#__PURE__*/ l.integer({ maximum: 255, minimum: 0 }),
|
|
38
|
+
green: /*#__PURE__*/ l.integer({ maximum: 255, minimum: 0 }),
|
|
39
|
+
}));
|
|
40
|
+
export { color };
|
|
41
|
+
/** Label that a user can apply to their own profile. */
|
|
42
|
+
const selfLabel = /*#__PURE__*/ l.string();
|
|
43
|
+
export { selfLabel };
|
|
44
|
+
/** Selected badges for display in chat, organized by slot. */
|
|
45
|
+
const badgeSelections = /*#__PURE__*/ l.typedObject($nsid, 'badgeSelections',
|
|
46
|
+
/*#__PURE__*/ l.object({
|
|
47
|
+
global: /*#__PURE__*/ l.optional(
|
|
48
|
+
/*#__PURE__*/ l.ref((() => RepoStrongRef.main))),
|
|
49
|
+
streamer: /*#__PURE__*/ l.optional(
|
|
50
|
+
/*#__PURE__*/ l.array(
|
|
51
|
+
/*#__PURE__*/ l.ref((() => streamerBadgeSelection)), { maxLength: 20 })),
|
|
52
|
+
}));
|
|
53
|
+
export { badgeSelections };
|
|
54
|
+
/** A selected badge for a specific streamer's channel. */
|
|
55
|
+
const streamerBadgeSelection =
|
|
56
|
+
/*#__PURE__*/ l.typedObject($nsid, 'streamerBadgeSelection',
|
|
57
|
+
/*#__PURE__*/ l.object({
|
|
58
|
+
badge: /*#__PURE__*/ l.ref((() => RepoStrongRef.main)),
|
|
59
|
+
streamer: /*#__PURE__*/ l.string({ format: 'did' }),
|
|
60
|
+
}));
|
|
61
|
+
export { streamerBadgeSelection };
|
|
62
|
+
//# sourceMappingURL=profile.defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/place/stream/chat/profile.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,aAAa,MAAM,6CAA6C,CAAA;AAE5E,MAAM,KAAK,GAAG,2BAA2B,CAAA;AAIzC,OAAO,EAAE,KAAK,EAAE,CAAA;AAoBhB,kEAAkE;AAClE,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CACjC,cAAc,EACd,KAAK;AACL,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACrB,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAC7B,aAAa,CAAC,CAAC,CAAC,GAAG,CAAQ,CAAC,GAAG,EAAE,CAAC,KAAK,CAAQ,CAAC,CACjD;IACD,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAC9B,aAAa,CAAC,CAAC,CAAC,GAAG,CAAkB,CAAC,GAAG,EAAE,CAAC,eAAe,CAAQ,CAAC,CACrE;IACD,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAClC,aAAa,CAAC,CAAC,CAAC,KAAK;IACnB,aAAa,CAAC,CAAC,CAAC,GAAG,CAAY,CAAC,GAAG,EAAE,CAAC,SAAS,CAAQ,CAAC,EACxD,EAAE,SAAS,EAAE,EAAE,EAAE,CAClB,CACF;CACF,CAAC,CACH,CAAA;AAED,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,MAAM,KAAK,GAAG,KAAK,CAAA;AAInB,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,MAAM,CAAC,MAAM,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAA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AAC,GAAG,EAAE,CAAC,aAAa,CAAC,IAAI,CAAQ,CAClC;IACD,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;CACpD,CAAC,CACH,CAAA;AAEH,OAAO,EAAE,sBAAsB,EAAE,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as RepoStrongRef from '../../../com/atproto/repo/strongRef.defs.js'\n\nconst $nsid = 'place.stream.chat.profile'\n\ntype $nsid = typeof $nsid\n\nexport { $nsid }\n\n/** Record containing customizations for a user's chat profile. */\ntype Main = {\n $type: 'place.stream.chat.profile'\n color?: Color\n\n /**\n * Badge selections for display in chat.\n */\n badges?: BadgeSelections\n\n /**\n * Self-applied labels for this profile, e.g. 'bot'.\n */\n selfLabels?: SelfLabel[]\n}\n\nexport type { Main }\n\n/** Record containing customizations for a user's chat profile. */\nconst main = /*#__PURE__*/ l.record<'literal:self', Main>(\n 'literal:self',\n $nsid,\n /*#__PURE__*/ l.object({\n color: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.ref<Color>((() => color) as any),\n ),\n badges: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.ref<BadgeSelections>((() => badgeSelections) as any),\n ),\n selfLabels: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.array(\n /*#__PURE__*/ l.ref<SelfLabel>((() => selfLabel) as any),\n { maxLength: 10 },\n ),\n ),\n }),\n)\n\nexport { main }\n\nconst $type = $nsid\n\ntype $type = typeof $type\n\nexport { $type }\n\nexport const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main)\nexport const $build = /*#__PURE__*/ main.build.bind(main)\nexport const $assert = /*#__PURE__*/ main.assert.bind(main)\nexport const $check = /*#__PURE__*/ main.check.bind(main)\nexport const $cast = /*#__PURE__*/ main.cast.bind(main)\nexport const $ifMatches = /*#__PURE__*/ main.ifMatches.bind(main)\nexport const $matches = /*#__PURE__*/ main.matches.bind(main)\nexport const $parse = /*#__PURE__*/ main.parse.bind(main)\nexport const $safeParse = /*#__PURE__*/ main.safeParse.bind(main)\nexport const $validate = /*#__PURE__*/ main.validate.bind(main)\nexport const $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main)\n\n/** Customizations for the color of a user's name in chat */\ntype Color = {\n $type?: 'place.stream.chat.profile#color'\n red: number\n blue: number\n green: number\n}\n\nexport type { Color }\n\n/** Customizations for the color of a user's name in chat */\nconst color = /*#__PURE__*/ l.typedObject<Color>(\n $nsid,\n 'color',\n /*#__PURE__*/ l.object({\n red: /*#__PURE__*/ l.integer({ maximum: 255, minimum: 0 }),\n blue: /*#__PURE__*/ l.integer({ maximum: 255, minimum: 0 }),\n green: /*#__PURE__*/ l.integer({ maximum: 255, minimum: 0 }),\n }),\n)\n\nexport { color }\n\n/** Label that a user can apply to their own profile. */\ntype SelfLabel = 'bot' | l.UnknownString\n\nexport type { SelfLabel }\n\n/** Label that a user can apply to their own profile. */\nconst selfLabel = /*#__PURE__*/ l.string<{ knownValues: ['bot'] }>()\n\nexport { selfLabel }\n\n/** Selected badges for display in chat, organized by slot. */\ntype BadgeSelections = {\n $type?: 'place.stream.chat.profile#badgeSelections'\n\n /**\n * Selected globally-issued badge (e.g. event badge).\n */\n global?: RepoStrongRef.Main\n\n /**\n * Selected streamer-issued badges, one per streamer channel.\n */\n streamer?: StreamerBadgeSelection[]\n}\n\nexport type { BadgeSelections }\n\n/** Selected badges for display in chat, organized by slot. */\nconst badgeSelections = /*#__PURE__*/ l.typedObject<BadgeSelections>(\n $nsid,\n 'badgeSelections',\n /*#__PURE__*/ l.object({\n global: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.ref<RepoStrongRef.Main>(\n (() => RepoStrongRef.main) as any,\n ),\n ),\n streamer: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.array(\n /*#__PURE__*/ l.ref<StreamerBadgeSelection>(\n (() => streamerBadgeSelection) as any,\n ),\n { maxLength: 20 },\n ),\n ),\n }),\n)\n\nexport { badgeSelections }\n\n/** A selected badge for a specific streamer's channel. */\ntype StreamerBadgeSelection = {\n $type?: 'place.stream.chat.profile#streamerBadgeSelection'\n\n /**\n * Strong reference to the selected place.stream.badge.issuance record.\n */\n badge: RepoStrongRef.Main\n\n /**\n * DID of the streamer whose channel this selection applies to.\n */\n streamer: l.DidString\n}\n\nexport type { StreamerBadgeSelection }\n\n/** A selected badge for a specific streamer's channel. */\nconst streamerBadgeSelection =\n /*#__PURE__*/ l.typedObject<StreamerBadgeSelection>(\n $nsid,\n 'streamerBadgeSelection',\n /*#__PURE__*/ l.object({\n badge: /*#__PURE__*/ l.ref<RepoStrongRef.Main>(\n (() => RepoStrongRef.main) as any,\n ),\n streamer: /*#__PURE__*/ l.string({ format: 'did' }),\n }),\n )\n\nexport { streamerBadgeSelection }\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile.js","sourceRoot":"","sources":["../../../../../src/lexicons/place/stream/chat/profile.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,mBAAmB,CAAA;AACjC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,mBAAmB,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './profile.defs.js'\nexport { main as default } from './profile.defs.js'\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../../../src/lexicons/place/stream/chat.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,IAAI,MAAM,gBAAgB,CAAA;AACtC,OAAO,KAAK,YAAY,MAAM,wBAAwB,CAAA;AACtD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat.js","sourceRoot":"","sources":["../../../../src/lexicons/place/stream/chat.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,IAAI,MAAM,gBAAgB,CAAA;AACtC,OAAO,KAAK,YAAY,MAAM,wBAAwB,CAAA;AACtD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as defs from './chat/defs.js'\nexport * as pinnedRecord from './chat/pinnedRecord.js'\nexport * as profile from './chat/profile.js'\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../src/lexicons/place/stream/defs.ts"],"names":[],"mappings":"AAIA,cAAc,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { l } from '@atproto/lex';
|
|
2
|
+
import * as GraphBlock from '../../app/bsky/graph/block.defs.js';
|
|
3
|
+
import * as ActorDefs from '../../app/bsky/actor/defs.defs.js';
|
|
4
|
+
declare const $nsid = "place.stream.defs";
|
|
5
|
+
type $nsid = typeof $nsid;
|
|
6
|
+
export { $nsid };
|
|
7
|
+
type BlockView = {
|
|
8
|
+
$type?: 'place.stream.defs#blockView';
|
|
9
|
+
cid: l.CidString;
|
|
10
|
+
uri: l.AtUriString;
|
|
11
|
+
record: GraphBlock.Main;
|
|
12
|
+
blocker: ActorDefs.ProfileViewBasic;
|
|
13
|
+
indexedAt: l.DatetimeString;
|
|
14
|
+
};
|
|
15
|
+
export type { BlockView };
|
|
16
|
+
declare const blockView: l.TypedObjectSchema<"place.stream.defs#blockView", l.Validator<BlockView, BlockView>>;
|
|
17
|
+
export { blockView };
|
|
18
|
+
type Rendition = {
|
|
19
|
+
$type?: 'place.stream.defs#rendition';
|
|
20
|
+
name: string;
|
|
21
|
+
};
|
|
22
|
+
export type { Rendition };
|
|
23
|
+
declare const rendition: l.TypedObjectSchema<"place.stream.defs#rendition", l.Validator<Rendition, Rendition>>;
|
|
24
|
+
export { rendition };
|
|
25
|
+
type Renditions = {
|
|
26
|
+
$type?: 'place.stream.defs#renditions';
|
|
27
|
+
renditions: Rendition[];
|
|
28
|
+
};
|
|
29
|
+
export type { Renditions };
|
|
30
|
+
declare const renditions: l.TypedObjectSchema<"place.stream.defs#renditions", l.Validator<Renditions, Renditions>>;
|
|
31
|
+
export { renditions };
|
|
32
|
+
/** A game from the gamesgamesgamesgames catalog, identified by its AT URI. */
|
|
33
|
+
type ActivityGame = {
|
|
34
|
+
$type?: 'place.stream.defs#activityGame';
|
|
35
|
+
uri: l.AtUriString;
|
|
36
|
+
/**
|
|
37
|
+
* Cached display name of the game.
|
|
38
|
+
*/
|
|
39
|
+
name?: string;
|
|
40
|
+
};
|
|
41
|
+
export type { ActivityGame };
|
|
42
|
+
/** A game from the gamesgamesgamesgames catalog, identified by its AT URI. */
|
|
43
|
+
declare const activityGame: l.TypedObjectSchema<"place.stream.defs#activityGame", l.Validator<ActivityGame, ActivityGame>>;
|
|
44
|
+
export { activityGame };
|
|
45
|
+
/** A non-game activity with a well-known label. */
|
|
46
|
+
type ActivityLabel = {
|
|
47
|
+
$type?: 'place.stream.defs#activityLabel';
|
|
48
|
+
label: 'events' | 'just_chatting' | 'podcasting' | 'music' | 'art' | 'software_dev' | 'cooking' | 'miniatures' | 'makers_crafting' | 'fitness' | 'sports' | l.UnknownString;
|
|
49
|
+
};
|
|
50
|
+
export type { ActivityLabel };
|
|
51
|
+
/** A non-game activity with a well-known label. */
|
|
52
|
+
declare const activityLabel: l.TypedObjectSchema<"place.stream.defs#activityLabel", l.Validator<ActivityLabel, ActivityLabel>>;
|
|
53
|
+
export { activityLabel };
|
|
54
|
+
//# sourceMappingURL=defs.defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defs.defs.d.ts","sourceRoot":"","sources":["../../../../src/lexicons/place/stream/defs.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,M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AAA;AAED,YAAY,EAAE,YAAY,EAAE,CAAA;AAE5B,8EAA8E;AAC9E,QAAA,MAAM,YAAY,gGAOjB,CAAA;AAED,OAAO,EAAE,YAAY,EAAE,CAAA;AAEvB,mDAAmD;AACnD,KAAK,aAAa,GAAG;IACnB,KAAK,CAAC,EAAE,iCAAiC,CAAA;IACzC,KAAK,EACD,QAAQ,GACR,eAAe,GACf,YAAY,GACZ,OAAO,GACP,KAAK,GACL,cAAc,GACd,SAAS,GACT,YAAY,GACZ,iBAAiB,GACjB,SAAS,GACT,QAAQ,GACR,CAAC,CAAC,aAAa,CAAA;CACpB,CAAA;AAED,YAAY,EAAE,aAAa,EAAE,CAAA;AAE7B,mDAAmD;AACnD,QAAA,MAAM,aAAa,mGAoBlB,CAAA;AAED,OAAO,EAAE,aAAa,EAAE,CAAA"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { l } from '@atproto/lex';
|
|
5
|
+
import * as GraphBlock from '../../app/bsky/graph/block.defs.js';
|
|
6
|
+
import * as ActorDefs from '../../app/bsky/actor/defs.defs.js';
|
|
7
|
+
const $nsid = 'place.stream.defs';
|
|
8
|
+
export { $nsid };
|
|
9
|
+
const blockView = /*#__PURE__*/ l.typedObject($nsid, 'blockView',
|
|
10
|
+
/*#__PURE__*/ l.object({
|
|
11
|
+
cid: /*#__PURE__*/ l.string({ format: 'cid' }),
|
|
12
|
+
uri: /*#__PURE__*/ l.string({ format: 'at-uri' }),
|
|
13
|
+
record: /*#__PURE__*/ l.ref((() => GraphBlock.main)),
|
|
14
|
+
blocker: /*#__PURE__*/ l.ref((() => ActorDefs.profileViewBasic)),
|
|
15
|
+
indexedAt: /*#__PURE__*/ l.string({ format: 'datetime' }),
|
|
16
|
+
}));
|
|
17
|
+
export { blockView };
|
|
18
|
+
const rendition = /*#__PURE__*/ l.typedObject($nsid, 'rendition',
|
|
19
|
+
/*#__PURE__*/ l.object({ name: /*#__PURE__*/ l.string() }));
|
|
20
|
+
export { rendition };
|
|
21
|
+
const renditions = /*#__PURE__*/ l.typedObject($nsid, 'renditions',
|
|
22
|
+
/*#__PURE__*/ l.object({
|
|
23
|
+
renditions: /*#__PURE__*/ l.array(
|
|
24
|
+
/*#__PURE__*/ l.ref((() => rendition))),
|
|
25
|
+
}));
|
|
26
|
+
export { renditions };
|
|
27
|
+
/** A game from the gamesgamesgamesgames catalog, identified by its AT URI. */
|
|
28
|
+
const activityGame = /*#__PURE__*/ l.typedObject($nsid, 'activityGame',
|
|
29
|
+
/*#__PURE__*/ l.object({
|
|
30
|
+
uri: /*#__PURE__*/ l.string({ format: 'at-uri' }),
|
|
31
|
+
name: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),
|
|
32
|
+
}));
|
|
33
|
+
export { activityGame };
|
|
34
|
+
/** A non-game activity with a well-known label. */
|
|
35
|
+
const activityLabel = /*#__PURE__*/ l.typedObject($nsid, 'activityLabel',
|
|
36
|
+
/*#__PURE__*/ l.object({
|
|
37
|
+
label: /*#__PURE__*/ l.string(),
|
|
38
|
+
}));
|
|
39
|
+
export { activityLabel };
|
|
40
|
+
//# sourceMappingURL=defs.defs.js.map
|