@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
|
@@ -7,8 +7,8 @@ export { $nsid };
|
|
|
7
7
|
/** Record declaring a recommendation of a document. */
|
|
8
8
|
const main = /*#__PURE__*/ l.record('tid', $nsid,
|
|
9
9
|
/*#__PURE__*/ l.object({
|
|
10
|
-
createdAt: /*#__PURE__*/ l.string({ format: 'datetime' }),
|
|
11
10
|
document: /*#__PURE__*/ l.string({ format: 'at-uri' }),
|
|
11
|
+
createdAt: /*#__PURE__*/ l.string({ format: 'datetime' }),
|
|
12
12
|
}));
|
|
13
13
|
export { main };
|
|
14
14
|
const $type = $nsid;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recommend.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/site/standard/graph/recommend.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAEhC,MAAM,KAAK,GAAG,+BAA+B,CAAA;AAI7C,OAAO,EAAE,KAAK,EAAE,CAAA;AAehB,uDAAuD;AACvD,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CACjC,KAAK,EACL,KAAK;AACL,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACrB,
|
|
1
|
+
{"version":3,"file":"recommend.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/site/standard/graph/recommend.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAEhC,MAAM,KAAK,GAAG,+BAA+B,CAAA;AAI7C,OAAO,EAAE,KAAK,EAAE,CAAA;AAehB,uDAAuD;AACvD,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CACjC,KAAK,EACL,KAAK;AACL,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACrB,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;IACtD,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC;CAC1D,CAAC,CACH,CAAA;AAED,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,MAAM,KAAK,GAAG,KAAK,CAAA;AAInB,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,MAAM,CAAC,MAAM,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;AAC/D,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;AACzD,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;AAC3D,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;AACzD,MAAM,CAAC,MAAM,KAAK,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;AACvD,MAAM,CAAC,MAAM,UAAU,GAAG,aAAa,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;AACjE,MAAM,CAAC,MAAM,QAAQ,GAAG,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;AAC7D,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;AACzD,MAAM,CAAC,MAAM,UAAU,GAAG,aAAa,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;AACjE,MAAM,CAAC,MAAM,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;AAC/D,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'site.standard.graph.recommend'\n\ntype $nsid = typeof $nsid\n\nexport { $nsid }\n\n/** Record declaring a recommendation of a document. */\ntype Main = {\n $type: 'site.standard.graph.recommend'\n\n /**\n * AT-URI reference to the document record being recommended (ex: at://did:plc:abc123/site.standard.document/xyz789).\n */\n document: l.AtUriString\n createdAt: l.DatetimeString\n}\n\nexport type { Main }\n\n/** Record declaring a recommendation of a document. */\nconst main = /*#__PURE__*/ l.record<'tid', Main>(\n 'tid',\n $nsid,\n /*#__PURE__*/ l.object({\n document: /*#__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"]}
|
|
@@ -8,33 +8,33 @@ export { $nsid };
|
|
|
8
8
|
type Main = {
|
|
9
9
|
$type: 'site.standard.publication';
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
12
|
-
*/
|
|
13
|
-
basicTheme?: ThemeBasic.Main;
|
|
14
|
-
/**
|
|
15
|
-
* Brief description of the publication.
|
|
11
|
+
* Base publication url (ex: https://standard.site). The canonical document URL is formed by combining this value with the document path.
|
|
16
12
|
*/
|
|
17
|
-
|
|
13
|
+
url: l.UriString;
|
|
18
14
|
/**
|
|
19
15
|
* Square image to identify the publication. Should be at least 256x256.
|
|
20
16
|
*/
|
|
21
17
|
icon?: l.BlobRef;
|
|
18
|
+
/**
|
|
19
|
+
* Name of the publication.
|
|
20
|
+
*/
|
|
21
|
+
name: string;
|
|
22
22
|
/**
|
|
23
23
|
* Self-label values for this publication. Effectively content warnings.
|
|
24
24
|
*/
|
|
25
25
|
labels?: l.$Typed<LabelDefs.SelfLabels> | l.Unknown$TypedObject;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* Simplified publication theme for tools and apps to utilize when displaying content.
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
basicTheme?: ThemeBasic.Main;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Brief description of the publication.
|
|
32
32
|
*/
|
|
33
|
-
|
|
33
|
+
description?: string;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Object containing platform specific preferences (with a few shared properties).
|
|
36
36
|
*/
|
|
37
|
-
|
|
37
|
+
preferences?: Preferences;
|
|
38
38
|
};
|
|
39
39
|
export type { Main };
|
|
40
40
|
/** A publication record representing a blog, website, or content platform. Publications serve as containers for documents and define the overall branding and settings. */
|
|
@@ -49,105 +49,105 @@ export declare const $isTypeOf: <TValue extends {
|
|
|
49
49
|
export declare const $build: {
|
|
50
50
|
(input: Omit<Omit<Main, "$type">, "$type">): {
|
|
51
51
|
$type: "site.standard.publication";
|
|
52
|
-
|
|
53
|
-
description?: string;
|
|
52
|
+
url: l.UriString;
|
|
54
53
|
icon?: l.BlobRef;
|
|
55
|
-
labels?: l.$Typed<LabelDefs.SelfLabels> | l.Unknown$TypedObject;
|
|
56
54
|
name: string;
|
|
55
|
+
labels?: l.$Typed<LabelDefs.SelfLabels> | l.Unknown$TypedObject;
|
|
56
|
+
basicTheme?: ThemeBasic.Main;
|
|
57
|
+
description?: string;
|
|
57
58
|
preferences?: Preferences;
|
|
58
|
-
url: l.UriString;
|
|
59
59
|
};
|
|
60
60
|
(input: Omit<Omit<Main, "$type">, "$type">): {
|
|
61
61
|
$type: "site.standard.publication";
|
|
62
|
-
|
|
63
|
-
description?: string;
|
|
62
|
+
url: l.UriString;
|
|
64
63
|
icon?: l.BlobRef;
|
|
65
|
-
labels?: l.$Typed<LabelDefs.SelfLabels> | l.Unknown$TypedObject;
|
|
66
64
|
name: string;
|
|
65
|
+
labels?: l.$Typed<LabelDefs.SelfLabels> | l.Unknown$TypedObject;
|
|
66
|
+
basicTheme?: ThemeBasic.Main;
|
|
67
|
+
description?: string;
|
|
67
68
|
preferences?: Preferences;
|
|
68
|
-
url: l.UriString;
|
|
69
69
|
};
|
|
70
70
|
};
|
|
71
71
|
export declare const $assert: (input: unknown, options?: l.ValidateOptions) => asserts input is {
|
|
72
72
|
$type: "site.standard.publication";
|
|
73
|
-
|
|
74
|
-
description?: string;
|
|
73
|
+
url: l.UriString;
|
|
75
74
|
icon?: l.BlobRef;
|
|
76
|
-
labels?: l.$Typed<LabelDefs.SelfLabels> | l.Unknown$TypedObject;
|
|
77
75
|
name: string;
|
|
76
|
+
labels?: l.$Typed<LabelDefs.SelfLabels> | l.Unknown$TypedObject;
|
|
77
|
+
basicTheme?: ThemeBasic.Main;
|
|
78
|
+
description?: string;
|
|
78
79
|
preferences?: Preferences;
|
|
79
|
-
url: l.UriString;
|
|
80
80
|
};
|
|
81
81
|
export declare const $check: (input: unknown, options?: l.ValidateOptions) => void;
|
|
82
82
|
export declare const $cast: <I>(input: I, options?: l.ValidateOptions) => I & {
|
|
83
83
|
$type: "site.standard.publication";
|
|
84
|
-
|
|
85
|
-
description?: string;
|
|
84
|
+
url: l.UriString;
|
|
86
85
|
icon?: l.BlobRef;
|
|
87
|
-
labels?: l.$Typed<LabelDefs.SelfLabels> | l.Unknown$TypedObject;
|
|
88
86
|
name: string;
|
|
87
|
+
labels?: l.$Typed<LabelDefs.SelfLabels> | l.Unknown$TypedObject;
|
|
88
|
+
basicTheme?: ThemeBasic.Main;
|
|
89
|
+
description?: string;
|
|
89
90
|
preferences?: Preferences;
|
|
90
|
-
url: l.UriString;
|
|
91
91
|
};
|
|
92
92
|
export declare const $ifMatches: <I>(input: I, options?: l.ValidateOptions) => (I & {
|
|
93
93
|
$type: "site.standard.publication";
|
|
94
|
-
|
|
95
|
-
description?: string;
|
|
94
|
+
url: l.UriString;
|
|
96
95
|
icon?: l.BlobRef;
|
|
97
|
-
labels?: l.$Typed<LabelDefs.SelfLabels> | l.Unknown$TypedObject;
|
|
98
96
|
name: string;
|
|
97
|
+
labels?: l.$Typed<LabelDefs.SelfLabels> | l.Unknown$TypedObject;
|
|
98
|
+
basicTheme?: ThemeBasic.Main;
|
|
99
|
+
description?: string;
|
|
99
100
|
preferences?: Preferences;
|
|
100
|
-
url: l.UriString;
|
|
101
101
|
}) | undefined;
|
|
102
102
|
export declare const $matches: <I>(input: I, options?: l.ValidateOptions) => input is I & {
|
|
103
103
|
$type: "site.standard.publication";
|
|
104
|
-
|
|
105
|
-
description?: string;
|
|
104
|
+
url: l.UriString;
|
|
106
105
|
icon?: l.BlobRef;
|
|
107
|
-
labels?: l.$Typed<LabelDefs.SelfLabels> | l.Unknown$TypedObject;
|
|
108
106
|
name: string;
|
|
107
|
+
labels?: l.$Typed<LabelDefs.SelfLabels> | l.Unknown$TypedObject;
|
|
108
|
+
basicTheme?: ThemeBasic.Main;
|
|
109
|
+
description?: string;
|
|
109
110
|
preferences?: Preferences;
|
|
110
|
-
url: l.UriString;
|
|
111
111
|
};
|
|
112
112
|
export declare const $parse: (input: unknown, options?: l.ParseOptions) => {
|
|
113
113
|
$type: "site.standard.publication";
|
|
114
|
-
|
|
115
|
-
description?: string;
|
|
114
|
+
url: l.UriString;
|
|
116
115
|
icon?: l.BlobRef;
|
|
117
|
-
labels?: l.$Typed<LabelDefs.SelfLabels> | l.Unknown$TypedObject;
|
|
118
116
|
name: string;
|
|
117
|
+
labels?: l.$Typed<LabelDefs.SelfLabels> | l.Unknown$TypedObject;
|
|
118
|
+
basicTheme?: ThemeBasic.Main;
|
|
119
|
+
description?: string;
|
|
119
120
|
preferences?: Preferences;
|
|
120
|
-
url: l.UriString;
|
|
121
121
|
};
|
|
122
122
|
export declare const $safeParse: (input: unknown, options?: l.ParseOptions) => l.ValidationResult<{
|
|
123
123
|
$type: "site.standard.publication";
|
|
124
|
-
|
|
125
|
-
description?: string;
|
|
124
|
+
url: l.UriString;
|
|
126
125
|
icon?: l.BlobRef;
|
|
127
|
-
labels?: l.$Typed<LabelDefs.SelfLabels> | l.Unknown$TypedObject;
|
|
128
126
|
name: string;
|
|
127
|
+
labels?: l.$Typed<LabelDefs.SelfLabels> | l.Unknown$TypedObject;
|
|
128
|
+
basicTheme?: ThemeBasic.Main;
|
|
129
|
+
description?: string;
|
|
129
130
|
preferences?: Preferences;
|
|
130
|
-
url: l.UriString;
|
|
131
131
|
}>;
|
|
132
132
|
export declare const $validate: <I>(input: I, options?: l.ValidateOptions) => I & {
|
|
133
133
|
$type: "site.standard.publication";
|
|
134
|
-
|
|
135
|
-
description?: string;
|
|
134
|
+
url: l.UriString;
|
|
136
135
|
icon?: l.BlobRef;
|
|
137
|
-
labels?: l.$Typed<LabelDefs.SelfLabels> | l.Unknown$TypedObject;
|
|
138
136
|
name: string;
|
|
137
|
+
labels?: l.$Typed<LabelDefs.SelfLabels> | l.Unknown$TypedObject;
|
|
138
|
+
basicTheme?: ThemeBasic.Main;
|
|
139
|
+
description?: string;
|
|
139
140
|
preferences?: Preferences;
|
|
140
|
-
url: l.UriString;
|
|
141
141
|
};
|
|
142
142
|
export declare const $safeValidate: <I>(input: I, options?: l.ValidateOptions) => l.ValidationResult<I & {
|
|
143
143
|
$type: "site.standard.publication";
|
|
144
|
-
|
|
145
|
-
description?: string;
|
|
144
|
+
url: l.UriString;
|
|
146
145
|
icon?: l.BlobRef;
|
|
147
|
-
labels?: l.$Typed<LabelDefs.SelfLabels> | l.Unknown$TypedObject;
|
|
148
146
|
name: string;
|
|
147
|
+
labels?: l.$Typed<LabelDefs.SelfLabels> | l.Unknown$TypedObject;
|
|
148
|
+
basicTheme?: ThemeBasic.Main;
|
|
149
|
+
description?: string;
|
|
149
150
|
preferences?: Preferences;
|
|
150
|
-
url: l.UriString;
|
|
151
151
|
}>;
|
|
152
152
|
type Preferences = {
|
|
153
153
|
$type?: 'site.standard.publication#preferences';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publication.defs.d.ts","sourceRoot":"","sources":["../../../../src/lexicons/site/standard/publication.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,SAAS,MAAM,sCAAsC,CAAA;AACjE,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAA;AAEnD,QAAA,MAAM,KAAK,8BAA8B,CAAA;AAEzC,KAAK,KAAK,GAAG,OAAO,KAAK,CAAA;AAEzB,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,2KAA2K;AAC3K,KAAK,IAAI,GAAG;IACV,KAAK,EAAE,2BAA2B,CAAA;IAElC;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"publication.defs.d.ts","sourceRoot":"","sources":["../../../../src/lexicons/site/standard/publication.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,SAAS,MAAM,sCAAsC,CAAA;AACjE,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAA;AAEnD,QAAA,MAAM,KAAK,8BAA8B,CAAA;AAEzC,KAAK,KAAK,GAAG,OAAO,KAAK,CAAA;AAEzB,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,2KAA2K;AAC3K,KAAK,IAAI,GAAG;IACV,KAAK,EAAE,2BAA2B,CAAA;IAElC;;OAEG;IACH,GAAG,EAAE,CAAC,CAAC,SAAS,CAAA;IAEhB;;OAEG;IACH,IAAI,CAAC,EAAE,CAAC,CAAC,OAAO,CAAA;IAEhB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,GAAG,CAAC,C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,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,mBAAmB;iBAKlD,UAAU,CAAC,IAAI;kBAKd,MAAM;kBAKN,WAAW;CAsDoC,CAAA;AAC/D,eAAO,MAAM,aAAa;;SArFnB,CAAC,CAAC,SAAS;WAKT,CAAC,CAAC,OAAO;UAKV,MAAM;aAKH,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,mBAAmB;iBAKlD,UAAU,CAAC,IAAI;kBAKd,MAAM;kBAKN,WAAW;EAuD4C,CAAA;AAEvE,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,uCAAuC,CAAA;IAE/C;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB,CAAA;AAED,YAAY,EAAE,WAAW,EAAE,CAAA;AAE3B,QAAA,MAAM,WAAW,qGAQhB,CAAA;AAED,OAAO,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -9,20 +9,20 @@ export { $nsid };
|
|
|
9
9
|
/** A publication record representing a blog, website, or content platform. Publications serve as containers for documents and define the overall branding and settings. */
|
|
10
10
|
const main = /*#__PURE__*/ l.record('tid', $nsid,
|
|
11
11
|
/*#__PURE__*/ l.object({
|
|
12
|
-
|
|
13
|
-
/*#__PURE__*/ l.ref((() => ThemeBasic.main))),
|
|
14
|
-
description: /*#__PURE__*/ l.optional(
|
|
15
|
-
/*#__PURE__*/ l.string({ maxGraphemes: 3000, maxLength: 30000 })),
|
|
12
|
+
url: /*#__PURE__*/ l.string({ format: 'uri' }),
|
|
16
13
|
icon: /*#__PURE__*/ l.optional(
|
|
17
14
|
/*#__PURE__*/ l.blob({ accept: ['image/*'], maxSize: 1000000 })),
|
|
15
|
+
name: /*#__PURE__*/ l.string({ maxLength: 5000, maxGraphemes: 500 }),
|
|
18
16
|
labels: /*#__PURE__*/ l.optional(
|
|
19
17
|
/*#__PURE__*/ l.typedUnion([
|
|
20
18
|
/*#__PURE__*/ l.typedRef((() => LabelDefs.selfLabels)),
|
|
21
19
|
], false)),
|
|
22
|
-
|
|
20
|
+
basicTheme: /*#__PURE__*/ l.optional(
|
|
21
|
+
/*#__PURE__*/ l.ref((() => ThemeBasic.main))),
|
|
22
|
+
description: /*#__PURE__*/ l.optional(
|
|
23
|
+
/*#__PURE__*/ l.string({ maxLength: 30000, maxGraphemes: 3000 })),
|
|
23
24
|
preferences: /*#__PURE__*/ l.optional(
|
|
24
25
|
/*#__PURE__*/ l.ref((() => preferences))),
|
|
25
|
-
url: /*#__PURE__*/ l.string({ format: 'uri' }),
|
|
26
26
|
}));
|
|
27
27
|
export { main };
|
|
28
28
|
const $type = $nsid;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publication.defs.js","sourceRoot":"","sources":["../../../../src/lexicons/site/standard/publication.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,SAAS,MAAM,sCAAsC,CAAA;AACjE,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAA;AAEnD,MAAM,KAAK,GAAG,2BAA2B,CAAA;AAIzC,OAAO,EAAE,KAAK,EAAE,CAAA;AA4ChB,2KAA2K;AAC3K,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CACjC,KAAK,EACL,KAAK;AACL,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACrB,
|
|
1
|
+
{"version":3,"file":"publication.defs.js","sourceRoot":"","sources":["../../../../src/lexicons/site/standard/publication.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,SAAS,MAAM,sCAAsC,CAAA;AACjE,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAA;AAEnD,MAAM,KAAK,GAAG,2BAA2B,CAAA;AAIzC,OAAO,EAAE,KAA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M,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAC7C,KAAK,EACL,aAAa;AACb,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACrB,cAAc,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IACtC,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,EAAE,IAAI,CAAC,CAC7D;CACF,CAAC,CACH,CAAA;AAED,OAAO,EAAE,WAAW,EAAE,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as LabelDefs from '../../com/atproto/label/defs.defs.js'\nimport * as ThemeBasic from './theme/basic.defs.js'\n\nconst $nsid = 'site.standard.publication'\n\ntype $nsid = typeof $nsid\n\nexport { $nsid }\n\n/** A publication record representing a blog, website, or content platform. Publications serve as containers for documents and define the overall branding and settings. */\ntype Main = {\n $type: 'site.standard.publication'\n\n /**\n * Base publication url (ex: https://standard.site). The canonical document URL is formed by combining this value with the document path.\n */\n url: l.UriString\n\n /**\n * Square image to identify the publication. Should be at least 256x256.\n */\n icon?: l.BlobRef\n\n /**\n * Name of the publication.\n */\n name: string\n\n /**\n * Self-label values for this publication. Effectively content warnings.\n */\n labels?: l.$Typed<LabelDefs.SelfLabels> | l.Unknown$TypedObject\n\n /**\n * Simplified publication theme for tools and apps to utilize when displaying content.\n */\n basicTheme?: ThemeBasic.Main\n\n /**\n * Brief description of the publication.\n */\n description?: string\n\n /**\n * Object containing platform specific preferences (with a few shared properties).\n */\n preferences?: Preferences\n}\n\nexport type { Main }\n\n/** A publication record representing a blog, website, or content platform. Publications serve as containers for documents and define the overall branding and settings. */\nconst main = /*#__PURE__*/ l.record<'tid', Main>(\n 'tid',\n $nsid,\n /*#__PURE__*/ l.object({\n url: /*#__PURE__*/ l.string({ format: 'uri' }),\n icon: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.blob({ accept: ['image/*'], maxSize: 1000000 }),\n ),\n name: /*#__PURE__*/ l.string({ maxLength: 5000, maxGraphemes: 500 }),\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 basicTheme: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.ref<ThemeBasic.Main>((() => ThemeBasic.main) as any),\n ),\n description: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string({ maxLength: 30000, maxGraphemes: 3000 }),\n ),\n preferences: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.ref<Preferences>((() => preferences) as any),\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 Preferences = {\n $type?: 'site.standard.publication#preferences'\n\n /**\n * Boolean which decides whether the publication should appear in discovery feeds.\n */\n showInDiscover?: boolean\n}\n\nexport type { Preferences }\n\nconst preferences = /*#__PURE__*/ l.typedObject<Preferences>(\n $nsid,\n 'preferences',\n /*#__PURE__*/ l.object({\n showInDiscover: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.withDefault(/*#__PURE__*/ l.boolean(), true),\n ),\n }),\n)\n\nexport { preferences }\n"]}
|
|
@@ -10,10 +10,6 @@ type Main = {
|
|
|
10
10
|
* Color used for links and button backgrounds.
|
|
11
11
|
*/
|
|
12
12
|
accent: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
13
|
-
/**
|
|
14
|
-
* Color used for button text.
|
|
15
|
-
*/
|
|
16
|
-
accentForeground: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
17
13
|
/**
|
|
18
14
|
* Color used for content background.
|
|
19
15
|
*/
|
|
@@ -22,6 +18,10 @@ type Main = {
|
|
|
22
18
|
* Color used for content text.
|
|
23
19
|
*/
|
|
24
20
|
foreground: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
21
|
+
/**
|
|
22
|
+
* Color used for button text.
|
|
23
|
+
*/
|
|
24
|
+
accentForeground: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
25
25
|
};
|
|
26
26
|
export type { Main };
|
|
27
27
|
/** A simplified theme definition for publications, providing basic color customization for content display across different platforms and applications. */
|
|
@@ -37,73 +37,73 @@ export declare const $build: {
|
|
|
37
37
|
(input: Omit<Omit<Main, "$type">, "$type">): {
|
|
38
38
|
$type: "site.standard.theme.basic";
|
|
39
39
|
accent: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
40
|
-
accentForeground: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
41
40
|
background: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
42
41
|
foreground: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
42
|
+
accentForeground: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
43
43
|
};
|
|
44
44
|
(input: Omit<Omit<Main, "$type">, "$type">): {
|
|
45
45
|
$type: "site.standard.theme.basic";
|
|
46
46
|
accent: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
47
|
-
accentForeground: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
48
47
|
background: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
49
48
|
foreground: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
49
|
+
accentForeground: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
50
50
|
};
|
|
51
51
|
};
|
|
52
52
|
export declare const $assert: (input: unknown, options?: l.ValidateOptions) => asserts input is {
|
|
53
53
|
$type: "site.standard.theme.basic";
|
|
54
54
|
accent: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
55
|
-
accentForeground: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
56
55
|
background: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
57
56
|
foreground: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
57
|
+
accentForeground: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
58
58
|
};
|
|
59
59
|
export declare const $check: (input: unknown, options?: l.ValidateOptions) => void;
|
|
60
60
|
export declare const $cast: <I>(input: I, options?: l.ValidateOptions) => I & {
|
|
61
61
|
$type: "site.standard.theme.basic";
|
|
62
62
|
accent: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
63
|
-
accentForeground: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
64
63
|
background: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
65
64
|
foreground: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
65
|
+
accentForeground: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
66
66
|
};
|
|
67
67
|
export declare const $ifMatches: <I>(input: I, options?: l.ValidateOptions) => (I & {
|
|
68
68
|
$type: "site.standard.theme.basic";
|
|
69
69
|
accent: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
70
|
-
accentForeground: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
71
70
|
background: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
72
71
|
foreground: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
72
|
+
accentForeground: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
73
73
|
}) | undefined;
|
|
74
74
|
export declare const $matches: <I>(input: I, options?: l.ValidateOptions) => input is I & {
|
|
75
75
|
$type: "site.standard.theme.basic";
|
|
76
76
|
accent: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
77
|
-
accentForeground: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
78
77
|
background: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
79
78
|
foreground: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
79
|
+
accentForeground: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
80
80
|
};
|
|
81
81
|
export declare const $parse: (input: unknown, options?: l.ParseOptions) => {
|
|
82
82
|
$type: "site.standard.theme.basic";
|
|
83
83
|
accent: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
84
|
-
accentForeground: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
85
84
|
background: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
86
85
|
foreground: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
86
|
+
accentForeground: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
87
87
|
};
|
|
88
88
|
export declare const $safeParse: (input: unknown, options?: l.ParseOptions) => l.ValidationResult<{
|
|
89
89
|
$type: "site.standard.theme.basic";
|
|
90
90
|
accent: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
91
|
-
accentForeground: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
92
91
|
background: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
93
92
|
foreground: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
93
|
+
accentForeground: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
94
94
|
}>;
|
|
95
95
|
export declare const $validate: <I>(input: I, options?: l.ValidateOptions) => I & {
|
|
96
96
|
$type: "site.standard.theme.basic";
|
|
97
97
|
accent: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
98
|
-
accentForeground: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
99
98
|
background: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
100
99
|
foreground: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
100
|
+
accentForeground: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
101
101
|
};
|
|
102
102
|
export declare const $safeValidate: <I>(input: I, options?: l.ValidateOptions) => l.ValidationResult<I & {
|
|
103
103
|
$type: "site.standard.theme.basic";
|
|
104
104
|
accent: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
105
|
-
accentForeground: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
106
105
|
background: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
107
106
|
foreground: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
107
|
+
accentForeground: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject;
|
|
108
108
|
}>;
|
|
109
109
|
//# sourceMappingURL=basic.defs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"basic.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/site/standard/theme/basic.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,UAAU,MAAM,iBAAiB,CA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AM,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,mBAAmB;gBAKhD,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,mBAAmB;sBAK1C,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,mBAAmB;EA+CG,CAAA"}
|
|
@@ -9,9 +9,9 @@ export { $nsid };
|
|
|
9
9
|
const main = /*#__PURE__*/ l.record('tid', $nsid,
|
|
10
10
|
/*#__PURE__*/ l.object({
|
|
11
11
|
accent: /*#__PURE__*/ l.typedUnion([/*#__PURE__*/ l.typedRef((() => ThemeColor.rgb))], false),
|
|
12
|
-
accentForeground: /*#__PURE__*/ l.typedUnion([/*#__PURE__*/ l.typedRef((() => ThemeColor.rgb))], false),
|
|
13
12
|
background: /*#__PURE__*/ l.typedUnion([/*#__PURE__*/ l.typedRef((() => ThemeColor.rgb))], false),
|
|
14
13
|
foreground: /*#__PURE__*/ l.typedUnion([/*#__PURE__*/ l.typedRef((() => ThemeColor.rgb))], false),
|
|
14
|
+
accentForeground: /*#__PURE__*/ l.typedUnion([/*#__PURE__*/ l.typedRef((() => ThemeColor.rgb))], false),
|
|
15
15
|
}));
|
|
16
16
|
export { main };
|
|
17
17
|
const $type = $nsid;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"basic.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/site/standard/theme/basic.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,UAAU,MAAM,iBAAiB,CAAA;AAE7C,MAAM,KAAK,GAAG,2BAA2B,CAAA;AAIzC,OAAO,EAAE,KAAK,EAAE,CAAA;AA6BhB,2JAA2J;AAC3J,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CACjC,KAAK,EACL,KAAK;AACL,aAAa,C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C,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 ThemeColor from './color.defs.js'\n\nconst $nsid = 'site.standard.theme.basic'\n\ntype $nsid = typeof $nsid\n\nexport { $nsid }\n\n/** A simplified theme definition for publications, providing basic color customization for content display across different platforms and applications. */\ntype Main = {\n $type: 'site.standard.theme.basic'\n\n /**\n * Color used for links and button backgrounds.\n */\n accent: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject\n\n /**\n * Color used for content background.\n */\n background: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject\n\n /**\n * Color used for content text.\n */\n foreground: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject\n\n /**\n * Color used for button text.\n */\n accentForeground: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject\n}\n\nexport type { Main }\n\n/** A simplified theme definition for publications, providing basic color customization for content display across different platforms and applications. */\nconst main = /*#__PURE__*/ l.record<'tid', Main>(\n 'tid',\n $nsid,\n /*#__PURE__*/ l.object({\n accent: /*#__PURE__*/ l.typedUnion(\n [/*#__PURE__*/ l.typedRef<ThemeColor.Rgb>((() => ThemeColor.rgb) as any)],\n false,\n ),\n background: /*#__PURE__*/ l.typedUnion(\n [/*#__PURE__*/ l.typedRef<ThemeColor.Rgb>((() => ThemeColor.rgb) as any)],\n false,\n ),\n foreground: /*#__PURE__*/ l.typedUnion(\n [/*#__PURE__*/ l.typedRef<ThemeColor.Rgb>((() => ThemeColor.rgb) as any)],\n false,\n ),\n accentForeground: /*#__PURE__*/ l.typedUnion(\n [/*#__PURE__*/ l.typedRef<ThemeColor.Rgb>((() => ThemeColor.rgb) as any)],\n false,\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":"defs.d.ts","sourceRoot":"","sources":["../../../../src/lexicons/social/grain/defs.ts"],"names":[],"mappings":"AAIA,cAAc,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { l } from '@atproto/lex';
|
|
2
|
+
declare const $nsid = "social.grain.defs";
|
|
3
|
+
type $nsid = typeof $nsid;
|
|
4
|
+
export { $nsid };
|
|
5
|
+
/** width:height represents an aspect ratio. It may be approximate, and may not correspond to absolute dimensions in any given unit. */
|
|
6
|
+
type AspectRatio = {
|
|
7
|
+
$type?: 'social.grain.defs#aspectRatio';
|
|
8
|
+
width: number;
|
|
9
|
+
height: number;
|
|
10
|
+
};
|
|
11
|
+
export type { AspectRatio };
|
|
12
|
+
/** width:height represents an aspect ratio. It may be approximate, and may not correspond to absolute dimensions in any given unit. */
|
|
13
|
+
declare const aspectRatio: l.TypedObjectSchema<"social.grain.defs#aspectRatio", l.Validator<AspectRatio, AspectRatio>>;
|
|
14
|
+
export { aspectRatio };
|
|
15
|
+
//# sourceMappingURL=defs.defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defs.defs.d.ts","sourceRoot":"","sources":["../../../../src/lexicons/social/grain/defs.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAEhC,QAAA,MAAM,KAAK,sBAAsB,CAAA;AAEjC,KAAK,KAAK,GAAG,OAAO,KAAK,CAAA;AAEzB,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,uIAAuI;AACvI,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,+BAA+B,CAAA;IACvC,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;CACf,CAAA;AAED,YAAY,EAAE,WAAW,EAAE,CAAA;AAE3B,uIAAuI;AACvI,QAAA,MAAM,WAAW,6FAOhB,CAAA;AAED,OAAO,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { l } from '@atproto/lex';
|
|
5
|
+
const $nsid = 'social.grain.defs';
|
|
6
|
+
export { $nsid };
|
|
7
|
+
/** width:height represents an aspect ratio. It may be approximate, and may not correspond to absolute dimensions in any given unit. */
|
|
8
|
+
const aspectRatio = /*#__PURE__*/ l.typedObject($nsid, 'aspectRatio',
|
|
9
|
+
/*#__PURE__*/ l.object({
|
|
10
|
+
width: /*#__PURE__*/ l.integer({ minimum: 1 }),
|
|
11
|
+
height: /*#__PURE__*/ l.integer({ minimum: 1 }),
|
|
12
|
+
}));
|
|
13
|
+
export { aspectRatio };
|
|
14
|
+
//# sourceMappingURL=defs.defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defs.defs.js","sourceRoot":"","sources":["../../../../src/lexicons/social/grain/defs.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAEhC,MAAM,KAAK,GAAG,mBAAmB,CAAA;AAIjC,OAAO,EAAE,KAAK,EAAE,CAAA;AAWhB,uIAAuI;AACvI,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAC7C,KAAK,EACL,aAAa;AACb,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACrB,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IAC9C,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;CAChD,CAAC,CACH,CAAA;AAED,OAAO,EAAE,WAAW,EAAE,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.defs'\n\ntype $nsid = typeof $nsid\n\nexport { $nsid }\n\n/** width:height represents an aspect ratio. It may be approximate, and may not correspond to absolute dimensions in any given unit. */\ntype AspectRatio = {\n $type?: 'social.grain.defs#aspectRatio'\n width: number\n height: number\n}\n\nexport type { AspectRatio }\n\n/** width:height represents an aspect ratio. It may be approximate, and may not correspond to absolute dimensions in any given unit. */\nconst aspectRatio = /*#__PURE__*/ l.typedObject<AspectRatio>(\n $nsid,\n 'aspectRatio',\n /*#__PURE__*/ l.object({\n width: /*#__PURE__*/ l.integer({ minimum: 1 }),\n height: /*#__PURE__*/ l.integer({ minimum: 1 }),\n }),\n)\n\nexport { aspectRatio }\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../src/lexicons/social/grain/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":"favorite.d.ts","sourceRoot":"","sources":["../../../../src/lexicons/social/grain/favorite.ts"],"names":[],"mappings":"AAIA,cAAc,oBAAoB,CAAA;AAClC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,oBAAoB,CAAA"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { l } from '@atproto/lex';
|
|
2
|
+
declare const $nsid = "social.grain.favorite";
|
|
3
|
+
type $nsid = typeof $nsid;
|
|
4
|
+
export { $nsid };
|
|
5
|
+
type Main = {
|
|
6
|
+
$type: 'social.grain.favorite';
|
|
7
|
+
subject: l.AtUriString;
|
|
8
|
+
createdAt: l.DatetimeString;
|
|
9
|
+
};
|
|
10
|
+
export type { Main };
|
|
11
|
+
declare const main: l.RecordSchema<"tid", "social.grain.favorite", l.Validator<Omit<Main, "$type">, Omit<Main, "$type">>>;
|
|
12
|
+
export { main };
|
|
13
|
+
declare const $type = "social.grain.favorite";
|
|
14
|
+
type $type = typeof $type;
|
|
15
|
+
export { $type };
|
|
16
|
+
export declare const $isTypeOf: <TValue extends {
|
|
17
|
+
$type?: unknown;
|
|
18
|
+
}>(value: TValue) => value is l.TypedRecord<"social.grain.favorite", TValue>;
|
|
19
|
+
export declare const $build: {
|
|
20
|
+
(input: Omit<Omit<Main, "$type">, "$type">): {
|
|
21
|
+
$type: "social.grain.favorite";
|
|
22
|
+
subject: l.AtUriString;
|
|
23
|
+
createdAt: l.DatetimeString;
|
|
24
|
+
};
|
|
25
|
+
(input: Omit<Omit<Main, "$type">, "$type">): {
|
|
26
|
+
$type: "social.grain.favorite";
|
|
27
|
+
subject: l.AtUriString;
|
|
28
|
+
createdAt: l.DatetimeString;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export declare const $assert: (input: unknown, options?: l.ValidateOptions) => asserts input is {
|
|
32
|
+
$type: "social.grain.favorite";
|
|
33
|
+
subject: l.AtUriString;
|
|
34
|
+
createdAt: l.DatetimeString;
|
|
35
|
+
};
|
|
36
|
+
export declare const $check: (input: unknown, options?: l.ValidateOptions) => void;
|
|
37
|
+
export declare const $cast: <I>(input: I, options?: l.ValidateOptions) => I & {
|
|
38
|
+
$type: "social.grain.favorite";
|
|
39
|
+
subject: l.AtUriString;
|
|
40
|
+
createdAt: l.DatetimeString;
|
|
41
|
+
};
|
|
42
|
+
export declare const $ifMatches: <I>(input: I, options?: l.ValidateOptions) => (I & {
|
|
43
|
+
$type: "social.grain.favorite";
|
|
44
|
+
subject: l.AtUriString;
|
|
45
|
+
createdAt: l.DatetimeString;
|
|
46
|
+
}) | undefined;
|
|
47
|
+
export declare const $matches: <I>(input: I, options?: l.ValidateOptions) => input is I & {
|
|
48
|
+
$type: "social.grain.favorite";
|
|
49
|
+
subject: l.AtUriString;
|
|
50
|
+
createdAt: l.DatetimeString;
|
|
51
|
+
};
|
|
52
|
+
export declare const $parse: (input: unknown, options?: l.ParseOptions) => {
|
|
53
|
+
$type: "social.grain.favorite";
|
|
54
|
+
subject: l.AtUriString;
|
|
55
|
+
createdAt: l.DatetimeString;
|
|
56
|
+
};
|
|
57
|
+
export declare const $safeParse: (input: unknown, options?: l.ParseOptions) => l.ValidationResult<{
|
|
58
|
+
$type: "social.grain.favorite";
|
|
59
|
+
subject: l.AtUriString;
|
|
60
|
+
createdAt: l.DatetimeString;
|
|
61
|
+
}>;
|
|
62
|
+
export declare const $validate: <I>(input: I, options?: l.ValidateOptions) => I & {
|
|
63
|
+
$type: "social.grain.favorite";
|
|
64
|
+
subject: l.AtUriString;
|
|
65
|
+
createdAt: l.DatetimeString;
|
|
66
|
+
};
|
|
67
|
+
export declare const $safeValidate: <I>(input: I, options?: l.ValidateOptions) => l.ValidationResult<I & {
|
|
68
|
+
$type: "social.grain.favorite";
|
|
69
|
+
subject: l.AtUriString;
|
|
70
|
+
createdAt: l.DatetimeString;
|
|
71
|
+
}>;
|
|
72
|
+
//# sourceMappingURL=favorite.defs.d.ts.map
|