@atproto/bsky 0.0.240 → 0.0.242
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 +29 -0
- package/dist/api/age-assurance/const.d.ts +1 -1
- package/dist/api/age-assurance/index.d.ts.map +1 -1
- package/dist/api/age-assurance/kws/age-verified.d.ts +13 -13
- package/dist/api/age-assurance/kws/age-verified.d.ts.map +1 -1
- package/dist/api/age-assurance/kws/external-payload.d.ts +4 -4
- package/dist/api/age-assurance/redirects/kws-age-verified.d.ts.map +1 -1
- package/dist/api/age-assurance/webhooks/kws-age-verified.d.ts.map +1 -1
- package/dist/api/app/bsky/bookmark/util.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getAuthorFeed.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getAuthorFeed.js.map +1 -1
- package/dist/api/app/bsky/feed/getListFeed.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getTimeline.d.ts.map +1 -1
- package/dist/api/app/bsky/notification/listNotifications.d.ts.map +1 -1
- package/dist/api/app/bsky/notification/util.d.ts.map +1 -1
- package/dist/api/external.d.ts.map +1 -1
- package/dist/api/health.d.ts.map +1 -1
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +3 -0
- package/dist/api/index.js.map +1 -1
- package/dist/api/internal/bsky/actor/getProfiles.d.ts +4 -0
- package/dist/api/internal/bsky/actor/getProfiles.d.ts.map +1 -0
- package/dist/api/internal/bsky/actor/getProfiles.js +39 -0
- package/dist/api/internal/bsky/actor/getProfiles.js.map +1 -0
- package/dist/api/kws/api.d.ts.map +1 -1
- package/dist/api/kws/index.d.ts.map +1 -1
- package/dist/api/kws/types.d.ts +6 -6
- package/dist/api/kws/util.d.ts +1 -1
- package/dist/api/kws/util.d.ts.map +1 -1
- package/dist/api/kws/webhook.d.ts.map +1 -1
- package/dist/api/sitemap.d.ts.map +1 -1
- package/dist/api/util.d.ts.map +1 -1
- package/dist/api/well-known.d.ts.map +1 -1
- package/dist/auth-verifier.d.ts +2 -2
- package/dist/auth-verifier.d.ts.map +1 -1
- package/dist/bsync.d.ts.map +1 -1
- package/dist/cache/read-through.d.ts.map +1 -1
- package/dist/cache/read-through.js.map +1 -1
- package/dist/config.d.ts +4 -4
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js.map +1 -1
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js.map +1 -1
- package/dist/courier.d.ts.map +1 -1
- package/dist/data-plane/bsync/index.d.ts.map +1 -1
- package/dist/data-plane/bsync/index.js.map +1 -1
- package/dist/data-plane/client/hosts.d.ts.map +1 -1
- package/dist/data-plane/client/index.d.ts.map +1 -1
- package/dist/data-plane/client/util.d.ts.map +1 -1
- package/dist/data-plane/server/background.d.ts.map +1 -1
- package/dist/data-plane/server/db/db.d.ts.map +1 -1
- package/dist/data-plane/server/db/migrations/provider.d.ts.map +1 -1
- package/dist/data-plane/server/db/migrations/provider.js.map +1 -1
- package/dist/data-plane/server/db/pagination.d.ts +1 -1
- package/dist/data-plane/server/db/pagination.d.ts.map +1 -1
- package/dist/data-plane/server/db/pagination.js.map +1 -1
- package/dist/data-plane/server/db/util.d.ts.map +1 -1
- package/dist/data-plane/server/index.d.ts.map +1 -1
- package/dist/data-plane/server/index.js.map +1 -1
- package/dist/data-plane/server/indexing/index.d.ts +78 -78
- package/dist/data-plane/server/indexing/index.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/index.js.map +1 -1
- package/dist/data-plane/server/indexing/plugins/block.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/plugins/chat-declaration.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/plugins/feed-generator.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/plugins/follow.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/plugins/germ-declaration.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/plugins/labeler.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/plugins/like.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/plugins/list-block.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/plugins/list-item.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/plugins/list.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/plugins/notif-declaration.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/plugins/post-gate.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/plugins/post.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/plugins/profile.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/plugins/repost.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/plugins/starter-pack.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/plugins/status.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/plugins/thread-gate.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/plugins/verification.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/processor.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/processor.js.map +1 -1
- package/dist/data-plane/server/routes/activity-subscription.d.ts.map +1 -1
- package/dist/data-plane/server/routes/blocks.d.ts.map +1 -1
- package/dist/data-plane/server/routes/bookmarks.d.ts.map +1 -1
- package/dist/data-plane/server/routes/drafts.d.ts.map +1 -1
- package/dist/data-plane/server/routes/feed-gens.d.ts.map +1 -1
- package/dist/data-plane/server/routes/feeds.d.ts.map +1 -1
- package/dist/data-plane/server/routes/follows.d.ts.map +1 -1
- package/dist/data-plane/server/routes/identity.d.ts.map +1 -1
- package/dist/data-plane/server/routes/index.d.ts.map +1 -1
- package/dist/data-plane/server/routes/interactions.d.ts.map +1 -1
- package/dist/data-plane/server/routes/labels.d.ts.map +1 -1
- package/dist/data-plane/server/routes/likes.d.ts.map +1 -1
- package/dist/data-plane/server/routes/lists.d.ts.map +1 -1
- package/dist/data-plane/server/routes/moderation.d.ts.map +1 -1
- package/dist/data-plane/server/routes/mutes.d.ts.map +1 -1
- package/dist/data-plane/server/routes/notifs.d.ts.map +1 -1
- package/dist/data-plane/server/routes/profile.d.ts.map +1 -1
- package/dist/data-plane/server/routes/quotes.d.ts.map +1 -1
- package/dist/data-plane/server/routes/records.d.ts.map +1 -1
- package/dist/data-plane/server/routes/relationships.d.ts.map +1 -1
- package/dist/data-plane/server/routes/reposts.d.ts.map +1 -1
- package/dist/data-plane/server/routes/search.d.ts.map +1 -1
- package/dist/data-plane/server/routes/site-standard.d.ts.map +1 -1
- package/dist/data-plane/server/routes/sitemap.d.ts.map +1 -1
- package/dist/data-plane/server/routes/starter-packs.d.ts.map +1 -1
- package/dist/data-plane/server/routes/suggestions.d.ts.map +1 -1
- package/dist/data-plane/server/routes/sync.d.ts.map +1 -1
- package/dist/data-plane/server/routes/threads.d.ts.map +1 -1
- package/dist/data-plane/server/subscription.d.ts.map +1 -1
- package/dist/data-plane/server/subscription.js.map +1 -1
- package/dist/data-plane/server/util.d.ts +7 -7
- package/dist/data-plane/server/util.d.ts.map +1 -1
- package/dist/etcd.d.ts.map +1 -1
- package/dist/etcd.js.map +1 -1
- package/dist/feature-gates/index.d.ts.map +1 -1
- package/dist/feature-gates/metrics.d.ts.map +1 -1
- package/dist/feature-gates/metrics.js.map +1 -1
- package/dist/hydration/actor.d.ts.map +1 -1
- package/dist/hydration/actor.js.map +1 -1
- package/dist/hydration/external.d.ts.map +1 -1
- package/dist/hydration/external.js.map +1 -1
- package/dist/hydration/feed.d.ts.map +1 -1
- package/dist/hydration/feed.js.map +1 -1
- package/dist/hydration/graph.d.ts.map +1 -1
- package/dist/hydration/graph.js.map +1 -1
- package/dist/hydration/hydrator.d.ts +4 -2
- package/dist/hydration/hydrator.d.ts.map +1 -1
- package/dist/hydration/hydrator.js +20 -18
- package/dist/hydration/hydrator.js.map +1 -1
- package/dist/hydration/label.d.ts.map +1 -1
- package/dist/hydration/label.js.map +1 -1
- package/dist/hydration/util.d.ts.map +1 -1
- package/dist/image/invalidator.d.ts.map +1 -1
- package/dist/image/invalidator.js.map +1 -1
- package/dist/image/logger.d.ts.map +1 -1
- package/dist/image/server.d.ts.map +1 -1
- package/dist/image/server.js.map +1 -1
- package/dist/image/sharp.d.ts +1 -1
- package/dist/image/uri.d.ts.map +1 -1
- package/dist/image/uri.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/kws.d.ts.map +1 -1
- package/dist/kws.js.map +1 -1
- package/dist/lexicons/app/bsky/actor/defs.defs.d.ts +75 -155
- package/dist/lexicons/app/bsky/actor/defs.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/actor/profile.defs.d.ts +100 -300
- package/dist/lexicons/app/bsky/actor/profile.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/actor/status.defs.d.ts +40 -40
- package/dist/lexicons/app/bsky/actor/status.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/draft/defs.defs.d.ts +4 -4
- package/dist/lexicons/app/bsky/draft/defs.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/embed/external.defs.d.ts +10 -10
- package/dist/lexicons/app/bsky/embed/gallery.defs.d.ts +10 -42
- package/dist/lexicons/app/bsky/embed/gallery.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/embed/images.defs.d.ts +10 -10
- package/dist/lexicons/app/bsky/embed/record.defs.d.ts +10 -10
- package/dist/lexicons/app/bsky/embed/recordWithMedia.defs.d.ts +10 -10
- package/dist/lexicons/app/bsky/embed/video.defs.d.ts +50 -162
- package/dist/lexicons/app/bsky/embed/video.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/feed/generator.defs.d.ts +80 -160
- package/dist/lexicons/app/bsky/feed/generator.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/feed/like.defs.d.ts +30 -30
- package/dist/lexicons/app/bsky/feed/like.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/feed/post.defs.d.ts +80 -200
- package/dist/lexicons/app/bsky/feed/post.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/feed/postgate.defs.d.ts +40 -80
- package/dist/lexicons/app/bsky/feed/postgate.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/feed/repost.defs.d.ts +30 -30
- package/dist/lexicons/app/bsky/feed/repost.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/feed/threadgate.defs.d.ts +30 -30
- package/dist/lexicons/app/bsky/feed/threadgate.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/graph/block.defs.d.ts +20 -20
- package/dist/lexicons/app/bsky/graph/block.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/graph/follow.defs.d.ts +30 -30
- package/dist/lexicons/app/bsky/graph/follow.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/graph/list.defs.d.ts +70 -70
- package/dist/lexicons/app/bsky/graph/list.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/graph/listblock.defs.d.ts +20 -20
- package/dist/lexicons/app/bsky/graph/listblock.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/graph/listitem.defs.d.ts +20 -20
- package/dist/lexicons/app/bsky/graph/listitem.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/graph/starterpack.defs.d.ts +50 -90
- package/dist/lexicons/app/bsky/graph/starterpack.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/graph/verification.defs.d.ts +30 -30
- package/dist/lexicons/app/bsky/graph/verification.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/labeler/service.defs.d.ts +60 -140
- package/dist/lexicons/app/bsky/labeler/service.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/notification/declaration.defs.d.ts +10 -10
- package/dist/lexicons/app/bsky/notification/declaration.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/richtext/facet.defs.d.ts +10 -10
- package/dist/lexicons/chat/bsky/actor/declaration.defs.d.ts +20 -20
- package/dist/lexicons/chat/bsky/actor/declaration.defs.d.ts.map +1 -1
- package/dist/lexicons/chat/bsky/convo/defs.defs.d.ts +17 -0
- package/dist/lexicons/chat/bsky/convo/defs.defs.d.ts.map +1 -1
- package/dist/lexicons/chat/bsky/convo/defs.defs.js +11 -0
- package/dist/lexicons/chat/bsky/convo/defs.defs.js.map +1 -1
- package/dist/lexicons/chat/bsky/convo/getUnreadCounts.d.ts +3 -0
- package/dist/lexicons/chat/bsky/convo/getUnreadCounts.d.ts.map +1 -0
- package/dist/lexicons/chat/bsky/convo/getUnreadCounts.defs.d.ts +23 -0
- package/dist/lexicons/chat/bsky/convo/getUnreadCounts.defs.d.ts.map +1 -0
- package/dist/lexicons/chat/bsky/convo/getUnreadCounts.defs.js +19 -0
- package/dist/lexicons/chat/bsky/convo/getUnreadCounts.defs.js.map +1 -0
- package/dist/lexicons/chat/bsky/convo/getUnreadCounts.js +6 -0
- package/dist/lexicons/chat/bsky/convo/getUnreadCounts.js.map +1 -0
- package/dist/lexicons/chat/bsky/convo/sendMessage.defs.d.ts +1 -1
- package/dist/lexicons/chat/bsky/convo/sendMessage.defs.d.ts.map +1 -1
- package/dist/lexicons/chat/bsky/convo/sendMessage.defs.js +1 -0
- package/dist/lexicons/chat/bsky/convo/sendMessage.defs.js.map +1 -1
- package/dist/lexicons/chat/bsky/convo/sendMessageBatch.defs.d.ts +1 -1
- package/dist/lexicons/chat/bsky/convo/sendMessageBatch.defs.d.ts.map +1 -1
- package/dist/lexicons/chat/bsky/convo/sendMessageBatch.defs.js +1 -0
- package/dist/lexicons/chat/bsky/convo/sendMessageBatch.defs.js.map +1 -1
- package/dist/lexicons/chat/bsky/convo.d.ts +1 -0
- package/dist/lexicons/chat/bsky/convo.d.ts.map +1 -1
- package/dist/lexicons/chat/bsky/convo.js +1 -0
- package/dist/lexicons/chat/bsky/convo.js.map +1 -1
- package/dist/lexicons/chat/bsky/embed/joinLink.defs.d.ts +10 -42
- package/dist/lexicons/chat/bsky/embed/joinLink.defs.d.ts.map +1 -1
- package/dist/lexicons/chat/bsky/group/createGroup.defs.d.ts +1 -1
- package/dist/lexicons/chat/bsky/group/createGroup.defs.js +1 -1
- package/dist/lexicons/chat/bsky/group/createGroup.defs.js.map +1 -1
- package/dist/lexicons/com/atproto/lexicon/schema.defs.d.ts +10 -10
- package/dist/lexicons/com/atproto/lexicon/schema.defs.d.ts.map +1 -1
- package/dist/lexicons/com/atproto/repo/strongRef.defs.d.ts +10 -10
- package/dist/lexicons/com/germnetwork/declaration.defs.d.ts +40 -120
- package/dist/lexicons/com/germnetwork/declaration.defs.d.ts.map +1 -1
- package/dist/lexicons/index.d.ts +1 -0
- package/dist/lexicons/index.d.ts.map +1 -1
- package/dist/lexicons/index.js +1 -0
- package/dist/lexicons/index.js.map +1 -1
- package/dist/lexicons/internal/bsky/actor/getProfiles.d.ts +3 -0
- package/dist/lexicons/internal/bsky/actor/getProfiles.d.ts.map +1 -0
- package/dist/lexicons/internal/bsky/actor/getProfiles.defs.d.ts +38 -0
- package/dist/lexicons/internal/bsky/actor/getProfiles.defs.d.ts.map +1 -0
- package/dist/lexicons/internal/bsky/actor/getProfiles.defs.js +26 -0
- package/dist/lexicons/internal/bsky/actor/getProfiles.defs.js.map +1 -0
- package/dist/lexicons/internal/bsky/actor/getProfiles.js +6 -0
- package/dist/lexicons/internal/bsky/actor/getProfiles.js.map +1 -0
- package/dist/lexicons/internal/bsky/actor.d.ts +2 -0
- package/dist/lexicons/internal/bsky/actor.d.ts.map +1 -0
- package/dist/lexicons/internal/bsky/actor.js +5 -0
- package/dist/lexicons/internal/bsky/actor.js.map +1 -0
- package/dist/lexicons/internal/bsky.d.ts +2 -0
- package/dist/lexicons/internal/bsky.d.ts.map +1 -0
- package/dist/lexicons/internal/bsky.js +5 -0
- package/dist/lexicons/internal/bsky.js.map +1 -0
- package/dist/lexicons/internal.d.ts +2 -0
- package/dist/lexicons/internal.d.ts.map +1 -0
- package/dist/lexicons/internal.js +5 -0
- package/dist/lexicons/internal.js.map +1 -0
- package/dist/lexicons/site/standard/document.defs.d.ts +140 -460
- package/dist/lexicons/site/standard/document.defs.d.ts.map +1 -1
- package/dist/lexicons/site/standard/graph/recommend.defs.d.ts +10 -10
- package/dist/lexicons/site/standard/graph/recommend.defs.d.ts.map +1 -1
- package/dist/lexicons/site/standard/graph/subscription.defs.d.ts +20 -60
- package/dist/lexicons/site/standard/graph/subscription.defs.d.ts.map +1 -1
- package/dist/lexicons/site/standard/publication.defs.d.ts +60 -220
- package/dist/lexicons/site/standard/publication.defs.d.ts.map +1 -1
- package/dist/lexicons/site/standard/theme/basic.defs.d.ts +10 -10
- package/dist/lexicons/site/standard/theme/basic.defs.d.ts.map +1 -1
- package/dist/lexicons/tools/ozone/moderation/queryStatuses.defs.d.ts +2 -2
- package/dist/lexicons/tools/ozone/set/querySets.defs.d.ts +2 -2
- package/dist/pipeline.d.ts.map +1 -1
- package/dist/proto/bsky_connect.d.ts.map +1 -1
- package/dist/proto/bsky_pb.d.ts.map +1 -1
- package/dist/proto/bsky_pb.js.map +1 -1
- package/dist/proto/bsync_connect.d.ts.map +1 -1
- package/dist/proto/bsync_pb.d.ts.map +1 -1
- package/dist/proto/bsync_pb.js.map +1 -1
- package/dist/proto/courier_connect.d.ts.map +1 -1
- package/dist/proto/courier_pb.d.ts.map +1 -1
- package/dist/proto/courier_pb.js.map +1 -1
- package/dist/proto/rolodex_connect.d.ts.map +1 -1
- package/dist/proto/rolodex_pb.d.ts.map +1 -1
- package/dist/proto/rolodex_pb.js.map +1 -1
- package/dist/redis.d.ts.map +1 -1
- package/dist/rolodex.d.ts.map +1 -1
- package/dist/stash.d.ts.map +1 -1
- package/dist/stash.js.map +1 -1
- package/dist/util/debug.d.ts.map +1 -1
- package/dist/util/standard-site.d.ts.map +1 -1
- package/dist/util.d.ts.map +1 -1
- package/dist/views/index.d.ts.map +1 -1
- package/dist/views/types.d.ts +1 -1
- package/dist/views/types.d.ts.map +1 -1
- package/dist/views/util.d.ts.map +1 -1
- package/dist/views/util.js.map +1 -1
- package/package.json +15 -16
- package/src/api/index.ts +3 -0
- package/src/api/internal/bsky/actor/getProfiles.ts +87 -0
- package/src/hydration/hydrator.ts +29 -28
- package/tests/data-plane/subscription.test.ts +16 -14
- package/tests/views/internal-actor.test.ts +129 -0
- package/tsconfig.build.tsbuildinfo +1 -1
|
@@ -122,13 +122,13 @@ type DraftEmbedGalleryItems = (l.$Typed<DraftEmbedImage> | l.Unknown$TypedObject
|
|
|
122
122
|
export type { DraftEmbedGalleryItems };
|
|
123
123
|
/** The schema-level maxLength of 20 is a future-proof ceiling. Clients should currently enforce a soft limit of 10 items in authoring UIs. */
|
|
124
124
|
declare const draftEmbedGalleryItems: l.ArraySchema<l.Validator<l.Unknown$TypedObject | {
|
|
125
|
-
$type:
|
|
125
|
+
$type: 'app.bsky.draft.defs#draftEmbedImage';
|
|
126
126
|
localRef: DraftEmbedLocalRef;
|
|
127
|
-
alt?: string
|
|
127
|
+
alt?: string;
|
|
128
128
|
}, l.Unknown$TypedObject | {
|
|
129
|
-
$type:
|
|
129
|
+
$type: 'app.bsky.draft.defs#draftEmbedImage';
|
|
130
130
|
localRef: DraftEmbedLocalRef;
|
|
131
|
-
alt?: string
|
|
131
|
+
alt?: string;
|
|
132
132
|
}>>;
|
|
133
133
|
export { draftEmbedGalleryItems };
|
|
134
134
|
type DraftEmbedImage = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defs.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/draft/defs.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,YAAY,MAAM,0BAA0B,CAAA;AACxD,OAAO,KAAK,cAAc,MAAM,4BAA4B,CAAA;AAC5D,OAAO,KAAK,SAAS,MAAM,yCAAyC,CAAA;AACpE,OAAO,KAAK,aAAa,MAAM,6CAA6C,CAAA;AAE5E,QAAA,MAAM,KAAK,wBAAwB,CAAA;AAEnC,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,mFAAmF;AACnF,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,iCAAiC,CAA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,EAAE,CAAA;AAElC,QAAA,MAAM,kBAAkB,oHAIvB,CAAA;AAED,OAAO,EAAE,kBAAkB,EAAE,CAAA;AAE7B,KAAK,gBAAgB,GAAG;IACtB,KAAK,CAAC,EAAE,sCAAsC,CAAA;IAC9C,MAAM,EAAE,aAAa,CAAC,IAAI,CAAA;CAC3B,CAAA;AAED,YAAY,EAAE,gBAAgB,EAAE,CAAA;AAEhC,QAAA,MAAM,gBAAgB,8GAQrB,CAAA;AAED,OAAO,EAAE,gBAAgB,EAAE,CAAA"}
|
|
@@ -17,45 +17,45 @@ export declare const $type = "app.bsky.embed.external";
|
|
|
17
17
|
export declare const $isTypeOf: <TValue extends Record<string, unknown>>(value: TValue) => value is l.MaybeTypedObject<"app.bsky.embed.external", TValue>;
|
|
18
18
|
export declare const $build: {
|
|
19
19
|
(input: Omit<Main, "$type">): {
|
|
20
|
-
$type:
|
|
20
|
+
$type: 'app.bsky.embed.external';
|
|
21
21
|
external: External;
|
|
22
22
|
};
|
|
23
23
|
(input: Omit<Main, "$type">): {
|
|
24
|
-
$type:
|
|
24
|
+
$type: 'app.bsky.embed.external';
|
|
25
25
|
external: External;
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
28
|
export declare const $assert: (input: unknown, options?: l.ValidateOptions) => asserts input is {
|
|
29
|
-
$type?:
|
|
29
|
+
$type?: 'app.bsky.embed.external';
|
|
30
30
|
external: External;
|
|
31
31
|
};
|
|
32
32
|
export declare const $check: (input: unknown, options?: l.ValidateOptions) => void;
|
|
33
33
|
export declare const $cast: <I>(input: I, options?: l.ValidateOptions) => I & {
|
|
34
|
-
$type?:
|
|
34
|
+
$type?: 'app.bsky.embed.external';
|
|
35
35
|
external: External;
|
|
36
36
|
};
|
|
37
37
|
export declare const $ifMatches: <I>(input: I, options?: l.ValidateOptions) => (I & {
|
|
38
|
-
$type?:
|
|
38
|
+
$type?: 'app.bsky.embed.external';
|
|
39
39
|
external: External;
|
|
40
40
|
}) | undefined;
|
|
41
41
|
export declare const $matches: <I>(input: I, options?: l.ValidateOptions) => input is I & {
|
|
42
|
-
$type?:
|
|
42
|
+
$type?: 'app.bsky.embed.external';
|
|
43
43
|
external: External;
|
|
44
44
|
};
|
|
45
45
|
export declare const $parse: (input: unknown, options?: l.ParseOptions) => {
|
|
46
|
-
$type?:
|
|
46
|
+
$type?: 'app.bsky.embed.external';
|
|
47
47
|
external: External;
|
|
48
48
|
};
|
|
49
49
|
export declare const $safeParse: (input: unknown, options?: l.ParseOptions) => l.ValidationResult<{
|
|
50
|
-
$type?:
|
|
50
|
+
$type?: 'app.bsky.embed.external';
|
|
51
51
|
external: External;
|
|
52
52
|
}>;
|
|
53
53
|
export declare const $validate: <I>(input: I, options?: l.ValidateOptions) => I & {
|
|
54
|
-
$type?:
|
|
54
|
+
$type?: 'app.bsky.embed.external';
|
|
55
55
|
external: External;
|
|
56
56
|
};
|
|
57
57
|
export declare const $safeValidate: <I>(input: I, options?: l.ValidateOptions) => l.ValidationResult<I & {
|
|
58
|
-
$type?:
|
|
58
|
+
$type?: 'app.bsky.embed.external';
|
|
59
59
|
external: External;
|
|
60
60
|
}>;
|
|
61
61
|
type External = {
|
|
@@ -16,77 +16,45 @@ export declare const $type = "app.bsky.embed.gallery";
|
|
|
16
16
|
export declare const $isTypeOf: <TValue extends Record<string, unknown>>(value: TValue) => value is l.MaybeTypedObject<"app.bsky.embed.gallery", TValue>;
|
|
17
17
|
export declare const $build: {
|
|
18
18
|
(input: Omit<Main, "$type">): {
|
|
19
|
-
$type:
|
|
19
|
+
$type: 'app.bsky.embed.gallery';
|
|
20
20
|
items: (l.$Typed<Image> | l.Unknown$TypedObject)[];
|
|
21
21
|
};
|
|
22
22
|
(input: Omit<Main, "$type">): {
|
|
23
|
-
$type:
|
|
23
|
+
$type: 'app.bsky.embed.gallery';
|
|
24
24
|
items: (l.$Typed<Image> | l.Unknown$TypedObject)[];
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
27
|
export declare const $assert: (input: unknown, options?: l.ValidateOptions) => asserts input is {
|
|
28
|
-
$type?:
|
|
29
|
-
/**
|
|
30
|
-
* The schema-level maxLength of 20 is a future-proof ceiling. Clients should currently enforce a soft limit of 10 items in authoring UIs.
|
|
31
|
-
*/
|
|
32
|
-
| undefined;
|
|
28
|
+
$type?: 'app.bsky.embed.gallery';
|
|
33
29
|
items: (l.$Typed<Image> | l.Unknown$TypedObject)[];
|
|
34
30
|
};
|
|
35
31
|
export declare const $check: (input: unknown, options?: l.ValidateOptions) => void;
|
|
36
32
|
export declare const $cast: <I>(input: I, options?: l.ValidateOptions) => I & {
|
|
37
|
-
$type?:
|
|
38
|
-
/**
|
|
39
|
-
* The schema-level maxLength of 20 is a future-proof ceiling. Clients should currently enforce a soft limit of 10 items in authoring UIs.
|
|
40
|
-
*/
|
|
41
|
-
| undefined;
|
|
33
|
+
$type?: 'app.bsky.embed.gallery';
|
|
42
34
|
items: (l.$Typed<Image> | l.Unknown$TypedObject)[];
|
|
43
35
|
};
|
|
44
36
|
export declare const $ifMatches: <I>(input: I, options?: l.ValidateOptions) => (I & {
|
|
45
|
-
$type?:
|
|
46
|
-
/**
|
|
47
|
-
* The schema-level maxLength of 20 is a future-proof ceiling. Clients should currently enforce a soft limit of 10 items in authoring UIs.
|
|
48
|
-
*/
|
|
49
|
-
| undefined;
|
|
37
|
+
$type?: 'app.bsky.embed.gallery';
|
|
50
38
|
items: (l.$Typed<Image> | l.Unknown$TypedObject)[];
|
|
51
39
|
}) | undefined;
|
|
52
40
|
export declare const $matches: <I>(input: I, options?: l.ValidateOptions) => input is I & {
|
|
53
|
-
$type?:
|
|
54
|
-
/**
|
|
55
|
-
* The schema-level maxLength of 20 is a future-proof ceiling. Clients should currently enforce a soft limit of 10 items in authoring UIs.
|
|
56
|
-
*/
|
|
57
|
-
| undefined;
|
|
41
|
+
$type?: 'app.bsky.embed.gallery';
|
|
58
42
|
items: (l.$Typed<Image> | l.Unknown$TypedObject)[];
|
|
59
43
|
};
|
|
60
44
|
export declare const $parse: (input: unknown, options?: l.ParseOptions) => {
|
|
61
|
-
$type?:
|
|
62
|
-
/**
|
|
63
|
-
* The schema-level maxLength of 20 is a future-proof ceiling. Clients should currently enforce a soft limit of 10 items in authoring UIs.
|
|
64
|
-
*/
|
|
65
|
-
| undefined;
|
|
45
|
+
$type?: 'app.bsky.embed.gallery';
|
|
66
46
|
items: (l.$Typed<Image> | l.Unknown$TypedObject)[];
|
|
67
47
|
};
|
|
68
48
|
export declare const $safeParse: (input: unknown, options?: l.ParseOptions) => l.ValidationResult<{
|
|
69
|
-
$type?:
|
|
70
|
-
/**
|
|
71
|
-
* The schema-level maxLength of 20 is a future-proof ceiling. Clients should currently enforce a soft limit of 10 items in authoring UIs.
|
|
72
|
-
*/
|
|
73
|
-
| undefined;
|
|
49
|
+
$type?: 'app.bsky.embed.gallery';
|
|
74
50
|
items: (l.$Typed<Image> | l.Unknown$TypedObject)[];
|
|
75
51
|
}>;
|
|
76
52
|
export declare const $validate: <I>(input: I, options?: l.ValidateOptions) => I & {
|
|
77
|
-
$type?:
|
|
78
|
-
/**
|
|
79
|
-
* The schema-level maxLength of 20 is a future-proof ceiling. Clients should currently enforce a soft limit of 10 items in authoring UIs.
|
|
80
|
-
*/
|
|
81
|
-
| undefined;
|
|
53
|
+
$type?: 'app.bsky.embed.gallery';
|
|
82
54
|
items: (l.$Typed<Image> | l.Unknown$TypedObject)[];
|
|
83
55
|
};
|
|
84
56
|
export declare const $safeValidate: <I>(input: I, options?: l.ValidateOptions) => l.ValidationResult<I & {
|
|
85
|
-
$type?:
|
|
86
|
-
/**
|
|
87
|
-
* The schema-level maxLength of 20 is a future-proof ceiling. Clients should currently enforce a soft limit of 10 items in authoring UIs.
|
|
88
|
-
*/
|
|
89
|
-
| undefined;
|
|
57
|
+
$type?: 'app.bsky.embed.gallery';
|
|
90
58
|
items: (l.$Typed<Image> | l.Unknown$TypedObject)[];
|
|
91
59
|
}>;
|
|
92
60
|
type Image = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gallery.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/embed/gallery.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAA;AAE3C,QAAA,MAAM,KAAK,2BAA2B,CAAA;AAEtC,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,KAAK,IAAI,GAAG;IACV,KAAK,CAAC,EAAE,wBAAwB,CAAA;IAEhC;;OAEG;IACH,KAAK,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,mBAAmB,CAAC,EAAE,CAAA;CACnD,CAAA;AAED,YAAY,EAAE,IAAI,EAAE,CAAA;AAEpB,QAAA,MAAM,IAAI,wEAYT,CAAA;AAED,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,eAAO,MAAM,KAAK,2BAAQ,CAAA;AAC1B,eAAO,MAAM,SAAS,0HAAyC,CAAA;AAC/D,eAAO,MAAM,MAAM;;eA5BT,wBAAwB;eAKzB,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,mBAAmB,CAAC,EAAE;;;eAL1C,wBAAwB;eAKzB,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,mBAAmB,CAAC,EAAE;;CAuBK,CAAA;AACzD,eAAO,MAAM,OAAO;YA7BV,wBAAwB;
|
|
1
|
+
{"version":3,"file":"gallery.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/embed/gallery.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAA;AAE3C,QAAA,MAAM,KAAK,2BAA2B,CAAA;AAEtC,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,KAAK,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SAAS,EAAE,CAAC,CAAC,SAAS,CAAA;IAEtB;;OAEG;IACH,QAAQ,EAAE,CAAC,CAAC,SAAS,CAAA;IAErB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAA;IACX,WAAW,EAAE,SAAS,CAAC,WAAW,CAAA;CACnC,CAAA;AAED,YAAY,EAAE,SAAS,EAAE,CAAA;AAEzB,QAAA,MAAM,SAAS,4FAWd,CAAA;AAED,OAAO,EAAE,SAAS,EAAE,CAAA"}
|
|
@@ -13,45 +13,45 @@ export declare const $type = "app.bsky.embed.images";
|
|
|
13
13
|
export declare const $isTypeOf: <TValue extends Record<string, unknown>>(value: TValue) => value is l.MaybeTypedObject<"app.bsky.embed.images", TValue>;
|
|
14
14
|
export declare const $build: {
|
|
15
15
|
(input: Omit<Main, "$type">): {
|
|
16
|
-
$type:
|
|
16
|
+
$type: 'app.bsky.embed.images';
|
|
17
17
|
images: Image[];
|
|
18
18
|
};
|
|
19
19
|
(input: Omit<Main, "$type">): {
|
|
20
|
-
$type:
|
|
20
|
+
$type: 'app.bsky.embed.images';
|
|
21
21
|
images: Image[];
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
24
|
export declare const $assert: (input: unknown, options?: l.ValidateOptions) => asserts input is {
|
|
25
|
-
$type?:
|
|
25
|
+
$type?: 'app.bsky.embed.images';
|
|
26
26
|
images: Image[];
|
|
27
27
|
};
|
|
28
28
|
export declare const $check: (input: unknown, options?: l.ValidateOptions) => void;
|
|
29
29
|
export declare const $cast: <I>(input: I, options?: l.ValidateOptions) => I & {
|
|
30
|
-
$type?:
|
|
30
|
+
$type?: 'app.bsky.embed.images';
|
|
31
31
|
images: Image[];
|
|
32
32
|
};
|
|
33
33
|
export declare const $ifMatches: <I>(input: I, options?: l.ValidateOptions) => (I & {
|
|
34
|
-
$type?:
|
|
34
|
+
$type?: 'app.bsky.embed.images';
|
|
35
35
|
images: Image[];
|
|
36
36
|
}) | undefined;
|
|
37
37
|
export declare const $matches: <I>(input: I, options?: l.ValidateOptions) => input is I & {
|
|
38
|
-
$type?:
|
|
38
|
+
$type?: 'app.bsky.embed.images';
|
|
39
39
|
images: Image[];
|
|
40
40
|
};
|
|
41
41
|
export declare const $parse: (input: unknown, options?: l.ParseOptions) => {
|
|
42
|
-
$type?:
|
|
42
|
+
$type?: 'app.bsky.embed.images';
|
|
43
43
|
images: Image[];
|
|
44
44
|
};
|
|
45
45
|
export declare const $safeParse: (input: unknown, options?: l.ParseOptions) => l.ValidationResult<{
|
|
46
|
-
$type?:
|
|
46
|
+
$type?: 'app.bsky.embed.images';
|
|
47
47
|
images: Image[];
|
|
48
48
|
}>;
|
|
49
49
|
export declare const $validate: <I>(input: I, options?: l.ValidateOptions) => I & {
|
|
50
|
-
$type?:
|
|
50
|
+
$type?: 'app.bsky.embed.images';
|
|
51
51
|
images: Image[];
|
|
52
52
|
};
|
|
53
53
|
export declare const $safeValidate: <I>(input: I, options?: l.ValidateOptions) => l.ValidationResult<I & {
|
|
54
|
-
$type?:
|
|
54
|
+
$type?: 'app.bsky.embed.images';
|
|
55
55
|
images: Image[];
|
|
56
56
|
}>;
|
|
57
57
|
type Image = {
|
|
@@ -23,45 +23,45 @@ export declare const $type = "app.bsky.embed.record";
|
|
|
23
23
|
export declare const $isTypeOf: <TValue extends Record<string, unknown>>(value: TValue) => value is l.MaybeTypedObject<"app.bsky.embed.record", TValue>;
|
|
24
24
|
export declare const $build: {
|
|
25
25
|
(input: Omit<Main, "$type">): {
|
|
26
|
-
$type:
|
|
26
|
+
$type: 'app.bsky.embed.record';
|
|
27
27
|
record: RepoStrongRef.Main;
|
|
28
28
|
};
|
|
29
29
|
(input: Omit<Main, "$type">): {
|
|
30
|
-
$type:
|
|
30
|
+
$type: 'app.bsky.embed.record';
|
|
31
31
|
record: RepoStrongRef.Main;
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
34
|
export declare const $assert: (input: unknown, options?: l.ValidateOptions) => asserts input is {
|
|
35
|
-
$type?:
|
|
35
|
+
$type?: 'app.bsky.embed.record';
|
|
36
36
|
record: RepoStrongRef.Main;
|
|
37
37
|
};
|
|
38
38
|
export declare const $check: (input: unknown, options?: l.ValidateOptions) => void;
|
|
39
39
|
export declare const $cast: <I>(input: I, options?: l.ValidateOptions) => I & {
|
|
40
|
-
$type?:
|
|
40
|
+
$type?: 'app.bsky.embed.record';
|
|
41
41
|
record: RepoStrongRef.Main;
|
|
42
42
|
};
|
|
43
43
|
export declare const $ifMatches: <I>(input: I, options?: l.ValidateOptions) => (I & {
|
|
44
|
-
$type?:
|
|
44
|
+
$type?: 'app.bsky.embed.record';
|
|
45
45
|
record: RepoStrongRef.Main;
|
|
46
46
|
}) | undefined;
|
|
47
47
|
export declare const $matches: <I>(input: I, options?: l.ValidateOptions) => input is I & {
|
|
48
|
-
$type?:
|
|
48
|
+
$type?: 'app.bsky.embed.record';
|
|
49
49
|
record: RepoStrongRef.Main;
|
|
50
50
|
};
|
|
51
51
|
export declare const $parse: (input: unknown, options?: l.ParseOptions) => {
|
|
52
|
-
$type?:
|
|
52
|
+
$type?: 'app.bsky.embed.record';
|
|
53
53
|
record: RepoStrongRef.Main;
|
|
54
54
|
};
|
|
55
55
|
export declare const $safeParse: (input: unknown, options?: l.ParseOptions) => l.ValidationResult<{
|
|
56
|
-
$type?:
|
|
56
|
+
$type?: 'app.bsky.embed.record';
|
|
57
57
|
record: RepoStrongRef.Main;
|
|
58
58
|
}>;
|
|
59
59
|
export declare const $validate: <I>(input: I, options?: l.ValidateOptions) => I & {
|
|
60
|
-
$type?:
|
|
60
|
+
$type?: 'app.bsky.embed.record';
|
|
61
61
|
record: RepoStrongRef.Main;
|
|
62
62
|
};
|
|
63
63
|
export declare const $safeValidate: <I>(input: I, options?: l.ValidateOptions) => l.ValidationResult<I & {
|
|
64
|
-
$type?:
|
|
64
|
+
$type?: 'app.bsky.embed.record';
|
|
65
65
|
record: RepoStrongRef.Main;
|
|
66
66
|
}>;
|
|
67
67
|
type View = {
|
|
@@ -18,54 +18,54 @@ export declare const $type = "app.bsky.embed.recordWithMedia";
|
|
|
18
18
|
export declare const $isTypeOf: <TValue extends Record<string, unknown>>(value: TValue) => value is l.MaybeTypedObject<"app.bsky.embed.recordWithMedia", TValue>;
|
|
19
19
|
export declare const $build: {
|
|
20
20
|
(input: Omit<Main, "$type">): {
|
|
21
|
-
$type:
|
|
21
|
+
$type: 'app.bsky.embed.recordWithMedia';
|
|
22
22
|
record: EmbedRecord.Main;
|
|
23
23
|
media: l.$Typed<EmbedImages.Main> | l.$Typed<EmbedVideo.Main> | l.$Typed<EmbedGallery.Main> | l.$Typed<EmbedExternal.Main> | l.Unknown$TypedObject;
|
|
24
24
|
};
|
|
25
25
|
(input: Omit<Main, "$type">): {
|
|
26
|
-
$type:
|
|
26
|
+
$type: 'app.bsky.embed.recordWithMedia';
|
|
27
27
|
record: EmbedRecord.Main;
|
|
28
28
|
media: l.$Typed<EmbedImages.Main> | l.$Typed<EmbedVideo.Main> | l.$Typed<EmbedGallery.Main> | l.$Typed<EmbedExternal.Main> | l.Unknown$TypedObject;
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
export declare const $assert: (input: unknown, options?: l.ValidateOptions) => asserts input is {
|
|
32
|
-
$type?:
|
|
32
|
+
$type?: 'app.bsky.embed.recordWithMedia';
|
|
33
33
|
record: EmbedRecord.Main;
|
|
34
34
|
media: l.$Typed<EmbedImages.Main> | l.$Typed<EmbedVideo.Main> | l.$Typed<EmbedGallery.Main> | l.$Typed<EmbedExternal.Main> | l.Unknown$TypedObject;
|
|
35
35
|
};
|
|
36
36
|
export declare const $check: (input: unknown, options?: l.ValidateOptions) => void;
|
|
37
37
|
export declare const $cast: <I>(input: I, options?: l.ValidateOptions) => I & {
|
|
38
|
-
$type?:
|
|
38
|
+
$type?: 'app.bsky.embed.recordWithMedia';
|
|
39
39
|
record: EmbedRecord.Main;
|
|
40
40
|
media: l.$Typed<EmbedImages.Main> | l.$Typed<EmbedVideo.Main> | l.$Typed<EmbedGallery.Main> | l.$Typed<EmbedExternal.Main> | l.Unknown$TypedObject;
|
|
41
41
|
};
|
|
42
42
|
export declare const $ifMatches: <I>(input: I, options?: l.ValidateOptions) => (I & {
|
|
43
|
-
$type?:
|
|
43
|
+
$type?: 'app.bsky.embed.recordWithMedia';
|
|
44
44
|
record: EmbedRecord.Main;
|
|
45
45
|
media: l.$Typed<EmbedImages.Main> | l.$Typed<EmbedVideo.Main> | l.$Typed<EmbedGallery.Main> | l.$Typed<EmbedExternal.Main> | l.Unknown$TypedObject;
|
|
46
46
|
}) | undefined;
|
|
47
47
|
export declare const $matches: <I>(input: I, options?: l.ValidateOptions) => input is I & {
|
|
48
|
-
$type?:
|
|
48
|
+
$type?: 'app.bsky.embed.recordWithMedia';
|
|
49
49
|
record: EmbedRecord.Main;
|
|
50
50
|
media: l.$Typed<EmbedImages.Main> | l.$Typed<EmbedVideo.Main> | l.$Typed<EmbedGallery.Main> | l.$Typed<EmbedExternal.Main> | l.Unknown$TypedObject;
|
|
51
51
|
};
|
|
52
52
|
export declare const $parse: (input: unknown, options?: l.ParseOptions) => {
|
|
53
|
-
$type?:
|
|
53
|
+
$type?: 'app.bsky.embed.recordWithMedia';
|
|
54
54
|
record: EmbedRecord.Main;
|
|
55
55
|
media: l.$Typed<EmbedImages.Main> | l.$Typed<EmbedVideo.Main> | l.$Typed<EmbedGallery.Main> | l.$Typed<EmbedExternal.Main> | l.Unknown$TypedObject;
|
|
56
56
|
};
|
|
57
57
|
export declare const $safeParse: (input: unknown, options?: l.ParseOptions) => l.ValidationResult<{
|
|
58
|
-
$type?:
|
|
58
|
+
$type?: 'app.bsky.embed.recordWithMedia';
|
|
59
59
|
record: EmbedRecord.Main;
|
|
60
60
|
media: l.$Typed<EmbedImages.Main> | l.$Typed<EmbedVideo.Main> | l.$Typed<EmbedGallery.Main> | l.$Typed<EmbedExternal.Main> | l.Unknown$TypedObject;
|
|
61
61
|
}>;
|
|
62
62
|
export declare const $validate: <I>(input: I, options?: l.ValidateOptions) => I & {
|
|
63
|
-
$type?:
|
|
63
|
+
$type?: 'app.bsky.embed.recordWithMedia';
|
|
64
64
|
record: EmbedRecord.Main;
|
|
65
65
|
media: l.$Typed<EmbedImages.Main> | l.$Typed<EmbedVideo.Main> | l.$Typed<EmbedGallery.Main> | l.$Typed<EmbedExternal.Main> | l.Unknown$TypedObject;
|
|
66
66
|
};
|
|
67
67
|
export declare const $safeValidate: <I>(input: I, options?: l.ValidateOptions) => l.ValidationResult<I & {
|
|
68
|
-
$type?:
|
|
68
|
+
$type?: 'app.bsky.embed.recordWithMedia';
|
|
69
69
|
record: EmbedRecord.Main;
|
|
70
70
|
media: l.$Typed<EmbedImages.Main> | l.$Typed<EmbedVideo.Main> | l.$Typed<EmbedGallery.Main> | l.$Typed<EmbedExternal.Main> | l.Unknown$TypedObject;
|
|
71
71
|
}>;
|
|
@@ -26,198 +26,86 @@ export declare const $type = "app.bsky.embed.video";
|
|
|
26
26
|
export declare const $isTypeOf: <TValue extends Record<string, unknown>>(value: TValue) => value is l.MaybeTypedObject<"app.bsky.embed.video", TValue>;
|
|
27
27
|
export declare const $build: {
|
|
28
28
|
(input: Omit<Main, "$type">): {
|
|
29
|
-
$type:
|
|
29
|
+
$type: 'app.bsky.embed.video';
|
|
30
30
|
video: l.BlobRef;
|
|
31
|
-
captions?: Caption[]
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
| undefined;
|
|
36
|
-
alt?: string | undefined;
|
|
37
|
-
aspectRatio?: EmbedDefs.AspectRatio
|
|
38
|
-
/**
|
|
39
|
-
* A hint to the client about how to present the video.
|
|
40
|
-
*/
|
|
41
|
-
| undefined;
|
|
42
|
-
presentation?: ("default" | "gif" | l.UnknownString) | undefined;
|
|
31
|
+
captions?: Caption[];
|
|
32
|
+
alt?: string;
|
|
33
|
+
aspectRatio?: EmbedDefs.AspectRatio;
|
|
34
|
+
presentation?: 'default' | 'gif' | l.UnknownString;
|
|
43
35
|
};
|
|
44
36
|
(input: Omit<Main, "$type">): {
|
|
45
|
-
$type:
|
|
37
|
+
$type: 'app.bsky.embed.video';
|
|
46
38
|
video: l.BlobRef;
|
|
47
|
-
captions?: Caption[]
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
| undefined;
|
|
52
|
-
alt?: string | undefined;
|
|
53
|
-
aspectRatio?: EmbedDefs.AspectRatio
|
|
54
|
-
/**
|
|
55
|
-
* A hint to the client about how to present the video.
|
|
56
|
-
*/
|
|
57
|
-
| undefined;
|
|
58
|
-
presentation?: ("default" | "gif" | l.UnknownString) | undefined;
|
|
39
|
+
captions?: Caption[];
|
|
40
|
+
alt?: string;
|
|
41
|
+
aspectRatio?: EmbedDefs.AspectRatio;
|
|
42
|
+
presentation?: 'default' | 'gif' | l.UnknownString;
|
|
59
43
|
};
|
|
60
44
|
};
|
|
61
45
|
export declare const $assert: (input: unknown, options?: l.ValidateOptions) => asserts input is {
|
|
62
|
-
$type?:
|
|
63
|
-
/**
|
|
64
|
-
* The mp4 video file. May be up to 100mb, formerly limited to 50mb.
|
|
65
|
-
*/
|
|
66
|
-
| undefined;
|
|
46
|
+
$type?: 'app.bsky.embed.video';
|
|
67
47
|
video: l.BlobRef;
|
|
68
|
-
captions?: Caption[]
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
| undefined;
|
|
73
|
-
alt?: string | undefined;
|
|
74
|
-
aspectRatio?: EmbedDefs.AspectRatio
|
|
75
|
-
/**
|
|
76
|
-
* A hint to the client about how to present the video.
|
|
77
|
-
*/
|
|
78
|
-
| undefined;
|
|
79
|
-
presentation?: ("default" | "gif" | l.UnknownString) | undefined;
|
|
48
|
+
captions?: Caption[];
|
|
49
|
+
alt?: string;
|
|
50
|
+
aspectRatio?: EmbedDefs.AspectRatio;
|
|
51
|
+
presentation?: 'default' | 'gif' | l.UnknownString;
|
|
80
52
|
};
|
|
81
53
|
export declare const $check: (input: unknown, options?: l.ValidateOptions) => void;
|
|
82
54
|
export declare const $cast: <I>(input: I, options?: l.ValidateOptions) => I & {
|
|
83
|
-
$type?:
|
|
84
|
-
/**
|
|
85
|
-
* The mp4 video file. May be up to 100mb, formerly limited to 50mb.
|
|
86
|
-
*/
|
|
87
|
-
| undefined;
|
|
55
|
+
$type?: 'app.bsky.embed.video';
|
|
88
56
|
video: l.BlobRef;
|
|
89
|
-
captions?: Caption[]
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
| undefined;
|
|
94
|
-
alt?: string | undefined;
|
|
95
|
-
aspectRatio?: EmbedDefs.AspectRatio
|
|
96
|
-
/**
|
|
97
|
-
* A hint to the client about how to present the video.
|
|
98
|
-
*/
|
|
99
|
-
| undefined;
|
|
100
|
-
presentation?: ("default" | "gif" | l.UnknownString) | undefined;
|
|
57
|
+
captions?: Caption[];
|
|
58
|
+
alt?: string;
|
|
59
|
+
aspectRatio?: EmbedDefs.AspectRatio;
|
|
60
|
+
presentation?: 'default' | 'gif' | l.UnknownString;
|
|
101
61
|
};
|
|
102
62
|
export declare const $ifMatches: <I>(input: I, options?: l.ValidateOptions) => (I & {
|
|
103
|
-
$type?:
|
|
104
|
-
/**
|
|
105
|
-
* The mp4 video file. May be up to 100mb, formerly limited to 50mb.
|
|
106
|
-
*/
|
|
107
|
-
| undefined;
|
|
63
|
+
$type?: 'app.bsky.embed.video';
|
|
108
64
|
video: l.BlobRef;
|
|
109
|
-
captions?: Caption[]
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
| undefined;
|
|
114
|
-
alt?: string | undefined;
|
|
115
|
-
aspectRatio?: EmbedDefs.AspectRatio
|
|
116
|
-
/**
|
|
117
|
-
* A hint to the client about how to present the video.
|
|
118
|
-
*/
|
|
119
|
-
| undefined;
|
|
120
|
-
presentation?: ("default" | "gif" | l.UnknownString) | undefined;
|
|
65
|
+
captions?: Caption[];
|
|
66
|
+
alt?: string;
|
|
67
|
+
aspectRatio?: EmbedDefs.AspectRatio;
|
|
68
|
+
presentation?: 'default' | 'gif' | l.UnknownString;
|
|
121
69
|
}) | undefined;
|
|
122
70
|
export declare const $matches: <I>(input: I, options?: l.ValidateOptions) => input is I & {
|
|
123
|
-
$type?:
|
|
124
|
-
/**
|
|
125
|
-
* The mp4 video file. May be up to 100mb, formerly limited to 50mb.
|
|
126
|
-
*/
|
|
127
|
-
| undefined;
|
|
71
|
+
$type?: 'app.bsky.embed.video';
|
|
128
72
|
video: l.BlobRef;
|
|
129
|
-
captions?: Caption[]
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
| undefined;
|
|
134
|
-
alt?: string | undefined;
|
|
135
|
-
aspectRatio?: EmbedDefs.AspectRatio
|
|
136
|
-
/**
|
|
137
|
-
* A hint to the client about how to present the video.
|
|
138
|
-
*/
|
|
139
|
-
| undefined;
|
|
140
|
-
presentation?: ("default" | "gif" | l.UnknownString) | undefined;
|
|
73
|
+
captions?: Caption[];
|
|
74
|
+
alt?: string;
|
|
75
|
+
aspectRatio?: EmbedDefs.AspectRatio;
|
|
76
|
+
presentation?: 'default' | 'gif' | l.UnknownString;
|
|
141
77
|
};
|
|
142
78
|
export declare const $parse: (input: unknown, options?: l.ParseOptions) => {
|
|
143
|
-
$type?:
|
|
144
|
-
/**
|
|
145
|
-
* The mp4 video file. May be up to 100mb, formerly limited to 50mb.
|
|
146
|
-
*/
|
|
147
|
-
| undefined;
|
|
79
|
+
$type?: 'app.bsky.embed.video';
|
|
148
80
|
video: l.BlobRef;
|
|
149
|
-
captions?: Caption[]
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
| undefined;
|
|
154
|
-
alt?: string | undefined;
|
|
155
|
-
aspectRatio?: EmbedDefs.AspectRatio
|
|
156
|
-
/**
|
|
157
|
-
* A hint to the client about how to present the video.
|
|
158
|
-
*/
|
|
159
|
-
| undefined;
|
|
160
|
-
presentation?: ("default" | "gif" | l.UnknownString) | undefined;
|
|
81
|
+
captions?: Caption[];
|
|
82
|
+
alt?: string;
|
|
83
|
+
aspectRatio?: EmbedDefs.AspectRatio;
|
|
84
|
+
presentation?: 'default' | 'gif' | l.UnknownString;
|
|
161
85
|
};
|
|
162
86
|
export declare const $safeParse: (input: unknown, options?: l.ParseOptions) => l.ValidationResult<{
|
|
163
|
-
$type?:
|
|
164
|
-
/**
|
|
165
|
-
* The mp4 video file. May be up to 100mb, formerly limited to 50mb.
|
|
166
|
-
*/
|
|
167
|
-
| undefined;
|
|
87
|
+
$type?: 'app.bsky.embed.video';
|
|
168
88
|
video: l.BlobRef;
|
|
169
|
-
captions?: Caption[]
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
| undefined;
|
|
174
|
-
alt?: string | undefined;
|
|
175
|
-
aspectRatio?: EmbedDefs.AspectRatio
|
|
176
|
-
/**
|
|
177
|
-
* A hint to the client about how to present the video.
|
|
178
|
-
*/
|
|
179
|
-
| undefined;
|
|
180
|
-
presentation?: ("default" | "gif" | l.UnknownString) | undefined;
|
|
89
|
+
captions?: Caption[];
|
|
90
|
+
alt?: string;
|
|
91
|
+
aspectRatio?: EmbedDefs.AspectRatio;
|
|
92
|
+
presentation?: 'default' | 'gif' | l.UnknownString;
|
|
181
93
|
}>;
|
|
182
94
|
export declare const $validate: <I>(input: I, options?: l.ValidateOptions) => I & {
|
|
183
|
-
$type?:
|
|
184
|
-
/**
|
|
185
|
-
* The mp4 video file. May be up to 100mb, formerly limited to 50mb.
|
|
186
|
-
*/
|
|
187
|
-
| undefined;
|
|
95
|
+
$type?: 'app.bsky.embed.video';
|
|
188
96
|
video: l.BlobRef;
|
|
189
|
-
captions?: Caption[]
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
| undefined;
|
|
194
|
-
alt?: string | undefined;
|
|
195
|
-
aspectRatio?: EmbedDefs.AspectRatio
|
|
196
|
-
/**
|
|
197
|
-
* A hint to the client about how to present the video.
|
|
198
|
-
*/
|
|
199
|
-
| undefined;
|
|
200
|
-
presentation?: ("default" | "gif" | l.UnknownString) | undefined;
|
|
97
|
+
captions?: Caption[];
|
|
98
|
+
alt?: string;
|
|
99
|
+
aspectRatio?: EmbedDefs.AspectRatio;
|
|
100
|
+
presentation?: 'default' | 'gif' | l.UnknownString;
|
|
201
101
|
};
|
|
202
102
|
export declare const $safeValidate: <I>(input: I, options?: l.ValidateOptions) => l.ValidationResult<I & {
|
|
203
|
-
$type?:
|
|
204
|
-
/**
|
|
205
|
-
* The mp4 video file. May be up to 100mb, formerly limited to 50mb.
|
|
206
|
-
*/
|
|
207
|
-
| undefined;
|
|
103
|
+
$type?: 'app.bsky.embed.video';
|
|
208
104
|
video: l.BlobRef;
|
|
209
|
-
captions?: Caption[]
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
| undefined;
|
|
214
|
-
alt?: string | undefined;
|
|
215
|
-
aspectRatio?: EmbedDefs.AspectRatio
|
|
216
|
-
/**
|
|
217
|
-
* A hint to the client about how to present the video.
|
|
218
|
-
*/
|
|
219
|
-
| undefined;
|
|
220
|
-
presentation?: ("default" | "gif" | l.UnknownString) | undefined;
|
|
105
|
+
captions?: Caption[];
|
|
106
|
+
alt?: string;
|
|
107
|
+
aspectRatio?: EmbedDefs.AspectRatio;
|
|
108
|
+
presentation?: 'default' | 'gif' | l.UnknownString;
|
|
221
109
|
}>;
|
|
222
110
|
type Caption = {
|
|
223
111
|
$type?: 'app.bsky.embed.video#caption';
|