@atproto/pds 0.5.3 → 0.5.5

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.
Files changed (275) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/dist/account-manager/account-manager.d.ts +1 -1
  3. package/dist/account-manager/account-manager.d.ts.map +1 -1
  4. package/dist/account-manager/account-manager.js +16 -19
  5. package/dist/account-manager/account-manager.js.map +1 -1
  6. package/dist/account-manager/db/index.d.ts.map +1 -1
  7. package/dist/account-manager/db/migrations/index.d.ts.map +1 -1
  8. package/dist/account-manager/helpers/account-device.d.ts +91 -91
  9. package/dist/account-manager/helpers/account.d.ts +7 -7
  10. package/dist/account-manager/helpers/account.d.ts.map +1 -1
  11. package/dist/account-manager/helpers/auth.d.ts.map +1 -1
  12. package/dist/account-manager/helpers/authorization-request.d.ts.map +1 -1
  13. package/dist/account-manager/helpers/device.d.ts +1 -1
  14. package/dist/account-manager/helpers/device.d.ts.map +1 -1
  15. package/dist/account-manager/helpers/email-token.d.ts.map +1 -1
  16. package/dist/account-manager/helpers/invite.d.ts +1 -1
  17. package/dist/account-manager/helpers/invite.d.ts.map +1 -1
  18. package/dist/account-manager/helpers/password.d.ts.map +1 -1
  19. package/dist/account-manager/helpers/repo.d.ts.map +1 -1
  20. package/dist/account-manager/helpers/scrypt.d.ts.map +1 -1
  21. package/dist/account-manager/helpers/token.d.ts +457 -457
  22. package/dist/account-manager/helpers/token.d.ts.map +1 -1
  23. package/dist/account-manager/helpers/used-refresh-token.d.ts.map +1 -1
  24. package/dist/account-manager/oauth-store.d.ts.map +1 -1
  25. package/dist/account-manager/oauth-store.js +46 -26
  26. package/dist/account-manager/oauth-store.js.map +1 -1
  27. package/dist/account-manager/scope-reference-getter.d.ts.map +1 -1
  28. package/dist/account-manager/scope-reference-getter.js.map +1 -1
  29. package/dist/actor-store/actor-store-reader.d.ts.map +1 -1
  30. package/dist/actor-store/actor-store-reader.js.map +1 -1
  31. package/dist/actor-store/actor-store-transactor.d.ts.map +1 -1
  32. package/dist/actor-store/actor-store-transactor.js.map +1 -1
  33. package/dist/actor-store/actor-store-writer.d.ts.map +1 -1
  34. package/dist/actor-store/actor-store.d.ts.map +1 -1
  35. package/dist/actor-store/actor-store.js.map +1 -1
  36. package/dist/actor-store/blob/reader.d.ts.map +1 -1
  37. package/dist/actor-store/blob/reader.js.map +1 -1
  38. package/dist/actor-store/blob/transactor.d.ts.map +1 -1
  39. package/dist/actor-store/blob/transactor.js.map +1 -1
  40. package/dist/actor-store/db/index.d.ts.map +1 -1
  41. package/dist/actor-store/db/migrations/index.d.ts.map +1 -1
  42. package/dist/actor-store/migrate.d.ts.map +1 -1
  43. package/dist/actor-store/preference/reader.d.ts.map +1 -1
  44. package/dist/actor-store/preference/reader.js.map +1 -1
  45. package/dist/actor-store/preference/transactor.d.ts.map +1 -1
  46. package/dist/actor-store/record/reader.d.ts +3 -3
  47. package/dist/actor-store/record/reader.d.ts.map +1 -1
  48. package/dist/actor-store/record/reader.js.map +1 -1
  49. package/dist/actor-store/record/transactor.d.ts.map +1 -1
  50. package/dist/actor-store/record/transactor.js.map +1 -1
  51. package/dist/actor-store/repo/reader.d.ts.map +1 -1
  52. package/dist/actor-store/repo/reader.js.map +1 -1
  53. package/dist/actor-store/repo/sql-repo-reader.d.ts +1 -1
  54. package/dist/actor-store/repo/sql-repo-reader.d.ts.map +1 -1
  55. package/dist/actor-store/repo/sql-repo-transactor.d.ts.map +1 -1
  56. package/dist/actor-store/repo/transactor.d.ts.map +1 -1
  57. package/dist/actor-store/repo/transactor.js.map +1 -1
  58. package/dist/api/app/bsky/util/resolver.d.ts +4 -4
  59. package/dist/api/app/bsky/util/resolver.d.ts.map +1 -1
  60. package/dist/api/com/atproto/admin/deleteAccount.d.ts.map +1 -1
  61. package/dist/api/com/atproto/admin/deleteAccount.js +9 -4
  62. package/dist/api/com/atproto/admin/deleteAccount.js.map +1 -1
  63. package/dist/api/com/atproto/admin/getInviteCodes.d.ts.map +1 -1
  64. package/dist/api/com/atproto/admin/updateSubjectStatus.js +1 -1
  65. package/dist/api/com/atproto/admin/updateSubjectStatus.js.map +1 -1
  66. package/dist/api/com/atproto/identity/submitPlcOperation.js +1 -1
  67. package/dist/api/com/atproto/identity/submitPlcOperation.js.map +1 -1
  68. package/dist/api/com/atproto/server/activateAccount.js +1 -3
  69. package/dist/api/com/atproto/server/activateAccount.js.map +1 -1
  70. package/dist/api/com/atproto/server/createAccount.d.ts.map +1 -1
  71. package/dist/api/com/atproto/server/createAccount.js +61 -45
  72. package/dist/api/com/atproto/server/createAccount.js.map +1 -1
  73. package/dist/api/com/atproto/server/deactivateAccount.js +1 -1
  74. package/dist/api/com/atproto/server/deactivateAccount.js.map +1 -1
  75. package/dist/api/com/atproto/server/deleteAccount.d.ts.map +1 -1
  76. package/dist/api/com/atproto/server/deleteAccount.js +9 -4
  77. package/dist/api/com/atproto/server/deleteAccount.js.map +1 -1
  78. package/dist/api/com/atproto/server/util.d.ts.map +1 -1
  79. package/dist/api/com/atproto/sync/getRepo.d.ts.map +1 -1
  80. package/dist/api/com/atproto/sync/getRepo.js +5 -1
  81. package/dist/api/com/atproto/sync/getRepo.js.map +1 -1
  82. package/dist/api/com/atproto/sync/listRepos.d.ts.map +1 -1
  83. package/dist/api/com/atproto/sync/util.d.ts.map +1 -1
  84. package/dist/api/proxy.d.ts.map +1 -1
  85. package/dist/app-view.d.ts.map +1 -1
  86. package/dist/auth-routes.d.ts.map +1 -1
  87. package/dist/auth-verifier.d.ts.map +1 -1
  88. package/dist/background.d.ts.map +1 -1
  89. package/dist/basic-routes.d.ts.map +1 -1
  90. package/dist/bsky-app-view.d.ts.map +1 -1
  91. package/dist/config/config.d.ts.map +1 -1
  92. package/dist/config/env.d.ts.map +1 -1
  93. package/dist/config/secrets.d.ts.map +1 -1
  94. package/dist/context.d.ts.map +1 -1
  95. package/dist/crawlers.d.ts.map +1 -1
  96. package/dist/db/db.d.ts.map +1 -1
  97. package/dist/db/migrator.d.ts.map +1 -1
  98. package/dist/db/migrator.js.map +1 -1
  99. package/dist/db/pagination.d.ts +1 -1
  100. package/dist/db/pagination.d.ts.map +1 -1
  101. package/dist/db/pagination.js.map +1 -1
  102. package/dist/db/util.d.ts.map +1 -1
  103. package/dist/did-cache/db/index.d.ts.map +1 -1
  104. package/dist/did-cache/db/migrations.d.ts.map +1 -1
  105. package/dist/did-cache/index.d.ts.map +1 -1
  106. package/dist/did-cache/index.js.map +1 -1
  107. package/dist/disk-blobstore.d.ts.map +1 -1
  108. package/dist/disk-blobstore.js.map +1 -1
  109. package/dist/handle/explicit-slurs.d.ts.map +1 -1
  110. package/dist/handle/index.d.ts.map +1 -1
  111. package/dist/image/image-url-builder.d.ts.map +1 -1
  112. package/dist/image/image-url-builder.js.map +1 -1
  113. package/dist/index.d.ts.map +1 -1
  114. package/dist/index.js +4 -39
  115. package/dist/index.js.map +1 -1
  116. package/dist/lexicons/app/bsky/actor/defs.defs.d.ts +75 -155
  117. package/dist/lexicons/app/bsky/actor/defs.defs.d.ts.map +1 -1
  118. package/dist/lexicons/app/bsky/actor/profile.defs.d.ts +100 -300
  119. package/dist/lexicons/app/bsky/actor/profile.defs.d.ts.map +1 -1
  120. package/dist/lexicons/app/bsky/actor/status.defs.d.ts +40 -40
  121. package/dist/lexicons/app/bsky/actor/status.defs.d.ts.map +1 -1
  122. package/dist/lexicons/app/bsky/authCreatePosts.defs.d.ts +1 -1
  123. package/dist/lexicons/app/bsky/authDeleteContent.defs.d.ts +1 -1
  124. package/dist/lexicons/app/bsky/authFullApp.defs.d.ts +1 -1
  125. package/dist/lexicons/app/bsky/authManageFeedDeclarations.defs.d.ts +1 -1
  126. package/dist/lexicons/app/bsky/authManageLabelerService.defs.d.ts +1 -1
  127. package/dist/lexicons/app/bsky/authManageModeration.defs.d.ts +1 -1
  128. package/dist/lexicons/app/bsky/authManageNotifications.defs.d.ts +1 -1
  129. package/dist/lexicons/app/bsky/authManageProfile.defs.d.ts +1 -1
  130. package/dist/lexicons/app/bsky/authViewAll.defs.d.ts +1 -1
  131. package/dist/lexicons/app/bsky/draft/defs.defs.d.ts +4 -4
  132. package/dist/lexicons/app/bsky/draft/defs.defs.d.ts.map +1 -1
  133. package/dist/lexicons/app/bsky/embed/external.defs.d.ts +10 -10
  134. package/dist/lexicons/app/bsky/embed/gallery.defs.d.ts +10 -42
  135. package/dist/lexicons/app/bsky/embed/gallery.defs.d.ts.map +1 -1
  136. package/dist/lexicons/app/bsky/embed/images.defs.d.ts +10 -10
  137. package/dist/lexicons/app/bsky/embed/record.defs.d.ts +10 -10
  138. package/dist/lexicons/app/bsky/embed/recordWithMedia.defs.d.ts +10 -10
  139. package/dist/lexicons/app/bsky/embed/video.defs.d.ts +50 -162
  140. package/dist/lexicons/app/bsky/embed/video.defs.d.ts.map +1 -1
  141. package/dist/lexicons/app/bsky/feed/generator.defs.d.ts +80 -160
  142. package/dist/lexicons/app/bsky/feed/generator.defs.d.ts.map +1 -1
  143. package/dist/lexicons/app/bsky/feed/like.defs.d.ts +30 -30
  144. package/dist/lexicons/app/bsky/feed/like.defs.d.ts.map +1 -1
  145. package/dist/lexicons/app/bsky/feed/post.defs.d.ts +80 -200
  146. package/dist/lexicons/app/bsky/feed/post.defs.d.ts.map +1 -1
  147. package/dist/lexicons/app/bsky/feed/postgate.defs.d.ts +40 -80
  148. package/dist/lexicons/app/bsky/feed/postgate.defs.d.ts.map +1 -1
  149. package/dist/lexicons/app/bsky/feed/repost.defs.d.ts +30 -30
  150. package/dist/lexicons/app/bsky/feed/repost.defs.d.ts.map +1 -1
  151. package/dist/lexicons/app/bsky/feed/threadgate.defs.d.ts +30 -30
  152. package/dist/lexicons/app/bsky/feed/threadgate.defs.d.ts.map +1 -1
  153. package/dist/lexicons/app/bsky/graph/block.defs.d.ts +20 -20
  154. package/dist/lexicons/app/bsky/graph/block.defs.d.ts.map +1 -1
  155. package/dist/lexicons/app/bsky/graph/follow.defs.d.ts +30 -30
  156. package/dist/lexicons/app/bsky/graph/follow.defs.d.ts.map +1 -1
  157. package/dist/lexicons/app/bsky/graph/list.defs.d.ts +60 -60
  158. package/dist/lexicons/app/bsky/graph/list.defs.d.ts.map +1 -1
  159. package/dist/lexicons/app/bsky/graph/listblock.defs.d.ts +20 -20
  160. package/dist/lexicons/app/bsky/graph/listblock.defs.d.ts.map +1 -1
  161. package/dist/lexicons/app/bsky/graph/listitem.defs.d.ts +20 -20
  162. package/dist/lexicons/app/bsky/graph/listitem.defs.d.ts.map +1 -1
  163. package/dist/lexicons/app/bsky/graph/starterpack.defs.d.ts +50 -90
  164. package/dist/lexicons/app/bsky/graph/starterpack.defs.d.ts.map +1 -1
  165. package/dist/lexicons/app/bsky/graph/verification.defs.d.ts +30 -30
  166. package/dist/lexicons/app/bsky/graph/verification.defs.d.ts.map +1 -1
  167. package/dist/lexicons/app/bsky/labeler/service.defs.d.ts +50 -130
  168. package/dist/lexicons/app/bsky/labeler/service.defs.d.ts.map +1 -1
  169. package/dist/lexicons/app/bsky/notification/declaration.defs.d.ts +10 -10
  170. package/dist/lexicons/app/bsky/notification/declaration.defs.d.ts.map +1 -1
  171. package/dist/lexicons/app/bsky/richtext/facet.defs.d.ts +10 -10
  172. package/dist/lexicons/chat/bsky/actor/declaration.defs.d.ts +20 -20
  173. package/dist/lexicons/chat/bsky/actor/declaration.defs.d.ts.map +1 -1
  174. package/dist/lexicons/chat/bsky/authFullChatClient.defs.d.ts +1 -1
  175. package/dist/lexicons/chat/bsky/convo/defs.defs.d.ts +17 -0
  176. package/dist/lexicons/chat/bsky/convo/defs.defs.d.ts.map +1 -1
  177. package/dist/lexicons/chat/bsky/convo/defs.defs.js +11 -0
  178. package/dist/lexicons/chat/bsky/convo/defs.defs.js.map +1 -1
  179. package/dist/lexicons/chat/bsky/convo/sendMessage.defs.d.ts +1 -1
  180. package/dist/lexicons/chat/bsky/convo/sendMessage.defs.d.ts.map +1 -1
  181. package/dist/lexicons/chat/bsky/convo/sendMessage.defs.js +1 -0
  182. package/dist/lexicons/chat/bsky/convo/sendMessage.defs.js.map +1 -1
  183. package/dist/lexicons/chat/bsky/convo/sendMessageBatch.defs.d.ts +1 -1
  184. package/dist/lexicons/chat/bsky/convo/sendMessageBatch.defs.d.ts.map +1 -1
  185. package/dist/lexicons/chat/bsky/convo/sendMessageBatch.defs.js +1 -0
  186. package/dist/lexicons/chat/bsky/convo/sendMessageBatch.defs.js.map +1 -1
  187. package/dist/lexicons/chat/bsky/embed/joinLink.defs.d.ts +10 -42
  188. package/dist/lexicons/chat/bsky/embed/joinLink.defs.d.ts.map +1 -1
  189. package/dist/lexicons/com/atproto/lexicon/schema.defs.d.ts +10 -10
  190. package/dist/lexicons/com/atproto/lexicon/schema.defs.d.ts.map +1 -1
  191. package/dist/lexicons/com/atproto/repo/strongRef.defs.d.ts +10 -10
  192. package/dist/lexicons/com/germnetwork/declaration.defs.d.ts +40 -120
  193. package/dist/lexicons/com/germnetwork/declaration.defs.d.ts.map +1 -1
  194. package/dist/lexicons/site/standard/document.defs.d.ts +130 -450
  195. package/dist/lexicons/site/standard/document.defs.d.ts.map +1 -1
  196. package/dist/lexicons/site/standard/graph/recommend.defs.d.ts +10 -10
  197. package/dist/lexicons/site/standard/graph/recommend.defs.d.ts.map +1 -1
  198. package/dist/lexicons/site/standard/graph/subscription.defs.d.ts +20 -60
  199. package/dist/lexicons/site/standard/graph/subscription.defs.d.ts.map +1 -1
  200. package/dist/lexicons/site/standard/publication.defs.d.ts +60 -220
  201. package/dist/lexicons/site/standard/publication.defs.d.ts.map +1 -1
  202. package/dist/lexicons/site/standard/theme/basic.defs.d.ts +10 -10
  203. package/dist/lexicons/site/standard/theme/basic.defs.d.ts.map +1 -1
  204. package/dist/lexicons/tools/ozone/moderation/queryStatuses.defs.d.ts +2 -2
  205. package/dist/lexicons/tools/ozone/set/querySets.defs.d.ts +2 -2
  206. package/dist/logger.d.ts +14 -14
  207. package/dist/logger.d.ts.map +1 -1
  208. package/dist/mailer/index.d.ts.map +1 -1
  209. package/dist/mailer/index.js.map +1 -1
  210. package/dist/mailer/moderation.d.ts.map +1 -1
  211. package/dist/pipethrough.d.ts +1 -1
  212. package/dist/pipethrough.d.ts.map +1 -1
  213. package/dist/pipethrough.js.map +1 -1
  214. package/dist/rate-limits.d.ts +7 -0
  215. package/dist/rate-limits.d.ts.map +1 -0
  216. package/dist/rate-limits.js +50 -0
  217. package/dist/rate-limits.js.map +1 -0
  218. package/dist/read-after-write/util.d.ts.map +1 -1
  219. package/dist/read-after-write/viewer.d.ts +8 -8
  220. package/dist/read-after-write/viewer.d.ts.map +1 -1
  221. package/dist/read-after-write/viewer.js.map +1 -1
  222. package/dist/redis.d.ts.map +1 -1
  223. package/dist/repo/prepare.d.ts.map +1 -1
  224. package/dist/repo/types.d.ts.map +1 -1
  225. package/dist/repo/types.js.map +1 -1
  226. package/dist/scripts/index.d.ts.map +1 -1
  227. package/dist/scripts/publish-identity.d.ts.map +1 -1
  228. package/dist/scripts/publish-identity.js +1 -1
  229. package/dist/scripts/publish-identity.js.map +1 -1
  230. package/dist/scripts/rebuild-repo.d.ts.map +1 -1
  231. package/dist/scripts/rebuild-repo.js +1 -1
  232. package/dist/scripts/rebuild-repo.js.map +1 -1
  233. package/dist/scripts/rotate-keys.d.ts.map +1 -1
  234. package/dist/scripts/rotate-keys.js +2 -2
  235. package/dist/scripts/rotate-keys.js.map +1 -1
  236. package/dist/scripts/sequencer-recovery/index.d.ts.map +1 -1
  237. package/dist/scripts/sequencer-recovery/recoverer.d.ts.map +1 -1
  238. package/dist/scripts/sequencer-recovery/recoverer.js +7 -5
  239. package/dist/scripts/sequencer-recovery/recoverer.js.map +1 -1
  240. package/dist/scripts/sequencer-recovery/recovery-db.d.ts.map +1 -1
  241. package/dist/scripts/sequencer-recovery/repair-repos.d.ts.map +1 -1
  242. package/dist/scripts/sequencer-recovery/user-queues.d.ts.map +1 -1
  243. package/dist/scripts/util.d.ts.map +1 -1
  244. package/dist/sequencer/db/index.d.ts.map +1 -1
  245. package/dist/sequencer/db/migrations/index.d.ts.map +1 -1
  246. package/dist/sequencer/events.d.ts +19 -19
  247. package/dist/sequencer/events.d.ts.map +1 -1
  248. package/dist/sequencer/outbox.d.ts.map +1 -1
  249. package/dist/sequencer/outbox.js.map +1 -1
  250. package/dist/sequencer/sequencer.d.ts +8 -6
  251. package/dist/sequencer/sequencer.d.ts.map +1 -1
  252. package/dist/sequencer/sequencer.js +40 -21
  253. package/dist/sequencer/sequencer.js.map +1 -1
  254. package/dist/util/debug.d.ts.map +1 -1
  255. package/dist/well-known.d.ts.map +1 -1
  256. package/package.json +25 -26
  257. package/src/account-manager/account-manager.ts +26 -23
  258. package/src/account-manager/oauth-store.ts +55 -36
  259. package/src/api/com/atproto/admin/deleteAccount.ts +9 -7
  260. package/src/api/com/atproto/admin/updateSubjectStatus.ts +1 -1
  261. package/src/api/com/atproto/identity/submitPlcOperation.ts +1 -1
  262. package/src/api/com/atproto/server/activateAccount.ts +3 -3
  263. package/src/api/com/atproto/server/createAccount.ts +72 -63
  264. package/src/api/com/atproto/server/deactivateAccount.ts +1 -1
  265. package/src/api/com/atproto/server/deleteAccount.ts +9 -7
  266. package/src/api/com/atproto/sync/getRepo.ts +9 -1
  267. package/src/index.ts +3 -42
  268. package/src/rate-limits.ts +59 -0
  269. package/src/scripts/publish-identity.ts +1 -1
  270. package/src/scripts/rebuild-repo.ts +1 -1
  271. package/src/scripts/rotate-keys.ts +2 -2
  272. package/src/scripts/sequencer-recovery/recoverer.ts +9 -5
  273. package/src/sequencer/sequencer.ts +52 -23
  274. package/tests/db.test.ts +3 -3
  275. package/tsconfig.build.tsbuildinfo +1 -1
