@standard-reader/lexicons 0.1.0 → 0.1.1

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 (30) hide show
  1. package/dist/lexicons/app/standard-reader/defs.defs.d.ts +51 -51
  2. package/dist/lexicons/app/standard-reader/defs.defs.d.ts.map +1 -1
  3. package/dist/lexicons/app/standard-reader/defs.defs.js +98 -98
  4. package/dist/lexicons/app/standard-reader/defs.defs.js.map +1 -1
  5. package/dist/lexicons/app/standard-reader/getList.defs.d.ts +4 -4
  6. package/dist/lexicons/app/standard-reader/getList.defs.js +2 -2
  7. package/dist/lexicons/app/standard-reader/getList.defs.js.map +1 -1
  8. package/dist/lexicons/app/standard-reader/getPublication.defs.d.ts +4 -4
  9. package/dist/lexicons/app/standard-reader/getPublication.defs.js +2 -2
  10. package/dist/lexicons/app/standard-reader/getPublication.defs.js.map +1 -1
  11. package/dist/lexicons/app/standard-reader/getTagFeed.defs.d.ts +4 -4
  12. package/dist/lexicons/app/standard-reader/getTagFeed.defs.js +1 -1
  13. package/dist/lexicons/app/standard-reader/getTagFeed.defs.js.map +1 -1
  14. package/dist/lexicons/app/standard-reader/resolveHandle.defs.d.ts +8 -8
  15. package/dist/lexicons/app/standard-reader/resolveHandle.defs.js +2 -2
  16. package/dist/lexicons/app/standard-reader/resolveHandle.defs.js.map +1 -1
  17. package/dist/lexicons/app/standard-reader/searchDocuments.defs.d.ts +4 -4
  18. package/dist/lexicons/app/standard-reader/searchDocuments.defs.js +1 -1
  19. package/dist/lexicons/app/standard-reader/searchDocuments.defs.js.map +1 -1
  20. package/dist/lexicons/app/standard-reader/searchPublications.defs.d.ts +4 -4
  21. package/dist/lexicons/app/standard-reader/searchPublications.defs.js +1 -1
  22. package/dist/lexicons/app/standard-reader/searchPublications.defs.js.map +1 -1
  23. package/package.json +3 -2
  24. package/src/lexicons/app/standard-reader/defs.defs.ts +149 -149
  25. package/src/lexicons/app/standard-reader/getList.defs.ts +2 -2
  26. package/src/lexicons/app/standard-reader/getPublication.defs.ts +2 -2
  27. package/src/lexicons/app/standard-reader/getTagFeed.defs.ts +1 -1
  28. package/src/lexicons/app/standard-reader/resolveHandle.defs.ts +2 -2
  29. package/src/lexicons/app/standard-reader/searchDocuments.defs.ts +1 -1
  30. package/src/lexicons/app/standard-reader/searchPublications.defs.ts +1 -1
@@ -15,17 +15,17 @@ type PublicationView = {
15
15
  did: l.DidString
16
16
  name: string
17
17
  url: l.UriString
18
- description?: string
19
- iconUrl?: l.UriString
20
- ownerAvatarUrl?: l.UriString
21
- ownerHandle?: string
22
- topic?: string
18
+ description?: string | null
19
+ iconUrl?: l.UriString | null
20
+ ownerAvatarUrl?: l.UriString | null
21
+ ownerHandle?: string | null
22
+ topic?: string | null
23
23
  verified?: boolean
24
24
  subscriberCount: number
25
25
  documentCount: number
26
- lastDocumentAt?: l.DatetimeString
27
- searchNameHtml?: string
28
- searchSnippetHtml?: string
26
+ lastDocumentAt?: l.DatetimeString | null
27
+ searchNameHtml?: string | null
28
+ searchSnippetHtml?: string | null
29
29
  }
30
30
 
31
31
  export type { PublicationView }
