@atproto/ozone 0.6.2 → 0.7.0

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 (196) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +6 -0
  3. package/dist/api/label/queryLabels.d.ts.map +1 -1
  4. package/dist/api/label/queryLabels.js +4 -0
  5. package/dist/api/label/queryLabels.js.map +1 -1
  6. package/dist/config/config.d.ts +2 -0
  7. package/dist/config/config.d.ts.map +1 -1
  8. package/dist/config/config.js +1 -0
  9. package/dist/config/config.js.map +1 -1
  10. package/dist/config/env.d.ts +1 -0
  11. package/dist/config/env.d.ts.map +1 -1
  12. package/dist/config/env.js +1 -0
  13. package/dist/config/env.js.map +1 -1
  14. package/dist/lexicons/app/bsky/actor/defs.defs.d.ts +24 -0
  15. package/dist/lexicons/app/bsky/actor/defs.defs.d.ts.map +1 -1
  16. package/dist/lexicons/app/bsky/actor/defs.defs.js +13 -0
  17. package/dist/lexicons/app/bsky/actor/defs.defs.js.map +1 -1
  18. package/dist/lexicons/app/bsky/actor/link.d.ts +3 -0
  19. package/dist/lexicons/app/bsky/actor/link.d.ts.map +1 -0
  20. package/dist/lexicons/app/bsky/actor/link.defs.d.ts +105 -0
  21. package/dist/lexicons/app/bsky/actor/link.defs.d.ts.map +1 -0
  22. package/dist/lexicons/app/bsky/actor/link.defs.js +34 -0
  23. package/dist/lexicons/app/bsky/actor/link.defs.js.map +1 -0
  24. package/dist/lexicons/app/bsky/actor/link.js +6 -0
  25. package/dist/lexicons/app/bsky/actor/link.js.map +1 -0
  26. package/dist/lexicons/app/bsky/actor/profile.defs.d.ts +14 -0
  27. package/dist/lexicons/app/bsky/actor/profile.defs.d.ts.map +1 -1
  28. package/dist/lexicons/app/bsky/actor/profile.defs.js +3 -0
  29. package/dist/lexicons/app/bsky/actor/profile.defs.js.map +1 -1
  30. package/dist/lexicons/app/bsky/actor.d.ts +1 -0
  31. package/dist/lexicons/app/bsky/actor.d.ts.map +1 -1
  32. package/dist/lexicons/app/bsky/actor.js +1 -0
  33. package/dist/lexicons/app/bsky/actor.js.map +1 -1
  34. package/dist/lexicons/app/bsky/authFullApp.defs.d.ts.map +1 -1
  35. package/dist/lexicons/app/bsky/authFullApp.defs.js +1 -0
  36. package/dist/lexicons/app/bsky/authFullApp.defs.js.map +1 -1
  37. package/dist/lexicons/app/bsky/authManageProfile.defs.d.ts.map +1 -1
  38. package/dist/lexicons/app/bsky/authManageProfile.defs.js +1 -0
  39. package/dist/lexicons/app/bsky/authManageProfile.defs.js.map +1 -1
  40. package/dist/lexicons/app/bsky/embed/external.defs.d.ts +130 -0
  41. package/dist/lexicons/app/bsky/embed/external.defs.d.ts.map +1 -1
  42. package/dist/lexicons/app/bsky/embed/external.defs.js +135 -0
  43. package/dist/lexicons/app/bsky/embed/external.defs.js.map +1 -1
  44. package/dist/lexicons/app/bsky/embed/getEmbedExternalView.defs.d.ts +15 -3
  45. package/dist/lexicons/app/bsky/embed/getEmbedExternalView.defs.d.ts.map +1 -1
  46. package/dist/lexicons/app/bsky/embed/getEmbedExternalView.defs.js +18 -3
  47. package/dist/lexicons/app/bsky/embed/getEmbedExternalView.defs.js.map +1 -1
  48. package/dist/lexicons/app/bsky/notification/getGroupedNotifications.defs.d.ts +62 -3
  49. package/dist/lexicons/app/bsky/notification/getGroupedNotifications.defs.d.ts.map +1 -1
  50. package/dist/lexicons/app/bsky/notification/getGroupedNotifications.defs.js +53 -2
  51. package/dist/lexicons/app/bsky/notification/getGroupedNotifications.defs.js.map +1 -1
  52. package/dist/lexicons/app/bsky/unspecced/getAtmosphereExploreTab.d.ts +3 -0
  53. package/dist/lexicons/app/bsky/unspecced/getAtmosphereExploreTab.d.ts.map +1 -0
  54. package/dist/lexicons/app/bsky/unspecced/getAtmosphereExploreTab.defs.d.ts +103 -0
  55. package/dist/lexicons/app/bsky/unspecced/getAtmosphereExploreTab.defs.d.ts.map +1 -0
  56. package/dist/lexicons/app/bsky/unspecced/getAtmosphereExploreTab.defs.js +95 -0
  57. package/dist/lexicons/app/bsky/unspecced/getAtmosphereExploreTab.defs.js.map +1 -0
  58. package/dist/lexicons/app/bsky/unspecced/getAtmosphereExploreTab.js +6 -0
  59. package/dist/lexicons/app/bsky/unspecced/getAtmosphereExploreTab.js.map +1 -0
  60. package/dist/lexicons/app/bsky/unspecced.d.ts +1 -0
  61. package/dist/lexicons/app/bsky/unspecced.d.ts.map +1 -1
  62. package/dist/lexicons/app/bsky/unspecced.js +1 -0
  63. package/dist/lexicons/app/bsky/unspecced.js.map +1 -1
  64. package/dist/lexicons/index.d.ts +2 -0
  65. package/dist/lexicons/index.d.ts.map +1 -1
  66. package/dist/lexicons/index.js +2 -0
  67. package/dist/lexicons/index.js.map +1 -1
  68. package/dist/lexicons/place/stream/badge/defs.d.ts +2 -0
  69. package/dist/lexicons/place/stream/badge/defs.d.ts.map +1 -0
  70. package/dist/lexicons/place/stream/badge/defs.defs.d.ts +131 -0
  71. package/dist/lexicons/place/stream/badge/defs.defs.d.ts.map +1 -0
  72. package/dist/lexicons/place/stream/badge/defs.defs.js +73 -0
  73. package/dist/lexicons/place/stream/badge/defs.defs.js.map +1 -0
  74. package/dist/lexicons/place/stream/badge/defs.js +5 -0
  75. package/dist/lexicons/place/stream/badge/defs.js.map +1 -0
  76. package/dist/lexicons/place/stream/badge.d.ts +2 -0
  77. package/dist/lexicons/place/stream/badge.d.ts.map +1 -0
  78. package/dist/lexicons/place/stream/badge.js +5 -0
  79. package/dist/lexicons/place/stream/badge.js.map +1 -0
  80. package/dist/lexicons/place/stream/chat/defs.d.ts +2 -0
  81. package/dist/lexicons/place/stream/chat/defs.d.ts.map +1 -0
  82. package/dist/lexicons/place/stream/chat/defs.defs.d.ts +44 -0
  83. package/dist/lexicons/place/stream/chat/defs.defs.d.ts.map +1 -0
  84. package/dist/lexicons/place/stream/chat/defs.defs.js +41 -0
  85. package/dist/lexicons/place/stream/chat/defs.defs.js.map +1 -0
  86. package/dist/lexicons/place/stream/chat/defs.js +5 -0
  87. package/dist/lexicons/place/stream/chat/defs.js.map +1 -0
  88. package/dist/lexicons/place/stream/chat/pinnedRecord.d.ts +3 -0
  89. package/dist/lexicons/place/stream/chat/pinnedRecord.d.ts.map +1 -0
  90. package/dist/lexicons/place/stream/chat/pinnedRecord.defs.d.ts +108 -0
  91. package/dist/lexicons/place/stream/chat/pinnedRecord.defs.d.ts.map +1 -0
  92. package/dist/lexicons/place/stream/chat/pinnedRecord.defs.js +31 -0
  93. package/dist/lexicons/place/stream/chat/pinnedRecord.defs.js.map +1 -0
  94. package/dist/lexicons/place/stream/chat/pinnedRecord.js +6 -0
  95. package/dist/lexicons/place/stream/chat/pinnedRecord.js.map +1 -0
  96. package/dist/lexicons/place/stream/chat/profile.d.ts +3 -0
  97. package/dist/lexicons/place/stream/chat/profile.d.ts.map +1 -0
  98. package/dist/lexicons/place/stream/chat/profile.defs.d.ts +143 -0
  99. package/dist/lexicons/place/stream/chat/profile.defs.d.ts.map +1 -0
  100. package/dist/lexicons/place/stream/chat/profile.defs.js +62 -0
  101. package/dist/lexicons/place/stream/chat/profile.defs.js.map +1 -0
  102. package/dist/lexicons/place/stream/chat/profile.js +6 -0
  103. package/dist/lexicons/place/stream/chat/profile.js.map +1 -0
  104. package/dist/lexicons/place/stream/chat.d.ts +4 -0
  105. package/dist/lexicons/place/stream/chat.d.ts.map +1 -0
  106. package/dist/lexicons/place/stream/chat.js +7 -0
  107. package/dist/lexicons/place/stream/chat.js.map +1 -0
  108. package/dist/lexicons/place/stream/defs.d.ts +2 -0
  109. package/dist/lexicons/place/stream/defs.d.ts.map +1 -0
  110. package/dist/lexicons/place/stream/defs.defs.d.ts +54 -0
  111. package/dist/lexicons/place/stream/defs.defs.d.ts.map +1 -0
  112. package/dist/lexicons/place/stream/defs.defs.js +40 -0
  113. package/dist/lexicons/place/stream/defs.defs.js.map +1 -0
  114. package/dist/lexicons/place/stream/defs.js +5 -0
  115. package/dist/lexicons/place/stream/defs.js.map +1 -0
  116. package/dist/lexicons/place/stream/livestream.d.ts +3 -0
  117. package/dist/lexicons/place/stream/livestream.d.ts.map +1 -0
  118. package/dist/lexicons/place/stream/livestream.defs.d.ts +312 -0
  119. package/dist/lexicons/place/stream/livestream.defs.d.ts.map +1 -0
  120. package/dist/lexicons/place/stream/livestream.defs.js +105 -0
  121. package/dist/lexicons/place/stream/livestream.defs.js.map +1 -0
  122. package/dist/lexicons/place/stream/livestream.js +6 -0
  123. package/dist/lexicons/place/stream/livestream.js.map +1 -0
  124. package/dist/lexicons/place/stream.d.ts +5 -0
  125. package/dist/lexicons/place/stream.d.ts.map +1 -0
  126. package/dist/lexicons/place/stream.js +8 -0
  127. package/dist/lexicons/place/stream.js.map +1 -0
  128. package/dist/lexicons/place.d.ts +2 -0
  129. package/dist/lexicons/place.d.ts.map +1 -0
  130. package/dist/lexicons/place.js +5 -0
  131. package/dist/lexicons/place.js.map +1 -0
  132. package/dist/lexicons/site/standard/document.defs.d.ts +127 -127
  133. package/dist/lexicons/site/standard/document.defs.d.ts.map +1 -1
  134. package/dist/lexicons/site/standard/document.defs.js +28 -28
  135. package/dist/lexicons/site/standard/document.defs.js.map +1 -1
  136. package/dist/lexicons/site/standard/graph/recommend.defs.d.ts +11 -11
  137. package/dist/lexicons/site/standard/graph/recommend.defs.d.ts.map +1 -1
  138. package/dist/lexicons/site/standard/graph/recommend.defs.js +1 -1
  139. package/dist/lexicons/site/standard/graph/recommend.defs.js.map +1 -1
  140. package/dist/lexicons/site/standard/publication.defs.d.ts +52 -52
  141. package/dist/lexicons/site/standard/publication.defs.d.ts.map +1 -1
  142. package/dist/lexicons/site/standard/publication.defs.js +6 -6
  143. package/dist/lexicons/site/standard/publication.defs.js.map +1 -1
  144. package/dist/lexicons/site/standard/theme/basic.defs.d.ts +14 -14
  145. package/dist/lexicons/site/standard/theme/basic.defs.d.ts.map +1 -1
  146. package/dist/lexicons/site/standard/theme/basic.defs.js +1 -1
  147. package/dist/lexicons/site/standard/theme/basic.defs.js.map +1 -1
  148. package/dist/lexicons/social/grain/defs.d.ts +2 -0
  149. package/dist/lexicons/social/grain/defs.d.ts.map +1 -0
  150. package/dist/lexicons/social/grain/defs.defs.d.ts +15 -0
  151. package/dist/lexicons/social/grain/defs.defs.d.ts.map +1 -0
  152. package/dist/lexicons/social/grain/defs.defs.js +14 -0
  153. package/dist/lexicons/social/grain/defs.defs.js.map +1 -0
  154. package/dist/lexicons/social/grain/defs.js +5 -0
  155. package/dist/lexicons/social/grain/defs.js.map +1 -0
  156. package/dist/lexicons/social/grain/favorite.d.ts +3 -0
  157. package/dist/lexicons/social/grain/favorite.d.ts.map +1 -0
  158. package/dist/lexicons/social/grain/favorite.defs.d.ts +72 -0
  159. package/dist/lexicons/social/grain/favorite.defs.d.ts.map +1 -0
  160. package/dist/lexicons/social/grain/favorite.defs.js +26 -0
  161. package/dist/lexicons/social/grain/favorite.defs.js.map +1 -0
  162. package/dist/lexicons/social/grain/favorite.js +6 -0
  163. package/dist/lexicons/social/grain/favorite.js.map +1 -0
  164. package/dist/lexicons/social/grain/gallery/item.d.ts +3 -0
  165. package/dist/lexicons/social/grain/gallery/item.d.ts.map +1 -0
  166. package/dist/lexicons/social/grain/gallery/item.defs.d.ts +94 -0
  167. package/dist/lexicons/social/grain/gallery/item.defs.d.ts.map +1 -0
  168. package/dist/lexicons/social/grain/gallery/item.defs.js +29 -0
  169. package/dist/lexicons/social/grain/gallery/item.defs.js.map +1 -0
  170. package/dist/lexicons/social/grain/gallery/item.js +6 -0
  171. package/dist/lexicons/social/grain/gallery/item.js.map +1 -0
  172. package/dist/lexicons/social/grain/gallery.d.ts +4 -0
  173. package/dist/lexicons/social/grain/gallery.d.ts.map +1 -0
  174. package/dist/lexicons/social/grain/gallery.defs.d.ts +98 -0
  175. package/dist/lexicons/social/grain/gallery.defs.d.ts.map +1 -0
  176. package/dist/lexicons/social/grain/gallery.defs.js +33 -0
  177. package/dist/lexicons/social/grain/gallery.defs.js.map +1 -0
  178. package/dist/lexicons/social/grain/gallery.js +7 -0
  179. package/dist/lexicons/social/grain/gallery.js.map +1 -0
  180. package/dist/lexicons/social/grain/photo.d.ts +3 -0
  181. package/dist/lexicons/social/grain/photo.d.ts.map +1 -0
  182. package/dist/lexicons/social/grain/photo.defs.d.ts +98 -0
  183. package/dist/lexicons/social/grain/photo.defs.d.ts.map +1 -0
  184. package/dist/lexicons/social/grain/photo.defs.js +31 -0
  185. package/dist/lexicons/social/grain/photo.defs.js.map +1 -0
  186. package/dist/lexicons/social/grain/photo.js +6 -0
  187. package/dist/lexicons/social/grain/photo.js.map +1 -0
  188. package/dist/lexicons/social/grain.d.ts +5 -0
  189. package/dist/lexicons/social/grain.d.ts.map +1 -0
  190. package/dist/lexicons/social/grain.js +8 -0
  191. package/dist/lexicons/social/grain.js.map +1 -0
  192. package/dist/lexicons/social.d.ts +2 -0
  193. package/dist/lexicons/social.d.ts.map +1 -0
  194. package/dist/lexicons/social.js +5 -0
  195. package/dist/lexicons/social.js.map +1 -0
  196. package/package.json +6 -6