@@ -1,6 +1,6 @@
1
1
  import { l } from '@atproto/lex';
2
2
  declare const $nsid = "app.bsky.authViewAll";
3
3
  export { $nsid };
4
- declare const main: l.PermissionSet<"app.bsky.authViewAll", readonly [l.Permission<"rpc", Record<string, string | number | boolean | number[] | string[] | boolean[] | undefined>>]>;
4
+ declare const main: l.PermissionSet<"app.bsky.authViewAll", readonly [l.Permission<"rpc", Record<string, string | number | boolean | string[] | number[] | boolean[] | undefined>>]>;
5
5
  export { main };
6
6
  //# sourceMappingURL=authViewAll.defs.d.ts.map
@@ -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: "app.bsky.draft.defs#draftEmbedImage";
125
+ $type: 'app.bsky.draft.defs#draftEmbedImage';
126
126
  localRef: DraftEmbedLocalRef;
127
- alt?: string | undefined;
127
+ alt?: string;
128
128
  }, l.Unknown$TypedObject | {
129
- $type: "app.bsky.draft.defs#draftEmbedImage";
129
+ $type: 'app.bsky.draft.defs#draftEmbedImage';
130
130
  localRef: DraftEmbedLocalRef;
131
- alt?: string | undefined;
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,CAAA;IAEzC;;OAEG;IACH,EAAE,EAAE,CAAC,CAAC,S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AA;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: "app.bsky.embed.external";
20
+ $type: 'app.bsky.embed.external';
21
21
  external: External;
22
22
  };
