@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 @@
|
|
|
1
|
+
{"version":3,"file":"defs.defs.js","sourceRoot":"","sources":["../../../../src/lexicons/place/stream/defs.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,UAAU,MAAM,oCAAoC,CAAA;AAChE,OAAO,KAAK,SAAS,MAAM,mCAAmC,CAAA;AAE9D,MAAM,KAAK,GAAG,mBAAmB,CAAA;AAIjC,OAAO,E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AAU,EAAE,CAAA;AAerB,8EAA8E;AAC9E,MAAM,YAAY,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAC9C,KAAK,EACL,cAAc;AACd,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACrB,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;IACjD,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CACzD,CAAC,CACH,CAAA;AAED,OAAO,EAAE,YAAY,EAAE,CAAA;AAsBvB,mDAAmD;AACnD,MAAM,aAAa,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAC/C,KAAK,EACL,eAAe;AACf,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACrB,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAczB;CACL,CAAC,CACH,CAAA;AAED,OAAO,EAAE,aAAa,EAAE,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as GraphBlock from '../../app/bsky/graph/block.defs.js'\nimport * as ActorDefs from '../../app/bsky/actor/defs.defs.js'\n\nconst $nsid = 'place.stream.defs'\n\ntype $nsid = typeof $nsid\n\nexport { $nsid }\n\ntype BlockView = {\n $type?: 'place.stream.defs#blockView'\n cid: l.CidString\n uri: l.AtUriString\n record: GraphBlock.Main\n blocker: ActorDefs.ProfileViewBasic\n indexedAt: l.DatetimeString\n}\n\nexport type { BlockView }\n\nconst blockView = /*#__PURE__*/ l.typedObject<BlockView>(\n $nsid,\n 'blockView',\n /*#__PURE__*/ l.object({\n cid: /*#__PURE__*/ l.string({ format: 'cid' }),\n uri: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n record: /*#__PURE__*/ l.ref<GraphBlock.Main>(\n (() => GraphBlock.main) as any,\n ),\n blocker: /*#__PURE__*/ l.ref<ActorDefs.ProfileViewBasic>(\n (() => ActorDefs.profileViewBasic) as any,\n ),\n indexedAt: /*#__PURE__*/ l.string({ format: 'datetime' }),\n }),\n)\n\nexport { blockView }\n\ntype Rendition = { $type?: 'place.stream.defs#rendition'; name: string }\n\nexport type { Rendition }\n\nconst rendition = /*#__PURE__*/ l.typedObject<Rendition>(\n $nsid,\n 'rendition',\n /*#__PURE__*/ l.object({ name: /*#__PURE__*/ l.string() }),\n)\n\nexport { rendition }\n\ntype Renditions = {\n $type?: 'place.stream.defs#renditions'\n renditions: Rendition[]\n}\n\nexport type { Renditions }\n\nconst renditions = /*#__PURE__*/ l.typedObject<Renditions>(\n $nsid,\n 'renditions',\n /*#__PURE__*/ l.object({\n renditions: /*#__PURE__*/ l.array(\n /*#__PURE__*/ l.ref<Rendition>((() => rendition) as any),\n ),\n }),\n)\n\nexport { renditions }\n\n/** A game from the gamesgamesgamesgames catalog, identified by its AT URI. */\ntype ActivityGame = {\n $type?: 'place.stream.defs#activityGame'\n uri: l.AtUriString\n\n /**\n * Cached display name of the game.\n */\n name?: string\n}\n\nexport type { ActivityGame }\n\n/** A game from the gamesgamesgamesgames catalog, identified by its AT URI. */\nconst activityGame = /*#__PURE__*/ l.typedObject<ActivityGame>(\n $nsid,\n 'activityGame',\n /*#__PURE__*/ l.object({\n uri: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n name: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\n }),\n)\n\nexport { activityGame }\n\n/** A non-game activity with a well-known label. */\ntype ActivityLabel = {\n $type?: 'place.stream.defs#activityLabel'\n label:\n | 'events'\n | 'just_chatting'\n | 'podcasting'\n | 'music'\n | 'art'\n | 'software_dev'\n | 'cooking'\n | 'miniatures'\n | 'makers_crafting'\n | 'fitness'\n | 'sports'\n | l.UnknownString\n}\n\nexport type { ActivityLabel }\n\n/** A non-game activity with a well-known label. */\nconst activityLabel = /*#__PURE__*/ l.typedObject<ActivityLabel>(\n $nsid,\n 'activityLabel',\n /*#__PURE__*/ l.object({\n label: /*#__PURE__*/ l.string<{\n knownValues: [\n 'events',\n 'just_chatting',\n 'podcasting',\n 'music',\n 'art',\n 'software_dev',\n 'cooking',\n 'miniatures',\n 'makers_crafting',\n 'fitness',\n 'sports',\n ]\n }>(),\n }),\n)\n\nexport { activityLabel }\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../src/lexicons/place/stream/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":"livestream.d.ts","sourceRoot":"","sources":["../../../../src/lexicons/place/stream/livestream.ts"],"names":[],"mappings":"AAIA,cAAc,sBAAsB,CAAA;AACpC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAA"}
|
|
@@ -0,0 +1,312 @@
|
|
|
1
|
+
import { l } from '@atproto/lex';
|
|
2
|
+
import * as RepoStrongRef from '../../com/atproto/repo/strongRef.defs.js';
|
|
3
|
+
import * as StreamDefs from './defs.defs.js';
|
|
4
|
+
import * as ActorDefs from '../../app/bsky/actor/defs.defs.js';
|
|
5
|
+
import * as ChatProfile from './chat/profile.defs.js';
|
|
6
|
+
import * as ChatDefs from './chat/defs.defs.js';
|
|
7
|
+
declare const $nsid = "place.stream.livestream";
|
|
8
|
+
type $nsid = typeof $nsid;
|
|
9
|
+
export { $nsid };
|
|
10
|
+
/** Record announcing a livestream is happening */
|
|
11
|
+
type Main = {
|
|
12
|
+
$type: 'place.stream.livestream';
|
|
13
|
+
/**
|
|
14
|
+
* The URL where this stream can be found. This is primarily a hint for other Streamplace nodes to locate and replicate the stream.
|
|
15
|
+
*/
|
|
16
|
+
url?: l.UriString;
|
|
17
|
+
/**
|
|
18
|
+
* The post that announced this livestream.
|
|
19
|
+
*/
|
|
20
|
+
post?: RepoStrongRef.Main;
|
|
21
|
+
/**
|
|
22
|
+
* Freeform tags for this stream. Each tag must be alphanumeric (a-z, A-Z, 0-9) plus colon. Tags with colons indicate a specific tag group (e.g. 'lang:en' indicates the stream's primary language).
|
|
23
|
+
*/
|
|
24
|
+
tags?: string[];
|
|
25
|
+
/**
|
|
26
|
+
* The source of the livestream, if available, in a User Agent format: `<product> / <product-version> <comment>` e.g. Streamplace/0.7.5 iOS
|
|
27
|
+
*/
|
|
28
|
+
agent?: string;
|
|
29
|
+
thumb?: l.BlobRef;
|
|
30
|
+
/**
|
|
31
|
+
* The title of the livestream, as it will be announced to followers.
|
|
32
|
+
*/
|
|
33
|
+
title: string;
|
|
34
|
+
/**
|
|
35
|
+
* Client-declared timestamp when this livestream ended. Ended livestreams are not supposed to start up again.
|
|
36
|
+
*/
|
|
37
|
+
endedAt?: l.DatetimeString;
|
|
38
|
+
/**
|
|
39
|
+
* The game or activity being streamed.
|
|
40
|
+
*/
|
|
41
|
+
activity?: l.$Typed<StreamDefs.ActivityGame> | l.$Typed<StreamDefs.ActivityLabel> | l.Unknown$TypedObject;
|
|
42
|
+
/**
|
|
43
|
+
* Client-declared timestamp when this livestream started.
|
|
44
|
+
*/
|
|
45
|
+
createdAt: l.DatetimeString;
|
|
46
|
+
/**
|
|
47
|
+
* Client-declared timestamp when this livestream was last seen by the Streamplace station.
|
|
48
|
+
*/
|
|
49
|
+
lastSeenAt?: l.DatetimeString;
|
|
50
|
+
/**
|
|
51
|
+
* The primary URL where this livestream can be viewed, if available.
|
|
52
|
+
*/
|
|
53
|
+
canonicalUrl?: l.UriString;
|
|
54
|
+
/**
|
|
55
|
+
* Time in seconds after which this livestream should be automatically ended if idle. Zero means no timeout.
|
|
56
|
+
*/
|
|
57
|
+
idleTimeoutSeconds?: number;
|
|
58
|
+
notificationSettings?: NotificationSettings;
|
|
59
|
+
};
|
|
60
|
+
export type { Main };
|
|
61
|
+
/** Record announcing a livestream is happening */
|
|
62
|
+
declare const main: l.RecordSchema<"tid", "place.stream.livestream", l.Validator<Omit<Main, "$type">, Omit<Main, "$type">>>;
|
|
63
|
+
export { main };
|
|
64
|
+
declare const $type = "place.stream.livestream";
|
|
65
|
+
type $type = typeof $type;
|
|
66
|
+
export { $type };
|
|
67
|
+
export declare const $isTypeOf: <TValue extends {
|
|
68
|
+
$type?: unknown;
|
|
69
|
+
}>(value: TValue) => value is l.TypedRecord<"place.stream.livestream", TValue>;
|
|
70
|
+
export declare const $build: {
|
|
71
|
+
(input: Omit<Omit<Main, "$type">, "$type">): {
|
|
72
|
+
$type: "place.stream.livestream";
|
|
73
|
+
url?: l.UriString;
|
|
74
|
+
post?: RepoStrongRef.Main;
|
|
75
|
+
tags?: string[];
|
|
76
|
+
agent?: string;
|
|
77
|
+
thumb?: l.BlobRef;
|
|
78
|
+
title: string;
|
|
79
|
+
endedAt?: l.DatetimeString;
|
|
80
|
+
activity?: l.$Typed<StreamDefs.ActivityGame> | l.$Typed<StreamDefs.ActivityLabel> | l.Unknown$TypedObject;
|
|
81
|
+
createdAt: l.DatetimeString;
|
|
82
|
+
lastSeenAt?: l.DatetimeString;
|
|
83
|
+
canonicalUrl?: l.UriString;
|
|
84
|
+
idleTimeoutSeconds?: number;
|
|
85
|
+
notificationSettings?: NotificationSettings;
|
|
86
|
+
};
|
|
87
|
+
(input: Omit<Omit<Main, "$type">, "$type">): {
|
|
88
|
+
$type: "place.stream.livestream";
|
|
89
|
+
url?: l.UriString;
|
|
90
|
+
post?: RepoStrongRef.Main;
|
|
91
|
+
tags?: string[];
|
|
92
|
+
agent?: string;
|
|
93
|
+
thumb?: l.BlobRef;
|
|
94
|
+
title: string;
|
|
95
|
+
endedAt?: l.DatetimeString;
|
|
96
|
+
activity?: l.$Typed<StreamDefs.ActivityGame> | l.$Typed<StreamDefs.ActivityLabel> | l.Unknown$TypedObject;
|
|
97
|
+
createdAt: l.DatetimeString;
|
|
98
|
+
lastSeenAt?: l.DatetimeString;
|
|
99
|
+
canonicalUrl?: l.UriString;
|
|
100
|
+
idleTimeoutSeconds?: number;
|
|
101
|
+
notificationSettings?: NotificationSettings;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
export declare const $assert: (input: unknown, options?: l.ValidateOptions) => asserts input is {
|
|
105
|
+
$type: "place.stream.livestream";
|
|
106
|
+
url?: l.UriString;
|
|
107
|
+
post?: RepoStrongRef.Main;
|
|
108
|
+
tags?: string[];
|
|
109
|
+
agent?: string;
|
|
110
|
+
thumb?: l.BlobRef;
|
|
111
|
+
title: string;
|
|
112
|
+
endedAt?: l.DatetimeString;
|
|
113
|
+
activity?: l.$Typed<StreamDefs.ActivityGame> | l.$Typed<StreamDefs.ActivityLabel> | l.Unknown$TypedObject;
|
|
114
|
+
createdAt: l.DatetimeString;
|
|
115
|
+
lastSeenAt?: l.DatetimeString;
|
|
116
|
+
canonicalUrl?: l.UriString;
|
|
117
|
+
idleTimeoutSeconds?: number;
|
|
118
|
+
notificationSettings?: NotificationSettings;
|
|
119
|
+
};
|
|
120
|
+
export declare const $check: (input: unknown, options?: l.ValidateOptions) => void;
|
|
121
|
+
export declare const $cast: <I>(input: I, options?: l.ValidateOptions) => I & {
|
|
122
|
+
$type: "place.stream.livestream";
|
|
123
|
+
url?: l.UriString;
|
|
124
|
+
post?: RepoStrongRef.Main;
|
|
125
|
+
tags?: string[];
|
|
126
|
+
agent?: string;
|
|
127
|
+
thumb?: l.BlobRef;
|
|
128
|
+
title: string;
|
|
129
|
+
endedAt?: l.DatetimeString;
|
|
130
|
+
activity?: l.$Typed<StreamDefs.ActivityGame> | l.$Typed<StreamDefs.ActivityLabel> | l.Unknown$TypedObject;
|
|
131
|
+
createdAt: l.DatetimeString;
|
|
132
|
+
lastSeenAt?: l.DatetimeString;
|
|
133
|
+
canonicalUrl?: l.UriString;
|
|
134
|
+
idleTimeoutSeconds?: number;
|
|
135
|
+
notificationSettings?: NotificationSettings;
|
|
136
|
+
};
|
|
137
|
+
export declare const $ifMatches: <I>(input: I, options?: l.ValidateOptions) => (I & {
|
|
138
|
+
$type: "place.stream.livestream";
|
|
139
|
+
url?: l.UriString;
|
|
140
|
+
post?: RepoStrongRef.Main;
|
|
141
|
+
tags?: string[];
|
|
142
|
+
agent?: string;
|
|
143
|
+
thumb?: l.BlobRef;
|
|
144
|
+
title: string;
|
|
145
|
+
endedAt?: l.DatetimeString;
|
|
146
|
+
activity?: l.$Typed<StreamDefs.ActivityGame> | l.$Typed<StreamDefs.ActivityLabel> | l.Unknown$TypedObject;
|
|
147
|
+
createdAt: l.DatetimeString;
|
|
148
|
+
lastSeenAt?: l.DatetimeString;
|
|
149
|
+
canonicalUrl?: l.UriString;
|
|
150
|
+
idleTimeoutSeconds?: number;
|
|
151
|
+
notificationSettings?: NotificationSettings;
|
|
152
|
+
}) | undefined;
|
|
153
|
+
export declare const $matches: <I>(input: I, options?: l.ValidateOptions) => input is I & {
|
|
154
|
+
$type: "place.stream.livestream";
|
|
155
|
+
url?: l.UriString;
|
|
156
|
+
post?: RepoStrongRef.Main;
|
|
157
|
+
tags?: string[];
|
|
158
|
+
agent?: string;
|
|
159
|
+
thumb?: l.BlobRef;
|
|
160
|
+
title: string;
|
|
161
|
+
endedAt?: l.DatetimeString;
|
|
162
|
+
activity?: l.$Typed<StreamDefs.ActivityGame> | l.$Typed<StreamDefs.ActivityLabel> | l.Unknown$TypedObject;
|
|
163
|
+
createdAt: l.DatetimeString;
|
|
164
|
+
lastSeenAt?: l.DatetimeString;
|
|
165
|
+
canonicalUrl?: l.UriString;
|
|
166
|
+
idleTimeoutSeconds?: number;
|
|
167
|
+
notificationSettings?: NotificationSettings;
|
|
168
|
+
};
|
|
169
|
+
export declare const $parse: (input: unknown, options?: l.ParseOptions) => {
|
|
170
|
+
$type: "place.stream.livestream";
|
|
171
|
+
url?: l.UriString;
|
|
172
|
+
post?: RepoStrongRef.Main;
|
|
173
|
+
tags?: string[];
|
|
174
|
+
agent?: string;
|
|
175
|
+
thumb?: l.BlobRef;
|
|
176
|
+
title: string;
|
|
177
|
+
endedAt?: l.DatetimeString;
|
|
178
|
+
activity?: l.$Typed<StreamDefs.ActivityGame> | l.$Typed<StreamDefs.ActivityLabel> | l.Unknown$TypedObject;
|
|
179
|
+
createdAt: l.DatetimeString;
|
|
180
|
+
lastSeenAt?: l.DatetimeString;
|
|
181
|
+
canonicalUrl?: l.UriString;
|
|
182
|
+
idleTimeoutSeconds?: number;
|
|
183
|
+
notificationSettings?: NotificationSettings;
|
|
184
|
+
};
|
|
185
|
+
export declare const $safeParse: (input: unknown, options?: l.ParseOptions) => l.ValidationResult<{
|
|
186
|
+
$type: "place.stream.livestream";
|
|
187
|
+
url?: l.UriString;
|
|
188
|
+
post?: RepoStrongRef.Main;
|
|
189
|
+
tags?: string[];
|
|
190
|
+
agent?: string;
|
|
191
|
+
thumb?: l.BlobRef;
|
|
192
|
+
title: string;
|
|
193
|
+
endedAt?: l.DatetimeString;
|
|
194
|
+
activity?: l.$Typed<StreamDefs.ActivityGame> | l.$Typed<StreamDefs.ActivityLabel> | l.Unknown$TypedObject;
|
|
195
|
+
createdAt: l.DatetimeString;
|
|
196
|
+
lastSeenAt?: l.DatetimeString;
|
|
197
|
+
canonicalUrl?: l.UriString;
|
|
198
|
+
idleTimeoutSeconds?: number;
|
|
199
|
+
notificationSettings?: NotificationSettings;
|
|
200
|
+
}>;
|
|
201
|
+
export declare const $validate: <I>(input: I, options?: l.ValidateOptions) => I & {
|
|
202
|
+
$type: "place.stream.livestream";
|
|
203
|
+
url?: l.UriString;
|
|
204
|
+
post?: RepoStrongRef.Main;
|
|
205
|
+
tags?: string[];
|
|
206
|
+
agent?: string;
|
|
207
|
+
thumb?: l.BlobRef;
|
|
208
|
+
title: string;
|
|
209
|
+
endedAt?: l.DatetimeString;
|
|
210
|
+
activity?: l.$Typed<StreamDefs.ActivityGame> | l.$Typed<StreamDefs.ActivityLabel> | l.Unknown$TypedObject;
|
|
211
|
+
createdAt: l.DatetimeString;
|
|
212
|
+
lastSeenAt?: l.DatetimeString;
|
|
213
|
+
canonicalUrl?: l.UriString;
|
|
214
|
+
idleTimeoutSeconds?: number;
|
|
215
|
+
notificationSettings?: NotificationSettings;
|
|
216
|
+
};
|
|
217
|
+
export declare const $safeValidate: <I>(input: I, options?: l.ValidateOptions) => l.ValidationResult<I & {
|
|
218
|
+
$type: "place.stream.livestream";
|
|
219
|
+
url?: l.UriString;
|
|
220
|
+
post?: RepoStrongRef.Main;
|
|
221
|
+
tags?: string[];
|
|
222
|
+
agent?: string;
|
|
223
|
+
thumb?: l.BlobRef;
|
|
224
|
+
title: string;
|
|
225
|
+
endedAt?: l.DatetimeString;
|
|
226
|
+
activity?: l.$Typed<StreamDefs.ActivityGame> | l.$Typed<StreamDefs.ActivityLabel> | l.Unknown$TypedObject;
|
|
227
|
+
createdAt: l.DatetimeString;
|
|
228
|
+
lastSeenAt?: l.DatetimeString;
|
|
229
|
+
canonicalUrl?: l.UriString;
|
|
230
|
+
idleTimeoutSeconds?: number;
|
|
231
|
+
notificationSettings?: NotificationSettings;
|
|
232
|
+
}>;
|
|
233
|
+
type ViewerCount = {
|
|
234
|
+
$type?: 'place.stream.livestream#viewerCount';
|
|
235
|
+
count: number;
|
|
236
|
+
};
|
|
237
|
+
export type { ViewerCount };
|
|
238
|
+
declare const viewerCount: l.TypedObjectSchema<"place.stream.livestream#viewerCount", l.Validator<ViewerCount, ViewerCount>>;
|
|
239
|
+
export { viewerCount };
|
|
240
|
+
type LivestreamView = {
|
|
241
|
+
$type?: 'place.stream.livestream#livestreamView';
|
|
242
|
+
cid: l.CidString;
|
|
243
|
+
uri: l.AtUriString;
|
|
244
|
+
author: ActorDefs.ProfileViewBasic;
|
|
245
|
+
record: l.LexMap;
|
|
246
|
+
indexedAt: l.DatetimeString;
|
|
247
|
+
/**
|
|
248
|
+
* The number of viewers watching this livestream. Use when you can't reasonably use #viewerCount directly.
|
|
249
|
+
*/
|
|
250
|
+
viewerCount?: ViewerCount;
|
|
251
|
+
};
|
|
252
|
+
export type { LivestreamView };
|
|
253
|
+
declare const livestreamView: l.TypedObjectSchema<"place.stream.livestream#livestreamView", l.Validator<LivestreamView, LivestreamView>>;
|
|
254
|
+
export { livestreamView };
|
|
255
|
+
type TeleportArrival = {
|
|
256
|
+
$type?: 'place.stream.livestream#teleportArrival';
|
|
257
|
+
/**
|
|
258
|
+
* The streamer who is teleporting their viewers here
|
|
259
|
+
*/
|
|
260
|
+
source: ActorDefs.ProfileViewBasic;
|
|
261
|
+
/**
|
|
262
|
+
* When this teleport started
|
|
263
|
+
*/
|
|
264
|
+
startsAt: l.DatetimeString;
|
|
265
|
+
/**
|
|
266
|
+
* The chat profile of the source streamer
|
|
267
|
+
*/
|
|
268
|
+
chatProfile?: ChatProfile.Main;
|
|
269
|
+
/**
|
|
270
|
+
* The URI of the teleport record
|
|
271
|
+
*/
|
|
272
|
+
teleportUri: l.AtUriString;
|
|
273
|
+
/**
|
|
274
|
+
* How many viewers are arriving from this teleport
|
|
275
|
+
*/
|
|
276
|
+
viewerCount: number;
|
|
277
|
+
};
|
|
278
|
+
export type { TeleportArrival };
|
|
279
|
+
declare const teleportArrival: l.TypedObjectSchema<"place.stream.livestream#teleportArrival", l.Validator<TeleportArrival, TeleportArrival>>;
|
|
280
|
+
export { teleportArrival };
|
|
281
|
+
type TeleportCanceled = {
|
|
282
|
+
$type?: 'place.stream.livestream#teleportCanceled';
|
|
283
|
+
/**
|
|
284
|
+
* Why this teleport was canceled
|
|
285
|
+
*/
|
|
286
|
+
reason: 'deleted' | 'denied' | 'expired';
|
|
287
|
+
/**
|
|
288
|
+
* The URI of the teleport record that was canceled
|
|
289
|
+
*/
|
|
290
|
+
teleportUri: l.AtUriString;
|
|
291
|
+
};
|
|
292
|
+
export type { TeleportCanceled };
|
|
293
|
+
declare const teleportCanceled: l.TypedObjectSchema<"place.stream.livestream#teleportCanceled", l.Validator<TeleportCanceled, TeleportCanceled>>;
|
|
294
|
+
export { teleportCanceled };
|
|
295
|
+
type StreamplaceAnything = {
|
|
296
|
+
$type?: 'place.stream.livestream#streamplaceAnything';
|
|
297
|
+
livestream: l.$Typed<LivestreamView> | l.$Typed<ViewerCount> | l.$Typed<TeleportArrival> | l.$Typed<TeleportCanceled> | l.$Typed<StreamDefs.BlockView> | l.$Typed<StreamDefs.Renditions> | l.$Typed<StreamDefs.Rendition> | l.$Typed<ChatDefs.MessageView> | l.$Typed<ChatDefs.PinnedRecordView> | l.Unknown$TypedObject;
|
|
298
|
+
};
|
|
299
|
+
export type { StreamplaceAnything };
|
|
300
|
+
declare const streamplaceAnything: l.TypedObjectSchema<"place.stream.livestream#streamplaceAnything", l.Validator<StreamplaceAnything, StreamplaceAnything>>;
|
|
301
|
+
export { streamplaceAnything };
|
|
302
|
+
type NotificationSettings = {
|
|
303
|
+
$type?: 'place.stream.livestream#notificationSettings';
|
|
304
|
+
/**
|
|
305
|
+
* Whether this livestream should trigger a push notification to followers.
|
|
306
|
+
*/
|
|
307
|
+
pushNotification?: boolean;
|
|
308
|
+
};
|
|
309
|
+
export type { NotificationSettings };
|
|
310
|
+
declare const notificationSettings: l.TypedObjectSchema<"place.stream.livestream#notificationSettings", l.Validator<NotificationSettings, NotificationSettings>>;
|
|
311
|
+
export { notificationSettings };
|
|
312
|
+
//# sourceMappingURL=livestream.defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"livestream.defs.d.ts","sourceRoot":"","sources":["../../../../src/lexicons/place/stream/livestream.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,aAAa,MAAM,0CAA0C,CAAA;AACzE,OAAO,KAAK,UAAU,MAAM,gBAAgB,CAAA;AAC5C,OAAO,KAAK,SAAS,MAAM,mCAAmC,CAAA;AAC9D,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAA;A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AU,CAAC,SAAS,CAAC,GAC9B,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,WAAW,CAAC,GAC9B,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,gBAAgB,CAAC,GACnC,CAAC,CAAC,mBAAmB,CAAA;CAC1B,CAAA;AAED,YAAY,EAAE,mBAAmB,EAAE,CAAA;AAEnC,QAAA,MAAM,mBAAmB,2HAiCxB,CAAA;AAED,OAAO,EAAE,mBAAmB,EAAE,CAAA;AAE9B,KAAK,oBAAoB,GAAG;IAC1B,KAAK,CAAC,EAAE,8CAA8C,CAAA;IAEtD;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAC3B,CAAA;AAED,YAAY,EAAE,oBAAoB,EAAE,CAAA;AAEpC,QAAA,MAAM,oBAAoB,8HAMzB,CAAA;AAED,OAAO,EAAE,oBAAoB,EAAE,CAAA"}
|
|
@@ -0,0 +1,105 @@
|
|
|
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
|
+
import * as StreamDefs from './defs.defs.js';
|
|
7
|
+
import * as ActorDefs from '../../app/bsky/actor/defs.defs.js';
|
|
8
|
+
import * as ChatProfile from './chat/profile.defs.js';
|
|
9
|
+
import * as ChatDefs from './chat/defs.defs.js';
|
|
10
|
+
const $nsid = 'place.stream.livestream';
|
|
11
|
+
export { $nsid };
|
|
12
|
+
/** Record announcing a livestream is happening */
|
|
13
|
+
const main = /*#__PURE__*/ l.record('tid', $nsid,
|
|
14
|
+
/*#__PURE__*/ l.object({
|
|
15
|
+
url: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ format: 'uri' })),
|
|
16
|
+
post: /*#__PURE__*/ l.optional(
|
|
17
|
+
/*#__PURE__*/ l.ref((() => RepoStrongRef.main))),
|
|
18
|
+
tags: /*#__PURE__*/ l.optional(
|
|
19
|
+
/*#__PURE__*/ l.array(
|
|
20
|
+
/*#__PURE__*/ l.string({ maxLength: 640, maxGraphemes: 64 }), { maxLength: 10 })),
|
|
21
|
+
agent: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),
|
|
22
|
+
thumb: /*#__PURE__*/ l.optional(
|
|
23
|
+
/*#__PURE__*/ l.blob({ accept: ['image/*'], maxSize: 1000000 })),
|
|
24
|
+
title: /*#__PURE__*/ l.string({ maxLength: 1400, maxGraphemes: 140 }),
|
|
25
|
+
endedAt: /*#__PURE__*/ l.optional(
|
|
26
|
+
/*#__PURE__*/ l.string({ format: 'datetime' })),
|
|
27
|
+
activity: /*#__PURE__*/ l.optional(
|
|
28
|
+
/*#__PURE__*/ l.typedUnion([
|
|
29
|
+
/*#__PURE__*/ l.typedRef((() => StreamDefs.activityGame)),
|
|
30
|
+
/*#__PURE__*/ l.typedRef((() => StreamDefs.activityLabel)),
|
|
31
|
+
], false)),
|
|
32
|
+
createdAt: /*#__PURE__*/ l.string({ format: 'datetime' }),
|
|
33
|
+
lastSeenAt: /*#__PURE__*/ l.optional(
|
|
34
|
+
/*#__PURE__*/ l.string({ format: 'datetime' })),
|
|
35
|
+
canonicalUrl: /*#__PURE__*/ l.optional(
|
|
36
|
+
/*#__PURE__*/ l.string({ format: 'uri' })),
|
|
37
|
+
idleTimeoutSeconds: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),
|
|
38
|
+
notificationSettings: /*#__PURE__*/ l.optional(
|
|
39
|
+
/*#__PURE__*/ l.ref((() => notificationSettings))),
|
|
40
|
+
}));
|
|
41
|
+
export { main };
|
|
42
|
+
const $type = $nsid;
|
|
43
|
+
export { $type };
|
|
44
|
+
export const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main);
|
|
45
|
+
export const $build = /*#__PURE__*/ main.build.bind(main);
|
|
46
|
+
export const $assert = /*#__PURE__*/ main.assert.bind(main);
|
|
47
|
+
export const $check = /*#__PURE__*/ main.check.bind(main);
|
|
48
|
+
export const $cast = /*#__PURE__*/ main.cast.bind(main);
|
|
49
|
+
export const $ifMatches = /*#__PURE__*/ main.ifMatches.bind(main);
|
|
50
|
+
export const $matches = /*#__PURE__*/ main.matches.bind(main);
|
|
51
|
+
export const $parse = /*#__PURE__*/ main.parse.bind(main);
|
|
52
|
+
export const $safeParse = /*#__PURE__*/ main.safeParse.bind(main);
|
|
53
|
+
export const $validate = /*#__PURE__*/ main.validate.bind(main);
|
|
54
|
+
export const $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main);
|
|
55
|
+
const viewerCount = /*#__PURE__*/ l.typedObject($nsid, 'viewerCount',
|
|
56
|
+
/*#__PURE__*/ l.object({ count: /*#__PURE__*/ l.integer() }));
|
|
57
|
+
export { viewerCount };
|
|
58
|
+
const livestreamView = /*#__PURE__*/ l.typedObject($nsid, 'livestreamView',
|
|
59
|
+
/*#__PURE__*/ l.object({
|
|
60
|
+
cid: /*#__PURE__*/ l.string({ format: 'cid' }),
|
|
61
|
+
uri: /*#__PURE__*/ l.string({ format: 'at-uri' }),
|
|
62
|
+
author: /*#__PURE__*/ l.ref((() => ActorDefs.profileViewBasic)),
|
|
63
|
+
record: /*#__PURE__*/ l.lexMap(),
|
|
64
|
+
indexedAt: /*#__PURE__*/ l.string({ format: 'datetime' }),
|
|
65
|
+
viewerCount: /*#__PURE__*/ l.optional(
|
|
66
|
+
/*#__PURE__*/ l.ref((() => viewerCount))),
|
|
67
|
+
}));
|
|
68
|
+
export { livestreamView };
|
|
69
|
+
const teleportArrival = /*#__PURE__*/ l.typedObject($nsid, 'teleportArrival',
|
|
70
|
+
/*#__PURE__*/ l.object({
|
|
71
|
+
source: /*#__PURE__*/ l.ref((() => ActorDefs.profileViewBasic)),
|
|
72
|
+
startsAt: /*#__PURE__*/ l.string({ format: 'datetime' }),
|
|
73
|
+
chatProfile: /*#__PURE__*/ l.optional(
|
|
74
|
+
/*#__PURE__*/ l.ref((() => ChatProfile.main))),
|
|
75
|
+
teleportUri: /*#__PURE__*/ l.string({ format: 'at-uri' }),
|
|
76
|
+
viewerCount: /*#__PURE__*/ l.integer(),
|
|
77
|
+
}));
|
|
78
|
+
export { teleportArrival };
|
|
79
|
+
const teleportCanceled = /*#__PURE__*/ l.typedObject($nsid, 'teleportCanceled',
|
|
80
|
+
/*#__PURE__*/ l.object({
|
|
81
|
+
reason: /*#__PURE__*/ l.enum(['deleted', 'denied', 'expired']),
|
|
82
|
+
teleportUri: /*#__PURE__*/ l.string({ format: 'at-uri' }),
|
|
83
|
+
}));
|
|
84
|
+
export { teleportCanceled };
|
|
85
|
+
const streamplaceAnything = /*#__PURE__*/ l.typedObject($nsid, 'streamplaceAnything',
|
|
86
|
+
/*#__PURE__*/ l.object({
|
|
87
|
+
livestream: /*#__PURE__*/ l.typedUnion([
|
|
88
|
+
/*#__PURE__*/ l.typedRef((() => livestreamView)),
|
|
89
|
+
/*#__PURE__*/ l.typedRef((() => viewerCount)),
|
|
90
|
+
/*#__PURE__*/ l.typedRef((() => teleportArrival)),
|
|
91
|
+
/*#__PURE__*/ l.typedRef((() => teleportCanceled)),
|
|
92
|
+
/*#__PURE__*/ l.typedRef((() => StreamDefs.blockView)),
|
|
93
|
+
/*#__PURE__*/ l.typedRef((() => StreamDefs.renditions)),
|
|
94
|
+
/*#__PURE__*/ l.typedRef((() => StreamDefs.rendition)),
|
|
95
|
+
/*#__PURE__*/ l.typedRef((() => ChatDefs.messageView)),
|
|
96
|
+
/*#__PURE__*/ l.typedRef((() => ChatDefs.pinnedRecordView)),
|
|
97
|
+
], false),
|
|
98
|
+
}));
|
|
99
|
+
export { streamplaceAnything };
|
|
100
|
+
const notificationSettings = /*#__PURE__*/ l.typedObject($nsid, 'notificationSettings',
|
|
101
|
+
/*#__PURE__*/ l.object({
|
|
102
|
+
pushNotification: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.boolean()),
|
|
103
|
+
}));
|
|
104
|
+
export { notificationSettings };
|
|
105
|
+
//# sourceMappingURL=livestream.defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"livestream.defs.js","sourceRoot":"","sources":["../../../../src/lexicons/place/stream/livestream.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,aAAa,MAAM,0CAA0C,CAAA;AACzE,OAAO,KAAK,UAAU,MAAM,gBAAgB,CAAA;AAC5C,OAAO,KAAK,SAAS,MAAM,mCAAmC,CAAA;AAC9D,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAA;AACrD,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAA;AAE/C,MAAM,KAAK,GAAG,yBAAyB,CAAA;AAIvC,OAAO,EAAE,KAAK,EAAE,CAAA;AAqEhB,kDAAkD;AAClD,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CACjC,KAAK,EACL,KAAK;AACL,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACrB,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;IACxE,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAC5B,aAAa,CAAC,CAAC,CAAC,GAAG,CACjB,CAAC,GAAG,EAAE,CAAC,aAAa,CAAC,IAAI,CAAQ,CAClC,CACF;IACD,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAC5B,aAAa,CAAC,CAAC,CAAC,KAAK;IACnB,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,YAAY,EAAE,EAAE,EAAE,CAAC,EAC5D,EAAE,SAAS,EAAE,EAAE,EAAE,CAClB,CACF;IACD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,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nimport { l } from '@atproto/lex'\nimport * as RepoStrongRef from '../../com/atproto/repo/strongRef.defs.js'\nimport * as StreamDefs from './defs.defs.js'\nimport * as ActorDefs from '../../app/bsky/actor/defs.defs.js'\nimport * as ChatProfile from './chat/profile.defs.js'\nimport * as ChatDefs from './chat/defs.defs.js'\n\nconst $nsid = 'place.stream.livestream'\n\ntype $nsid = typeof $nsid\n\nexport { $nsid }\n\n/** Record announcing a livestream is happening */\ntype Main = {\n $type: 'place.stream.livestream'\n\n /**\n * The URL where this stream can be found. This is primarily a hint for other Streamplace nodes to locate and replicate the stream.\n */\n url?: l.UriString\n\n /**\n * The post that announced this livestream.\n */\n post?: RepoStrongRef.Main\n\n /**\n * Freeform tags for this stream. Each tag must be alphanumeric (a-z, A-Z, 0-9) plus colon. Tags with colons indicate a specific tag group (e.g. 'lang:en' indicates the stream's primary language).\n */\n tags?: string[]\n\n /**\n * The source of the livestream, if available, in a User Agent format: `<product> / <product-version> <comment>` e.g. Streamplace/0.7.5 iOS\n */\n agent?: string\n thumb?: l.BlobRef\n\n /**\n * The title of the livestream, as it will be announced to followers.\n */\n title: string\n\n /**\n * Client-declared timestamp when this livestream ended. Ended livestreams are not supposed to start up again.\n */\n endedAt?: l.DatetimeString\n\n /**\n * The game or activity being streamed.\n */\n activity?:\n | l.$Typed<StreamDefs.ActivityGame>\n | l.$Typed<StreamDefs.ActivityLabel>\n | l.Unknown$TypedObject\n\n /**\n * Client-declared timestamp when this livestream started.\n */\n createdAt: l.DatetimeString\n\n /**\n * Client-declared timestamp when this livestream was last seen by the Streamplace station.\n */\n lastSeenAt?: l.DatetimeString\n\n /**\n * The primary URL where this livestream can be viewed, if available.\n */\n canonicalUrl?: l.UriString\n\n /**\n * Time in seconds after which this livestream should be automatically ended if idle. Zero means no timeout.\n */\n idleTimeoutSeconds?: number\n notificationSettings?: NotificationSettings\n}\n\nexport type { Main }\n\n/** Record announcing a livestream is happening */\nconst main = /*#__PURE__*/ l.record<'tid', Main>(\n 'tid',\n $nsid,\n /*#__PURE__*/ l.object({\n url: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ format: 'uri' })),\n post: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.ref<RepoStrongRef.Main>(\n (() => RepoStrongRef.main) as any,\n ),\n ),\n tags: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.array(\n /*#__PURE__*/ l.string({ maxLength: 640, maxGraphemes: 64 }),\n { maxLength: 10 },\n ),\n ),\n agent: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\n thumb: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.blob({ accept: ['image/*'], maxSize: 1000000 }),\n ),\n title: /*#__PURE__*/ l.string({ maxLength: 1400, maxGraphemes: 140 }),\n endedAt: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string({ format: 'datetime' }),\n ),\n activity: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.typedUnion(\n [\n /*#__PURE__*/ l.typedRef<StreamDefs.ActivityGame>(\n (() => StreamDefs.activityGame) as any,\n ),\n /*#__PURE__*/ l.typedRef<StreamDefs.ActivityLabel>(\n (() => StreamDefs.activityLabel) as any,\n ),\n ],\n false,\n ),\n ),\n createdAt: /*#__PURE__*/ l.string({ format: 'datetime' }),\n lastSeenAt: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string({ format: 'datetime' }),\n ),\n canonicalUrl: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string({ format: 'uri' }),\n ),\n idleTimeoutSeconds: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),\n notificationSettings: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.ref<NotificationSettings>(\n (() => notificationSettings) as any,\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\ntype ViewerCount = {\n $type?: 'place.stream.livestream#viewerCount'\n count: number\n}\n\nexport type { ViewerCount }\n\nconst viewerCount = /*#__PURE__*/ l.typedObject<ViewerCount>(\n $nsid,\n 'viewerCount',\n /*#__PURE__*/ l.object({ count: /*#__PURE__*/ l.integer() }),\n)\n\nexport { viewerCount }\n\ntype LivestreamView = {\n $type?: 'place.stream.livestream#livestreamView'\n cid: l.CidString\n uri: l.AtUriString\n author: ActorDefs.ProfileViewBasic\n record: l.LexMap\n indexedAt: l.DatetimeString\n\n /**\n * The number of viewers watching this livestream. Use when you can't reasonably use #viewerCount directly.\n */\n viewerCount?: ViewerCount\n}\n\nexport type { LivestreamView }\n\nconst livestreamView = /*#__PURE__*/ l.typedObject<LivestreamView>(\n $nsid,\n 'livestreamView',\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 record: /*#__PURE__*/ l.lexMap(),\n indexedAt: /*#__PURE__*/ l.string({ format: 'datetime' }),\n viewerCount: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.ref<ViewerCount>((() => viewerCount) as any),\n ),\n }),\n)\n\nexport { livestreamView }\n\ntype TeleportArrival = {\n $type?: 'place.stream.livestream#teleportArrival'\n\n /**\n * The streamer who is teleporting their viewers here\n */\n source: ActorDefs.ProfileViewBasic\n\n /**\n * When this teleport started\n */\n startsAt: l.DatetimeString\n\n /**\n * The chat profile of the source streamer\n */\n chatProfile?: ChatProfile.Main\n\n /**\n * The URI of the teleport record\n */\n teleportUri: l.AtUriString\n\n /**\n * How many viewers are arriving from this teleport\n */\n viewerCount: number\n}\n\nexport type { TeleportArrival }\n\nconst teleportArrival = /*#__PURE__*/ l.typedObject<TeleportArrival>(\n $nsid,\n 'teleportArrival',\n /*#__PURE__*/ l.object({\n source: /*#__PURE__*/ l.ref<ActorDefs.ProfileViewBasic>(\n (() => ActorDefs.profileViewBasic) as any,\n ),\n startsAt: /*#__PURE__*/ l.string({ format: 'datetime' }),\n chatProfile: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.ref<ChatProfile.Main>((() => ChatProfile.main) as any),\n ),\n teleportUri: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n viewerCount: /*#__PURE__*/ l.integer(),\n }),\n)\n\nexport { teleportArrival }\n\ntype TeleportCanceled = {\n $type?: 'place.stream.livestream#teleportCanceled'\n\n /**\n * Why this teleport was canceled\n */\n reason: 'deleted' | 'denied' | 'expired'\n\n /**\n * The URI of the teleport record that was canceled\n */\n teleportUri: l.AtUriString\n}\n\nexport type { TeleportCanceled }\n\nconst teleportCanceled = /*#__PURE__*/ l.typedObject<TeleportCanceled>(\n $nsid,\n 'teleportCanceled',\n /*#__PURE__*/ l.object({\n reason: /*#__PURE__*/ l.enum(['deleted', 'denied', 'expired']),\n teleportUri: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n }),\n)\n\nexport { teleportCanceled }\n\ntype StreamplaceAnything = {\n $type?: 'place.stream.livestream#streamplaceAnything'\n livestream:\n | l.$Typed<LivestreamView>\n | l.$Typed<ViewerCount>\n | l.$Typed<TeleportArrival>\n | l.$Typed<TeleportCanceled>\n | l.$Typed<StreamDefs.BlockView>\n | l.$Typed<StreamDefs.Renditions>\n | l.$Typed<StreamDefs.Rendition>\n | l.$Typed<ChatDefs.MessageView>\n | l.$Typed<ChatDefs.PinnedRecordView>\n | l.Unknown$TypedObject\n}\n\nexport type { StreamplaceAnything }\n\nconst streamplaceAnything = /*#__PURE__*/ l.typedObject<StreamplaceAnything>(\n $nsid,\n 'streamplaceAnything',\n /*#__PURE__*/ l.object({\n livestream: /*#__PURE__*/ l.typedUnion(\n [\n /*#__PURE__*/ l.typedRef<LivestreamView>((() => livestreamView) as any),\n /*#__PURE__*/ l.typedRef<ViewerCount>((() => viewerCount) as any),\n /*#__PURE__*/ l.typedRef<TeleportArrival>(\n (() => teleportArrival) as any,\n ),\n /*#__PURE__*/ l.typedRef<TeleportCanceled>(\n (() => teleportCanceled) as any,\n ),\n /*#__PURE__*/ l.typedRef<StreamDefs.BlockView>(\n (() => StreamDefs.blockView) as any,\n ),\n /*#__PURE__*/ l.typedRef<StreamDefs.Renditions>(\n (() => StreamDefs.renditions) as any,\n ),\n /*#__PURE__*/ l.typedRef<StreamDefs.Rendition>(\n (() => StreamDefs.rendition) as any,\n ),\n /*#__PURE__*/ l.typedRef<ChatDefs.MessageView>(\n (() => ChatDefs.messageView) as any,\n ),\n /*#__PURE__*/ l.typedRef<ChatDefs.PinnedRecordView>(\n (() => ChatDefs.pinnedRecordView) as any,\n ),\n ],\n false,\n ),\n }),\n)\n\nexport { streamplaceAnything }\n\ntype NotificationSettings = {\n $type?: 'place.stream.livestream#notificationSettings'\n\n /**\n * Whether this livestream should trigger a push notification to followers.\n */\n pushNotification?: boolean\n}\n\nexport type { NotificationSettings }\n\nconst notificationSettings = /*#__PURE__*/ l.typedObject<NotificationSettings>(\n $nsid,\n 'notificationSettings',\n /*#__PURE__*/ l.object({\n pushNotification: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.boolean()),\n }),\n)\n\nexport { notificationSettings }\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"livestream.js","sourceRoot":"","sources":["../../../../src/lexicons/place/stream/livestream.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,sBAAsB,CAAA;AACpC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './livestream.defs.js'\nexport { main as default } from './livestream.defs.js'\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stream.d.ts","sourceRoot":"","sources":["../../../src/lexicons/place/stream.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,MAAM,mBAAmB,CAAA;AAC1C,OAAO,KAAK,IAAI,MAAM,kBAAkB,CAAA;AACxC,OAAO,KAAK,IAAI,MAAM,kBAAkB,CAAA;AACxC,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
export * as badge from './stream/badge.js';
|
|
5
|
+
export * as chat from './stream/chat.js';
|
|
6
|
+
export * as defs from './stream/defs.js';
|
|
7
|
+
export * as livestream from './stream/livestream.js';
|
|
8
|
+
//# sourceMappingURL=stream.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stream.js","sourceRoot":"","sources":["../../../src/lexicons/place/stream.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,mBAAmB,CAAA;AAC1C,OAAO,KAAK,IAAI,MAAM,kBAAkB,CAAA;AACxC,OAAO,KAAK,IAAI,MAAM,kBAAkB,CAAA;AACxC,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as badge from './stream/badge.js'\nexport * as chat from './stream/chat.js'\nexport * as defs from './stream/defs.js'\nexport * as livestream from './stream/livestream.js'\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"place.d.ts","sourceRoot":"","sources":["../../src/lexicons/place.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"place.js","sourceRoot":"","sources":["../../src/lexicons/place.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as stream from './place/stream.js'\n"]}
|