@@ -0,0 +1,54 @@
1
+ import { l } from '@atproto/lex';
2
+ import * as GraphBlock from '../../app/bsky/graph/block.defs.js';
3
+ import * as ActorDefs from '../../app/bsky/actor/defs.defs.js';
4
+ declare const $nsid = "place.stream.defs";
5
+ type $nsid = typeof $nsid;
6
+ export { $nsid };
7
+ type BlockView = {
8
+ $type?: 'place.stream.defs#blockView';
9
+ cid: l.CidString;
10
+ uri: l.AtUriString;
11
+ record: GraphBlock.Main;
12
+ blocker: ActorDefs.ProfileViewBasic;
13
+ indexedAt: l.DatetimeString;
14
+ };
15
+ export type { BlockView };
16
+ declare const blockView: l.TypedObjectSchema<"place.stream.defs#blockView", l.Validator<BlockView, BlockView>>;
17
+ export { blockView };
18
+ type Rendition = {
19
+ $type?: 'place.stream.defs#rendition';
20
+ name: string;
21
+ };
22
+ export type { Rendition };
23
+ declare const rendition: l.TypedObjectSchema<"place.stream.defs#rendition", l.Validator<Rendition, Rendition>>;
24
+ export { rendition };
25
+ type Renditions = {
26
+ $type?: 'place.stream.defs#renditions';
27
+ renditions: Rendition[];
28
+ };
29
+ export type { Renditions };
30
+ declare const renditions: l.TypedObjectSchema<"place.stream.defs#renditions", l.Validator<Renditions, Renditions>>;
31
+ export { renditions };
32
+ /** A game from the gamesgamesgamesgames catalog, identified by its AT URI. */
33
+ type ActivityGame = {
34
+ $type?: 'place.stream.defs#activityGame';
35
+ uri: l.AtUriString;
36
+ /**
37
+ * Cached display name of the game.
38
+ */
39
+ name?: string;
40
+ };
41
+ export type { ActivityGame };
42
+ /** A game from the gamesgamesgamesgames catalog, identified by its AT URI. */
43
+ declare const activityGame: l.TypedObjectSchema<"place.stream.defs#activityGame", l.Validator<ActivityGame, ActivityGame>>;
44
+ export { activityGame };
45
+ /** A non-game activity with a well-known label. */
46
+ type ActivityLabel = {
47
+ $type?: 'place.stream.defs#activityLabel';
48
+ label: 'events' | 'just_chatting' | 'podcasting' | 'music' | 'art' | 'software_dev' | 'cooking' | 'miniatures' | 'makers_crafting' | 'fitness' | 'sports' | l.UnknownString;
49
+ };
50
+ export type { ActivityLabel };
51
+ /** A non-game activity with a well-known label. */
52
+ declare const activityLabel: l.TypedObjectSchema<"place.stream.defs#activityLabel", l.Validator<ActivityLabel, ActivityLabel>>;
53
+ export { activityLabel };
54
+ //# sourceMappingURL=defs.defs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"defs.defs.d.ts","sourceRoot":"","sources":["../../../../src/lexicons/place/stream/defs.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,UAAU,MAAM,oCAAoC,CAAA;AAChE,OAAO,KAAK,SAAS,MAAM,mCAAmC,CAAA;AAE9D,QAAA,MAAM,KAAK,sBAAsB,CAAA;AAEjC,KAAK,KAAK,GAAG,OAAO,KAAK,CAAA;AAEzB,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,KAAK,SAAS,GA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YAAY,GACZ,OAAO,GACP,KAAK,GACL,cAAc,GACd,SAAS,GACT,YAAY,GACZ,iBAAiB,GACjB,SAAS,GACT,QAAQ,GACR,CAAC,CAAC,aAAa,CAAA;CACpB,CAAA;AAED,YAAY,EAAE,aAAa,EAAE,CAAA;AAE7B,mDAAmD;AACnD,QAAA,MAAM,aAAa,mGAoBlB,CAAA;AAED,OAAO,EAAE,aAAa,EAAE,CAAA"}
@@ -0,0 +1,40 @@
1
+ /*
2
+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
3
+ */
4
+ import { l } from '@atproto/lex';
5
+ import * as GraphBlock from '../../app/bsky/graph/block.defs.js';
6
+ import * as ActorDefs from '../../app/bsky/actor/defs.defs.js';
7
+ const $nsid = 'place.stream.defs';
8
+ export { $nsid };
9
+ const blockView = /*#__PURE__*/ l.typedObject($nsid, 'blockView',
10
+ /*#__PURE__*/ l.object({
11
+ cid: /*#__PURE__*/ l.string({ format: 'cid' }),
12
+ uri: /*#__PURE__*/ l.string({ format: 'at-uri' }),
13
+ record: /*#__PURE__*/ l.ref((() => GraphBlock.main)),
14
+ blocker: /*#__PURE__*/ l.ref((() => ActorDefs.profileViewBasic)),
15
+ indexedAt: /*#__PURE__*/ l.string({ format: 'datetime' }),
16
+ }));
17
+ export { blockView };
18
+ const rendition = /*#__PURE__*/ l.typedObject($nsid, 'rendition',
19
+ /*#__PURE__*/ l.object({ name: /*#__PURE__*/ l.string() }));
20
+ export { rendition };
21
+ const renditions = /*#__PURE__*/ l.typedObject($nsid, 'renditions',
22
+ /*#__PURE__*/ l.object({
23
+ renditions: /*#__PURE__*/ l.array(
24
+ /*#__PURE__*/ l.ref((() => rendition))),
25
+ }));
26
+ export { renditions };
27
+ /** A game from the gamesgamesgamesgames catalog, identified by its AT URI. */
28
+ const activityGame = /*#__PURE__*/ l.typedObject($nsid, 'activityGame',
29
+ /*#__PURE__*/ l.object({
30
+ uri: /*#__PURE__*/ l.string({ format: 'at-uri' }),
31
+ name: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),
32
+ }));
33
+ export { activityGame };
34
+ /** A non-game activity with a well-known label. */
35
+ const activityLabel = /*#__PURE__*/ l.typedObject($nsid, 'activityLabel',
36
+ /*#__PURE__*/ l.object({
37
+ label: /*#__PURE__*/ l.string(),
38
+ }));
39
+ export { activityLabel };
40
+ //# sourceMappingURL=defs.defs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"defs.defs.js","sourceRoot":"","sources":["../../../../src/lexicons/place/stream/defs.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,UAAU,MAAM,oCAAoC,CAAA;AAChE,OAAO,KAAK,SAAS,MAAM,mCAAmC,CAAA;AAE9D,MAAM,KAAK,GAAG,mBAAmB,CAAA;AAIjC,OAAO,EAAE,KAAK,EAAE,CAAA;AAahB,MAAM,SAAS,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAC3C,KAAK,EACL,WAAW;AACX,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACrB,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;IAC9C,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;IACjD,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,GAAG,CACzB,CAAC,GAAG,EAAE,CAAC,UAAU,CAAC,IAAI,CAAQ,CAC/B;IACD,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,GAAG,CAC1B,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,gBAAgB,CAAQ,CAC1C;IACD,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC;CAC1D,CAAC,CACH,CAAA;AAED,OAAO,EAA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ED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as GraphBlock from '../../app/bsky/graph/block.defs.js'\nimport * as ActorDefs from '../../app/bsky/actor/defs.defs.js'\n\nconst $nsid = 'place.stream.defs'\n\ntype $nsid = typeof $nsid\n\nexport { $nsid }\n\ntype BlockView = {\n $type?: 'place.stream.defs#blockView'\n cid: l.CidString\n uri: l.AtUriString\n record: GraphBlock.Main\n blocker: ActorDefs.ProfileViewBasic\n indexedAt: l.DatetimeString\n}\n\nexport type { BlockView }\n\nconst blockView = /*#__PURE__*/ l.typedObject<BlockView>(\n $nsid,\n 'blockView',\n /*#__PURE__*/ l.object({\n cid: /*#__PURE__*/ l.string({ format: 'cid' }),\n uri: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n record: /*#__PURE__*/ l.ref<GraphBlock.Main>(\n (() => GraphBlock.main) as any,\n ),\n blocker: /*#__PURE__*/ l.ref<ActorDefs.ProfileViewBasic>(\n (() => ActorDefs.profileViewBasic) as any,\n ),\n indexedAt: /*#__PURE__*/ l.string({ format: 'datetime' }),\n }),\n)\n\nexport { blockView }\n\ntype Rendition = { $type?: 'place.stream.defs#rendition'; name: string }\n\nexport type { Rendition }\n\nconst rendition = /*#__PURE__*/ l.typedObject<Rendition>(\n $nsid,\n 'rendition',\n /*#__PURE__*/ l.object({ name: /*#__PURE__*/ l.string() }),\n)\n\nexport { rendition }\n\ntype Renditions = {\n $type?: 'place.stream.defs#renditions'\n renditions: Rendition[]\n}\n\nexport type { Renditions }\n\nconst renditions = /*#__PURE__*/ l.typedObject<Renditions>(\n $nsid,\n 'renditions',\n /*#__PURE__*/ l.object({\n renditions: /*#__PURE__*/ l.array(\n /*#__PURE__*/ l.ref<Rendition>((() => rendition) as any),\n ),\n }),\n)\n\nexport { renditions }\n\n/** A game from the gamesgamesgamesgames catalog, identified by its AT URI. */\ntype ActivityGame = {\n $type?: 'place.stream.defs#activityGame'\n uri: l.AtUriString\n\n /**\n * Cached display name of the game.\n */\n name?: string\n}\n\nexport type { ActivityGame }\n\n/** A game from the gamesgamesgamesgames catalog, identified by its AT URI. */\nconst activityGame = /*#__PURE__*/ l.typedObject<ActivityGame>(\n $nsid,\n 'activityGame',\n /*#__PURE__*/ l.object({\n uri: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n name: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\n }),\n)\n\nexport { activityGame }\n\n/** A non-game activity with a well-known label. */\ntype ActivityLabel = {\n $type?: 'place.stream.defs#activityLabel'\n label:\n | 'events'\n | 'just_chatting'\n | 'podcasting'\n | 'music'\n | 'art'\n | 'software_dev'\n | 'cooking'\n | 'miniatures'\n | 'makers_crafting'\n | 'fitness'\n | 'sports'\n | l.UnknownString\n}\n\nexport type { ActivityLabel }\n\n/** A non-game activity with a well-known label. */\nconst activityLabel = /*#__PURE__*/ l.typedObject<ActivityLabel>(\n $nsid,\n 'activityLabel',\n /*#__PURE__*/ l.object({\n label: /*#__PURE__*/ l.string<{\n knownValues: [\n 'events',\n 'just_chatting',\n 'podcasting',\n 'music',\n 'art',\n 'software_dev',\n 'cooking',\n 'miniatures',\n 'makers_crafting',\n 'fitness',\n 'sports',\n ]\n }>(),\n }),\n)\n\nexport { activityLabel }\n"]}
@@ -0,0 +1,5 @@
1
+ /*
2
+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
3
+ */
4
+ export * from './defs.defs.js';
5
+ //# sourceMappingURL=defs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../src/lexicons/place/stream/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,gBAAgB,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './defs.defs.js'\n"]}
@@ -0,0 +1,3 @@
1
+ export * from './livestream.defs.js';
2
+ export { main as default } from './livestream.defs.js';
3
+ //# sourceMappingURL=livestream.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"livestream.d.ts","sourceRoot":"","sources":["../../../../src/lexicons/place/stream/livestream.ts"],"names":[],"mappings":"AAIA,cAAc,sBAAsB,CAAA;AACpC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAA"}
@@ -0,0 +1,312 @@
1
+ import { l } from '@atproto/lex';
2
+ import * as RepoStrongRef from '../../com/atproto/repo/strongRef.defs.js';
3
+ import * as StreamDefs from './defs.defs.js';
4
+ import * as ActorDefs from '../../app/bsky/actor/defs.defs.js';
5
+ import * as ChatProfile from './chat/profile.defs.js';
6
+ import * as ChatDefs from './chat/defs.defs.js';
7
+ declare const $nsid = "place.stream.livestream";
8
+ type $nsid = typeof $nsid;
9
+ export { $nsid };
10
+ /** Record announcing a livestream is happening */
11
+ type Main = {
12
+ $type: 'place.stream.livestream';
13
+ /**
14
+ * The URL where this stream can be found. This is primarily a hint for other Streamplace nodes to locate and replicate the stream.
15
+ */
16
+ url?: l.UriString;
17
+ /**
18
+ * The post that announced this livestream.
19
+ */
20
+ post?: RepoStrongRef.Main;
21
+ /**
22
+ * Freeform tags for this stream. Each tag must be alphanumeric (a-z, A-Z, 0-9) plus colon. Tags with colons indicate a specific tag group (e.g. 'lang:en' indicates the stream's primary language).
23
+ */
24
+ tags?: string[];
25
+ /**
26
+ * The source of the livestream, if available, in a User Agent format: `<product> / <product-version> <comment>` e.g. Streamplace/0.7.5 iOS
27
+ */
28
+ agent?: string;
29
+ thumb?: l.BlobRef;
30
+ /**
31
+ * The title of the livestream, as it will be announced to followers.
32
+ */
33
+ title: string;
34
+ /**
35
+ * Client-declared timestamp when this livestream ended. Ended livestreams are not supposed to start up again.
36
+ */
37
+ endedAt?: l.DatetimeString;
38
+ /**
39
+ * The game or activity being streamed.
40
+ */
41
+ activity?: l.$Typed<StreamDefs.ActivityGame> | l.$Typed<StreamDefs.ActivityLabel> | l.Unknown$TypedObject;
42
+ /**
43
+ * Client-declared timestamp when this livestream started.
44
+ */
45
+ createdAt: l.DatetimeString;
46
+ /**
47
+ * Client-declared timestamp when this livestream was last seen by the Streamplace station.
48
+ */
49
+ lastSeenAt?: l.DatetimeString;
50
+ /**
51
+ * The primary URL where this livestream can be viewed, if available.
52
+ */
53
+ canonicalUrl?: l.UriString;
54
+ /**
55
+ * Time in seconds after which this livestream should be automatically ended if idle. Zero means no timeout.
56
+ */
57
+ idleTimeoutSeconds?: number;
58
+ notificationSettings?: NotificationSettings;
59
+ };
60
+ export type { Main };
61
+ /** Record announcing a livestream is happening */
62
+ declare const main: l.RecordSchema<"tid", "place.stream.livestream", l.Validator<Omit<Main, "$type">, Omit<Main, "$type">>>;
63
+ export { main };
64
+ declare const $type = "place.stream.livestream";
65
+ type $type = typeof $type;
66
+ export { $type };
67
+ export declare const $isTypeOf: <TValue extends {
68
+ $type?: unknown;
69
+ }>(value: TValue) => value is l.TypedRecord<"place.stream.livestream", TValue>;
70
+ export declare const $build: {
71
+ (input: Omit<Omit<Main, "$type">, "$type">): {
72
+ $type: "place.stream.livestream";
73
+ url?: l.UriString;
74
+ post?: RepoStrongRef.Main;
75
+ tags?: string[];
76
+ agent?: string;
77
+ thumb?: l.BlobRef;
78
+ title: string;
79
+ endedAt?: l.DatetimeString;
80
+ activity?: l.$Typed<StreamDefs.ActivityGame> | l.$Typed<StreamDefs.ActivityLabel> | l.Unknown$TypedObject;
81
+ createdAt: l.DatetimeString;
82
+ lastSeenAt?: l.DatetimeString;
83
+ canonicalUrl?: l.UriString;
84
+ idleTimeoutSeconds?: number;
85
+ notificationSettings?: NotificationSettings;
86
+ };
87
+ (input: Omit<Omit<Main, "$type">, "$type">): {
88
+ $type: "place.stream.livestream";
89
+ url?: l.UriString;
90
+ post?: RepoStrongRef.Main;
91
+ tags?: string[];
92
+ agent?: string;
93
+ thumb?: l.BlobRef;
94
+ title: string;
95
+ endedAt?: l.DatetimeString;
96
+ activity?: l.$Typed<StreamDefs.ActivityGame> | l.$Typed<StreamDefs.ActivityLabel> | l.Unknown$TypedObject;
97
+ createdAt: l.DatetimeString;
98
+ lastSeenAt?: l.DatetimeString;
99
+ canonicalUrl?: l.UriString;
100
+ idleTimeoutSeconds?: number;
101
+ notificationSettings?: NotificationSettings;
102
+ };
103
+ };
104
+ export declare const $assert: (input: unknown, options?: l.ValidateOptions) => asserts input is {
105
+ $type: "place.stream.livestream";
106
+ url?: l.UriString;
107
+ post?: RepoStrongRef.Main;
108
+ tags?: string[];
109
+ agent?: string;
110
+ thumb?: l.BlobRef;
111
+ title: string;
112
+ endedAt?: l.DatetimeString;
113
+ activity?: l.$Typed<StreamDefs.ActivityGame> | l.$Typed<StreamDefs.ActivityLabel> | l.Unknown$TypedObject;
114
+ createdAt: l.DatetimeString;
115
+ lastSeenAt?: l.DatetimeString;
116
+ canonicalUrl?: l.UriString;
117
+ idleTimeoutSeconds?: number;
118
+ notificationSettings?: NotificationSettings;
119
+ };
120
+ export declare const $check: (input: unknown, options?: l.ValidateOptions) => void;
121
+ export declare const $cast: <I>(input: I, options?: l.ValidateOptions) => I & {
122
+ $type: "place.stream.livestream";
123
+ url?: l.UriString;
124
+ post?: RepoStrongRef.Main;
125
+ tags?: string[];
126
+ agent?: string;
127
+ thumb?: l.BlobRef;
128
+ title: string;
129
+ endedAt?: l.DatetimeString;
130
+ activity?: l.$Typed<StreamDefs.ActivityGame> | l.$Typed<StreamDefs.ActivityLabel> | l.Unknown$TypedObject;
131
+ createdAt: l.DatetimeString;
132
+ lastSeenAt?: l.DatetimeString;
133
+ canonicalUrl?: l.UriString;
134
+ idleTimeoutSeconds?: number;
135
+ notificationSettings?: NotificationSettings;
136
+ };
137
+ export declare const $ifMatches: <I>(input: I, options?: l.ValidateOptions) => (I & {
138
+ $type: "place.stream.livestream";
139
+ url?: l.UriString;
140
+ post?: RepoStrongRef.Main;
141
+ tags?: string[];
142
+ agent?: string;
143
+ thumb?: l.BlobRef;
144
+ title: string;
145
+ endedAt?: l.DatetimeString;
146
+ activity?: l.$Typed<StreamDefs.ActivityGame> | l.$Typed<StreamDefs.ActivityLabel> | l.Unknown$TypedObject;
147
+ createdAt: l.DatetimeString;
148
+ lastSeenAt?: l.DatetimeString;
149
+ canonicalUrl?: l.UriString;
150
+ idleTimeoutSeconds?: number;
151
+ notificationSettings?: NotificationSettings;
152
+ }) | undefined;
153
+ export declare const $matches: <I>(input: I, options?: l.ValidateOptions) => input is I & {
154
+ $type: "place.stream.livestream";
155
+ url?: l.UriString;
156
+ post?: RepoStrongRef.Main;
157
+ tags?: string[];
158
+ agent?: string;
159
+ thumb?: l.BlobRef;
160
+ title: string;
161
+ endedAt?: l.DatetimeString;
162
+ activity?: l.$Typed<StreamDefs.ActivityGame> | l.$Typed<StreamDefs.ActivityLabel> | l.Unknown$TypedObject;
163
+ createdAt: l.DatetimeString;
164
+ lastSeenAt?: l.DatetimeString;
165
+ canonicalUrl?: l.UriString;
166
+ idleTimeoutSeconds?: number;
167
+ notificationSettings?: NotificationSettings;
168
+ };
169
+ export declare const $parse: (input: unknown, options?: l.ParseOptions) => {
170
+ $type: "place.stream.livestream";
171
+ url?: l.UriString;
172
+ post?: RepoStrongRef.Main;
173
+ tags?: string[];
174
+ agent?: string;
175
+ thumb?: l.BlobRef;
176
+ title: string;
177
+ endedAt?: l.DatetimeString;
178
+ activity?: l.$Typed<StreamDefs.ActivityGame> | l.$Typed<StreamDefs.ActivityLabel> | l.Unknown$TypedObject;
179
+ createdAt: l.DatetimeString;
180
+ lastSeenAt?: l.DatetimeString;
181
+ canonicalUrl?: l.UriString;
182
+ idleTimeoutSeconds?: number;
183
+ notificationSettings?: NotificationSettings;
184
+ };
185
+ export declare const $safeParse: (input: unknown, options?: l.ParseOptions) => l.ValidationResult<{
186
+ $type: "place.stream.livestream";
187
+ url?: l.UriString;
188
+ post?: RepoStrongRef.Main;
189
+ tags?: string[];
190
+ agent?: string;
191
+ thumb?: l.BlobRef;
192
+ title: string;
193
+ endedAt?: l.DatetimeString;
194
+ activity?: l.$Typed<StreamDefs.ActivityGame> | l.$Typed<StreamDefs.ActivityLabel> | l.Unknown$TypedObject;
195
+ createdAt: l.DatetimeString;
196
+ lastSeenAt?: l.DatetimeString;
197
+ canonicalUrl?: l.UriString;
198
+ idleTimeoutSeconds?: number;
199
+ notificationSettings?: NotificationSettings;
200
+ }>;
201
+ export declare const $validate: <I>(input: I, options?: l.ValidateOptions) => I & {
202
+ $type: "place.stream.livestream";
203
+ url?: l.UriString;
204
+ post?: RepoStrongRef.Main;
205
+ tags?: string[];
206
+ agent?: string;
207
+ thumb?: l.BlobRef;
208
+ title: string;
209
+ endedAt?: l.DatetimeString;
210
+ activity?: l.$Typed<StreamDefs.ActivityGame> | l.$Typed<StreamDefs.ActivityLabel> | l.Unknown$TypedObject;
211
+ createdAt: l.DatetimeString;
212
+ lastSeenAt?: l.DatetimeString;
213
+ canonicalUrl?: l.UriString;
214
+ idleTimeoutSeconds?: number;
215
+ notificationSettings?: NotificationSettings;
216
+ };
217
+ export declare const $safeValidate: <I>(input: I, options?: l.ValidateOptions) => l.ValidationResult<I & {
218
+ $type: "place.stream.livestream";
219
+ url?: l.UriString;
220
+ post?: RepoStrongRef.Main;
221
+ tags?: string[];
222
+ agent?: string;
223
+ thumb?: l.BlobRef;
224
+ title: string;
225
+ endedAt?: l.DatetimeString;
226
+ activity?: l.$Typed<StreamDefs.ActivityGame> | l.$Typed<StreamDefs.ActivityLabel> | l.Unknown$TypedObject;
227
+ createdAt: l.DatetimeString;
228
+ lastSeenAt?: l.DatetimeString;
229
+ canonicalUrl?: l.UriString;
230
+ idleTimeoutSeconds?: number;
231
+ notificationSettings?: NotificationSettings;
232
+ }>;
233
+ type ViewerCount = {
234
+ $type?: 'place.stream.livestream#viewerCount';
235
+ count: number;
236
+ };
237
+ export type { ViewerCount };
238
+ declare const viewerCount: l.TypedObjectSchema<"place.stream.livestream#viewerCount", l.Validator<ViewerCount, ViewerCount>>;
239
+ export { viewerCount };
240
+ type LivestreamView = {
241
+ $type?: 'place.stream.livestream#livestreamView';
242
+ cid: l.CidString;
243
+ uri: l.AtUriString;
244
+ author: ActorDefs.ProfileViewBasic;
245
+ record: l.LexMap;
246
+ indexedAt: l.DatetimeString;
247
+ /**
248
+ * The number of viewers watching this livestream. Use when you can't reasonably use #viewerCount directly.
249
+ */
250
+ viewerCount?: ViewerCount;
251
+ };
252
+ export type { LivestreamView };
253
+ declare const livestreamView: l.TypedObjectSchema<"place.stream.livestream#livestreamView", l.Validator<LivestreamView, LivestreamView>>;
254
+ export { livestreamView };
255
+ type TeleportArrival = {
256
+ $type?: 'place.stream.livestream#teleportArrival';
257
+ /**
258
+ * The streamer who is teleporting their viewers here
259
+ */
260
+ source: ActorDefs.ProfileViewBasic;
261
+ /**
262
+ * When this teleport started
263
+ */
264
+ startsAt: l.DatetimeString;
265
+ /**
266
+ * The chat profile of the source streamer
267
+ */
268
+ chatProfile?: ChatProfile.Main;
269
+ /**
270
+ * The URI of the teleport record
271
+ */
272
+ teleportUri: l.AtUriString;
273
+ /**
274
+ * How many viewers are arriving from this teleport
275
+ */
276
+ viewerCount: number;
277
+ };
278
+ export type { TeleportArrival };
279
+ declare const teleportArrival: l.TypedObjectSchema<"place.stream.livestream#teleportArrival", l.Validator<TeleportArrival, TeleportArrival>>;
280
+ export { teleportArrival };
281
+ type TeleportCanceled = {
282
+ $type?: 'place.stream.livestream#teleportCanceled';
283
+ /**
284
+ * Why this teleport was canceled
285
+ */
286
+ reason: 'deleted' | 'denied' | 'expired';
287
+ /**
288
+ * The URI of the teleport record that was canceled
289
+ */
290
+ teleportUri: l.AtUriString;
291
+ };
292
+ export type { TeleportCanceled };
293
+ declare const teleportCanceled: l.TypedObjectSchema<"place.stream.livestream#teleportCanceled", l.Validator<TeleportCanceled, TeleportCanceled>>;
294
+ export { teleportCanceled };
295
+ type StreamplaceAnything = {
296
+ $type?: 'place.stream.livestream#streamplaceAnything';
297
+ livestream: l.$Typed<LivestreamView> | l.$Typed<ViewerCount> | l.$Typed<TeleportArrival> | l.$Typed<TeleportCanceled> | l.$Typed<StreamDefs.BlockView> | l.$Typed<StreamDefs.Renditions> | l.$Typed<StreamDefs.Rendition> | l.$Typed<ChatDefs.MessageView> | l.$Typed<ChatDefs.PinnedRecordView> | l.Unknown$TypedObject;
298
+ };
299
+ export type { StreamplaceAnything };
300
+ declare const streamplaceAnything: l.TypedObjectSchema<"place.stream.livestream#streamplaceAnything", l.Validator<StreamplaceAnything, StreamplaceAnything>>;
301
+ export { streamplaceAnything };
302
+ type NotificationSettings = {
303
+ $type?: 'place.stream.livestream#notificationSettings';
304
+ /**
305
+ * Whether this livestream should trigger a push notification to followers.
306
+ */
307
+ pushNotification?: boolean;
308
+ };
309
+ export type { NotificationSettings };
310
+ declare const notificationSettings: l.TypedObjectSchema<"place.stream.livestream#notificationSettings", l.Validator<NotificationSettings, NotificationSettings>>;
311
+ export { notificationSettings };
312
+ //# sourceMappingURL=livestream.defs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"livestream.defs.d.ts","sourceRoot":"","sources":["../../../../src/lexicons/place/stream/livestream.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,aAAa,MAAM,0CAA0C,CAAA;AACzE,OAAO,KAAK,UAAU,MAAM,gBAAgB,CAAA;AAC5C,OAAO,KAAK,SAAS,MAAM,mCAAmC,CAAA;AAC9D,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAA;AACrD,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAA;AAE/C,QAAA,MAAM,KAAK,4BAA4B,CAAA;AAEvC,KAAK,KAAK,GAAG,OAAO,KAAK,CAAA;AAEzB,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,kDAAkD;AAClD,KAAK,IAAI,GAAG;IACV,KAAK,EAAE,yBAAyB,CAAA;IAEhC;;OAEG;IACH,GAAG,CAAC,EAAE,CAAC,CAAC,SAAS,CAAA;IAEjB;;OAE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AAK,oBAAoB,GAAG;IAC1B,KAAK,CAAC,EAAE,8CAA8C,CAAA;IAEtD;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAC3B,CAAA;AAED,YAAY,EAAE,oBAAoB,EAAE,CAAA;AAEpC,QAAA,MAAM,oBAAoB,8HAMzB,CAAA;AAED,OAAO,EAAE,oBAAoB,EAAE,CAAA"}
@@ -0,0 +1,105 @@
1
+ /*
2
+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
3
+ */
4
+ import { l } from '@atproto/lex';
5
+ import * as RepoStrongRef from '../../com/atproto/repo/strongRef.defs.js';
6
+ import * as StreamDefs from './defs.defs.js';
7
+ import * as ActorDefs from '../../app/bsky/actor/defs.defs.js';
8
+ import * as ChatProfile from './chat/profile.defs.js';
9
+ import * as ChatDefs from './chat/defs.defs.js';
10
+ const $nsid = 'place.stream.livestream';
11
+ export { $nsid };
12
+ /** Record announcing a livestream is happening */
13
+ const main = /*#__PURE__*/ l.record('tid', $nsid,
14
+ /*#__PURE__*/ l.object({
15
+ url: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ format: 'uri' })),
16
+ post: /*#__PURE__*/ l.optional(
17
+ /*#__PURE__*/ l.ref((() => RepoStrongRef.main))),
18
+ tags: /*#__PURE__*/ l.optional(
19
+ /*#__PURE__*/ l.array(
20
+ /*#__PURE__*/ l.string({ maxLength: 640, maxGraphemes: 64 }), { maxLength: 10 })),
21
+ agent: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),
22
+ thumb: /*#__PURE__*/ l.optional(
23
+ /*#__PURE__*/ l.blob({ accept: ['image/*'], maxSize: 1000000 })),
24
+ title: /*#__PURE__*/ l.string({ maxLength: 1400, maxGraphemes: 140 }),
25
+ endedAt: /*#__PURE__*/ l.optional(
26
+ /*#__PURE__*/ l.string({ format: 'datetime' })),
27
+ activity: /*#__PURE__*/ l.optional(
28
+ /*#__PURE__*/ l.typedUnion([
29
+ /*#__PURE__*/ l.typedRef((() => StreamDefs.activityGame)),
30
+ /*#__PURE__*/ l.typedRef((() => StreamDefs.activityLabel)),
31
+ ], false)),
32
+ createdAt: /*#__PURE__*/ l.string({ format: 'datetime' }),
33
+ lastSeenAt: /*#__PURE__*/ l.optional(
34
+ /*#__PURE__*/ l.string({ format: 'datetime' })),
35
+ canonicalUrl: /*#__PURE__*/ l.optional(
36
+ /*#__PURE__*/ l.string({ format: 'uri' })),
37
+ idleTimeoutSeconds: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),
38
+ notificationSettings: /*#__PURE__*/ l.optional(
39
+ /*#__PURE__*/ l.ref((() => notificationSettings))),
40
+ }));
41
+ export { main };
42
+ const $type = $nsid;
43
+ export { $type };
44
+ export const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main);
45
+ export const $build = /*#__PURE__*/ main.build.bind(main);
46
+ export const $assert = /*#__PURE__*/ main.assert.bind(main);
47
+ export const $check = /*#__PURE__*/ main.check.bind(main);
48
+ export const $cast = /*#__PURE__*/ main.cast.bind(main);
49
+ export const $ifMatches = /*#__PURE__*/ main.ifMatches.bind(main);
50
+ export const $matches = /*#__PURE__*/ main.matches.bind(main);
51
+ export const $parse = /*#__PURE__*/ main.parse.bind(main);
52
+ export const $safeParse = /*#__PURE__*/ main.safeParse.bind(main);
53
+ export const $validate = /*#__PURE__*/ main.validate.bind(main);
54
+ export const $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main);
55
+ const viewerCount = /*#__PURE__*/ l.typedObject($nsid, 'viewerCount',
56
+ /*#__PURE__*/ l.object({ count: /*#__PURE__*/ l.integer() }));
57
+ export { viewerCount };
58
+ const livestreamView = /*#__PURE__*/ l.typedObject($nsid, 'livestreamView',
59
+ /*#__PURE__*/ l.object({
60
+ cid: /*#__PURE__*/ l.string({ format: 'cid' }),
61
+ uri: /*#__PURE__*/ l.string({ format: 'at-uri' }),
62
+ author: /*#__PURE__*/ l.ref((() => ActorDefs.profileViewBasic)),
63
+ record: /*#__PURE__*/ l.lexMap(),
64
+ indexedAt: /*#__PURE__*/ l.string({ format: 'datetime' }),
65
+ viewerCount: /*#__PURE__*/ l.optional(
66
+ /*#__PURE__*/ l.ref((() => viewerCount))),
67
+ }));
68
+ export { livestreamView };
69
+ const teleportArrival = /*#__PURE__*/ l.typedObject($nsid, 'teleportArrival',
70
+ /*#__PURE__*/ l.object({
71
+ source: /*#__PURE__*/ l.ref((() => ActorDefs.profileViewBasic)),
72
+ startsAt: /*#__PURE__*/ l.string({ format: 'datetime' }),
73
+ chatProfile: /*#__PURE__*/ l.optional(
74
+ /*#__PURE__*/ l.ref((() => ChatProfile.main))),
75
+ teleportUri: /*#__PURE__*/ l.string({ format: 'at-uri' }),
76
+ viewerCount: /*#__PURE__*/ l.integer(),
77
+ }));
78
+ export { teleportArrival };
79
+ const teleportCanceled = /*#__PURE__*/ l.typedObject($nsid, 'teleportCanceled',
80
+ /*#__PURE__*/ l.object({
81
+ reason: /*#__PURE__*/ l.enum(['deleted', 'denied', 'expired']),
82
+ teleportUri: /*#__PURE__*/ l.string({ format: 'at-uri' }),
83
+ }));
84
+ export { teleportCanceled };
85
+ const streamplaceAnything = /*#__PURE__*/ l.typedObject($nsid, 'streamplaceAnything',
86
+ /*#__PURE__*/ l.object({
87
+ livestream: /*#__PURE__*/ l.typedUnion([
88
+ /*#__PURE__*/ l.typedRef((() => livestreamView)),
89
+ /*#__PURE__*/ l.typedRef((() => viewerCount)),
90
+ /*#__PURE__*/ l.typedRef((() => teleportArrival)),
91
+ /*#__PURE__*/ l.typedRef((() => teleportCanceled)),
92
+ /*#__PURE__*/ l.typedRef((() => StreamDefs.blockView)),
93
+ /*#__PURE__*/ l.typedRef((() => StreamDefs.renditions)),
94
+ /*#__PURE__*/ l.typedRef((() => StreamDefs.rendition)),
95
+ /*#__PURE__*/ l.typedRef((() => ChatDefs.messageView)),
96
+ /*#__PURE__*/ l.typedRef((() => ChatDefs.pinnedRecordView)),
97
+ ], false),
98
+ }));
99
+ export { streamplaceAnything };
100
+ const notificationSettings = /*#__PURE__*/ l.typedObject($nsid, 'notificationSettings',
101
+ /*#__PURE__*/ l.object({
102
+ pushNotification: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.boolean()),
103
+ }));
104
+ export { notificationSettings };
105
+ //# sourceMappingURL=livestream.defs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"livestream.defs.js","sourceRoot":"","sources":["../../../../src/lexicons/place/stream/livestream.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,aAAa,MAAM,0CAA0C,CAAA;AACzE,OAAO,KAAK,UAAU,MAAM,gBAAgB,CAAA;AAC5C,OAAO,KAAK,SAAS,MAAM,mCAAmC,CAAA;AAC9D,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAA;AACrD,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAA;AAE/C,MAAM,KAAK,GAAG,yBAAyB,CAAA;AAIvC,OAAO,EAAE,KAAK,EAAE,CAAA;AAqEhB,kDAAkD;AAClD,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CACjC,KAAK,EACL,KAAK;AACL,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACrB,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;IACxE,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAC5B,aAAa,CAAC,CAAC,CAAC,GAAG,CACjB,CAAC,GAAG,EAAE,CAAC,aAAa,CAAC,IAAI,CAAQ,CAClC,CACF;IACD,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAC5B,aAAa,CAAC,CAAC,CAAC,KAAK;IACnB,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,SAAS,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AAO,EAAE,CAAC;CACtE,CAAC,CACH,CAAA;AAED,OAAO,EAAE,oBAAoB,EAAE,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as RepoStrongRef from '../../com/atproto/repo/strongRef.defs.js'\nimport * as StreamDefs from './defs.defs.js'\nimport * as ActorDefs from '../../app/bsky/actor/defs.defs.js'\nimport * as ChatProfile from './chat/profile.defs.js'\nimport * as ChatDefs from './chat/defs.defs.js'\n\nconst $nsid = 'place.stream.livestream'\n\ntype $nsid = typeof $nsid\n\nexport { $nsid }\n\n/** Record announcing a livestream is happening */\ntype Main = {\n $type: 'place.stream.livestream'\n\n /**\n * The URL where this stream can be found. This is primarily a hint for other Streamplace nodes to locate and replicate the stream.\n */\n url?: l.UriString\n\n /**\n * The post that announced this livestream.\n */\n post?: RepoStrongRef.Main\n\n /**\n * Freeform tags for this stream. Each tag must be alphanumeric (a-z, A-Z, 0-9) plus colon. Tags with colons indicate a specific tag group (e.g. 'lang:en' indicates the stream's primary language).\n */\n tags?: string[]\n\n /**\n * The source of the livestream, if available, in a User Agent format: `<product> / <product-version> <comment>` e.g. Streamplace/0.7.5 iOS\n */\n agent?: string\n thumb?: l.BlobRef\n\n /**\n * The title of the livestream, as it will be announced to followers.\n */\n title: string\n\n /**\n * Client-declared timestamp when this livestream ended. Ended livestreams are not supposed to start up again.\n */\n endedAt?: l.DatetimeString\n\n /**\n * The game or activity being streamed.\n */\n activity?:\n | l.$Typed<StreamDefs.ActivityGame>\n | l.$Typed<StreamDefs.ActivityLabel>\n | l.Unknown$TypedObject\n\n /**\n * Client-declared timestamp when this livestream started.\n */\n createdAt: l.DatetimeString\n\n /**\n * Client-declared timestamp when this livestream was last seen by the Streamplace station.\n */\n lastSeenAt?: l.DatetimeString\n\n /**\n * The primary URL where this livestream can be viewed, if available.\n */\n canonicalUrl?: l.UriString\n\n /**\n * Time in seconds after which this livestream should be automatically ended if idle. Zero means no timeout.\n */\n idleTimeoutSeconds?: number\n notificationSettings?: NotificationSettings\n}\n\nexport type { Main }\n\n/** Record announcing a livestream is happening */\nconst main = /*#__PURE__*/ l.record<'tid', Main>(\n 'tid',\n $nsid,\n /*#__PURE__*/ l.object({\n url: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ format: 'uri' })),\n post: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.ref<RepoStrongRef.Main>(\n (() => RepoStrongRef.main) as any,\n ),\n ),\n tags: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.array(\n /*#__PURE__*/ l.string({ maxLength: 640, maxGraphemes: 64 }),\n { maxLength: 10 },\n ),\n ),\n agent: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\n thumb: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.blob({ accept: ['image/*'], maxSize: 1000000 }),\n ),\n title: /*#__PURE__*/ l.string({ maxLength: 1400, maxGraphemes: 140 }),\n endedAt: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string({ format: 'datetime' }),\n ),\n activity: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.typedUnion(\n [\n /*#__PURE__*/ l.typedRef<StreamDefs.ActivityGame>(\n (() => StreamDefs.activityGame) as any,\n ),\n /*#__PURE__*/ l.typedRef<StreamDefs.ActivityLabel>(\n (() => StreamDefs.activityLabel) as any,\n ),\n ],\n false,\n ),\n ),\n createdAt: /*#__PURE__*/ l.string({ format: 'datetime' }),\n lastSeenAt: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string({ format: 'datetime' }),\n ),\n canonicalUrl: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string({ format: 'uri' }),\n ),\n idleTimeoutSeconds: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),\n notificationSettings: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.ref<NotificationSettings>(\n (() => notificationSettings) as any,\n ),\n ),\n }),\n)\n\nexport { main }\n\nconst $type = $nsid\n\ntype $type = typeof $type\n\nexport { $type }\n\nexport const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main)\nexport const $build = /*#__PURE__*/ main.build.bind(main)\nexport const $assert = /*#__PURE__*/ main.assert.bind(main)\nexport const $check = /*#__PURE__*/ main.check.bind(main)\nexport const $cast = /*#__PURE__*/ main.cast.bind(main)\nexport const $ifMatches = /*#__PURE__*/ main.ifMatches.bind(main)\nexport const $matches = /*#__PURE__*/ main.matches.bind(main)\nexport const $parse = /*#__PURE__*/ main.parse.bind(main)\nexport const $safeParse = /*#__PURE__*/ main.safeParse.bind(main)\nexport const $validate = /*#__PURE__*/ main.validate.bind(main)\nexport const $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main)\n\ntype ViewerCount = {\n $type?: 'place.stream.livestream#viewerCount'\n count: number\n}\n\nexport type { ViewerCount }\n\nconst viewerCount = /*#__PURE__*/ l.typedObject<ViewerCount>(\n $nsid,\n 'viewerCount',\n /*#__PURE__*/ l.object({ count: /*#__PURE__*/ l.integer() }),\n)\n\nexport { viewerCount }\n\ntype LivestreamView = {\n $type?: 'place.stream.livestream#livestreamView'\n cid: l.CidString\n uri: l.AtUriString\n author: ActorDefs.ProfileViewBasic\n record: l.LexMap\n indexedAt: l.DatetimeString\n\n /**\n * The number of viewers watching this livestream. Use when you can't reasonably use #viewerCount directly.\n */\n viewerCount?: ViewerCount\n}\n\nexport type { LivestreamView }\n\nconst livestreamView = /*#__PURE__*/ l.typedObject<LivestreamView>(\n $nsid,\n 'livestreamView',\n /*#__PURE__*/ l.object({\n cid: /*#__PURE__*/ l.string({ format: 'cid' }),\n uri: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n author: /*#__PURE__*/ l.ref<ActorDefs.ProfileViewBasic>(\n (() => ActorDefs.profileViewBasic) as any,\n ),\n record: /*#__PURE__*/ l.lexMap(),\n indexedAt: /*#__PURE__*/ l.string({ format: 'datetime' }),\n viewerCount: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.ref<ViewerCount>((() => viewerCount) as any),\n ),\n }),\n)\n\nexport { livestreamView }\n\ntype TeleportArrival = {\n $type?: 'place.stream.livestream#teleportArrival'\n\n /**\n * The streamer who is teleporting their viewers here\n */\n source: ActorDefs.ProfileViewBasic\n\n /**\n * When this teleport started\n */\n startsAt: l.DatetimeString\n\n /**\n * The chat profile of the source streamer\n */\n chatProfile?: ChatProfile.Main\n\n /**\n * The URI of the teleport record\n */\n teleportUri: l.AtUriString\n\n /**\n * How many viewers are arriving from this teleport\n */\n viewerCount: number\n}\n\nexport type { TeleportArrival }\n\nconst teleportArrival = /*#__PURE__*/ l.typedObject<TeleportArrival>(\n $nsid,\n 'teleportArrival',\n /*#__PURE__*/ l.object({\n source: /*#__PURE__*/ l.ref<ActorDefs.ProfileViewBasic>(\n (() => ActorDefs.profileViewBasic) as any,\n ),\n startsAt: /*#__PURE__*/ l.string({ format: 'datetime' }),\n chatProfile: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.ref<ChatProfile.Main>((() => ChatProfile.main) as any),\n ),\n teleportUri: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n viewerCount: /*#__PURE__*/ l.integer(),\n }),\n)\n\nexport { teleportArrival }\n\ntype TeleportCanceled = {\n $type?: 'place.stream.livestream#teleportCanceled'\n\n /**\n * Why this teleport was canceled\n */\n reason: 'deleted' | 'denied' | 'expired'\n\n /**\n * The URI of the teleport record that was canceled\n */\n teleportUri: l.AtUriString\n}\n\nexport type { TeleportCanceled }\n\nconst teleportCanceled = /*#__PURE__*/ l.typedObject<TeleportCanceled>(\n $nsid,\n 'teleportCanceled',\n /*#__PURE__*/ l.object({\n reason: /*#__PURE__*/ l.enum(['deleted', 'denied', 'expired']),\n teleportUri: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n }),\n)\n\nexport { teleportCanceled }\n\ntype StreamplaceAnything = {\n $type?: 'place.stream.livestream#streamplaceAnything'\n livestream:\n | l.$Typed<LivestreamView>\n | l.$Typed<ViewerCount>\n | l.$Typed<TeleportArrival>\n | l.$Typed<TeleportCanceled>\n | l.$Typed<StreamDefs.BlockView>\n | l.$Typed<StreamDefs.Renditions>\n | l.$Typed<StreamDefs.Rendition>\n | l.$Typed<ChatDefs.MessageView>\n | l.$Typed<ChatDefs.PinnedRecordView>\n | l.Unknown$TypedObject\n}\n\nexport type { StreamplaceAnything }\n\nconst streamplaceAnything = /*#__PURE__*/ l.typedObject<StreamplaceAnything>(\n $nsid,\n 'streamplaceAnything',\n /*#__PURE__*/ l.object({\n livestream: /*#__PURE__*/ l.typedUnion(\n [\n /*#__PURE__*/ l.typedRef<LivestreamView>((() => livestreamView) as any),\n /*#__PURE__*/ l.typedRef<ViewerCount>((() => viewerCount) as any),\n /*#__PURE__*/ l.typedRef<TeleportArrival>(\n (() => teleportArrival) as any,\n ),\n /*#__PURE__*/ l.typedRef<TeleportCanceled>(\n (() => teleportCanceled) as any,\n ),\n /*#__PURE__*/ l.typedRef<StreamDefs.BlockView>(\n (() => StreamDefs.blockView) as any,\n ),\n /*#__PURE__*/ l.typedRef<StreamDefs.Renditions>(\n (() => StreamDefs.renditions) as any,\n ),\n /*#__PURE__*/ l.typedRef<StreamDefs.Rendition>(\n (() => StreamDefs.rendition) as any,\n ),\n /*#__PURE__*/ l.typedRef<ChatDefs.MessageView>(\n (() => ChatDefs.messageView) as any,\n ),\n /*#__PURE__*/ l.typedRef<ChatDefs.PinnedRecordView>(\n (() => ChatDefs.pinnedRecordView) as any,\n ),\n ],\n false,\n ),\n }),\n)\n\nexport { streamplaceAnything }\n\ntype NotificationSettings = {\n $type?: 'place.stream.livestream#notificationSettings'\n\n /**\n * Whether this livestream should trigger a push notification to followers.\n */\n pushNotification?: boolean\n}\n\nexport type { NotificationSettings }\n\nconst notificationSettings = /*#__PURE__*/ l.typedObject<NotificationSettings>(\n $nsid,\n 'notificationSettings',\n /*#__PURE__*/ l.object({\n pushNotification: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.boolean()),\n }),\n)\n\nexport { notificationSettings }\n"]}
@@ -0,0 +1,6 @@
1
+ /*
2
+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
3
+ */
4
+ export * from './livestream.defs.js';
5
+ export { main as default } from './livestream.defs.js';
6
+ //# sourceMappingURL=livestream.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"livestream.js","sourceRoot":"","sources":["../../../../src/lexicons/place/stream/livestream.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 './livestream.defs.js'\nexport { main as default } from './livestream.defs.js'\n"]}
@@ -0,0 +1,5 @@
1
+ export * as badge from './stream/badge.js';
2
+ export * as chat from './stream/chat.js';
3
+ export * as defs from './stream/defs.js';
4
+ export * as livestream from './stream/livestream.js';
5
+ //# sourceMappingURL=stream.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stream.d.ts","sourceRoot":"","sources":["../../../src/lexicons/place/stream.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,MAAM,mBAAmB,CAAA;AAC1C,OAAO,KAAK,IAAI,MAAM,kBAAkB,CAAA;AACxC,OAAO,KAAK,IAAI,MAAM,kBAAkB,CAAA;AACxC,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAA"}
@@ -0,0 +1,8 @@
1
+ /*
2
+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
3
+ */
4
+ export * as badge from './stream/badge.js';
5
+ export * as chat from './stream/chat.js';
6
+ export * as defs from './stream/defs.js';
7
+ export * as livestream from './stream/livestream.js';
8
+ //# sourceMappingURL=stream.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stream.js","sourceRoot":"","sources":["../../../src/lexicons/place/stream.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,mBAAmB,CAAA;AAC1C,OAAO,KAAK,IAAI,MAAM,kBAAkB,CAAA;AACxC,OAAO,KAAK,IAAI,MAAM,kBAAkB,CAAA;AACxC,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as badge from './stream/badge.js'\nexport * as chat from './stream/chat.js'\nexport * as defs from './stream/defs.js'\nexport * as livestream from './stream/livestream.js'\n"]}