23
23
  (input: Omit<Main, "$type">): {
24
- $type: "app.bsky.embed.external";
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?: "app.bsky.embed.external" | undefined;
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?: "app.bsky.embed.external" | undefined;
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?: "app.bsky.embed.external" | undefined;
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?: "app.bsky.embed.external" | undefined;
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?: "app.bsky.embed.external" | undefined;
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?: "app.bsky.embed.external" | undefined;
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?: "app.bsky.embed.external" | undefined;
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?: "app.bsky.embed.external" | undefined;
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: "app.bsky.embed.gallery";
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: "app.bsky.embed.gallery";
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?: "app.bsky.embed.gallery"
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?: "app.bsky.embed.gallery"
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?: "app.bsky.embed.gallery"
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?: "app.bsky.embed.gallery"
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?: "app.bsky.embed.gallery"
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?: "app.bsky.embed.gallery"
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?: "app.bsky.embed.gallery"
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?: "app.bsky.embed.gallery"
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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,IAAI,6EAWT,CAAA;AAED,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,KAAK,SAAS,GAAG;IACf,KAAK,CAAC,EAAE,kCAAkC,CAAA;IAE1C;;OAEG;IACH,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: "app.bsky.embed.images";
16
+ $type: 'app.bsky.embed.images';
17
17
  images: Image[];
18
18
  };
