@atproto/bsky 0.0.273 → 0.0.274

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 (249) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/api/app/bsky/actor/getSuggestions.d.ts.map +1 -1
  3. package/dist/api/app/bsky/actor/getSuggestions.js +7 -2
  4. package/dist/api/app/bsky/actor/getSuggestions.js.map +1 -1
  5. package/dist/api/app/bsky/actor/searchActors.d.ts.map +1 -1
  6. package/dist/api/app/bsky/actor/searchActors.js +13 -6
  7. package/dist/api/app/bsky/actor/searchActors.js.map +1 -1
  8. package/dist/api/app/bsky/bookmark/getBookmarks.d.ts.map +1 -1
  9. package/dist/api/app/bsky/bookmark/getBookmarks.js +7 -2
  10. package/dist/api/app/bsky/bookmark/getBookmarks.js.map +1 -1
  11. package/dist/api/app/bsky/contact/getMatches.d.ts.map +1 -1
  12. package/dist/api/app/bsky/contact/getMatches.js +8 -2
  13. package/dist/api/app/bsky/contact/getMatches.js.map +1 -1
  14. package/dist/api/app/bsky/feed/getActorFeeds.d.ts.map +1 -1
  15. package/dist/api/app/bsky/feed/getActorFeeds.js +7 -2
  16. package/dist/api/app/bsky/feed/getActorFeeds.js.map +1 -1
  17. package/dist/api/app/bsky/feed/getActorLikes.d.ts.map +1 -1
  18. package/dist/api/app/bsky/feed/getActorLikes.js +7 -2
  19. package/dist/api/app/bsky/feed/getActorLikes.js.map +1 -1
  20. package/dist/api/app/bsky/feed/getAuthorFeed.d.ts.map +1 -1
  21. package/dist/api/app/bsky/feed/getAuthorFeed.js +7 -2
  22. package/dist/api/app/bsky/feed/getAuthorFeed.js.map +1 -1
  23. package/dist/api/app/bsky/feed/getFeed.d.ts +13 -0
  24. package/dist/api/app/bsky/feed/getFeed.d.ts.map +1 -1
  25. package/dist/api/app/bsky/feed/getFeed.js +41 -8
  26. package/dist/api/app/bsky/feed/getFeed.js.map +1 -1
  27. package/dist/api/app/bsky/feed/getLikes.d.ts.map +1 -1
  28. package/dist/api/app/bsky/feed/getLikes.js +7 -2
  29. package/dist/api/app/bsky/feed/getLikes.js.map +1 -1
  30. package/dist/api/app/bsky/feed/getListFeed.d.ts.map +1 -1
  31. package/dist/api/app/bsky/feed/getListFeed.js +7 -2
  32. package/dist/api/app/bsky/feed/getListFeed.js.map +1 -1
  33. package/dist/api/app/bsky/feed/getQuotes.d.ts.map +1 -1
  34. package/dist/api/app/bsky/feed/getQuotes.js +7 -2
  35. package/dist/api/app/bsky/feed/getQuotes.js.map +1 -1
  36. package/dist/api/app/bsky/feed/getRepostedBy.d.ts.map +1 -1
  37. package/dist/api/app/bsky/feed/getRepostedBy.js +7 -2
  38. package/dist/api/app/bsky/feed/getRepostedBy.js.map +1 -1
  39. package/dist/api/app/bsky/feed/getSuggestedFeeds.d.ts.map +1 -1
  40. package/dist/api/app/bsky/feed/getSuggestedFeeds.js +20 -13
  41. package/dist/api/app/bsky/feed/getSuggestedFeeds.js.map +1 -1
  42. package/dist/api/app/bsky/feed/getTimeline.d.ts.map +1 -1
  43. package/dist/api/app/bsky/feed/getTimeline.js +7 -2
  44. package/dist/api/app/bsky/feed/getTimeline.js.map +1 -1
  45. package/dist/api/app/bsky/feed/searchPosts.d.ts.map +1 -1
  46. package/dist/api/app/bsky/feed/searchPosts.js +14 -7
  47. package/dist/api/app/bsky/feed/searchPosts.js.map +1 -1
  48. package/dist/api/app/bsky/feed/searchPostsV2.d.ts.map +1 -1
  49. package/dist/api/app/bsky/feed/searchPostsV2.js +17 -9
  50. package/dist/api/app/bsky/feed/searchPostsV2.js.map +1 -1
  51. package/dist/api/app/bsky/graph/getActorStarterPacks.d.ts.map +1 -1
  52. package/dist/api/app/bsky/graph/getActorStarterPacks.js +7 -2
  53. package/dist/api/app/bsky/graph/getActorStarterPacks.js.map +1 -1
  54. package/dist/api/app/bsky/graph/getBlocks.d.ts.map +1 -1
  55. package/dist/api/app/bsky/graph/getBlocks.js +7 -2
  56. package/dist/api/app/bsky/graph/getBlocks.js.map +1 -1
  57. package/dist/api/app/bsky/graph/getFollowers.d.ts.map +1 -1
  58. package/dist/api/app/bsky/graph/getFollowers.js +10 -18
  59. package/dist/api/app/bsky/graph/getFollowers.js.map +1 -1
  60. package/dist/api/app/bsky/graph/getFollows.d.ts.map +1 -1
  61. package/dist/api/app/bsky/graph/getFollows.js +7 -2
  62. package/dist/api/app/bsky/graph/getFollows.js.map +1 -1
  63. package/dist/api/app/bsky/graph/getList.d.ts.map +1 -1
  64. package/dist/api/app/bsky/graph/getList.js +7 -2
  65. package/dist/api/app/bsky/graph/getList.js.map +1 -1
  66. package/dist/api/app/bsky/graph/getListBlocks.d.ts.map +1 -1
  67. package/dist/api/app/bsky/graph/getListBlocks.js +7 -2
  68. package/dist/api/app/bsky/graph/getListBlocks.js.map +1 -1
  69. package/dist/api/app/bsky/graph/getListMutes.d.ts.map +1 -1
  70. package/dist/api/app/bsky/graph/getListMutes.js +7 -2
  71. package/dist/api/app/bsky/graph/getListMutes.js.map +1 -1
  72. package/dist/api/app/bsky/graph/getLists.d.ts.map +1 -1
  73. package/dist/api/app/bsky/graph/getLists.js +9 -4
  74. package/dist/api/app/bsky/graph/getLists.js.map +1 -1
  75. package/dist/api/app/bsky/graph/getListsWithMembership.d.ts.map +1 -1
  76. package/dist/api/app/bsky/graph/getListsWithMembership.js +9 -4
  77. package/dist/api/app/bsky/graph/getListsWithMembership.js.map +1 -1
  78. package/dist/api/app/bsky/graph/getMutes.d.ts.map +1 -1
  79. package/dist/api/app/bsky/graph/getMutes.js +22 -30
  80. package/dist/api/app/bsky/graph/getMutes.js.map +1 -1
  81. package/dist/api/app/bsky/graph/getStarterPacksWithMembership.d.ts.map +1 -1
  82. package/dist/api/app/bsky/graph/getStarterPacksWithMembership.js +7 -2
  83. package/dist/api/app/bsky/graph/getStarterPacksWithMembership.js.map +1 -1
  84. package/dist/api/app/bsky/graph/searchStarterPacks.d.ts.map +1 -1
  85. package/dist/api/app/bsky/graph/searchStarterPacks.js +13 -6
  86. package/dist/api/app/bsky/graph/searchStarterPacks.js.map +1 -1
  87. package/dist/api/app/bsky/graph/searchStarterPacksV2.d.ts.map +1 -1
  88. package/dist/api/app/bsky/graph/searchStarterPacksV2.js +7 -2
  89. package/dist/api/app/bsky/graph/searchStarterPacksV2.js.map +1 -1
  90. package/dist/api/app/bsky/notification/listActivitySubscriptions.d.ts.map +1 -1
  91. package/dist/api/app/bsky/notification/listActivitySubscriptions.js +7 -2
  92. package/dist/api/app/bsky/notification/listActivitySubscriptions.js.map +1 -1
  93. package/dist/api/app/bsky/notification/listNotifications.d.ts.map +1 -1
  94. package/dist/api/app/bsky/notification/listNotifications.js +17 -35
  95. package/dist/api/app/bsky/notification/listNotifications.js.map +1 -1
  96. package/dist/api/app/bsky/unspecced/getPopularFeedGenerators.d.ts.map +1 -1
  97. package/dist/api/app/bsky/unspecced/getPopularFeedGenerators.js +49 -43
  98. package/dist/api/app/bsky/unspecced/getPopularFeedGenerators.js.map +1 -1
  99. package/dist/api/app/bsky/unspecced/getTrendingTopics.d.ts.map +1 -1
  100. package/dist/api/app/bsky/unspecced/getTrendingTopics.js +3 -14
  101. package/dist/api/app/bsky/unspecced/getTrendingTopics.js.map +1 -1
  102. package/dist/api/app/bsky/unspecced/getTrends.d.ts.map +1 -1
  103. package/dist/api/app/bsky/unspecced/getTrends.js +3 -14
  104. package/dist/api/app/bsky/unspecced/getTrends.js.map +1 -1
  105. package/dist/api/util.d.ts +15 -0
  106. package/dist/api/util.d.ts.map +1 -1
  107. package/dist/api/util.js +26 -0
  108. package/dist/api/util.js.map +1 -1
  109. package/dist/config.d.ts +2 -0
  110. package/dist/config.d.ts.map +1 -1
  111. package/dist/config.js +5 -0
  112. package/dist/config.js.map +1 -1
  113. package/dist/data-plane/server/db/pagination.d.ts +8 -0
  114. package/dist/data-plane/server/db/pagination.d.ts.map +1 -1
  115. package/dist/data-plane/server/db/pagination.js +20 -2
  116. package/dist/data-plane/server/db/pagination.js.map +1 -1
  117. package/dist/data-plane/server/op-thread.d.ts +7 -0
  118. package/dist/data-plane/server/op-thread.d.ts.map +1 -0
  119. package/dist/data-plane/server/op-thread.js +71 -0
  120. package/dist/data-plane/server/op-thread.js.map +1 -0
  121. package/dist/data-plane/server/routes/activity-subscription.js +3 -3
  122. package/dist/data-plane/server/routes/activity-subscription.js.map +1 -1
  123. package/dist/data-plane/server/routes/blocks.js +6 -6
  124. package/dist/data-plane/server/routes/blocks.js.map +1 -1
  125. package/dist/data-plane/server/routes/bookmarks.js +3 -3
  126. package/dist/data-plane/server/routes/bookmarks.js.map +1 -1
  127. package/dist/data-plane/server/routes/drafts.js +3 -3
  128. package/dist/data-plane/server/routes/drafts.js.map +1 -1
  129. package/dist/data-plane/server/routes/feed-gens.js +14 -12
  130. package/dist/data-plane/server/routes/feed-gens.js.map +1 -1
  131. package/dist/data-plane/server/routes/feeds.d.ts.map +1 -1
  132. package/dist/data-plane/server/routes/feeds.js +36 -15
  133. package/dist/data-plane/server/routes/feeds.js.map +1 -1
  134. package/dist/data-plane/server/routes/follows.js +6 -6
  135. package/dist/data-plane/server/routes/follows.js.map +1 -1
  136. package/dist/data-plane/server/routes/likes.js +6 -6
  137. package/dist/data-plane/server/routes/likes.js.map +1 -1
  138. package/dist/data-plane/server/routes/lists.js +6 -6
  139. package/dist/data-plane/server/routes/lists.js.map +1 -1
  140. package/dist/data-plane/server/routes/mutes.js +7 -7
  141. package/dist/data-plane/server/routes/mutes.js.map +1 -1
  142. package/dist/data-plane/server/routes/notifs.js +3 -3
  143. package/dist/data-plane/server/routes/notifs.js.map +1 -1
  144. package/dist/data-plane/server/routes/quotes.js +3 -3
  145. package/dist/data-plane/server/routes/quotes.js.map +1 -1
  146. package/dist/data-plane/server/routes/records.d.ts +3 -1
  147. package/dist/data-plane/server/routes/records.d.ts.map +1 -1
  148. package/dist/data-plane/server/routes/records.js +41 -4
  149. package/dist/data-plane/server/routes/records.js.map +1 -1
  150. package/dist/data-plane/server/routes/reposts.js +6 -6
  151. package/dist/data-plane/server/routes/reposts.js.map +1 -1
  152. package/dist/data-plane/server/routes/search.js +9 -9
  153. package/dist/data-plane/server/routes/search.js.map +1 -1
  154. package/dist/data-plane/server/routes/starter-packs.js +3 -3
  155. package/dist/data-plane/server/routes/starter-packs.js.map +1 -1
  156. package/dist/data-plane/server/routes/threads.d.ts.map +1 -1
  157. package/dist/data-plane/server/routes/threads.js +3 -74
  158. package/dist/data-plane/server/routes/threads.js.map +1 -1
  159. package/dist/feature-gates/gates.d.ts +2 -1
  160. package/dist/feature-gates/gates.d.ts.map +1 -1
  161. package/dist/feature-gates/gates.js +2 -1
  162. package/dist/feature-gates/gates.js.map +1 -1
  163. package/dist/hydration/feed.d.ts +3 -0
  164. package/dist/hydration/feed.d.ts.map +1 -1
  165. package/dist/hydration/feed.js +12 -0
  166. package/dist/hydration/feed.js.map +1 -1
  167. package/dist/hydration/hydrator.d.ts.map +1 -1
  168. package/dist/hydration/hydrator.js +4 -2
  169. package/dist/hydration/hydrator.js.map +1 -1
  170. package/dist/image/server.d.ts +1 -1
  171. package/dist/image/server.d.ts.map +1 -1
  172. package/dist/image/server.js +40 -22
  173. package/dist/image/server.js.map +1 -1
  174. package/dist/lexicons/app/bsky/actor/contentVisibilityDeclaration.d.ts +3 -0
  175. package/dist/lexicons/app/bsky/actor/contentVisibilityDeclaration.d.ts.map +1 -0
  176. package/dist/lexicons/app/bsky/actor/contentVisibilityDeclaration.defs.d.ts +66 -0
  177. package/dist/lexicons/app/bsky/actor/contentVisibilityDeclaration.defs.d.ts.map +1 -0
  178. package/dist/lexicons/app/bsky/actor/contentVisibilityDeclaration.defs.js +26 -0
  179. package/dist/lexicons/app/bsky/actor/contentVisibilityDeclaration.defs.js.map +1 -0
  180. package/dist/lexicons/app/bsky/actor/contentVisibilityDeclaration.js +6 -0
  181. package/dist/lexicons/app/bsky/actor/contentVisibilityDeclaration.js.map +1 -0
  182. package/dist/lexicons/app/bsky/actor.d.ts +1 -0
  183. package/dist/lexicons/app/bsky/actor.d.ts.map +1 -1
  184. package/dist/lexicons/app/bsky/actor.js +1 -0
  185. package/dist/lexicons/app/bsky/actor.js.map +1 -1
  186. package/dist/lexicons/app/bsky/authCreatePosts.defs.d.ts.map +1 -1
  187. package/dist/lexicons/app/bsky/authCreatePosts.defs.js +5 -0
  188. package/dist/lexicons/app/bsky/authCreatePosts.defs.js.map +1 -1
  189. package/dist/lexicons/app/bsky/authFullApp.defs.d.ts.map +1 -1
  190. package/dist/lexicons/app/bsky/authFullApp.defs.js +5 -0
  191. package/dist/lexicons/app/bsky/authFullApp.defs.js.map +1 -1
  192. package/dist/lexicons/app/bsky/video/abortUpload.d.ts +3 -0
  193. package/dist/lexicons/app/bsky/video/abortUpload.d.ts.map +1 -0
  194. package/dist/lexicons/app/bsky/video/abortUpload.defs.d.ts +53 -0
  195. package/dist/lexicons/app/bsky/video/abortUpload.defs.d.ts.map +1 -0
  196. package/dist/lexicons/app/bsky/video/abortUpload.defs.js +26 -0
  197. package/dist/lexicons/app/bsky/video/abortUpload.defs.js.map +1 -0
  198. package/dist/lexicons/app/bsky/video/abortUpload.js +6 -0
  199. package/dist/lexicons/app/bsky/video/abortUpload.js.map +1 -0
  200. package/dist/lexicons/app/bsky/video/defs.defs.d.ts +1 -1
  201. package/dist/lexicons/app/bsky/video/defs.defs.d.ts.map +1 -1
  202. package/dist/lexicons/app/bsky/video/defs.defs.js.map +1 -1
  203. package/dist/lexicons/app/bsky/video/finishUpload.d.ts +3 -0
  204. package/dist/lexicons/app/bsky/video/finishUpload.d.ts.map +1 -0
  205. package/dist/lexicons/app/bsky/video/finishUpload.defs.d.ts +42 -0
  206. package/dist/lexicons/app/bsky/video/finishUpload.defs.d.ts.map +1 -0
  207. package/dist/lexicons/app/bsky/video/finishUpload.defs.js +30 -0
  208. package/dist/lexicons/app/bsky/video/finishUpload.defs.js.map +1 -0
  209. package/dist/lexicons/app/bsky/video/finishUpload.js +6 -0
  210. package/dist/lexicons/app/bsky/video/finishUpload.js.map +1 -0
  211. package/dist/lexicons/app/bsky/video/getUploadStatus.d.ts +3 -0
  212. package/dist/lexicons/app/bsky/video/getUploadStatus.d.ts.map +1 -0
  213. package/dist/lexicons/app/bsky/video/getUploadStatus.defs.d.ts +73 -0
  214. package/dist/lexicons/app/bsky/video/getUploadStatus.defs.d.ts.map +1 -0
  215. package/dist/lexicons/app/bsky/video/getUploadStatus.defs.js +30 -0
  216. package/dist/lexicons/app/bsky/video/getUploadStatus.defs.js.map +1 -0
  217. package/dist/lexicons/app/bsky/video/getUploadStatus.js +6 -0
  218. package/dist/lexicons/app/bsky/video/getUploadStatus.js.map +1 -0
  219. package/dist/lexicons/app/bsky/video/startUpload.d.ts +3 -0
  220. package/dist/lexicons/app/bsky/video/startUpload.d.ts.map +1 -0
  221. package/dist/lexicons/app/bsky/video/startUpload.defs.d.ts +63 -0
  222. package/dist/lexicons/app/bsky/video/startUpload.defs.d.ts.map +1 -0
  223. package/dist/lexicons/app/bsky/video/startUpload.defs.js +36 -0
  224. package/dist/lexicons/app/bsky/video/startUpload.defs.js.map +1 -0
  225. package/dist/lexicons/app/bsky/video/startUpload.js +6 -0
  226. package/dist/lexicons/app/bsky/video/startUpload.js.map +1 -0
  227. package/dist/lexicons/app/bsky/video/uploadPart.d.ts +3 -0
  228. package/dist/lexicons/app/bsky/video/uploadPart.d.ts.map +1 -0
  229. package/dist/lexicons/app/bsky/video/uploadPart.defs.d.ts +37 -0
  230. package/dist/lexicons/app/bsky/video/uploadPart.defs.d.ts.map +1 -0
  231. package/dist/lexicons/app/bsky/video/uploadPart.defs.js +31 -0
  232. package/dist/lexicons/app/bsky/video/uploadPart.defs.js.map +1 -0
  233. package/dist/lexicons/app/bsky/video/uploadPart.js +6 -0
  234. package/dist/lexicons/app/bsky/video/uploadPart.js.map +1 -0
  235. package/dist/lexicons/app/bsky/video.d.ts +5 -0
  236. package/dist/lexicons/app/bsky/video.d.ts.map +1 -1
  237. package/dist/lexicons/app/bsky/video.js +5 -0
  238. package/dist/lexicons/app/bsky/video.js.map +1 -1
  239. package/dist/proto/bsky_pb.d.ts +39 -0
  240. package/dist/proto/bsky_pb.d.ts.map +1 -1
  241. package/dist/proto/bsky_pb.js +55 -0
  242. package/dist/proto/bsky_pb.js.map +1 -1
  243. package/dist/views/index.d.ts.map +1 -1
  244. package/dist/views/index.js +2 -0
  245. package/dist/views/index.js.map +1 -1
  246. package/dist/views/types.d.ts +4 -1
  247. package/dist/views/types.d.ts.map +1 -1
  248. package/dist/views/types.js.map +1 -1
  249. package/package.json +10 -10
