@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":"favorite.defs.d.ts","sourceRoot":"","sources":["../../../../src/lexicons/social/grain/favorite.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAEhC,QAAA,MAAM,KAAK,0BAA0B,CAAA;AAErC,KAAK,KAAK,GAAG,OAAO,KAAK,CAAA;AAEzB,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,KAAK,IAAI,GAAG;IACV,K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CAAC,CAAC,WAAW;eACX,CAAC,CAAC,cAAc;EAgC0C,CAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { l } from '@atproto/lex';
|
|
5
|
+
const $nsid = 'social.grain.favorite';
|
|
6
|
+
export { $nsid };
|
|
7
|
+
const main = /*#__PURE__*/ l.record('tid', $nsid,
|
|
8
|
+
/*#__PURE__*/ l.object({
|
|
9
|
+
subject: /*#__PURE__*/ l.string({ format: 'at-uri' }),
|
|
10
|
+
createdAt: /*#__PURE__*/ l.string({ format: 'datetime' }),
|
|
11
|
+
}));
|
|
12
|
+
export { main };
|
|
13
|
+
const $type = $nsid;
|
|
14
|
+
export { $type };
|
|
15
|
+
export const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main);
|
|
16
|
+
export const $build = /*#__PURE__*/ main.build.bind(main);
|
|
17
|
+
export const $assert = /*#__PURE__*/ main.assert.bind(main);
|
|
18
|
+
export const $check = /*#__PURE__*/ main.check.bind(main);
|
|
19
|
+
export const $cast = /*#__PURE__*/ main.cast.bind(main);
|
|
20
|
+
export const $ifMatches = /*#__PURE__*/ main.ifMatches.bind(main);
|
|
21
|
+
export const $matches = /*#__PURE__*/ main.matches.bind(main);
|
|
22
|
+
export const $parse = /*#__PURE__*/ main.parse.bind(main);
|
|
23
|
+
export const $safeParse = /*#__PURE__*/ main.safeParse.bind(main);
|
|
24
|
+
export const $validate = /*#__PURE__*/ main.validate.bind(main);
|
|
25
|
+
export const $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main);
|
|
26
|
+
//# sourceMappingURL=favorite.defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"favorite.defs.js","sourceRoot":"","sources":["../../../../src/lexicons/social/grain/favorite.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC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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 = 'social.grain.favorite'\n\ntype $nsid = typeof $nsid\n\nexport { $nsid }\n\ntype Main = {\n $type: 'social.grain.favorite'\n subject: l.AtUriString\n createdAt: l.DatetimeString\n}\n\nexport type { Main }\n\nconst main = /*#__PURE__*/ l.record<'tid', Main>(\n 'tid',\n $nsid,\n /*#__PURE__*/ l.object({\n subject: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n createdAt: /*#__PURE__*/ l.string({ format: 'datetime' }),\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":"favorite.js","sourceRoot":"","sources":["../../../../src/lexicons/social/grain/favorite.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,oBAAoB,CAAA;AAClC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,oBAAoB,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './favorite.defs.js'\nexport { main as default } from './favorite.defs.js'\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/social/grain/gallery/item.ts"],"names":[],"mappings":"AAIA,cAAc,gBAAgB,CAAA;AAC9B,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { l } from '@atproto/lex';
|
|
2
|
+
declare const $nsid = "social.grain.gallery.item";
|
|
3
|
+
type $nsid = typeof $nsid;
|
|
4
|
+
export { $nsid };
|
|
5
|
+
type Main = {
|
|
6
|
+
$type: 'social.grain.gallery.item';
|
|
7
|
+
item: l.AtUriString;
|
|
8
|
+
gallery: l.AtUriString;
|
|
9
|
+
position?: number;
|
|
10
|
+
createdAt: l.DatetimeString;
|
|
11
|
+
};
|
|
12
|
+
export type { Main };
|
|
13
|
+
declare const main: l.RecordSchema<"tid", "social.grain.gallery.item", l.Validator<Omit<Main, "$type">, Omit<Main, "$type">>>;
|
|
14
|
+
export { main };
|
|
15
|
+
declare const $type = "social.grain.gallery.item";
|
|
16
|
+
type $type = typeof $type;
|
|
17
|
+
export { $type };
|
|
18
|
+
export declare const $isTypeOf: <TValue extends {
|
|
19
|
+
$type?: unknown;
|
|
20
|
+
}>(value: TValue) => value is l.TypedRecord<"social.grain.gallery.item", TValue>;
|
|
21
|
+
export declare const $build: {
|
|
22
|
+
(input: Omit<Omit<Main, "$type">, "$type">): {
|
|
23
|
+
$type: "social.grain.gallery.item";
|
|
24
|
+
item: l.AtUriString;
|
|
25
|
+
gallery: l.AtUriString;
|
|
26
|
+
position?: number;
|
|
27
|
+
createdAt: l.DatetimeString;
|
|
28
|
+
};
|
|
29
|
+
(input: Omit<Omit<Main, "$type">, "$type">): {
|
|
30
|
+
$type: "social.grain.gallery.item";
|
|
31
|
+
item: l.AtUriString;
|
|
32
|
+
gallery: l.AtUriString;
|
|
33
|
+
position?: number;
|
|
34
|
+
createdAt: l.DatetimeString;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
export declare const $assert: (input: unknown, options?: l.ValidateOptions) => asserts input is {
|
|
38
|
+
$type: "social.grain.gallery.item";
|
|
39
|
+
item: l.AtUriString;
|
|
40
|
+
gallery: l.AtUriString;
|
|
41
|
+
position?: number;
|
|
42
|
+
createdAt: l.DatetimeString;
|
|
43
|
+
};
|
|
44
|
+
export declare const $check: (input: unknown, options?: l.ValidateOptions) => void;
|
|
45
|
+
export declare const $cast: <I>(input: I, options?: l.ValidateOptions) => I & {
|
|
46
|
+
$type: "social.grain.gallery.item";
|
|
47
|
+
item: l.AtUriString;
|
|
48
|
+
gallery: l.AtUriString;
|
|
49
|
+
position?: number;
|
|
50
|
+
createdAt: l.DatetimeString;
|
|
51
|
+
};
|
|
52
|
+
export declare const $ifMatches: <I>(input: I, options?: l.ValidateOptions) => (I & {
|
|
53
|
+
$type: "social.grain.gallery.item";
|
|
54
|
+
item: l.AtUriString;
|
|
55
|
+
gallery: l.AtUriString;
|
|
56
|
+
position?: number;
|
|
57
|
+
createdAt: l.DatetimeString;
|
|
58
|
+
}) | undefined;
|
|
59
|
+
export declare const $matches: <I>(input: I, options?: l.ValidateOptions) => input is I & {
|
|
60
|
+
$type: "social.grain.gallery.item";
|
|
61
|
+
item: l.AtUriString;
|
|
62
|
+
gallery: l.AtUriString;
|
|
63
|
+
position?: number;
|
|
64
|
+
createdAt: l.DatetimeString;
|
|
65
|
+
};
|
|
66
|
+
export declare const $parse: (input: unknown, options?: l.ParseOptions) => {
|
|
67
|
+
$type: "social.grain.gallery.item";
|
|
68
|
+
item: l.AtUriString;
|
|
69
|
+
gallery: l.AtUriString;
|
|
70
|
+
position?: number;
|
|
71
|
+
createdAt: l.DatetimeString;
|
|
72
|
+
};
|
|
73
|
+
export declare const $safeParse: (input: unknown, options?: l.ParseOptions) => l.ValidationResult<{
|
|
74
|
+
$type: "social.grain.gallery.item";
|
|
75
|
+
item: l.AtUriString;
|
|
76
|
+
gallery: l.AtUriString;
|
|
77
|
+
position?: number;
|
|
78
|
+
createdAt: l.DatetimeString;
|
|
79
|
+
}>;
|
|
80
|
+
export declare const $validate: <I>(input: I, options?: l.ValidateOptions) => I & {
|
|
81
|
+
$type: "social.grain.gallery.item";
|
|
82
|
+
item: l.AtUriString;
|
|
83
|
+
gallery: l.AtUriString;
|
|
84
|
+
position?: number;
|
|
85
|
+
createdAt: l.DatetimeString;
|
|
86
|
+
};
|
|
87
|
+
export declare const $safeValidate: <I>(input: I, options?: l.ValidateOptions) => l.ValidationResult<I & {
|
|
88
|
+
$type: "social.grain.gallery.item";
|
|
89
|
+
item: l.AtUriString;
|
|
90
|
+
gallery: l.AtUriString;
|
|
91
|
+
position?: number;
|
|
92
|
+
createdAt: l.DatetimeString;
|
|
93
|
+
}>;
|
|
94
|
+
//# sourceMappingURL=item.defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/social/grain/gallery/item.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAEhC,QAAA,MAAM,KAAK,8BAA8B,CAAA;AAEzC,KAAK,KAAK,GAAG,OAAO,KAAK,CAAA;AAEzB,OAAO,EAAE,KA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AAC,CAAC,cAAc;CAgCgC,CAAA;AAC7D,eAAO,MAAM,MAAM;;UApCX,CAAC,CAAC,WAAW;aACV,CAAC,CAAC,WAAW;eACX,MAAM;eACN,CAAC,CAAC,cAAc;CAiC4B,CAAA;AACzD,eAAO,MAAM,UAAU;;UArCf,CAAC,CAAC,WAAW;aACV,CAAC,CAAC,WAAW;eACX,MAAM;eACN,CAAC,CAAC,cAAc;EAkCoC,CAAA;AACjE,eAAO,MAAM,SAAS;;UAtCd,CAAC,CAAC,WAAW;aACV,CAAC,CAAC,WAAW;eACX,MAAM;eACN,CAAC,CAAC,cAAc;CAmCkC,CAAA;AAC/D,eAAO,MAAM,aAAa;;UAvClB,CAAC,CAAC,WAAW;aACV,CAAC,CAAC,WAAW;eACX,MAAM;eACN,CAAC,CAAC,cAAc;EAoC0C,CAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { l } from '@atproto/lex';
|
|
5
|
+
const $nsid = 'social.grain.gallery.item';
|
|
6
|
+
export { $nsid };
|
|
7
|
+
const main = /*#__PURE__*/ l.record('tid', $nsid,
|
|
8
|
+
/*#__PURE__*/ l.object({
|
|
9
|
+
item: /*#__PURE__*/ l.string({ format: 'at-uri' }),
|
|
10
|
+
gallery: /*#__PURE__*/ l.string({ format: 'at-uri' }),
|
|
11
|
+
position: /*#__PURE__*/ l.optional(
|
|
12
|
+
/*#__PURE__*/ l.withDefault(/*#__PURE__*/ l.integer(), 0)),
|
|
13
|
+
createdAt: /*#__PURE__*/ l.string({ format: 'datetime' }),
|
|
14
|
+
}));
|
|
15
|
+
export { main };
|
|
16
|
+
const $type = $nsid;
|
|
17
|
+
export { $type };
|
|
18
|
+
export const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main);
|
|
19
|
+
export const $build = /*#__PURE__*/ main.build.bind(main);
|
|
20
|
+
export const $assert = /*#__PURE__*/ main.assert.bind(main);
|
|
21
|
+
export const $check = /*#__PURE__*/ main.check.bind(main);
|
|
22
|
+
export const $cast = /*#__PURE__*/ main.cast.bind(main);
|
|
23
|
+
export const $ifMatches = /*#__PURE__*/ main.ifMatches.bind(main);
|
|
24
|
+
export const $matches = /*#__PURE__*/ main.matches.bind(main);
|
|
25
|
+
export const $parse = /*#__PURE__*/ main.parse.bind(main);
|
|
26
|
+
export const $safeParse = /*#__PURE__*/ main.safeParse.bind(main);
|
|
27
|
+
export const $validate = /*#__PURE__*/ main.validate.bind(main);
|
|
28
|
+
export const $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main);
|
|
29
|
+
//# sourceMappingURL=item.defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/social/grain/gallery/item.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAEhC,MAAM,KAAK,GAAG,2BAA2B,CAAA;AAIzC,OAAO,EAAE,KAAK,EAAE,CAAA;AAYhB,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CACjC,KAAK,EACL,KAAK;AACL,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACrB,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;IAClD,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;IACrD,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAChC,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,CAC1D;IACD,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,E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C,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 = 'social.grain.gallery.item'\n\ntype $nsid = typeof $nsid\n\nexport { $nsid }\n\ntype Main = {\n $type: 'social.grain.gallery.item'\n item: l.AtUriString\n gallery: l.AtUriString\n position?: number\n createdAt: l.DatetimeString\n}\n\nexport type { Main }\n\nconst main = /*#__PURE__*/ l.record<'tid', Main>(\n 'tid',\n $nsid,\n /*#__PURE__*/ l.object({\n item: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n gallery: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n position: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.withDefault(/*#__PURE__*/ l.integer(), 0),\n ),\n createdAt: /*#__PURE__*/ l.string({ format: 'datetime' }),\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":"item.js","sourceRoot":"","sources":["../../../../../src/lexicons/social/grain/gallery/item.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,gBAAgB,CAAA;AAC9B,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,gBAAgB,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './item.defs.js'\nexport { main as default } from './item.defs.js'\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gallery.d.ts","sourceRoot":"","sources":["../../../../src/lexicons/social/grain/gallery.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,IAAI,MAAM,mBAAmB,CAAA;AACzC,cAAc,mBAAmB,CAAA;AACjC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,mBAAmB,CAAA"}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { l } from '@atproto/lex';
|
|
2
|
+
import * as LabelDefs from '../../com/atproto/label/defs.defs.js';
|
|
3
|
+
declare const $nsid = "social.grain.gallery";
|
|
4
|
+
type $nsid = typeof $nsid;
|
|
5
|
+
export { $nsid };
|
|
6
|
+
type Main = {
|
|
7
|
+
$type: 'social.grain.gallery';
|
|
8
|
+
title: string;
|
|
9
|
+
/**
|
|
10
|
+
* Self-label values for this post. Effectively content warnings.
|
|
11
|
+
*/
|
|
12
|
+
labels?: l.$Typed<LabelDefs.SelfLabels> | l.Unknown$TypedObject;
|
|
13
|
+
createdAt: l.DatetimeString;
|
|
14
|
+
description?: string;
|
|
15
|
+
};
|
|
16
|
+
export type { Main };
|
|
17
|
+
declare const main: l.RecordSchema<"tid", "social.grain.gallery", l.Validator<Omit<Main, "$type">, Omit<Main, "$type">>>;
|
|
18
|
+
export { main };
|
|
19
|
+
declare const $type = "social.grain.gallery";
|
|
20
|
+
type $type = typeof $type;
|
|
21
|
+
export { $type };
|
|
22
|
+
export declare const $isTypeOf: <TValue extends {
|
|
23
|
+
$type?: unknown;
|
|
24
|
+
}>(value: TValue) => value is l.TypedRecord<"social.grain.gallery", TValue>;
|
|
25
|
+
export declare const $build: {
|
|
26
|
+
(input: Omit<Omit<Main, "$type">, "$type">): {
|
|
27
|
+
$type: "social.grain.gallery";
|
|
28
|
+
title: string;
|
|
29
|
+
labels?: l.$Typed<LabelDefs.SelfLabels> | l.Unknown$TypedObject;
|
|
30
|
+
createdAt: l.DatetimeString;
|
|
31
|
+
description?: string;
|
|
32
|
+
};
|
|
33
|
+
(input: Omit<Omit<Main, "$type">, "$type">): {
|
|
34
|
+
$type: "social.grain.gallery";
|
|
35
|
+
title: string;
|
|
36
|
+
labels?: l.$Typed<LabelDefs.SelfLabels> | l.Unknown$TypedObject;
|
|
37
|
+
createdAt: l.DatetimeString;
|
|
38
|
+
description?: string;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
export declare const $assert: (input: unknown, options?: l.ValidateOptions) => asserts input is {
|
|
42
|
+
$type: "social.grain.gallery";
|
|
43
|
+
title: string;
|
|
44
|
+
labels?: l.$Typed<LabelDefs.SelfLabels> | l.Unknown$TypedObject;
|
|
45
|
+
createdAt: l.DatetimeString;
|
|
46
|
+
description?: string;
|
|
47
|
+
};
|
|
48
|
+
export declare const $check: (input: unknown, options?: l.ValidateOptions) => void;
|
|
49
|
+
export declare const $cast: <I>(input: I, options?: l.ValidateOptions) => I & {
|
|
50
|
+
$type: "social.grain.gallery";
|
|
51
|
+
title: string;
|
|
52
|
+
labels?: l.$Typed<LabelDefs.SelfLabels> | l.Unknown$TypedObject;
|
|
53
|
+
createdAt: l.DatetimeString;
|
|
54
|
+
description?: string;
|
|
55
|
+
};
|
|
56
|
+
export declare const $ifMatches: <I>(input: I, options?: l.ValidateOptions) => (I & {
|
|
57
|
+
$type: "social.grain.gallery";
|
|
58
|
+
title: string;
|
|
59
|
+
labels?: l.$Typed<LabelDefs.SelfLabels> | l.Unknown$TypedObject;
|
|
60
|
+
createdAt: l.DatetimeString;
|
|
61
|
+
description?: string;
|
|
62
|
+
}) | undefined;
|
|
63
|
+
export declare const $matches: <I>(input: I, options?: l.ValidateOptions) => input is I & {
|
|
64
|
+
$type: "social.grain.gallery";
|
|
65
|
+
title: string;
|
|
66
|
+
labels?: l.$Typed<LabelDefs.SelfLabels> | l.Unknown$TypedObject;
|
|
67
|
+
createdAt: l.DatetimeString;
|
|
68
|
+
description?: string;
|
|
69
|
+
};
|
|
70
|
+
export declare const $parse: (input: unknown, options?: l.ParseOptions) => {
|
|
71
|
+
$type: "social.grain.gallery";
|
|
72
|
+
title: string;
|
|
73
|
+
labels?: l.$Typed<LabelDefs.SelfLabels> | l.Unknown$TypedObject;
|
|
74
|
+
createdAt: l.DatetimeString;
|
|
75
|
+
description?: string;
|
|
76
|
+
};
|
|
77
|
+
export declare const $safeParse: (input: unknown, options?: l.ParseOptions) => l.ValidationResult<{
|
|
78
|
+
$type: "social.grain.gallery";
|
|
79
|
+
title: string;
|
|
80
|
+
labels?: l.$Typed<LabelDefs.SelfLabels> | l.Unknown$TypedObject;
|
|
81
|
+
createdAt: l.DatetimeString;
|
|
82
|
+
description?: string;
|
|
83
|
+
}>;
|
|
84
|
+
export declare const $validate: <I>(input: I, options?: l.ValidateOptions) => I & {
|
|
85
|
+
$type: "social.grain.gallery";
|
|
86
|
+
title: string;
|
|
87
|
+
labels?: l.$Typed<LabelDefs.SelfLabels> | l.Unknown$TypedObject;
|
|
88
|
+
createdAt: l.DatetimeString;
|
|
89
|
+
description?: string;
|
|
90
|
+
};
|
|
91
|
+
export declare const $safeValidate: <I>(input: I, options?: l.ValidateOptions) => l.ValidationResult<I & {
|
|
92
|
+
$type: "social.grain.gallery";
|
|
93
|
+
title: string;
|
|
94
|
+
labels?: l.$Typed<LabelDefs.SelfLabels> | l.Unknown$TypedObject;
|
|
95
|
+
createdAt: l.DatetimeString;
|
|
96
|
+
description?: string;
|
|
97
|
+
}>;
|
|
98
|
+
//# sourceMappingURL=gallery.defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gallery.defs.d.ts","sourceRoot":"","sources":["../../../../src/lexicons/social/grain/gallery.defs.ts"],"names":[],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pD,CAAC,CAAC,cAAc;kBACb,MAAM;EA6CiD,CAAA"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { l } from '@atproto/lex';
|
|
5
|
+
import * as LabelDefs from '../../com/atproto/label/defs.defs.js';
|
|
6
|
+
const $nsid = 'social.grain.gallery';
|
|
7
|
+
export { $nsid };
|
|
8
|
+
const main = /*#__PURE__*/ l.record('tid', $nsid,
|
|
9
|
+
/*#__PURE__*/ l.object({
|
|
10
|
+
title: /*#__PURE__*/ l.string({ maxLength: 100 }),
|
|
11
|
+
labels: /*#__PURE__*/ l.optional(
|
|
12
|
+
/*#__PURE__*/ l.typedUnion([
|
|
13
|
+
/*#__PURE__*/ l.typedRef((() => LabelDefs.selfLabels)),
|
|
14
|
+
], false)),
|
|
15
|
+
createdAt: /*#__PURE__*/ l.string({ format: 'datetime' }),
|
|
16
|
+
description: /*#__PURE__*/ l.optional(
|
|
17
|
+
/*#__PURE__*/ l.string({ maxLength: 1000 })),
|
|
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
|
+
//# sourceMappingURL=gallery.defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gallery.defs.js","sourceRoot":"","sources":["../../../../src/lexicons/social/grain/gallery.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,SAAS,MAAM,sCAAsC,CAAA;AAEjE,MAAM,KAAK,GAAG,sBAAsB,CAAA;AAIpC,OAAO,EAAE,KAAK,EAAE,CAAA;AAgBhB,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CACjC,KAAK,EACL,KAAK;AACL,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACrB,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC;IACjD,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAC9B,aAAa,CAAC,CAAC,CAAC,UAAU,CACxB;QACE,aAAa,CAAC,CAAC,CAAC,QAAQ,CACtB,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,UAAU,CAAQ,CACpC;KACF,EACD,KAAK,CACN,CACF;IACD,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC;IACzD,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IACnC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAC5C;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,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social.grain.gallery'\n\ntype $nsid = typeof $nsid\n\nexport { $nsid }\n\ntype Main = {\n $type: 'social.grain.gallery'\n title: string\n\n /**\n * Self-label values for this post. Effectively content warnings.\n */\n labels?: l.$Typed<LabelDefs.SelfLabels> | l.Unknown$TypedObject\n createdAt: l.DatetimeString\n description?: string\n}\n\nexport type { Main }\n\nconst main = /*#__PURE__*/ l.record<'tid', Main>(\n 'tid',\n $nsid,\n /*#__PURE__*/ l.object({\n title: /*#__PURE__*/ l.string({ maxLength: 100 }),\n labels: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.typedUnion(\n [\n /*#__PURE__*/ l.typedRef<LabelDefs.SelfLabels>(\n (() => LabelDefs.selfLabels) as any,\n ),\n ],\n false,\n ),\n ),\n createdAt: /*#__PURE__*/ l.string({ format: 'datetime' }),\n description: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string({ maxLength: 1000 }),\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"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gallery.js","sourceRoot":"","sources":["../../../../src/lexicons/social/grain/gallery.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,IAAI,MAAM,mBAAmB,CAAA;AACzC,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 * as item from './gallery/item.js'\nexport * from './gallery.defs.js'\nexport { main as default } from './gallery.defs.js'\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"photo.d.ts","sourceRoot":"","sources":["../../../../src/lexicons/social/grain/photo.ts"],"names":[],"mappings":"AAIA,cAAc,iBAAiB,CAAA;AAC/B,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,iBAAiB,CAAA"}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { l } from '@atproto/lex';
|
|
2
|
+
import * as GrainDefs from './defs.defs.js';
|
|
3
|
+
declare const $nsid = "social.grain.photo";
|
|
4
|
+
type $nsid = typeof $nsid;
|
|
5
|
+
export { $nsid };
|
|
6
|
+
type Main = {
|
|
7
|
+
$type: 'social.grain.photo';
|
|
8
|
+
/**
|
|
9
|
+
* Alt text description of the image, for accessibility.
|
|
10
|
+
*/
|
|
11
|
+
alt: string;
|
|
12
|
+
photo: l.BlobRef;
|
|
13
|
+
createdAt?: l.DatetimeString;
|
|
14
|
+
aspectRatio?: GrainDefs.AspectRatio;
|
|
15
|
+
};
|
|
16
|
+
export type { Main };
|
|
17
|
+
declare const main: l.RecordSchema<"tid", "social.grain.photo", l.Validator<Omit<Main, "$type">, Omit<Main, "$type">>>;
|
|
18
|
+
export { main };
|
|
19
|
+
declare const $type = "social.grain.photo";
|
|
20
|
+
type $type = typeof $type;
|
|
21
|
+
export { $type };
|
|
22
|
+
export declare const $isTypeOf: <TValue extends {
|
|
23
|
+
$type?: unknown;
|
|
24
|
+
}>(value: TValue) => value is l.TypedRecord<"social.grain.photo", TValue>;
|
|
25
|
+
export declare const $build: {
|
|
26
|
+
(input: Omit<Omit<Main, "$type">, "$type">): {
|
|
27
|
+
$type: "social.grain.photo";
|
|
28
|
+
alt: string;
|
|
29
|
+
photo: l.BlobRef;
|
|
30
|
+
createdAt?: l.DatetimeString;
|
|
31
|
+
aspectRatio?: GrainDefs.AspectRatio;
|
|
32
|
+
};
|
|
33
|
+
(input: Omit<Omit<Main, "$type">, "$type">): {
|
|
34
|
+
$type: "social.grain.photo";
|
|
35
|
+
alt: string;
|
|
36
|
+
photo: l.BlobRef;
|
|
37
|
+
createdAt?: l.DatetimeString;
|
|
38
|
+
aspectRatio?: GrainDefs.AspectRatio;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
export declare const $assert: (input: unknown, options?: l.ValidateOptions) => asserts input is {
|
|
42
|
+
$type: "social.grain.photo";
|
|
43
|
+
alt: string;
|
|
44
|
+
photo: l.BlobRef;
|
|
45
|
+
createdAt?: l.DatetimeString;
|
|
46
|
+
aspectRatio?: GrainDefs.AspectRatio;
|
|
47
|
+
};
|
|
48
|
+
export declare const $check: (input: unknown, options?: l.ValidateOptions) => void;
|
|
49
|
+
export declare const $cast: <I>(input: I, options?: l.ValidateOptions) => I & {
|
|
50
|
+
$type: "social.grain.photo";
|
|
51
|
+
alt: string;
|
|
52
|
+
photo: l.BlobRef;
|
|
53
|
+
createdAt?: l.DatetimeString;
|
|
54
|
+
aspectRatio?: GrainDefs.AspectRatio;
|
|
55
|
+
};
|
|
56
|
+
export declare const $ifMatches: <I>(input: I, options?: l.ValidateOptions) => (I & {
|
|
57
|
+
$type: "social.grain.photo";
|
|
58
|
+
alt: string;
|
|
59
|
+
photo: l.BlobRef;
|
|
60
|
+
createdAt?: l.DatetimeString;
|
|
61
|
+
aspectRatio?: GrainDefs.AspectRatio;
|
|
62
|
+
}) | undefined;
|
|
63
|
+
export declare const $matches: <I>(input: I, options?: l.ValidateOptions) => input is I & {
|
|
64
|
+
$type: "social.grain.photo";
|
|
65
|
+
alt: string;
|
|
66
|
+
photo: l.BlobRef;
|
|
67
|
+
createdAt?: l.DatetimeString;
|
|
68
|
+
aspectRatio?: GrainDefs.AspectRatio;
|
|
69
|
+
};
|
|
70
|
+
export declare const $parse: (input: unknown, options?: l.ParseOptions) => {
|
|
71
|
+
$type: "social.grain.photo";
|
|
72
|
+
alt: string;
|
|
73
|
+
photo: l.BlobRef;
|
|
74
|
+
createdAt?: l.DatetimeString;
|
|
75
|
+
aspectRatio?: GrainDefs.AspectRatio;
|
|
76
|
+
};
|
|
77
|
+
export declare const $safeParse: (input: unknown, options?: l.ParseOptions) => l.ValidationResult<{
|
|
78
|
+
$type: "social.grain.photo";
|
|
79
|
+
alt: string;
|
|
80
|
+
photo: l.BlobRef;
|
|
81
|
+
createdAt?: l.DatetimeString;
|
|
82
|
+
aspectRatio?: GrainDefs.AspectRatio;
|
|
83
|
+
}>;
|
|
84
|
+
export declare const $validate: <I>(input: I, options?: l.ValidateOptions) => I & {
|
|
85
|
+
$type: "social.grain.photo";
|
|
86
|
+
alt: string;
|
|
87
|
+
photo: l.BlobRef;
|
|
88
|
+
createdAt?: l.DatetimeString;
|
|
89
|
+
aspectRatio?: GrainDefs.AspectRatio;
|
|
90
|
+
};
|
|
91
|
+
export declare const $safeValidate: <I>(input: I, options?: l.ValidateOptions) => l.ValidationResult<I & {
|
|
92
|
+
$type: "social.grain.photo";
|
|
93
|
+
alt: string;
|
|
94
|
+
photo: l.BlobRef;
|
|
95
|
+
createdAt?: l.DatetimeString;
|
|
96
|
+
aspectRatio?: GrainDefs.AspectRatio;
|
|
97
|
+
}>;
|
|
98
|
+
//# sourceMappingURL=photo.defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"photo.defs.d.ts","sourceRoot":"","sources":["../../../../src/lexicons/social/grain/photo.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAA;AAE3C,QAAA,MAAM,KAAK,uBAAuB,CAAA;AAElC,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ACjE,eAAO,MAAM,QAAQ;;SAvCd,MAAM;WACJ,CAAC,CAAC,OAAO;gBACJ,CAAC,CAAC,cAAc;kBACd,SAAS,CAAC,WAAW;CAoCwB,CAAA;AAC7D,eAAO,MAAM,MAAM;;SAxCZ,MAAM;WACJ,CAAC,CAAC,OAAO;gBACJ,CAAC,CAAC,cAAc;kBACd,SAAS,CAAC,WAAW;CAqCoB,CAAA;AACzD,eAAO,MAAM,UAAU;;SAzChB,MAAM;WACJ,CAAC,CAAC,OAAO;gBACJ,CAAC,CAAC,cAAc;kBACd,SAAS,CAAC,WAAW;EAsC4B,CAAA;AACjE,eAAO,MAAM,SAAS;;SA1Cf,MAAM;WACJ,CAAC,CAAC,OAAO;gBACJ,CAAC,CAAC,cAAc;kBACd,SAAS,CAAC,WAAW;CAuC0B,CAAA;AAC/D,eAAO,MAAM,aAAa;;SA3CnB,MAAM;WACJ,CAAC,CAAC,OAAO;gBACJ,CAAC,CAAC,cAAc;kBACd,SAAS,CAAC,WAAW;EAwCkC,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
|
+
import * as GrainDefs from './defs.defs.js';
|
|
6
|
+
const $nsid = 'social.grain.photo';
|
|
7
|
+
export { $nsid };
|
|
8
|
+
const main = /*#__PURE__*/ l.record('tid', $nsid,
|
|
9
|
+
/*#__PURE__*/ l.object({
|
|
10
|
+
alt: /*#__PURE__*/ l.string(),
|
|
11
|
+
photo: /*#__PURE__*/ l.blob({ accept: ['image/*'], maxSize: 1000000 }),
|
|
12
|
+
createdAt: /*#__PURE__*/ l.optional(
|
|
13
|
+
/*#__PURE__*/ l.string({ format: 'datetime' })),
|
|
14
|
+
aspectRatio: /*#__PURE__*/ l.optional(
|
|
15
|
+
/*#__PURE__*/ l.ref((() => GrainDefs.aspectRatio))),
|
|
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=photo.defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"photo.defs.js","sourceRoot":"","sources":["../../../../src/lexicons/social/grain/photo.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAA;AAE3C,MAAM,KAAK,GAAG,oBAAoB,CAAA;AAIlC,OAAO,EAAE,KAAK,EAAE,CAAA;AAgBhB,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,MAAM,EAAE;IAC7B,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC,SAAS,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE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I,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'\nimport * as GrainDefs from './defs.defs.js'\n\nconst $nsid = 'social.grain.photo'\n\ntype $nsid = typeof $nsid\n\nexport { $nsid }\n\ntype Main = {\n $type: 'social.grain.photo'\n\n /**\n * Alt text description of the image, for accessibility.\n */\n alt: string\n photo: l.BlobRef\n createdAt?: l.DatetimeString\n aspectRatio?: GrainDefs.AspectRatio\n}\n\nexport type { Main }\n\nconst main = /*#__PURE__*/ l.record<'tid', Main>(\n 'tid',\n $nsid,\n /*#__PURE__*/ l.object({\n alt: /*#__PURE__*/ l.string(),\n photo: /*#__PURE__*/ l.blob({ accept: ['image/*'], maxSize: 1000000 }),\n createdAt: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string({ format: 'datetime' }),\n ),\n aspectRatio: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.ref<GrainDefs.AspectRatio>(\n (() => GrainDefs.aspectRatio) 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"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"photo.js","sourceRoot":"","sources":["../../../../src/lexicons/social/grain/photo.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,iBAAiB,CAAA;AAC/B,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,iBAAiB,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './photo.defs.js'\nexport { main as default } from './photo.defs.js'\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grain.d.ts","sourceRoot":"","sources":["../../../src/lexicons/social/grain.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAA;AACvC,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAA;AAC/C,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAA;AAC7C,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
export * as defs from './grain/defs.js';
|
|
5
|
+
export * as favorite from './grain/favorite.js';
|
|
6
|
+
export * as gallery from './grain/gallery.js';
|
|
7
|
+
export * as photo from './grain/photo.js';
|
|
8
|
+
//# sourceMappingURL=grain.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grain.js","sourceRoot":"","sources":["../../../src/lexicons/social/grain.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAA;AACvC,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAA;AAC/C,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAA;AAC7C,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as defs from './grain/defs.js'\nexport * as favorite from './grain/favorite.js'\nexport * as gallery from './grain/gallery.js'\nexport * as photo from './grain/photo.js'\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"social.d.ts","sourceRoot":"","sources":["../../src/lexicons/social.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,MAAM,mBAAmB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"social.js","sourceRoot":"","sources":["../../src/lexicons/social.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,mBAAmB,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as grain from './social/grain.js'\n"]}
|