@@ -39,31 +39,31 @@ const publicationView = /*#__PURE__*/ l.typedObject<PublicationView>(
39
39
  did: /*#__PURE__*/ l.string({ format: 'did' }),
40
40
  name: /*#__PURE__*/ l.string({ maxLength: 128 }),
41
41
  url: /*#__PURE__*/ l.string({ format: 'uri' }),
42
- description: /*#__PURE__*/ l.optional(
42
+ description: /*#__PURE__*/ l.nullable(l.optional(
43
43
  /*#__PURE__*/ l.string({ maxLength: 4096 }),
44
- ),
45
- iconUrl: /*#__PURE__*/ l.optional(
44
+ )),
45
+ iconUrl: /*#__PURE__*/ l.nullable(l.optional(
46
46
  /*#__PURE__*/ l.string({ format: 'uri' }),
47
- ),
48
- ownerAvatarUrl: /*#__PURE__*/ l.optional(
47
+ )),
48
+ ownerAvatarUrl: /*#__PURE__*/ l.nullable(l.optional(
49
49
  /*#__PURE__*/ l.string({ format: 'uri' }),
50
- ),
51
- ownerHandle: /*#__PURE__*/ l.optional(
50
+ )),
51
+ ownerHandle: /*#__PURE__*/ l.nullable(l.optional(
52
52
  /*#__PURE__*/ l.string({ maxLength: 128 }),
53
- ),
54
- topic: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ maxLength: 128 })),
53
+ )),
54
+ topic: /*#__PURE__*/ l.nullable(l.optional(/*#__PURE__*/ l.string({ maxLength: 128 }))),
55
55
  verified: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.boolean()),
56
56
  subscriberCount: /*#__PURE__*/ l.integer(),
57
57
  documentCount: /*#__PURE__*/ l.integer(),
58
- lastDocumentAt: /*#__PURE__*/ l.optional(
58
+ lastDocumentAt: /*#__PURE__*/ l.nullable(l.optional(
59
59
  /*#__PURE__*/ l.string({ format: 'datetime' }),
60
- ),
61
- searchNameHtml: /*#__PURE__*/ l.optional(
60
+ )),
61
+ searchNameHtml: /*#__PURE__*/ l.nullable(l.optional(
62
62
  /*#__PURE__*/ l.string({ maxLength: 512 }),
63
- ),
64
- searchSnippetHtml: /*#__PURE__*/ l.optional(
63
+ )),
64
+ searchSnippetHtml: /*#__PURE__*/ l.nullable(l.optional(
65
65
  /*#__PURE__*/ l.string({ maxLength: 8192 }),
66
- ),
66
+ )),
67
67
  }),
68
68
  )
69
69
 
