@atproto/pds 0.5.38 → 0.5.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (216) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/account-manager/account-manager.d.ts +2 -1
  3. package/dist/account-manager/account-manager.d.ts.map +1 -1
  4. package/dist/account-manager/account-manager.js +2 -1
  5. package/dist/account-manager/account-manager.js.map +1 -1
  6. package/dist/account-manager/oauth-store.d.ts +1 -1
  7. package/dist/account-manager/oauth-store.d.ts.map +1 -1
  8. package/dist/account-manager/oauth-store.js +16 -4
  9. package/dist/account-manager/oauth-store.js.map +1 -1
  10. package/dist/lexicons/app/bsky/actor/defs.defs.d.ts +25 -0
  11. package/dist/lexicons/app/bsky/actor/defs.defs.d.ts.map +1 -1
  12. package/dist/lexicons/app/bsky/actor/defs.defs.js +16 -0
  13. package/dist/lexicons/app/bsky/actor/defs.defs.js.map +1 -1
  14. package/dist/lexicons/app/bsky/actor/link.d.ts +3 -0
  15. package/dist/lexicons/app/bsky/actor/link.d.ts.map +1 -0
  16. package/dist/lexicons/app/bsky/actor/link.defs.d.ts +120 -0
  17. package/dist/lexicons/app/bsky/actor/link.defs.d.ts.map +1 -0
  18. package/dist/lexicons/app/bsky/actor/link.defs.js +39 -0
  19. package/dist/lexicons/app/bsky/actor/link.defs.js.map +1 -0
  20. package/dist/lexicons/app/bsky/actor/link.js +6 -0
  21. package/dist/lexicons/app/bsky/actor/link.js.map +1 -0
  22. package/dist/lexicons/app/bsky/actor/profile.defs.d.ts +14 -0
  23. package/dist/lexicons/app/bsky/actor/profile.defs.d.ts.map +1 -1
  24. package/dist/lexicons/app/bsky/actor/profile.defs.js +3 -0
  25. package/dist/lexicons/app/bsky/actor/profile.defs.js.map +1 -1
  26. package/dist/lexicons/app/bsky/actor.d.ts +1 -0
  27. package/dist/lexicons/app/bsky/actor.d.ts.map +1 -1
  28. package/dist/lexicons/app/bsky/actor.js +1 -0
  29. package/dist/lexicons/app/bsky/actor.js.map +1 -1
  30. package/dist/lexicons/app/bsky/authFullApp.defs.d.ts.map +1 -1
  31. package/dist/lexicons/app/bsky/authFullApp.defs.js +1 -0
  32. package/dist/lexicons/app/bsky/authFullApp.defs.js.map +1 -1
  33. package/dist/lexicons/app/bsky/authManageProfile.defs.d.ts.map +1 -1
  34. package/dist/lexicons/app/bsky/authManageProfile.defs.js +1 -0
  35. package/dist/lexicons/app/bsky/authManageProfile.defs.js.map +1 -1
  36. package/dist/lexicons/app/bsky/embed/external.defs.d.ts +130 -0
  37. package/dist/lexicons/app/bsky/embed/external.defs.d.ts.map +1 -1
  38. package/dist/lexicons/app/bsky/embed/external.defs.js +135 -0
  39. package/dist/lexicons/app/bsky/embed/external.defs.js.map +1 -1
  40. package/dist/lexicons/app/bsky/embed/getEmbedExternalView.defs.d.ts +15 -3
  41. package/dist/lexicons/app/bsky/embed/getEmbedExternalView.defs.d.ts.map +1 -1
  42. package/dist/lexicons/app/bsky/embed/getEmbedExternalView.defs.js +18 -3
  43. package/dist/lexicons/app/bsky/embed/getEmbedExternalView.defs.js.map +1 -1
  44. package/dist/lexicons/app/bsky/embed/record.defs.d.ts +8 -0
  45. package/dist/lexicons/app/bsky/embed/record.defs.d.ts.map +1 -1
  46. package/dist/lexicons/app/bsky/embed/record.defs.js +2 -0
  47. package/dist/lexicons/app/bsky/embed/record.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/dist/lexicons/tools/ozone/inbox/defs.defs.d.ts +22 -1
  197. package/dist/lexicons/tools/ozone/inbox/defs.defs.d.ts.map +1 -1
  198. package/dist/lexicons/tools/ozone/inbox/defs.defs.js +10 -1
  199. package/dist/lexicons/tools/ozone/inbox/defs.defs.js.map +1 -1
  200. package/dist/lexicons/tools/ozone/inbox/getNotificationPreferences.defs.d.ts +1 -0
  201. package/dist/lexicons/tools/ozone/inbox/getNotificationPreferences.defs.d.ts.map +1 -1
  202. package/dist/lexicons/tools/ozone/inbox/getNotificationPreferences.defs.js +1 -0
  203. package/dist/lexicons/tools/ozone/inbox/getNotificationPreferences.defs.js.map +1 -1
  204. package/dist/lexicons/tools/ozone/inbox/putNotificationPreferences.defs.d.ts +7 -2
  205. package/dist/lexicons/tools/ozone/inbox/putNotificationPreferences.defs.d.ts.map +1 -1
  206. package/dist/lexicons/tools/ozone/inbox/putNotificationPreferences.defs.js +4 -1
  207. package/dist/lexicons/tools/ozone/inbox/putNotificationPreferences.defs.js.map +1 -1
  208. package/dist/lexicons/tools/ozone/queue/defs.defs.d.ts +17 -1
  209. package/dist/lexicons/tools/ozone/queue/defs.defs.d.ts.map +1 -1
  210. package/dist/lexicons/tools/ozone/queue/defs.defs.js +8 -0
  211. package/dist/lexicons/tools/ozone/queue/defs.defs.js.map +1 -1
  212. package/dist/lexicons/tools/ozone/report/defs.defs.d.ts +54 -2
  213. package/dist/lexicons/tools/ozone/report/defs.defs.d.ts.map +1 -1
  214. package/dist/lexicons/tools/ozone/report/defs.defs.js +24 -0
  215. package/dist/lexicons/tools/ozone/report/defs.defs.js.map +1 -1
  216. package/package.json +12 -12