@@ -1 +1 @@
1
- {"version":3,"file":"defs.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/video/defs.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAEhC,MAAM,KAAK,GAAG,qBAAqB,CAAA;AAInC,OAAO,EAAE,KAAK,EAAE,CAAA;AAkChB,MAAM,SAAS,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAC3C,KAAK,EACL,WAAW;AACX,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACrB,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IAC/B,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;IAC9C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAEzB;IACJ,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAChC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,CACtD;IACD,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;IACtD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACzD,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IACnC,aAAa,CAAC,CAAC,CAAC,MAAM,EAQlB,CACL;IACD,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC5D,CAAC,CACH,CAAA;AAED,OAAO,EAAE,SAAS,EAAE,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'app.bsky.video.defs'\n\ntype $nsid = typeof $nsid\n\nexport { $nsid }\n\ntype JobStatus = {\n $type?: 'app.bsky.video.defs#jobStatus'\n jobId: string\n did: l.DidString\n\n /**\n * The state of the video processing job. All values not listed as a known value indicate that the job is in process.\n */\n state: 'JOB_STATE_COMPLETED' | 'JOB_STATE_FAILED' | l.UnknownString\n\n /**\n * Progress within the current processing state.\n */\n progress?: number\n blob?: l.BlobRef\n error?: string\n\n /**\n * A machine-readable code for why the video processing job failed.\n */\n failureCode?:\n | 'validation_failure'\n | 'encoding_failure'\n | 'pds_upload_failure'\n | 'pds_upload_unsupported_blob_size'\n | 'generic_failure'\n | l.UnknownString\n message?: string\n}\n\nexport type { JobStatus }\n\nconst jobStatus = /*#__PURE__*/ l.typedObject<JobStatus>(\n $nsid,\n 'jobStatus',\n /*#__PURE__*/ l.object({\n jobId: /*#__PURE__*/ l.string(),\n did: /*#__PURE__*/ l.string({ format: 'did' }),\n state: /*#__PURE__*/ l.string<{\n knownValues: ['JOB_STATE_COMPLETED', 'JOB_STATE_FAILED']\n }>(),\n progress: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.integer({ minimum: 0, maximum: 100 }),\n ),\n blob: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.blob()),\n error: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\n failureCode: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string<{\n knownValues: [\n 'validation_failure',\n 'encoding_failure',\n 'pds_upload_failure',\n 'pds_upload_unsupported_blob_size',\n 'generic_failure',\n ]\n }>(),\n ),\n message: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\n }),\n)\n\nexport { jobStatus }\n"]}
1
+ {"version":3,"file":"defs.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/video/defs.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAEhC,MAAM,KAAK,GAAG,qBAAqB,CAAA;AAInC,OAAO,EAAE,KAAK,EAAE,CAAA;AA4ChB,MAAM,SAAS,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAC3C,KAAK,EACL,WAAW;AACX,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACrB,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IAC/B,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;IAC9C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAYzB;IACJ,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAChC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,CACtD;IACD,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;IACtD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACzD,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IACnC,aAAa,CAAC,CAAC,CAAC,MAAM,EAQlB,CACL;IACD,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC5D,CAAC,CACH,CAAA;AAED,OAAO,EAAE,SAAS,EAAE,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'app.bsky.video.defs'\n\ntype $nsid = typeof $nsid\n\nexport { $nsid }\n\ntype JobStatus = {\n $type?: 'app.bsky.video.defs#jobStatus'\n jobId: string\n did: l.DidString\n\n /**\n * The state of the video processing job. All values not listed as a known value indicate that the job is in process.\n */\n state:\n | 'JOB_STATE_CREATED'\n | 'JOB_STATE_ENCODING'\n | 'JOB_STATE_ENCODED'\n | 'JOB_STATE_SCANNING'\n | 'JOB_STATE_SCANNED'\n | 'JOB_STATE_UPLOADING'\n | 'JOB_STATE_UPLOADED'\n | 'JOB_STATE_COMPLETED'\n | 'JOB_STATE_FAILED'\n | l.UnknownString\n\n /**\n * Progress within the current processing state.\n */\n progress?: number\n blob?: l.BlobRef\n error?: string\n\n /**\n * A machine-readable code for why the video processing job failed.\n */\n failureCode?:\n | 'validation_failure'\n | 'encoding_failure'\n | 'pds_upload_failure'\n | 'pds_upload_unsupported_blob_size'\n | 'generic_failure'\n | l.UnknownString\n message?: string\n}\n\nexport type { JobStatus }\n\nconst jobStatus = /*#__PURE__*/ l.typedObject<JobStatus>(\n $nsid,\n 'jobStatus',\n /*#__PURE__*/ l.object({\n jobId: /*#__PURE__*/ l.string(),\n did: /*#__PURE__*/ l.string({ format: 'did' }),\n state: /*#__PURE__*/ l.string<{\n knownValues: [\n 'JOB_STATE_CREATED',\n 'JOB_STATE_ENCODING',\n 'JOB_STATE_ENCODED',\n 'JOB_STATE_SCANNING',\n 'JOB_STATE_SCANNED',\n 'JOB_STATE_UPLOADING',\n 'JOB_STATE_UPLOADED',\n 'JOB_STATE_COMPLETED',\n 'JOB_STATE_FAILED',\n ]\n }>(),\n progress: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.integer({ minimum: 0, maximum: 100 }),\n ),\n blob: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.blob()),\n error: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\n failureCode: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string<{\n knownValues: [\n 'validation_failure',\n 'encoding_failure',\n 'pds_upload_failure',\n 'pds_upload_unsupported_blob_size',\n 'generic_failure',\n ]\n }>(),\n ),\n message: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\n }),\n)\n\nexport { jobStatus }\n"]}
@@ -0,0 +1,3 @@
1
+ export * from './finishUpload.defs.js';
2
+ export { main as default } from './finishUpload.defs.js';
3
+ //# sourceMappingURL=finishUpload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"finishUpload.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/video/finishUpload.ts"],"names":[],"mappings":"AAIA,cAAc,wBAAwB,CAAA;AACtC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,wBAAwB,CAAA"}
@@ -0,0 +1,42 @@
1
+ import { l } from '@atproto/lex';
2
+ import * as VideoDefs from './defs.defs.js';
3
+ declare const $nsid = "app.bsky.video.finishUpload";
4
+ type $nsid = typeof $nsid;
5
+ export { $nsid };
6
+ export declare const $params: l.ParamsSchema<{}>;
7
+ export type $Params = l.InferOutput<typeof $params>;
8
+ export declare const $input: l.Payload<"application/json", l.ObjectSchema<{
9
+ jobId: l.StringSchema<{
10
+ readonly minLength: 1;
11
+ readonly maxLength: 256;
12
+ }>;
13
+ }>>;
14
+ export type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;
15
+ export type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;
16
+ export declare const $output: l.Payload<"application/json", l.ObjectSchema<{
17
+ completedJobId: l.StringSchema<{
18
+ readonly minLength: 1;
19
+ readonly maxLength: 256;
20
+ }>;
21
+ jobStatus: l.RefSchema<l.Validator<VideoDefs.JobStatus, VideoDefs.JobStatus>>;
22
+ }>>;
23
+ export type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;
24
+ export type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;
25
+ /** Finish an upload. This call is idempotent and safe to retry. On deduplication completedJobId may differ from the input jobId; poll getJobStatus with completedJobId. Probe-based validation failures surface later as JOB_STATE_FAILED from getJobStatus, not as errors from this call. */
26
+ declare const main: l.Procedure<"app.bsky.video.finishUpload", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
27
+ jobId: l.StringSchema<{
28
+ readonly minLength: 1;
29
+ readonly maxLength: 256;
30
+ }>;
31
+ }>>, l.Payload<"application/json", l.ObjectSchema<{
32
+ completedJobId: l.StringSchema<{
33
+ readonly minLength: 1;
34
+ readonly maxLength: 256;
35
+ }>;
36
+ jobStatus: l.RefSchema<l.Validator<VideoDefs.JobStatus, VideoDefs.JobStatus>>;
37
+ }>>, readonly ["UploadNotFound", "UploadExpired", "MissingParts", "UploadNotReady", "UnsupportedContentType", "UploadFailed", "UploadAborted", "ServiceOverloaded"]>;
38
+ export { main };
39
+ declare const $lxm = "app.bsky.video.finishUpload";
40
+ type $lxm = typeof $lxm;
41
+ export { $lxm };
42
+ //# sourceMappingURL=finishUpload.defs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"finishUpload.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/video/finishUpload.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAA;AAE3C,QAAA,MAAM,KAAK,gCAAgC,CAAA;AAE3C,KAAK,KAAK,GAAG,OAAO,KAAK,CAAA;AAEzB,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,eAAO,MAAM,OAAO,oBAA2B,CAAA;AAE/C,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,CAAA;AAEnD,eAAO,MAAM,MAAM;;;;;GAEjB,CAAA;AAEF,MAAM,MAAM,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAA;AACvE,MAAM,MAAM,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAA;AAE/E,eAAO,MAAM,OAAO;;;;;;GAKlB,CAAA;AAEF,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAA;AACzE,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAC5D,OAAO,OAAO,EACd,CAAC,CACF,CAAA;AAED,8RAA8R;AAC9R,QAAA,MAAM,IAAI;;;;;;;;;;;oKASR,CAAA;AAEF,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,QAAA,MAAM,IAAI,gCAAQ,CAAA;AAElB,KAAK,IAAI,GAAG,OAAO,IAAI,CAAA;AAEvB,OAAO,EAAE,IAAI,EAAE,CAAA"}
@@ -0,0 +1,30 @@
1
+ /*
2
+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
3
+ */
4
+ import { l } from '@atproto/lex';
5
+ import * as VideoDefs from './defs.defs.js';
6
+ const $nsid = 'app.bsky.video.finishUpload';
7
+ export { $nsid };
8
+ export const $params = /*#__PURE__*/ l.params();
9
+ export const $input = /*#__PURE__*/ l.jsonPayload({
10
+ jobId: /*#__PURE__*/ l.string({ minLength: 1, maxLength: 256 }),
11
+ });
12
+ export const $output = /*#__PURE__*/ l.jsonPayload({
13
+ completedJobId: /*#__PURE__*/ l.string({ minLength: 1, maxLength: 256 }),
14
+ jobStatus: /*#__PURE__*/ l.ref((() => VideoDefs.jobStatus)),
15
+ });
16
+ /** Finish an upload. This call is idempotent and safe to retry. On deduplication completedJobId may differ from the input jobId; poll getJobStatus with completedJobId. Probe-based validation failures surface later as JOB_STATE_FAILED from getJobStatus, not as errors from this call. */
17
+ const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, [
18
+ 'UploadNotFound',
19
+ 'UploadExpired',
20
+ 'MissingParts',
21
+ 'UploadNotReady',
22
+ 'UnsupportedContentType',
23
+ 'UploadFailed',
24
+ 'UploadAborted',
25
+ 'ServiceOverloaded',
26
+ ]);
27
+ export { main };
28
+ const $lxm = $nsid;
29
+ export { $lxm };
30
+ //# sourceMappingURL=finishUpload.defs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"finishUpload.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/video/finishUpload.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAA;AAE3C,MAAM,KAAK,GAAG,6BAA6B,CAAA;AAI3C,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAA;AAI/C,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC;IAChD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC;CAChE,CAAC,CAAA;AAKF,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC;IACjD,cAAc,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC;IACxE,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,GAAG,CAC5B,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,CAAQ,CACnC;CACF,CAAC,CAAA;AAQF,8RAA8R;AAC9R,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE;IACtE,gBAAgB;IAChB,eAAe;IACf,cAAc;IACd,gBAAgB;IAChB,wBAAwB;IACxB,cAAc;IACd,eAAe;IACf,mBAAmB;CACpB,CAAC,CAAA;AAEF,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,MAAM,IAAI,GAAG,KAAK,CAAA;AAIlB,OAAO,EAAE,IAAI,EAAE,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as VideoDefs from './defs.defs.js'\n\nconst $nsid = 'app.bsky.video.finishUpload'\n\ntype $nsid = typeof $nsid\n\nexport { $nsid }\n\nexport const $params = /*#__PURE__*/ l.params()\n\nexport type $Params = l.InferOutput<typeof $params>\n\nexport const $input = /*#__PURE__*/ l.jsonPayload({\n jobId: /*#__PURE__*/ l.string({ minLength: 1, maxLength: 256 }),\n})\n\nexport type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>\nexport type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>\n\nexport const $output = /*#__PURE__*/ l.jsonPayload({\n completedJobId: /*#__PURE__*/ l.string({ minLength: 1, maxLength: 256 }),\n jobStatus: /*#__PURE__*/ l.ref<VideoDefs.JobStatus>(\n (() => VideoDefs.jobStatus) as any,\n ),\n})\n\nexport type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<\n typeof $output,\n B\n>\n\n/** Finish an upload. This call is idempotent and safe to retry. On deduplication completedJobId may differ from the input jobId; poll getJobStatus with completedJobId. Probe-based validation failures surface later as JOB_STATE_FAILED from getJobStatus, not as errors from this call. */\nconst main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, [\n 'UploadNotFound',\n 'UploadExpired',\n 'MissingParts',\n 'UploadNotReady',\n 'UnsupportedContentType',\n 'UploadFailed',\n 'UploadAborted',\n 'ServiceOverloaded',\n])\n\nexport { main }\n\nconst $lxm = $nsid\n\ntype $lxm = typeof $lxm\n\nexport { $lxm }\n"]}
@@ -0,0 +1,6 @@
1
+ /*
2
+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
3
+ */
4
+ export * from './finishUpload.defs.js';
5
+ export { main as default } from './finishUpload.defs.js';
6
+ //# sourceMappingURL=finishUpload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"finishUpload.js","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/video/finishUpload.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,wBAAwB,CAAA;AACtC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,wBAAwB,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './finishUpload.defs.js'\nexport { main as default } from './finishUpload.defs.js'\n"]}
@@ -0,0 +1,3 @@
1
+ export * from './getUploadStatus.defs.js';
2
+ export { main as default } from './getUploadStatus.defs.js';
3
+ //# sourceMappingURL=getUploadStatus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getUploadStatus.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/video/getUploadStatus.ts"],"names":[],"mappings":"AAIA,cAAc,2BAA2B,CAAA;AACzC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,2BAA2B,CAAA"}
@@ -0,0 +1,73 @@
1
+ import { l } from '@atproto/lex';
2
+ import * as VideoDefs from './defs.defs.js';
3
+ declare const $nsid = "app.bsky.video.getUploadStatus";
4
+ type $nsid = typeof $nsid;
5
+ export { $nsid };
6
+ export declare const $params: l.ParamsSchema<{
7
+ readonly jobId: l.StringSchema<{
8
+ readonly minLength: 1;
9
+ readonly maxLength: 256;
10
+ }>;
11
+ }>;
12
+ export type $Params = l.InferOutput<typeof $params>;
13
+ export declare const $output: l.Payload<"application/json", l.ObjectSchema<{
14
+ jobId: l.StringSchema<{
15
+ readonly minLength: 1;
16
+ readonly maxLength: 256;
17
+ }>;
18
+ partSizeBytes: l.IntegerSchema;
19
+ partCount: l.IntegerSchema;
20
+ receivedParts: l.ArraySchema<l.IntegerSchema>;
21
+ expiresAt: l.StringSchema<{
22
+ readonly format: "datetime";
23
+ }>;
24
+ state: l.StringSchema<{
25
+ maxLength: 32;
26
+ knownValues: ['created', 'finishing', 'completed', 'failed', 'aborted', 'expired'];
27
+ }>;
28
+ completedJobId: l.OptionalSchema<l.StringSchema<{
29
+ readonly minLength: 1;
30
+ readonly maxLength: 256;
31
+ }>>;
32
+ jobStatus: l.OptionalSchema<l.RefSchema<l.Validator<VideoDefs.JobStatus, VideoDefs.JobStatus>>>;
33
+ failureReason: l.OptionalSchema<l.StringSchema<{
34
+ readonly maxLength: 1024;
35
+ }>>;
36
+ }>>;
37
+ export type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;
38
+ export type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;
39
+ /** Get the authoritative status of the upload phase. Terminal states remain readable. completedJobId and jobStatus are present only for completed sessions; failureReason is present only for failed sessions. */
40
+ declare const main: l.Query<"app.bsky.video.getUploadStatus", l.ParamsSchema<{
41
+ readonly jobId: l.StringSchema<{
42
+ readonly minLength: 1;
43
+ readonly maxLength: 256;
44
+ }>;
45
+ }>, l.Payload<"application/json", l.ObjectSchema<{
46
+ jobId: l.StringSchema<{
47
+ readonly minLength: 1;
48
+ readonly maxLength: 256;
49
+ }>;
50
+ partSizeBytes: l.IntegerSchema;
51
+ partCount: l.IntegerSchema;
52
+ receivedParts: l.ArraySchema<l.IntegerSchema>;
53
+ expiresAt: l.StringSchema<{
54
+ readonly format: "datetime";
55
+ }>;
56
+ state: l.StringSchema<{
57
+ maxLength: 32;
58
+ knownValues: ['created', 'finishing', 'completed', 'failed', 'aborted', 'expired'];
59
+ }>;
60
+ completedJobId: l.OptionalSchema<l.StringSchema<{
61
+ readonly minLength: 1;
62
+ readonly maxLength: 256;
63
+ }>>;
64
+ jobStatus: l.OptionalSchema<l.RefSchema<l.Validator<VideoDefs.JobStatus, VideoDefs.JobStatus>>>;
65
+ failureReason: l.OptionalSchema<l.StringSchema<{
66
+ readonly maxLength: 1024;
67
+ }>>;
68
+ }>>, readonly ["UploadNotFound"]>;
69
+ export { main };
70
+ declare const $lxm = "app.bsky.video.getUploadStatus";
71
+ type $lxm = typeof $lxm;
72
+ export { $lxm };
73
+ //# sourceMappingURL=getUploadStatus.defs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getUploadStatus.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/video/getUploadStatus.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAA;AAE3C,QAAA,MAAM,KAAK,mCAAmC,CAAA;AAE9C,KAAK,KAAK,GAAG,OAAO,KAAK,CAAA;AAEzB,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,eAAO,MAAM,OAAO;;;;;EAElB,CAAA;AAEF,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,CAAA;AAEnD,eAAO,MAAM,OAAO;;;;;;;;;;;;mBAOL,EAAE;qBACA,CACX,SAAS,EACT,WAAW,EACX,WAAW,EACX,QAAQ,EACR,SAAS,EACT,SAAS,CACV;;;;;;;;;;GAaH,CAAA;AAEF,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAA;AACzE,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAC5D,OAAO,OAAO,EACd,CAAC,CACF,CAAA;AAED,kNAAkN;AAClN,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;mBA9BK,EAAE;qBACA,CACX,SAAS,EACT,WAAW,EACX,WAAW,EACX,QAAQ,EACR,SAAS,EACT,SAAS,CACV;;;;;;;;;;iCAsB0E,CAAA;AAE/E,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,QAAA,MAAM,IAAI,mCAAQ,CAAA;AAElB,KAAK,IAAI,GAAG,OAAO,IAAI,CAAA;AAEvB,OAAO,EAAE,IAAI,EAAE,CAAA"}
@@ -0,0 +1,30 @@
1
+ /*
2
+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
3
+ */
4
+ import { l } from '@atproto/lex';
5
+ import * as VideoDefs from './defs.defs.js';
6
+ const $nsid = 'app.bsky.video.getUploadStatus';
7
+ export { $nsid };
8
+ export const $params = /*#__PURE__*/ l.params({
9
+ jobId: /*#__PURE__*/ l.string({ minLength: 1, maxLength: 256 }),
10
+ });
11
+ export const $output = /*#__PURE__*/ l.jsonPayload({
12
+ jobId: /*#__PURE__*/ l.string({ minLength: 1, maxLength: 256 }),
13
+ partSizeBytes: /*#__PURE__*/ l.integer(),
14
+ partCount: /*#__PURE__*/ l.integer(),
15
+ receivedParts: /*#__PURE__*/ l.array(/*#__PURE__*/ l.integer({ minimum: 1 })),
16
+ expiresAt: /*#__PURE__*/ l.string({ format: 'datetime' }),
17
+ state: /*#__PURE__*/ l.string({ maxLength: 32 }),
18
+ completedJobId: /*#__PURE__*/ l.optional(
19
+ /*#__PURE__*/ l.string({ minLength: 1, maxLength: 256 })),
20
+ jobStatus: /*#__PURE__*/ l.optional(
21
+ /*#__PURE__*/ l.ref((() => VideoDefs.jobStatus))),
22
+ failureReason: /*#__PURE__*/ l.optional(
23
+ /*#__PURE__*/ l.string({ maxLength: 1024 })),
24
+ });
25
+ /** Get the authoritative status of the upload phase. Terminal states remain readable. completedJobId and jobStatus are present only for completed sessions; failureReason is present only for failed sessions. */
26
+ const main = /*#__PURE__*/ l.query($nsid, $params, $output, ['UploadNotFound']);
27
+ export { main };
28
+ const $lxm = $nsid;
29
+ export { $lxm };
30
+ //# sourceMappingURL=getUploadStatus.defs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getUploadStatus.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/video/getUploadStatus.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAA;AAE3C,MAAM,KAAK,GAAG,gCAAgC,CAAA;AAI9C,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAC5C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC;CAChE,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC;IACjD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC;IAC/D,aAAa,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE;IACxC,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE;IACpC,aAAa,EAAE,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC;IAC7E,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC;IACzD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAU1B,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC;IACrB,cAAc,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IACtC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC,CACzD;IACD,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IACjC,aAAa,CAAC,CAAC,CAAC,GAAG,CACjB,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,CAAQ,CACnC,CACF;IACD,aAAa,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IACrC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAC5C;CACF,CAAC,CAAA;AAQF,kNAAkN;AAClN,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,gBAAgB,CAAC,CAAC,CAAA;AAE/E,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,MAAM,IAAI,GAAG,KAAK,CAAA;AAIlB,OAAO,EAAE,IAAI,EAAE,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as VideoDefs from './defs.defs.js'\n\nconst $nsid = 'app.bsky.video.getUploadStatus'\n\ntype $nsid = typeof $nsid\n\nexport { $nsid }\n\nexport const $params = /*#__PURE__*/ l.params({\n jobId: /*#__PURE__*/ l.string({ minLength: 1, maxLength: 256 }),\n})\n\nexport type $Params = l.InferOutput<typeof $params>\n\nexport const $output = /*#__PURE__*/ l.jsonPayload({\n jobId: /*#__PURE__*/ l.string({ minLength: 1, maxLength: 256 }),\n partSizeBytes: /*#__PURE__*/ l.integer(),\n partCount: /*#__PURE__*/ l.integer(),\n receivedParts: /*#__PURE__*/ l.array(/*#__PURE__*/ l.integer({ minimum: 1 })),\n expiresAt: /*#__PURE__*/ l.string({ format: 'datetime' }),\n state: /*#__PURE__*/ l.string<{\n maxLength: 32\n knownValues: [\n 'created',\n 'finishing',\n 'completed',\n 'failed',\n 'aborted',\n 'expired',\n ]\n }>({ maxLength: 32 }),\n completedJobId: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string({ minLength: 1, maxLength: 256 }),\n ),\n jobStatus: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.ref<VideoDefs.JobStatus>(\n (() => VideoDefs.jobStatus) as any,\n ),\n ),\n failureReason: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string({ maxLength: 1024 }),\n ),\n})\n\nexport type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<\n typeof $output,\n B\n>\n\n/** Get the authoritative status of the upload phase. Terminal states remain readable. completedJobId and jobStatus are present only for completed sessions; failureReason is present only for failed sessions. */\nconst main = /*#__PURE__*/ l.query($nsid, $params, $output, ['UploadNotFound'])\n\nexport { main }\n\nconst $lxm = $nsid\n\ntype $lxm = typeof $lxm\n\nexport { $lxm }\n"]}
@@ -0,0 +1,6 @@
1
+ /*
2
+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
3
+ */
4
+ export * from './getUploadStatus.defs.js';
5
+ export { main as default } from './getUploadStatus.defs.js';
6
+ //# sourceMappingURL=getUploadStatus.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getUploadStatus.js","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/video/getUploadStatus.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,2BAA2B,CAAA;AACzC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,2BAA2B,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './getUploadStatus.defs.js'\nexport { main as default } from './getUploadStatus.defs.js'\n"]}
@@ -0,0 +1,3 @@
1
+ export * from './startUpload.defs.js';
2
+ export { main as default } from './startUpload.defs.js';
3
+ //# sourceMappingURL=startUpload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"startUpload.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/video/startUpload.ts"],"names":[],"mappings":"AAIA,cAAc,uBAAuB,CAAA;AACrC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,uBAAuB,CAAA"}
@@ -0,0 +1,63 @@
1
+ import { l } from '@atproto/lex';
2
+ declare const $nsid = "app.bsky.video.startUpload";
3
+ type $nsid = typeof $nsid;
4
+ export { $nsid };
5
+ export declare const $params: l.ParamsSchema<{}>;
6
+ export type $Params = l.InferOutput<typeof $params>;
7
+ export declare const $input: l.Payload<"application/json", l.ObjectSchema<{
8
+ sizeBytes: l.IntegerSchema;
9
+ mimeType: l.StringSchema<{
10
+ readonly minLength: 3;
11
+ readonly maxLength: 255;
12
+ }>;
13
+ name: l.OptionalSchema<l.StringSchema<{
14
+ readonly maxLength: 256;
15
+ }>>;
16
+ durationMs: l.OptionalSchema<l.IntegerSchema>;
17
+ width: l.OptionalSchema<l.IntegerSchema>;
18
+ height: l.OptionalSchema<l.IntegerSchema>;
19
+ }>>;
20
+ export type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;
21
+ export type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;
22
+ export declare const $output: l.Payload<"application/json", l.ObjectSchema<{
23
+ jobId: l.StringSchema<{
24
+ readonly minLength: 1;
25
+ readonly maxLength: 256;
26
+ }>;
27
+ partSizeBytes: l.IntegerSchema;
28
+ partCount: l.IntegerSchema;
29
+ expiresAt: l.StringSchema<{
30
+ readonly format: "datetime";
31
+ }>;
32
+ }>>;
33
+ export type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;
34
+ export type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;
35
+ /** Start a multipart video upload. The declared size is exact, while optional media properties are advisory and used only for early failure; the authoritative probe runs asynchronously after upload. */
36
+ declare const main: l.Procedure<"app.bsky.video.startUpload", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
37
+ sizeBytes: l.IntegerSchema;
38
+ mimeType: l.StringSchema<{
39
+ readonly minLength: 3;
40
+ readonly maxLength: 255;
41
+ }>;
42
+ name: l.OptionalSchema<l.StringSchema<{
43
+ readonly maxLength: 256;
44
+ }>>;
45
+ durationMs: l.OptionalSchema<l.IntegerSchema>;
46
+ width: l.OptionalSchema<l.IntegerSchema>;
47
+ height: l.OptionalSchema<l.IntegerSchema>;
48
+ }>>, l.Payload<"application/json", l.ObjectSchema<{
49
+ jobId: l.StringSchema<{
50
+ readonly minLength: 1;
51
+ readonly maxLength: 256;
52
+ }>;
53
+ partSizeBytes: l.IntegerSchema;
54
+ partCount: l.IntegerSchema;
55
+ expiresAt: l.StringSchema<{
56
+ readonly format: "datetime";
57
+ }>;
58
+ }>>, readonly ["UnsupportedContentType", "VideoTooLarge", "VideoTooLong", "BadAspectRatio", "DailyLimitExceeded", "TooManyOpenUploads", "UploadForbidden", "ServiceOverloaded"]>;
59
+ export { main };
60
+ declare const $lxm = "app.bsky.video.startUpload";
61
+ type $lxm = typeof $lxm;
62
+ export { $lxm };
63
+ //# sourceMappingURL=startUpload.defs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"startUpload.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/video/startUpload.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAEhC,QAAA,MAAM,KAAK,+BAA+B,CAAA;AAE1C,KAAK,KAAK,GAAG,OAAO,KAAK,CAAA;AAEzB,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,eAAO,MAAM,OAAO,oBAA2B,CAAA;AAE/C,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,CAAA;AAEnD,eAAO,MAAM,MAAM;;;;;;;;;;;;GAOjB,CAAA;AAEF,MAAM,MAAM,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAA;AACvE,MAAM,MAAM,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAA;AAE/E,eAAO,MAAM,OAAO;;;;;;;;;;GAKlB,CAAA;AAEF,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAA;AACzE,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAC5D,OAAO,OAAO,EACd,CAAC,CACF,CAAA;AAED,0MAA0M;AAC1M,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;gLASR,CAAA;AAEF,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,QAAA,MAAM,IAAI,+BAAQ,CAAA;AAElB,KAAK,IAAI,GAAG,OAAO,IAAI,CAAA;AAEvB,OAAO,EAAE,IAAI,EAAE,CAAA"}
@@ -0,0 +1,36 @@
1
+ /*
2
+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
3
+ */
4
+ import { l } from '@atproto/lex';
5
+ const $nsid = 'app.bsky.video.startUpload';
6
+ export { $nsid };
7
+ export const $params = /*#__PURE__*/ l.params();
8
+ export const $input = /*#__PURE__*/ l.jsonPayload({
9
+ sizeBytes: /*#__PURE__*/ l.integer({ minimum: 1 }),
10
+ mimeType: /*#__PURE__*/ l.string({ minLength: 3, maxLength: 255 }),
11
+ name: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ maxLength: 256 })),
12
+ durationMs: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),
13
+ width: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),
14
+ height: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),
15
+ });
16
+ export const $output = /*#__PURE__*/ l.jsonPayload({
17
+ jobId: /*#__PURE__*/ l.string({ minLength: 1, maxLength: 256 }),
18
+ partSizeBytes: /*#__PURE__*/ l.integer(),
19
+ partCount: /*#__PURE__*/ l.integer(),
20
+ expiresAt: /*#__PURE__*/ l.string({ format: 'datetime' }),
21
+ });
22
+ /** Start a multipart video upload. The declared size is exact, while optional media properties are advisory and used only for early failure; the authoritative probe runs asynchronously after upload. */
23
+ const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, [
24
+ 'UnsupportedContentType',
25
+ 'VideoTooLarge',
26
+ 'VideoTooLong',
27
+ 'BadAspectRatio',
28
+ 'DailyLimitExceeded',
29
+ 'TooManyOpenUploads',
30
+ 'UploadForbidden',
31
+ 'ServiceOverloaded',
32
+ ]);
33
+ export { main };
34
+ const $lxm = $nsid;
35
+ export { $lxm };
36
+ //# sourceMappingURL=startUpload.defs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"startUpload.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/video/startUpload.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAEhC,MAAM,KAAK,GAAG,4BAA4B,CAAA;AAI1C,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAA;AAI/C,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC;IAChD,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IAClD,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC;IAClE,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC,CAAC;IAC1E,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;IAC/D,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;IAC1D,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;CAC5D,CAAC,CAAA;AAKF,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC;IACjD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC;IAC/D,aAAa,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE;IACxC,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE;IACpC,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC;CAC1D,CAAC,CAAA;AAQF,0MAA0M;AAC1M,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE;IACtE,wBAAwB;IACxB,eAAe;IACf,cAAc;IACd,gBAAgB;IAChB,oBAAoB;IACpB,oBAAoB;IACpB,iBAAiB;IACjB,mBAAmB;CACpB,CAAC,CAAA;AAEF,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,MAAM,IAAI,GAAG,KAAK,CAAA;AAIlB,OAAO,EAAE,IAAI,EAAE,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'app.bsky.video.startUpload'\n\ntype $nsid = typeof $nsid\n\nexport { $nsid }\n\nexport const $params = /*#__PURE__*/ l.params()\n\nexport type $Params = l.InferOutput<typeof $params>\n\nexport const $input = /*#__PURE__*/ l.jsonPayload({\n sizeBytes: /*#__PURE__*/ l.integer({ minimum: 1 }),\n mimeType: /*#__PURE__*/ l.string({ minLength: 3, maxLength: 255 }),\n name: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ maxLength: 256 })),\n durationMs: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),\n width: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),\n height: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),\n})\n\nexport type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>\nexport type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>\n\nexport const $output = /*#__PURE__*/ l.jsonPayload({\n jobId: /*#__PURE__*/ l.string({ minLength: 1, maxLength: 256 }),\n partSizeBytes: /*#__PURE__*/ l.integer(),\n partCount: /*#__PURE__*/ l.integer(),\n expiresAt: /*#__PURE__*/ l.string({ format: 'datetime' }),\n})\n\nexport type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<\n typeof $output,\n B\n>\n\n/** Start a multipart video upload. The declared size is exact, while optional media properties are advisory and used only for early failure; the authoritative probe runs asynchronously after upload. */\nconst main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, [\n 'UnsupportedContentType',\n 'VideoTooLarge',\n 'VideoTooLong',\n 'BadAspectRatio',\n 'DailyLimitExceeded',\n 'TooManyOpenUploads',\n 'UploadForbidden',\n 'ServiceOverloaded',\n])\n\nexport { main }\n\nconst $lxm = $nsid\n\ntype $lxm = typeof $lxm\n\nexport { $lxm }\n"]}
@@ -0,0 +1,6 @@
1
+ /*
2
+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
3
+ */
4
+ export * from './startUpload.defs.js';
5
+ export { main as default } from './startUpload.defs.js';
6
+ //# sourceMappingURL=startUpload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"startUpload.js","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/video/startUpload.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,uBAAuB,CAAA;AACrC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,uBAAuB,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './startUpload.defs.js'\nexport { main as default } from './startUpload.defs.js'\n"]}
@@ -0,0 +1,3 @@
1
+ export * from './uploadPart.defs.js';
2
+ export { main as default } from './uploadPart.defs.js';
3
+ //# sourceMappingURL=uploadPart.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"uploadPart.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/video/uploadPart.ts"],"names":[],"mappings":"AAIA,cAAc,sBAAsB,CAAA;AACpC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAA"}
@@ -0,0 +1,37 @@
1
+ import { l } from '@atproto/lex';
2
+ declare const $nsid = "app.bsky.video.uploadPart";
3
+ type $nsid = typeof $nsid;
4
+ export { $nsid };
5
+ export declare const $params: l.ParamsSchema<{
6
+ readonly jobId: l.StringSchema<{
7
+ readonly minLength: 1;
8
+ readonly maxLength: 256;
9
+ }>;
10
+ readonly partNumber: l.IntegerSchema;
11
+ }>;
12
+ export type $Params = l.InferOutput<typeof $params>;
13
+ export declare const $input: l.Payload<"application/octet-stream", undefined>;
14
+ export type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;
15
+ export type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;
16
+ export declare const $output: l.Payload<"application/json", l.ObjectSchema<{
17
+ partNumber: l.IntegerSchema;
18
+ sizeBytes: l.IntegerSchema;
19
+ }>>;
20
+ export type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;
21
+ export type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;
22
+ /** Upload one part. Parts are idempotent and may be retried or re-sent while the session is created. Each expected length is derived from the upload size and part size, and Content-Length must match exactly. ETags are never exposed to clients. */
23
+ declare const main: l.Procedure<"app.bsky.video.uploadPart", l.ParamsSchema<{
24
+ readonly jobId: l.StringSchema<{
25
+ readonly minLength: 1;
26
+ readonly maxLength: 256;
27
+ }>;
28
+ readonly partNumber: l.IntegerSchema;
29
+ }>, l.Payload<"application/octet-stream", undefined>, l.Payload<"application/json", l.ObjectSchema<{
30
+ partNumber: l.IntegerSchema;
31
+ sizeBytes: l.IntegerSchema;
32
+ }>>, readonly ["UploadNotFound", "UploadExpired", "InvalidPartNumber", "PartSizeMismatch", "UploadNotReady", "UploadFailed", "UploadAborted", "UploadAlreadyCompleted", "ServiceOverloaded"]>;
33
+ export { main };
34
+ declare const $lxm = "app.bsky.video.uploadPart";
35
+ type $lxm = typeof $lxm;
36
+ export { $lxm };
37
+ //# sourceMappingURL=uploadPart.defs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"uploadPart.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/video/uploadPart.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAEhC,QAAA,MAAM,KAAK,8BAA8B,CAAA;AAEzC,KAAK,KAAK,GAAG,OAAO,KAAK,CAAA;AAEzB,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,eAAO,MAAM,OAAO;;;;;;EAGlB,CAAA;AAEF,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,CAAA;AAEnD,eAAO,MAAM,MAAM,kDAAsD,CAAA;AAEzE,MAAM,MAAM,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAA;AACvE,MAAM,MAAM,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAA;AAE/E,eAAO,MAAM,OAAO;;;GAGlB,CAAA;AAEF,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAA;AACzE,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAC5D,OAAO,OAAO,EACd,CAAC,CACF,CAAA;AAED,uPAAuP;AACvP,QAAA,MAAM,IAAI;;;;;;;;;6LAUR,CAAA;AAEF,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,QAAA,MAAM,IAAI,8BAAQ,CAAA;AAElB,KAAK,IAAI,GAAG,OAAO,IAAI,CAAA;AAEvB,OAAO,EAAE,IAAI,EAAE,CAAA"}
@@ -0,0 +1,31 @@
1
+ /*
2
+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
3
+ */
4
+ import { l } from '@atproto/lex';
5
+ const $nsid = 'app.bsky.video.uploadPart';
6
+ export { $nsid };
7
+ export const $params = /*#__PURE__*/ l.params({
8
+ jobId: /*#__PURE__*/ l.string({ minLength: 1, maxLength: 256 }),
9
+ partNumber: /*#__PURE__*/ l.integer({ minimum: 1 }),
10
+ });
11
+ export const $input = /*#__PURE__*/ l.payload('application/octet-stream');
12
+ export const $output = /*#__PURE__*/ l.jsonPayload({
13
+ partNumber: /*#__PURE__*/ l.integer({ minimum: 1 }),
14
+ sizeBytes: /*#__PURE__*/ l.integer(),
15
+ });
16
+ /** Upload one part. Parts are idempotent and may be retried or re-sent while the session is created. Each expected length is derived from the upload size and part size, and Content-Length must match exactly. ETags are never exposed to clients. */
17
+ const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, [
18
+ 'UploadNotFound',
19
+ 'UploadExpired',
20
+ 'InvalidPartNumber',
21
+ 'PartSizeMismatch',
22
+ 'UploadNotReady',
23
+ 'UploadFailed',
24
+ 'UploadAborted',
25
+ 'UploadAlreadyCompleted',
26
+ 'ServiceOverloaded',
27
+ ]);
28
+ export { main };
29
+ const $lxm = $nsid;
30
+ export { $lxm };
31
+ //# sourceMappingURL=uploadPart.defs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"uploadPart.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/video/uploadPart.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAEhC,MAAM,KAAK,GAAG,2BAA2B,CAAA;AAIzC,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAC5C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC;IAC/D,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;CACpD,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,0BAA0B,CAAC,CAAA;AAKzE,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC;IACjD,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IACnD,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE;CACrC,CAAC,CAAA;AAQF,uPAAuP;AACvP,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE;IACtE,gBAAgB;IAChB,eAAe;IACf,mBAAmB;IACnB,kBAAkB;IAClB,gBAAgB;IAChB,cAAc;IACd,eAAe;IACf,wBAAwB;IACxB,mBAAmB;CACpB,CAAC,CAAA;AAEF,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,MAAM,IAAI,GAAG,KAAK,CAAA;AAIlB,OAAO,EAAE,IAAI,EAAE,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'app.bsky.video.uploadPart'\n\ntype $nsid = typeof $nsid\n\nexport { $nsid }\n\nexport const $params = /*#__PURE__*/ l.params({\n jobId: /*#__PURE__*/ l.string({ minLength: 1, maxLength: 256 }),\n partNumber: /*#__PURE__*/ l.integer({ minimum: 1 }),\n})\n\nexport type $Params = l.InferOutput<typeof $params>\n\nexport const $input = /*#__PURE__*/ l.payload('application/octet-stream')\n\nexport type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>\nexport type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>\n\nexport const $output = /*#__PURE__*/ l.jsonPayload({\n partNumber: /*#__PURE__*/ l.integer({ minimum: 1 }),\n sizeBytes: /*#__PURE__*/ l.integer(),\n})\n\nexport type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<\n typeof $output,\n B\n>\n\n/** Upload one part. Parts are idempotent and may be retried or re-sent while the session is created. Each expected length is derived from the upload size and part size, and Content-Length must match exactly. ETags are never exposed to clients. */\nconst main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, [\n 'UploadNotFound',\n 'UploadExpired',\n 'InvalidPartNumber',\n 'PartSizeMismatch',\n 'UploadNotReady',\n 'UploadFailed',\n 'UploadAborted',\n 'UploadAlreadyCompleted',\n 'ServiceOverloaded',\n])\n\nexport { main }\n\nconst $lxm = $nsid\n\ntype $lxm = typeof $lxm\n\nexport { $lxm }\n"]}
@@ -0,0 +1,6 @@
1
+ /*
2
+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
3
+ */
4
+ export * from './uploadPart.defs.js';
5
+ export { main as default } from './uploadPart.defs.js';
6
+ //# sourceMappingURL=uploadPart.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"uploadPart.js","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/video/uploadPart.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,sBAAsB,CAAA;AACpC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './uploadPart.defs.js'\nexport { main as default } from './uploadPart.defs.js'\n"]}
@@ -1,5 +1,10 @@
1
+ export * as abortUpload from './video/abortUpload.js';
1
2
  export * as defs from './video/defs.js';