@@ -75,20 +75,20 @@ type DocumentView = {
75
75
  uri: l.AtUriString
76
76
  did: l.DidString
77
77
  title: string
78
- description?: string
79
- path?: string
80
- canonicalUrl?: l.UriString
81
- coverImageUrl?: l.UriString
78
+ description?: string | null
79
+ path?: string | null
80
+ canonicalUrl?: l.UriString | null
81
+ coverImageUrl?: l.UriString | null
82
82
  publishedAt: l.DatetimeString
83
83
  featured?: boolean
84
- publicationUri?: l.AtUriString
85
- publicationName?: string
86
- publicationIconUrl?: l.UriString
87
- publicationOwnerAvatarUrl?: l.UriString
88
- publicationOwnerHandle?: string
89
- publicationBannerUrl?: l.UriString
90
- publicationTopic?: string
91
- tags?: string[]
84
+ publicationUri?: l.AtUriString | null
85
+ publicationName?: string | null
86
+ publicationIconUrl?: l.UriString | null
87
+ publicationOwnerAvatarUrl?: l.UriString | null
88
+ publicationOwnerHandle?: string | null
89
+ publicationBannerUrl?: l.UriString | null
90
+ publicationTopic?: string | null
91
+ tags?: string[] | null
92
92
  recommendCount: number
93
93
  commentCount: number
94
94
  hasRenderableBody: boolean
@@ -103,8 +103,8 @@ type DocumentView = {
103
103
  */
104
104
  contentFormat?: string
105
105
  isRead: boolean
106
- searchTitleHtml?: string
107
- searchSnippetHtml?: string
106
+ searchTitleHtml?: string | null
107
+ searchSnippetHtml?: string | null
108
108
  }
109
109
 
110
110
  export type { DocumentView }
@@ -117,42 +117,42 @@ const documentView = /*#__PURE__*/ l.typedObject<DocumentView>(
117
117
  uri: /*#__PURE__*/ l.string({ format: 'at-uri' }),
118
118
  did: /*#__PURE__*/ l.string({ format: 'did' }),
119
119
  title: /*#__PURE__*/ l.string({ maxLength: 512 }),
120
- description: /*#__PURE__*/ l.optional(
120
+ description: /*#__PURE__*/ l.nullable(l.optional(
121
121
  /*#__PURE__*/ l.string({ maxLength: 4096 }),
122
- ),
123
- path: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ maxLength: 2048 })),
124
- canonicalUrl: /*#__PURE__*/ l.optional(
122
+ )),
123
+ path: /*#__PURE__*/ l.nullable(l.optional(/*#__PURE__*/ l.string({ maxLength: 2048 }))),
124
+ canonicalUrl: /*#__PURE__*/ l.nullable(l.optional(
125
125
  /*#__PURE__*/ l.string({ format: 'uri' }),
126
- ),
127
- coverImageUrl: /*#__PURE__*/ l.optional(
126
+ )),
127
+ coverImageUrl: /*#__PURE__*/ l.nullable(l.optional(
128
128
  /*#__PURE__*/ l.string({ format: 'uri' }),
129
- ),
129
+ )),
130
130
  publishedAt: /*#__PURE__*/ l.string({ format: 'datetime' }),
131
131
  featured: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.boolean()),
132
- publicationUri: /*#__PURE__*/ l.optional(
132
+ publicationUri: /*#__PURE__*/ l.nullable(l.optional(
133
133
  /*#__PURE__*/ l.string({ format: 'at-uri' }),
134
- ),
135
- publicationName: /*#__PURE__*/ l.optional(
134
+ )),
135
+ publicationName: /*#__PURE__*/ l.nullable(l.optional(
136
136
  /*#__PURE__*/ l.string({ maxLength: 128 }),
137
- ),
138
- publicationIconUrl: /*#__PURE__*/ l.optional(
137
+ )),
138
+ publicationIconUrl: /*#__PURE__*/ l.nullable(l.optional(
139
139
  /*#__PURE__*/ l.string({ format: 'uri' }),
140
- ),
141
- publicationOwnerAvatarUrl: /*#__PURE__*/ l.optional(
140
+ )),
141
+ publicationOwnerAvatarUrl: /*#__PURE__*/ l.nullable(l.optional(
142
142
  /*#__PURE__*/ l.string({ format: 'uri' }),
143
- ),
144
- publicationOwnerHandle: /*#__PURE__*/ l.optional(
143
+ )),
144
+ publicationOwnerHandle: /*#__PURE__*/ l.nullable(l.optional(
145
145
  /*#__PURE__*/ l.string({ maxLength: 128 }),
146
- ),
147
- publicationBannerUrl: /*#__PURE__*/ l.optional(
146
+ )),
147
+ publicationBannerUrl: /*#__PURE__*/ l.nullable(l.optional(
148
148
  /*#__PURE__*/ l.string({ format: 'uri' }),
149
- ),
150
- publicationTopic: /*#__PURE__*/ l.optional(
149
+ )),
150
+ publicationTopic: /*#__PURE__*/ l.nullable(l.optional(
151
151
  /*#__PURE__*/ l.string({ maxLength: 128 }),
152
- ),
153
- tags: /*#__PURE__*/ l.optional(
152
+ )),
153
+ tags: /*#__PURE__*/ l.nullable(l.optional(
154
154
  /*#__PURE__*/ l.array(/*#__PURE__*/ l.string({ maxLength: 128 })),
155
- ),
155
+ )),
156
156
  recommendCount: /*#__PURE__*/ l.integer(),