@@ -0,0 +1,143 @@
1
+ import { l } from '@atproto/lex';
2
+ import * as RepoStrongRef from '../../../com/atproto/repo/strongRef.defs.js';
3
+ declare const $nsid = "place.stream.chat.profile";
4
+ type $nsid = typeof $nsid;
5
+ export { $nsid };
6
+ /** Record containing customizations for a user's chat profile. */
7
+ type Main = {
8
+ $type: 'place.stream.chat.profile';
9
+ color?: Color;
10
+ /**
11
+ * Badge selections for display in chat.
12
+ */
13
+ badges?: BadgeSelections;
14
+ /**
15
+ * Self-applied labels for this profile, e.g. 'bot'.
16
+ */
17
+ selfLabels?: SelfLabel[];
18
+ };
19
+ export type { Main };
20
+ /** Record containing customizations for a user's chat profile. */
21
+ declare const main: l.RecordSchema<"literal:self", "place.stream.chat.profile", l.Validator<Omit<Main, "$type">, Omit<Main, "$type">>>;
22
+ export { main };
23
+ declare const $type = "place.stream.chat.profile";
24
+ type $type = typeof $type;
25
+ export { $type };
26
+ export declare const $isTypeOf: <TValue extends {
27
+ $type?: unknown;
28
+ }>(value: TValue) => value is l.TypedRecord<"place.stream.chat.profile", TValue>;
29
+ export declare const $build: {
30
+ (input: Omit<Omit<Main, "$type">, "$type">): {
31
+ $type: "place.stream.chat.profile";
32
+ color?: Color;
33
+ badges?: BadgeSelections;
34
+ selfLabels?: SelfLabel[];
35
+ };
36
+ (input: Omit<Omit<Main, "$type">, "$type">): {
37
+ $type: "place.stream.chat.profile";
38
+ color?: Color;
39
+ badges?: BadgeSelections;
40
+ selfLabels?: SelfLabel[];
41
+ };
42
+ };
43
+ export declare const $assert: (input: unknown, options?: l.ValidateOptions) => asserts input is {
44
+ $type: "place.stream.chat.profile";
45
+ color?: Color;
46
+ badges?: BadgeSelections;
47
+ selfLabels?: SelfLabel[];
48
+ };
49
+ export declare const $check: (input: unknown, options?: l.ValidateOptions) => void;
50
+ export declare const $cast: <I>(input: I, options?: l.ValidateOptions) => I & {
51
+ $type: "place.stream.chat.profile";
52
+ color?: Color;
53
+ badges?: BadgeSelections;
54
+ selfLabels?: SelfLabel[];
55
+ };
56
+ export declare const $ifMatches: <I>(input: I, options?: l.ValidateOptions) => (I & {
57
+ $type: "place.stream.chat.profile";
58
+ color?: Color;
59
+ badges?: BadgeSelections;
60
+ selfLabels?: SelfLabel[];
61
+ }) | undefined;
62
+ export declare const $matches: <I>(input: I, options?: l.ValidateOptions) => input is I & {
63
+ $type: "place.stream.chat.profile";
64
+ color?: Color;
65
+ badges?: BadgeSelections;
66
+ selfLabels?: SelfLabel[];
67
+ };
68
+ export declare const $parse: (input: unknown, options?: l.ParseOptions) => {
69
+ $type: "place.stream.chat.profile";
70
+ color?: Color;
71
+ badges?: BadgeSelections;
72
+ selfLabels?: SelfLabel[];
73
+ };
74
+ export declare const $safeParse: (input: unknown, options?: l.ParseOptions) => l.ValidationResult<{
75
+ $type: "place.stream.chat.profile";
76
+ color?: Color;
77
+ badges?: BadgeSelections;
78
+ selfLabels?: SelfLabel[];
79
+ }>;
80
+ export declare const $validate: <I>(input: I, options?: l.ValidateOptions) => I & {
81
+ $type: "place.stream.chat.profile";
82
+ color?: Color;
83
+ badges?: BadgeSelections;
84
+ selfLabels?: SelfLabel[];
85
+ };
86
+ export declare const $safeValidate: <I>(input: I, options?: l.ValidateOptions) => l.ValidationResult<I & {
87
+ $type: "place.stream.chat.profile";
88
+ color?: Color;
89
+ badges?: BadgeSelections;
90
+ selfLabels?: SelfLabel[];
91
+ }>;
92
+ /** Customizations for the color of a user's name in chat */
93
+ type Color = {
94
+ $type?: 'place.stream.chat.profile#color';
95
+ red: number;
96
+ blue: number;
97
+ green: number;
98
+ };
99
+ export type { Color };
100
+ /** Customizations for the color of a user's name in chat */
101
+ declare const color: l.TypedObjectSchema<"place.stream.chat.profile#color", l.Validator<Color, Color>>;
102
+ export { color };
103
+ /** Label that a user can apply to their own profile. */
104
+ type SelfLabel = 'bot' | l.UnknownString;
105
+ export type { SelfLabel };
106
+ /** Label that a user can apply to their own profile. */
107
+ declare const selfLabel: l.StringSchema<{
108
+ knownValues: ["bot"];
109
+ }>;
110
+ export { selfLabel };
111
+ /** Selected badges for display in chat, organized by slot. */
112
+ type BadgeSelections = {
113
+ $type?: 'place.stream.chat.profile#badgeSelections';
114
+ /**
115
+ * Selected globally-issued badge (e.g. event badge).
116
+ */
117
+ global?: RepoStrongRef.Main;
118
+ /**
119
+ * Selected streamer-issued badges, one per streamer channel.
120
+ */
121
+ streamer?: StreamerBadgeSelection[];
122
+ };
123
+ export type { BadgeSelections };
124
+ /** Selected badges for display in chat, organized by slot. */
125
+ declare const badgeSelections: l.TypedObjectSchema<"place.stream.chat.profile#badgeSelections", l.Validator<BadgeSelections, BadgeSelections>>;
126
+ export { badgeSelections };
127
+ /** A selected badge for a specific streamer's channel. */
128
+ type StreamerBadgeSelection = {
129
+ $type?: 'place.stream.chat.profile#streamerBadgeSelection';
130
+ /**
131
+ * Strong reference to the selected place.stream.badge.issuance record.
132
+ */
133
+ badge: RepoStrongRef.Main;
134
+ /**
135
+ * DID of the streamer whose channel this selection applies to.
136
+ */
137
+ streamer: l.DidString;
138
+ };
139
+ export type { StreamerBadgeSelection };
140
+ /** A selected badge for a specific streamer's channel. */
141
+ declare const streamerBadgeSelection: l.TypedObjectSchema<"place.stream.chat.profile#streamerBadgeSelection", l.Validator<StreamerBadgeSelection, StreamerBadgeSelection>>;
142
+ export { streamerBadgeSelection };
143
+ //# sourceMappingURL=profile.defs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profile.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/place/stream/chat/profile.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,aAAa,MAAM,6CAA6C,CAAA;AAE5E,QAAA,MAAM,KAAK,8BAA8B,CAAA;AAEzC,KAAK,KAAK,GAAG,OAAO,KAAK,CAAA;AAEzB,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,kEAAkE;AAClE,KAAK,IAAI,GAAG;IACV,KAAK,EAAE,2BAA2B,CAAA;IAClC,KAAK,CAAC,EAAE,KAAK,CAAA;IAEb;;OAEG;IACH,MAAM,CAAC,EAAE,eAAe,CAAA;IAExB;;OAEG;IACH,UAAU,CAAC,EAAE,SAAS,EAAE,CAAA;CACzB,CAAA;AAED,YAAY,EAAE,IAAI,EAAE,CAAA;AAEpB,kEAAkE;AAClE,QAAA,MAAM,IAAI,oHAiBT,CAAA;AAED,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,QAAA,MAAM,KAAK,8BAAQ,CAAA;AAEnB,KAAK,KAAK,GAAG,OAAO,KAAK,CAAA;AAEzB,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,eAAO,MAAM,SAAS;;gFAAyC,CAAA;AAC/D,eAAO,MAAM,MAAM;;;gBA5CT,KAAK;iBAKJ,eAAe;qBAKX,SAAS,EAAE;;;;gBAVhB,KAAK;iBAKJ,eAAe;qBAKX,SAAS,EAAE;;CAkC+B,CAAA;AACzD,eAAO,MAAM,OAAO;;YA7CV,KAAK;aAKJ,eAAe;iBAKX,SAAS,EAAE;CAmCiC,CAAA;AAC3D,eAA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,MAAM,CAAC,EAAE,aAAa,CAAC,IAAI,CAAA;IAE3B;;OAEG;IACH,QAAQ,CAAC,EAAE,sBAAsB,EAAE,CAAA;CACpC,CAAA;AAED,YAAY,EAAE,eAAe,EAAE,CAAA;AAE/B,8DAA8D;AAC9D,QAAA,MAAM,eAAe,iHAkBpB,CAAA;AAED,OAAO,EAAE,eAAe,EAAE,CAAA;AAE1B,0DAA0D;AAC1D,KAAK,sBAAsB,GAAG;IAC5B,KAAK,CAAC,EAAE,kDAAkD,CAAA;IAE1D;;OAEG;IACH,KAAK,EAAE,aAAa,CAAC,IAAI,CAAA;IAEzB;;OAEG;IACH,QAAQ,EAAE,CAAC,CAAC,SAAS,CAAA;CACtB,CAAA;AAED,YAAY,EAAE,sBAAsB,EAAE,CAAA;AAEtC,0DAA0D;AAC1D,QAAA,MAAM,sBAAsB,sIAUzB,CAAA;AAEH,OAAO,EAAE,sBAAsB,EAAE,CAAA"}
@@ -0,0 +1,62 @@
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
+ const $nsid = 'place.stream.chat.profile';
7
+ export { $nsid };
8
+ /** Record containing customizations for a user's chat profile. */
9
+ const main = /*#__PURE__*/ l.record('literal:self', $nsid,
10
+ /*#__PURE__*/ l.object({
11
+ color: /*#__PURE__*/ l.optional(
12
+ /*#__PURE__*/ l.ref((() => color))),
13
+ badges: /*#__PURE__*/ l.optional(
14
+ /*#__PURE__*/ l.ref((() => badgeSelections))),
15
+ selfLabels: /*#__PURE__*/ l.optional(
16
+ /*#__PURE__*/ l.array(
17
+ /*#__PURE__*/ l.ref((() => selfLabel)), { maxLength: 10 })),
18
+ }));
19
+ export { main };
20
+ const $type = $nsid;
21
+ export { $type };
22
+ export const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main);
23
+ export const $build = /*#__PURE__*/ main.build.bind(main);
24
+ export const $assert = /*#__PURE__*/ main.assert.bind(main);
25
+ export const $check = /*#__PURE__*/ main.check.bind(main);
26
+ export const $cast = /*#__PURE__*/ main.cast.bind(main);
27
+ export const $ifMatches = /*#__PURE__*/ main.ifMatches.bind(main);
28
+ export const $matches = /*#__PURE__*/ main.matches.bind(main);
29
+ export const $parse = /*#__PURE__*/ main.parse.bind(main);
30
+ export const $safeParse = /*#__PURE__*/ main.safeParse.bind(main);
31
+ export const $validate = /*#__PURE__*/ main.validate.bind(main);
32
+ export const $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main);
33
+ /** Customizations for the color of a user's name in chat */
34
+ const color = /*#__PURE__*/ l.typedObject($nsid, 'color',
35
+ /*#__PURE__*/ l.object({
36
+ red: /*#__PURE__*/ l.integer({ maximum: 255, minimum: 0 }),
37
+ blue: /*#__PURE__*/ l.integer({ maximum: 255, minimum: 0 }),
38
+ green: /*#__PURE__*/ l.integer({ maximum: 255, minimum: 0 }),
39
+ }));
40
+ export { color };
41
+ /** Label that a user can apply to their own profile. */
42
+ const selfLabel = /*#__PURE__*/ l.string();
43
+ export { selfLabel };
44
+ /** Selected badges for display in chat, organized by slot. */
45
+ const badgeSelections = /*#__PURE__*/ l.typedObject($nsid, 'badgeSelections',
46
+ /*#__PURE__*/ l.object({
47
+ global: /*#__PURE__*/ l.optional(
48
+ /*#__PURE__*/ l.ref((() => RepoStrongRef.main))),
49
+ streamer: /*#__PURE__*/ l.optional(
50
+ /*#__PURE__*/ l.array(
51
+ /*#__PURE__*/ l.ref((() => streamerBadgeSelection)), { maxLength: 20 })),
52
+ }));
53
+ export { badgeSelections };
54
+ /** A selected badge for a specific streamer's channel. */
55
+ const streamerBadgeSelection =
56
+ /*#__PURE__*/ l.typedObject($nsid, 'streamerBadgeSelection',
57
+ /*#__PURE__*/ l.object({
58
+ badge: /*#__PURE__*/ l.ref((() => RepoStrongRef.main)),
59
+ streamer: /*#__PURE__*/ l.string({ format: 'did' }),
60
+ }));
61
+ export { streamerBadgeSelection };
62
+ //# sourceMappingURL=profile.defs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profile.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/place/stream/chat/profile.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,aAAa,MAAM,6CAA6C,CAAA;AAE5E,MAAM,KAAK,GAAG,2BAA2B,CAAA;AAIzC,OAAO,EAAE,KAAK,EAAE,CAAA;AAoBhB,kEAAkE;AAClE,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CACjC,cAAc,EACd,KAAK;AACL,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACrB,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAC7B,aAAa,CAAC,CAAC,CAAC,GAAG,CAAQ,CAAC,GAAG,EAAE,CAAC,KAAK,CAAQ,CAAC,CACjD;IACD,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAC9B,aAAa,CAAC,CAAC,CAAC,GAAG,CAAkB,CAAC,GAAG,EAAE,CAAC,eAAe,CAAQ,CAAC,CACrE;IACD,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAClC,aAAa,CAAC,CAAC,CAAC,KAAK;IACnB,aAAa,CAAC,CAAC,CAAC,GAAG,CAAY,CAAC,GAAG,EAAE,CAAC,SAAS,CAAQ,CAAC,EACxD,EAAE,SAAS,EAAE,EAAE,EAAE,CAClB,CACF;CACF,CAAC,CACH,CAAA;AAED,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,MAAM,KAAK,GAAG,KAAK,CAAA;AAInB,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,MAAM,CAAC,MAAM,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;AAC/D,MAAM,CAAC,MAA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AC,IAAI,CAAQ,CAClC;IACD,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;CACpD,CAAC,CACH,CAAA;AAEH,OAAO,EAAE,sBAAsB,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'\n\nconst $nsid = 'place.stream.chat.profile'\n\ntype $nsid = typeof $nsid\n\nexport { $nsid }\n\n/** Record containing customizations for a user's chat profile. */\ntype Main = {\n $type: 'place.stream.chat.profile'\n color?: Color\n\n /**\n * Badge selections for display in chat.\n */\n badges?: BadgeSelections\n\n /**\n * Self-applied labels for this profile, e.g. 'bot'.\n */\n selfLabels?: SelfLabel[]\n}\n\nexport type { Main }\n\n/** Record containing customizations for a user's chat profile. */\nconst main = /*#__PURE__*/ l.record<'literal:self', Main>(\n 'literal:self',\n $nsid,\n /*#__PURE__*/ l.object({\n color: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.ref<Color>((() => color) as any),\n ),\n badges: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.ref<BadgeSelections>((() => badgeSelections) as any),\n ),\n selfLabels: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.array(\n /*#__PURE__*/ l.ref<SelfLabel>((() => selfLabel) as any),\n { maxLength: 10 },\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\n/** Customizations for the color of a user's name in chat */\ntype Color = {\n $type?: 'place.stream.chat.profile#color'\n red: number\n blue: number\n green: number\n}\n\nexport type { Color }\n\n/** Customizations for the color of a user's name in chat */\nconst color = /*#__PURE__*/ l.typedObject<Color>(\n $nsid,\n 'color',\n /*#__PURE__*/ l.object({\n red: /*#__PURE__*/ l.integer({ maximum: 255, minimum: 0 }),\n blue: /*#__PURE__*/ l.integer({ maximum: 255, minimum: 0 }),\n green: /*#__PURE__*/ l.integer({ maximum: 255, minimum: 0 }),\n }),\n)\n\nexport { color }\n\n/** Label that a user can apply to their own profile. */\ntype SelfLabel = 'bot' | l.UnknownString\n\nexport type { SelfLabel }\n\n/** Label that a user can apply to their own profile. */\nconst selfLabel = /*#__PURE__*/ l.string<{ knownValues: ['bot'] }>()\n\nexport { selfLabel }\n\n/** Selected badges for display in chat, organized by slot. */\ntype BadgeSelections = {\n $type?: 'place.stream.chat.profile#badgeSelections'\n\n /**\n * Selected globally-issued badge (e.g. event badge).\n */\n global?: RepoStrongRef.Main\n\n /**\n * Selected streamer-issued badges, one per streamer channel.\n */\n streamer?: StreamerBadgeSelection[]\n}\n\nexport type { BadgeSelections }\n\n/** Selected badges for display in chat, organized by slot. */\nconst badgeSelections = /*#__PURE__*/ l.typedObject<BadgeSelections>(\n $nsid,\n 'badgeSelections',\n /*#__PURE__*/ l.object({\n global: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.ref<RepoStrongRef.Main>(\n (() => RepoStrongRef.main) as any,\n ),\n ),\n streamer: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.array(\n /*#__PURE__*/ l.ref<StreamerBadgeSelection>(\n (() => streamerBadgeSelection) as any,\n ),\n { maxLength: 20 },\n ),\n ),\n }),\n)\n\nexport { badgeSelections }\n\n/** A selected badge for a specific streamer's channel. */\ntype StreamerBadgeSelection = {\n $type?: 'place.stream.chat.profile#streamerBadgeSelection'\n\n /**\n * Strong reference to the selected place.stream.badge.issuance record.\n */\n badge: RepoStrongRef.Main\n\n /**\n * DID of the streamer whose channel this selection applies to.\n */\n streamer: l.DidString\n}\n\nexport type { StreamerBadgeSelection }\n\n/** A selected badge for a specific streamer's channel. */\nconst streamerBadgeSelection =\n /*#__PURE__*/ l.typedObject<StreamerBadgeSelection>(\n $nsid,\n 'streamerBadgeSelection',\n /*#__PURE__*/ l.object({\n badge: /*#__PURE__*/ l.ref<RepoStrongRef.Main>(\n (() => RepoStrongRef.main) as any,\n ),\n streamer: /*#__PURE__*/ l.string({ format: 'did' }),\n }),\n )\n\nexport { streamerBadgeSelection }\n"]}
@@ -0,0 +1,6 @@
1
+ /*
2
+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
3
+ */
4
+ export * from './profile.defs.js';
5
+ export { main as default } from './profile.defs.js';
6
+ //# sourceMappingURL=profile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profile.js","sourceRoot":"","sources":["../../../../../src/lexicons/place/stream/chat/profile.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,mBAAmB,CAAA;AACjC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,mBAAmB,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './profile.defs.js'\nexport { main as default } from './profile.defs.js'\n"]}
@@ -0,0 +1,4 @@
1
+ export * as defs from './chat/defs.js';
2
+ export * as pinnedRecord from './chat/pinnedRecord.js';
3
+ export * as profile from './chat/profile.js';
4
+ //# sourceMappingURL=chat.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../../../src/lexicons/place/stream/chat.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,IAAI,MAAM,gBAAgB,CAAA;AACtC,OAAO,KAAK,YAAY,MAAM,wBAAwB,CAAA;AACtD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAA"}
@@ -0,0 +1,7 @@
1
+ /*
2
+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
3
+ */
4
+ export * as defs from './chat/defs.js';
5
+ export * as pinnedRecord from './chat/pinnedRecord.js';
6
+ export * as profile from './chat/profile.js';
7
+ //# sourceMappingURL=chat.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat.js","sourceRoot":"","sources":["../../../../src/lexicons/place/stream/chat.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,IAAI,MAAM,gBAAgB,CAAA;AACtC,OAAO,KAAK,YAAY,MAAM,wBAAwB,CAAA;AACtD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as defs from './chat/defs.js'\nexport * as pinnedRecord from './chat/pinnedRecord.js'\nexport * as profile from './chat/profile.js'\n"]}
@@ -0,0 +1,2 @@
1
+ export * from './defs.defs.js';
2
+ //# sourceMappingURL=defs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../src/lexicons/place/stream/defs.ts"],"names":[],"mappings":"AAIA,cAAc,gBAAgB,CAAA"}
@@ -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.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AElB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;AAED,YAAY,EAAE,YAAY,EAAE,CAAA;AAE5B,8EAA8E;AAC9E,QAAA,MAAM,YAAY,gGAOjB,CAAA;AAED,OAAO,EAAE,YAAY,EAAE,CAAA;AAEvB,mDAAmD;AACnD,KAAK,aAAa,GAAG;IACnB,KAAK,CAAC,EAAE,iCAAiC,CAAA;IACzC,KAAK,EACD,QAAQ,GACR,eAAe,GACf,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,CAC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AAE,YAAY,EAAE,CAAA;AAsBvB,mDAAmD;AACnD,MAAM,aAAa,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAC/C,KAAK,EACL,eAAe;AACf,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACrB,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAczB;CACL,CAAC,CACH,CAAA;AAED,OAAO,EAAE,aAAa,EAAE,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED 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"}