3
+ export * as finishUpload from './video/finishUpload.js';
2
4
  export * as getJobStatus from './video/getJobStatus.js';
3
5
  export * as getUploadLimits from './video/getUploadLimits.js';
6
+ export * as getUploadStatus from './video/getUploadStatus.js';
7
+ export * as startUpload from './video/startUpload.js';
8
+ export * as uploadPart from './video/uploadPart.js';
4
9
  export * as uploadVideo from './video/uploadVideo.js';
5
10
  //# sourceMappingURL=video.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"video.d.ts","sourceRoot":"","sources":["../../../../src/lexicons/app/bsky/video.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAA;AACvC,OAAO,KAAK,YAAY,MAAM,yBAAyB,CAAA;AACvD,OAAO,KAAK,eAAe,MAAM,4BAA4B,CAAA;AAC7D,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAA"}
1
+ {"version":3,"file":"video.d.ts","sourceRoot":"","sources":["../../../../src/lexicons/app/bsky/video.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAA;AACrD,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAA;AACvC,OAAO,KAAK,YAAY,MAAM,yBAAyB,CAAA;AACvD,OAAO,KAAK,YAAY,MAAM,yBAAyB,CAAA;AACvD,OAAO,KAAK,eAAe,MAAM,4BAA4B,CAAA;AAC7D,OAAO,KAAK,eAAe,MAAM,4BAA4B,CAAA;AAC7D,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAA;AACrD,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAA;AACnD,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAA"}
@@ -1,8 +1,13 @@
1
1
  /*
2
2
  * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
3
3
  */
4
+ export * as abortUpload from './video/abortUpload.js';
4
5
  export * as defs from './video/defs.js';
6
+ export * as finishUpload from './video/finishUpload.js';
5
7
  export * as getJobStatus from './video/getJobStatus.js';
6
8
  export * as getUploadLimits from './video/getUploadLimits.js';
9
+ export * as getUploadStatus from './video/getUploadStatus.js';
10
+ export * as startUpload from './video/startUpload.js';
11
+ export * as uploadPart from './video/uploadPart.js';
7
12
  export * as uploadVideo from './video/uploadVideo.js';
8
13
  //# sourceMappingURL=video.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"video.js","sourceRoot":"","sources":["../../../../src/lexicons/app/bsky/video.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAA;AACvC,OAAO,KAAK,YAAY,MAAM,yBAAyB,CAAA;AACvD,OAAO,KAAK,eAAe,MAAM,4BAA4B,CAAA;AAC7D,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as defs from './video/defs.js'\nexport * as getJobStatus from './video/getJobStatus.js'\nexport * as getUploadLimits from './video/getUploadLimits.js'\nexport * as uploadVideo from './video/uploadVideo.js'\n"]}
1
+ {"version":3,"file":"video.js","sourceRoot":"","sources":["../../../../src/lexicons/app/bsky/video.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAA;AACrD,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAA;AACvC,OAAO,KAAK,YAAY,MAAM,yBAAyB,CAAA;AACvD,OAAO,KAAK,YAAY,MAAM,yBAAyB,CAAA;AACvD,OAAO,KAAK,eAAe,MAAM,4BAA4B,CAAA;AAC7D,OAAO,KAAK,eAAe,MAAM,4BAA4B,CAAA;AAC7D,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAA;AACrD,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAA;AACnD,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as abortUpload from './video/abortUpload.js'\nexport * as defs from './video/defs.js'\nexport * as finishUpload from './video/finishUpload.js'\nexport * as getJobStatus from './video/getJobStatus.js'\nexport * as getUploadLimits from './video/getUploadLimits.js'\nexport * as getUploadStatus from './video/getUploadStatus.js'\nexport * as startUpload from './video/startUpload.js'\nexport * as uploadPart from './video/uploadPart.js'\nexport * as uploadVideo from './video/uploadVideo.js'\n"]}
@@ -451,6 +451,14 @@ export declare class GetPostRecordsRequest extends Message<GetPostRecordsRequest
451
451
  * @generated from field: optional string viewer_did = 3;
452
452
  */
453
453
  viewerDid?: string;
454
+ /**
455
+ * Include complete canonical OP threads used by AppView to derive position
456
+ * metadata. This is opt-in because resolving them is more expensive than
457
+ * the normal post record lookup.
458
+ *
459
+ * @generated from field: bool include_op_thread_metadata = 4;
460
+ */
461
+ includeOpThreadMetadata: boolean;
454
462
  constructor(data?: PartialMessage<GetPostRecordsRequest>);
455
463
  static readonly runtime: typeof proto3;
456
464
  static readonly typeName = "bsky.GetPostRecordsRequest";
@@ -472,6 +480,13 @@ export declare class GetPostRecordsResponse extends Message<GetPostRecordsRespon
472
480
  * @generated from field: repeated bsky.PostRecordMeta meta = 2;
473
481
  */
474
482
  meta: PostRecordMeta[];
483
+ /**
484
+ * Complete canonical OP threads for roots represented by the requested
485
+ * posts. AppView derives each post's index and count from these chains.
486
+ *
487
+ * @generated from field: repeated bsky.OpThread op_threads = 3;
488
+ */
489
+ opThreads: OpThread[];
475
490
  constructor(data?: PartialMessage<GetPostRecordsResponse>);
476
491
  static readonly runtime: typeof proto3;
477
492
  static readonly typeName = "bsky.GetPostRecordsResponse";
@@ -481,6 +496,30 @@ export declare class GetPostRecordsResponse extends Message<GetPostRecordsRespon
481
496
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPostRecordsResponse;
482
497
  static equals(a: GetPostRecordsResponse | PlainMessage<GetPostRecordsResponse> | undefined, b: GetPostRecordsResponse | PlainMessage<GetPostRecordsResponse> | undefined): boolean;
483
498
  }
499
+ /**
500
+ * @generated from message bsky.OpThread
501
+ */
502
+ export declare class OpThread extends Message<OpThread> {
503
+ /**
504
+ * @generated from field: string root_uri = 1;
505
+ */
506
+ rootUri: string;
507
+ /**
508
+ * The root post followed by its canonical chain of OP replies. Only chains
509
+ * containing at least one OP reply are returned.
510
+ *
511
+ * @generated from field: repeated string uris = 2;
512
+ */
513
+ uris: string[];
514
+ constructor(data?: PartialMessage<OpThread>);
515
+ static readonly runtime: typeof proto3;
516
+ static readonly typeName = "bsky.OpThread";
517
+ static readonly fields: FieldList;
518
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OpThread;
519
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OpThread;
520
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OpThread;
521
+ static equals(a: OpThread | PlainMessage<OpThread> | undefined, b: OpThread | PlainMessage<OpThread> | undefined): boolean;
522
+ }
484
523
  /**
485
524
  * @generated from message bsky.GetProfileRecordsRequest
486
525
  */