157
157
  commentCount: /*#__PURE__*/ l.integer(),
158
158
  hasRenderableBody: /*#__PURE__*/ l.boolean(),
@@ -161,12 +161,12 @@ const documentView = /*#__PURE__*/ l.typedObject<DocumentView>(
161
161
  /*#__PURE__*/ l.string({ maxLength: 256 }),
162
162
  ),
163
163
  isRead: /*#__PURE__*/ l.boolean(),
164
- searchTitleHtml: /*#__PURE__*/ l.optional(
164
+ searchTitleHtml: /*#__PURE__*/ l.nullable(l.optional(
165
165
  /*#__PURE__*/ l.string({ maxLength: 1024 }),
166
- ),
167
- searchSnippetHtml: /*#__PURE__*/ l.optional(
166
+ )),
167
+ searchSnippetHtml: /*#__PURE__*/ l.nullable(l.optional(
168
168
  /*#__PURE__*/ l.string({ maxLength: 8192 }),
169
- ),
169
+ )),
170
170
  }),
171
171
  )
172
172
 
@@ -175,11 +175,11 @@ export { documentView }
175
175
  type ProfileView = {
176
176
  $type?: 'app.standard-reader.defs#profileView'
177
177
  did: l.DidString
178
- handle?: string
179
- displayName?: string
180
- description?: string
181
- avatarUrl?: l.UriString
182
- bannerUrl?: l.UriString
178
+ handle?: string | null
179
+ displayName?: string | null
180
+ description?: string | null
181
+ avatarUrl?: l.UriString | null
182
+ bannerUrl?: l.UriString | null
183
183
  }
184
184
 
185
185
  export type { ProfileView }
@@ -189,21 +189,21 @@ const profileView = /*#__PURE__*/ l.typedObject<ProfileView>(
189
189
  'profileView',
190
190
  /*#__PURE__*/ l.object({
191
191
  did: /*#__PURE__*/ l.string({ format: 'did' }),
192
- handle: /*#__PURE__*/ l.optional(
192
+ handle: /*#__PURE__*/ l.nullable(l.optional(
193
193
  /*#__PURE__*/ l.string({ maxLength: 128 }),
194
- ),
195
- displayName: /*#__PURE__*/ l.optional(
194
+ )),
195
+ displayName: /*#__PURE__*/ l.nullable(l.optional(
196
196
  /*#__PURE__*/ l.string({ maxLength: 128 }),
197
- ),
198
- description: /*#__PURE__*/ l.optional(
197
+ )),
198
+ description: /*#__PURE__*/ l.nullable(l.optional(
199
199
  /*#__PURE__*/ l.string({ maxLength: 4096 }),
200
- ),
201
- avatarUrl: /*#__PURE__*/ l.optional(
200
+ )),
201
+ avatarUrl: /*#__PURE__*/ l.nullable(l.optional(
202
202
  /*#__PURE__*/ l.string({ format: 'uri' }),
203
- ),
204
- bannerUrl: /*#__PURE__*/ l.optional(
203
+ )),
204
+ bannerUrl: /*#__PURE__*/ l.nullable(l.optional(
205
205
  /*#__PURE__*/ l.string({ format: 'uri' }),
206
- ),
206
+ )),
207
207
  }),
208
208
  )
209
209
 
@@ -211,7 +211,7 @@ export { profileView }
211
211
 
212
212
  type CursorPagePublications = {
213
213
  $type?: 'app.standard-reader.defs#cursorPagePublications'
214
- cursor?: string
214
+ cursor?: string | null
215
215
  items: PublicationView[]
216
216
  }
217
217
 
@@ -222,9 +222,9 @@ const cursorPagePublications =
222
222
  $nsid,
223
223
  'cursorPagePublications',