19
19
  (input: Omit<Main, "$type">): {
20
- $type: "app.bsky.embed.images";
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?: "app.bsky.embed.images" | undefined;
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?: "app.bsky.embed.images" | undefined;
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?: "app.bsky.embed.images" | undefined;
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?: "app.bsky.embed.images" | undefined;
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?: "app.bsky.embed.images" | undefined;
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?: "app.bsky.embed.images" | undefined;
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?: "app.bsky.embed.images" | undefined;
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?: "app.bsky.embed.images" | undefined;
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: "app.bsky.embed.record";
26
+ $type: 'app.bsky.embed.record';
27
27
  record: RepoStrongRef.Main;
28
28
  };
29
29
  (input: Omit<Main, "$type">): {
30
- $type: "app.bsky.embed.record";
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?: "app.bsky.embed.record" | undefined;
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?: "app.bsky.embed.record" | undefined;
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?: "app.bsky.embed.record" | undefined;
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?: "app.bsky.embed.record" | undefined;
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?: "app.bsky.embed.record" | undefined;
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?: "app.bsky.embed.record" | undefined;
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?: "app.bsky.embed.record" | undefined;
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?: "app.bsky.embed.record" | undefined;
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: "app.bsky.embed.recordWithMedia";
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: "app.bsky.embed.recordWithMedia";
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?: "app.bsky.embed.recordWithMedia" | undefined;
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?: "app.bsky.embed.recordWithMedia" | undefined;
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?: "app.bsky.embed.recordWithMedia" | undefined;
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?: "app.bsky.embed.recordWithMedia" | undefined;
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?: "app.bsky.embed.recordWithMedia" | undefined;
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?: "app.bsky.embed.recordWithMedia" | undefined;
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?: "app.bsky.embed.recordWithMedia" | undefined;
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?: "app.bsky.embed.recordWithMedia" | undefined;
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: "app.bsky.embed.video";
29
+ $type: 'app.bsky.embed.video';
30
30
  video: l.BlobRef;
31
- captions?: Caption[]
32
- /**
33
- * Alt text description of the video, for accessibility.
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: "app.bsky.embed.video";
37
+ $type: 'app.bsky.embed.video';
46
38
  video: l.BlobRef;
47
- captions?: Caption[]
48
- /**
49
- * Alt text description of the video, for accessibility.
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?: "app.bsky.embed.video"
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
- * Alt text description of the video, for accessibility.
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?: "app.bsky.embed.video"
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
- * Alt text description of the video, for accessibility.
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?: "app.bsky.embed.video"
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
- * Alt text description of the video, for accessibility.
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?: "app.bsky.embed.video"
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
- * Alt text description of the video, for accessibility.
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?: "app.bsky.embed.video"
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
- * Alt text description of the video, for accessibility.
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?: "app.bsky.embed.video"
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
- * Alt text description of the video, for accessibility.
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?: "app.bsky.embed.video"
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
- * Alt text description of the video, for accessibility.
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?: "app.bsky.embed.video"
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
- * Alt text description of the video, for accessibility.
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';