224
224
  /*#__PURE__*/ l.object({
225
- cursor: /*#__PURE__*/ l.optional(
225
+ cursor: /*#__PURE__*/ l.nullable(l.optional(
226
226
  /*#__PURE__*/ l.string({ maxLength: 8192 }),
227
- ),
227
+ )),
228
228
  items: /*#__PURE__*/ l.array(
229
229
  /*#__PURE__*/ l.ref<PublicationView>((() => publicationView) as any),
230
230
  ),
@@ -235,7 +235,7 @@ export { cursorPagePublications }
235
235
 
236
236
  type CursorPageDocuments = {
237
237
  $type?: 'app.standard-reader.defs#cursorPageDocuments'
238
- cursor?: string
238
+ cursor?: string | null
239
239
  items: DocumentView[]
240
240
  }
241
241
 
@@ -245,9 +245,9 @@ const cursorPageDocuments = /*#__PURE__*/ l.typedObject<CursorPageDocuments>(
245
245
  $nsid,
246
246
  'cursorPageDocuments',
247
247
  /*#__PURE__*/ l.object({
248
- cursor: /*#__PURE__*/ l.optional(
248
+ cursor: /*#__PURE__*/ l.nullable(l.optional(
249
249
  /*#__PURE__*/ l.string({ maxLength: 8192 }),
250
- ),
250
+ )),
251
251
  items: /*#__PURE__*/ l.array(
252
252
  /*#__PURE__*/ l.ref<DocumentView>((() => documentView) as any),
253
253
  ),
@@ -258,7 +258,7 @@ export { cursorPageDocuments }
258
258
 
259
259
  type CursorPageProfiles = {
260
260
  $type?: 'app.standard-reader.defs#cursorPageProfiles'
261
- cursor?: string
261
+ cursor?: string | null
262
262
  items: ProfileView[]
263
263
  }
264
264
 
@@ -268,9 +268,9 @@ const cursorPageProfiles = /*#__PURE__*/ l.typedObject<CursorPageProfiles>(
268
268
  $nsid,
269
269
  'cursorPageProfiles',
270
270
  /*#__PURE__*/ l.object({
271
- cursor: /*#__PURE__*/ l.optional(
271
+ cursor: /*#__PURE__*/ l.nullable(l.optional(
272
272
  /*#__PURE__*/ l.string({ maxLength: 8192 }),
273
- ),
273
+ )),
274
274
  items: /*#__PURE__*/ l.array(
275
275
  /*#__PURE__*/ l.ref<ProfileView>((() => profileView) as any),
276
276
  ),
@@ -284,8 +284,8 @@ type ListView = {
284
284
  $type?: 'app.standard-reader.defs#listView'
285
285
  uri: l.AtUriString
286
286
  name: string
287
- description?: string
288
- createdAt?: l.DatetimeString
287
+ description?: string | null
288
+ createdAt?: l.DatetimeString | null
289
289
  publications: PublicationView[]
290
290
  }
291
291
 
@@ -298,12 +298,12 @@ const listView = /*#__PURE__*/ l.typedObject<ListView>(
298
298
  /*#__PURE__*/ l.object({
299
299
  uri: /*#__PURE__*/ l.string({ format: 'at-uri' }),
300
300
  name: /*#__PURE__*/ l.string({ maxLength: 128 }),
301
- description: /*#__PURE__*/ l.optional(
301
+ description: /*#__PURE__*/ l.nullable(l.optional(
302
302
  /*#__PURE__*/ l.string({ maxLength: 4096 }),
303
- ),
304
- createdAt: /*#__PURE__*/ l.optional(
303
+ )),
304
+ createdAt: /*#__PURE__*/ l.nullable(l.optional(
305
305
  /*#__PURE__*/ l.string({ format: 'datetime' }),
306
- ),
306
+ )),
307
307
  publications: /*#__PURE__*/ l.array(
308
308
  /*#__PURE__*/ l.ref<PublicationView>((() => publicationView) as any),
309
309
  ),
@@ -317,20 +317,20 @@ type ResolveViewArticle = {
317
317
  kind: 'article'
318
318
  documentUri: l.AtUriString
319
319
  title: string
320
- publicationUri?: l.AtUriString
321
- publicationName?: string
322
- publicationHandle?: string
323
- publicationIconUrl?: l.UriString
324
- publicationOwnerAvatarUrl?: l.UriString
325
- publicationSubscriberCount?: number
326
- publicationReaderUrl?: l.UriString
327
- publishedAt?: l.DatetimeString
328
- readingMinutes?: number
329
- authorName?: string
330
- authorHandle?: string
331
- authorAvatarUrl?: l.UriString
320
+ publicationUri?: l.AtUriString | null
321
+ publicationName?: string | null
322
+ publicationHandle?: string | null
323
+ publicationIconUrl?: l.UriString | null
324
+ publicationOwnerAvatarUrl?: l.UriString | null
325
+ publicationSubscriberCount?: number | null
326
+ publicationReaderUrl?: l.UriString | null
327
+ publishedAt?: l.DatetimeString | null
328
+ readingMinutes?: number | null
329
+ authorName?: string | null
330
+ authorHandle?: string | null
331
+ authorAvatarUrl?: l.UriString | null
332
332
  readerUrl: l.UriString
333
- canonicalUrl?: l.UriString
333
+ canonicalUrl?: l.UriString | null
334
334
  isBookmarked?: boolean
335
335
  isRead?: boolean
336
336
  isFollowing?: boolean
@@ -347,44 +347,44 @@ const resolveViewArticle = /*#__PURE__*/ l.typedObject<ResolveViewArticle>(
347
347
  kind: /*#__PURE__*/ l.literal('article'),
348
348
  documentUri: /*#__PURE__*/ l.string({ format: 'at-uri' }),
349
349
  title: /*#__PURE__*/ l.string({ maxLength: 512 }),
350
- publicationUri: /*#__PURE__*/ l.optional(
350
+ publicationUri: /*#__PURE__*/ l.nullable(l.optional(
351
351
  /*#__PURE__*/ l.string({ format: 'at-uri' }),
352
- ),
353
- publicationName: /*#__PURE__*/ l.optional(
352
+ )),
353
+ publicationName: /*#__PURE__*/ l.nullable(l.optional(
354
354
  /*#__PURE__*/ l.string({ maxLength: 128 }),
355
- ),
356
- publicationHandle: /*#__PURE__*/ l.optional(
355
+ )),
356
+ publicationHandle: /*#__PURE__*/ l.nullable(l.optional(
357
357
  /*#__PURE__*/ l.string({ maxLength: 128 }),
358
- ),
359
- publicationIconUrl: /*#__PURE__*/ l.optional(
358
+ )),
359
+ publicationIconUrl: /*#__PURE__*/ l.nullable(l.optional(
360
360
  /*#__PURE__*/ l.string({ format: 'uri' }),
361
- ),
362
- publicationOwnerAvatarUrl: /*#__PURE__*/ l.optional(
361
+ )),
362
+ publicationOwnerAvatarUrl: /*#__PURE__*/ l.nullable(l.optional(
363
363
  /*#__PURE__*/ l.string({ format: 'uri' }),
364
- ),
365
- publicationSubscriberCount: /*#__PURE__*/ l.optional(
364
+ )),
365
+ publicationSubscriberCount: /*#__PURE__*/ l.nullable(l.optional(
366
366
  /*#__PURE__*/ l.integer(),
367
- ),
368
- publicationReaderUrl: /*#__PURE__*/ l.optional(
367
+ )),
368
+ publicationReaderUrl: /*#__PURE__*/ l.nullable(l.optional(
369
369
  /*#__PURE__*/ l.string({ format: 'uri' }),
370
- ),
371
- publishedAt: /*#__PURE__*/ l.optional(
370
+ )),
371
+ publishedAt: /*#__PURE__*/ l.nullable(l.optional(
372
372
  /*#__PURE__*/ l.string({ format: 'datetime' }),
373
- ),
374
- readingMinutes: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),
375
- authorName: /*#__PURE__*/ l.optional(
373
+ )),
374
+ readingMinutes: /*#__PURE__*/ l.nullable(l.optional(/*#__PURE__*/ l.integer())),
375
+ authorName: /*#__PURE__*/ l.nullable(l.optional(
376
376
  /*#__PURE__*/ l.string({ maxLength: 128 }),
377
- ),
378
- authorHandle: /*#__PURE__*/ l.optional(
377
+ )),
378
+ authorHandle: /*#__PURE__*/ l.nullable(l.optional(
379
379
  /*#__PURE__*/ l.string({ maxLength: 128 }),
380
- ),
381
- authorAvatarUrl: /*#__PURE__*/ l.optional(
380
+ )),
381
+ authorAvatarUrl: /*#__PURE__*/ l.nullable(l.optional(
382
382
  /*#__PURE__*/ l.string({ format: 'uri' }),
383
- ),
383
+ )),
384
384
  readerUrl: /*#__PURE__*/ l.string({ format: 'uri' }),
385
- canonicalUrl: /*#__PURE__*/ l.optional(
385
+ canonicalUrl: /*#__PURE__*/ l.nullable(l.optional(
386
386
  /*#__PURE__*/ l.string({ format: 'uri' }),
387
- ),
387
+ )),
388
388
  isBookmarked: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.boolean()),
389
389
  isRead: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.boolean()),
390
390
  isFollowing: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.boolean()),
@@ -400,13 +400,13 @@ type ResolveViewPublication = {
400
400
  kind: 'publication'
401
401
  publicationUri: l.AtUriString
402
402
  name: string
403
- description?: string
404
- handle?: string
405
- iconUrl?: l.UriString
406
- ownerAvatarUrl?: l.UriString
407
- subscriberCount?: number
403
+ description?: string | null
404
+ handle?: string | null
405
+ iconUrl?: l.UriString | null
406
+ ownerAvatarUrl?: l.UriString | null
407
+ subscriberCount?: number | null
408
408
  readerUrl: l.UriString
409
- siteUrl?: l.UriString
409
+ siteUrl?: l.UriString | null
410
410
  isFollowing?: boolean
411
411
  }
412
412
 
@@ -420,23 +420,23 @@ const resolveViewPublication =
420
420
  kind: /*#__PURE__*/ l.literal('publication'),
421
421
  publicationUri: /*#__PURE__*/ l.string({ format: 'at-uri' }),
422
422
  name: /*#__PURE__*/ l.string({ maxLength: 128 }),
423
- description: /*#__PURE__*/ l.optional(
423
+ description: /*#__PURE__*/ l.nullable(l.optional(
424
424
  /*#__PURE__*/ l.string({ maxLength: 4096 }),
425
- ),
426
- handle: /*#__PURE__*/ l.optional(
425
+ )),
426
+ handle: /*#__PURE__*/ l.nullable(l.optional(
427
427
  /*#__PURE__*/ l.string({ maxLength: 128 }),
428
- ),
429
- iconUrl: /*#__PURE__*/ l.optional(
428
+ )),
429
+ iconUrl: /*#__PURE__*/ l.nullable(l.optional(
430
430
  /*#__PURE__*/ l.string({ format: 'uri' }),
431
- ),
432
- ownerAvatarUrl: /*#__PURE__*/ l.optional(
431
+ )),
432
+ ownerAvatarUrl: /*#__PURE__*/ l.nullable(l.optional(
433
433
  /*#__PURE__*/ l.string({ format: 'uri' }),
434
- ),
435
- subscriberCount: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),
434
+ )),
435
+ subscriberCount: /*#__PURE__*/ l.nullable(l.optional(/*#__PURE__*/ l.integer())),
436
436
  readerUrl: /*#__PURE__*/ l.string({ format: 'uri' }),
437
- siteUrl: /*#__PURE__*/ l.optional(
437
+ siteUrl: /*#__PURE__*/ l.nullable(l.optional(
438
438
  /*#__PURE__*/ l.string({ format: 'uri' }),
439
- ),
439
+ )),
440
440
  isFollowing: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.boolean()),
441
441
  }),
442
442
  )
@@ -18,9 +18,9 @@ export type $Params = l.InferOutput<typeof $params>
18
18
  export const $output = /*#__PURE__*/ l.jsonPayload({
19
19
  uri: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ format: 'at-uri' })),
20
20
  name: /*#__PURE__*/ l.string({ maxLength: 128 }),
21
- description: /*#__PURE__*/ l.optional(
21
+ description: /*#__PURE__*/ l.nullable(l.optional(
22
22
  /*#__PURE__*/ l.string({ maxLength: 4096 }),
23
- ),
23
+ )),
24
24
  publications: /*#__PURE__*/ l.array(
25
25
  /*#__PURE__*/ l.ref<StandardReaderDefs.PublicationView>(
26
26
  (() => StandardReaderDefs.publicationView) as any,
@@ -26,9 +26,9 @@ export const $output = /*#__PURE__*/ l.jsonPayload({
26
26
  ),
27
27
  subscriberCount: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),
28
28
  documentCount: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),
29
- lastDocumentAt: /*#__PURE__*/ l.optional(
29
+ lastDocumentAt: /*#__PURE__*/ l.nullable(l.optional(
30
30
  /*#__PURE__*/ l.string({ format: 'datetime' }),
31
- ),
31
+ )),
32
32
  })
33
33
 
34
34
  export type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>
@@ -34,7 +34,7 @@ export type $Params = l.InferOutput<typeof $params>
34
34
 
35
35
  export const $output = /*#__PURE__*/ l.jsonPayload({
36
36
  view: /*#__PURE__*/ l.string({ maxLength: 32 }),
37
- cursor: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ maxLength: 8192 })),
37
+ cursor: /*#__PURE__*/ l.nullable(l.optional(/*#__PURE__*/ l.string({ maxLength: 8192 }))),
38
38
  items: /*#__PURE__*/ l.array(
39
39
  /*#__PURE__*/ l.typedUnion(
40
40
  [
@@ -16,8 +16,8 @@ export const $params = /*#__PURE__*/ l.params({
16
16
  export type $Params = l.InferOutput<typeof $params>
17
17
 
18
18
  export const $output = /*#__PURE__*/ l.jsonPayload({
19
- did: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ format: 'did' })),
20
- handle: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ maxLength: 128 })),
19
+ did: /*#__PURE__*/ l.nullable(l.optional(/*#__PURE__*/ l.string({ format: 'did' }))),
20
+ handle: /*#__PURE__*/ l.nullable(l.optional(/*#__PURE__*/ l.string({ maxLength: 128 }))),
21
21
  publications: /*#__PURE__*/ l.array(
22
22
  /*#__PURE__*/ l.ref<StandardReaderDefs.PublicationView>(
23
23
  (() => StandardReaderDefs.publicationView) as any,
@@ -24,7 +24,7 @@ export type $Params = l.InferOutput<typeof $params>
24
24
 
25
25
  export const $output = /*#__PURE__*/ l.jsonPayload({
26
26
  query: /*#__PURE__*/ l.string({ maxLength: 256 }),
27
- cursor: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ maxLength: 8192 })),
27
+ cursor: /*#__PURE__*/ l.nullable(l.optional(/*#__PURE__*/ l.string({ maxLength: 8192 }))),
28
28
  items: /*#__PURE__*/ l.array(
29
29
  /*#__PURE__*/ l.ref<StandardReaderDefs.DocumentView>(
30
30
  (() => StandardReaderDefs.documentView) as any,
@@ -24,7 +24,7 @@ export type $Params = l.InferOutput<typeof $params>
24
24
 
25
25
  export const $output = /*#__PURE__*/ l.jsonPayload({
26
26
  query: /*#__PURE__*/ l.string({ maxLength: 256 }),
27
- cursor: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ maxLength: 8192 })),
27
+ cursor: /*#__PURE__*/ l.nullable(l.optional(/*#__PURE__*/ l.string({ maxLength: 8192 }))),
28
28
  items: /*#__PURE__*/ l.array(
29
29
  /*#__PURE__*/ l.ref<StandardReaderDefs.PublicationView>(
30
30
  (() => StandardReaderDefs.publicationView) as any,