tangled
alpha
login
or
join now
pomdtr.me
/
smallweb-slice
0
fork
atom
this repo has no description
0
fork
atom
overview
issues
pulls
pipelines
update codegen
pomdtr.me
6 months ago
e3c3789b
8f3034ea
+32
-1377
1 changed file
expand all
collapse all
unified
split
src
generated_client.ts
+32
-1377
src/generated_client.ts
reviewed
···
1
1
// Generated TypeScript client for AT Protocol records
2
2
-
// Generated at: 2025-10-02 12:52:22 UTC
3
3
-
// Lexicons: 18
2
2
+
// Generated at: 2025-10-02 13:48:07 UTC
3
3
+
// Lexicons: 2
4
4
5
5
/**
6
6
* @example Usage
···
12
12
* 'at://did:plc:ovreo3dlfroo4ztkep3kjlle/network.slices.slice/3m25liqjjnh2o'
13
13
* );
14
14
*
15
15
-
* // Get records from the app.bsky.feed.postgate collection
16
16
-
* const records = await client.app.bsky.feed.postgate.getRecords();
15
15
+
* // Get records from the run.smallweb.server collection
16
16
+
* const records = await client.run.smallweb.server.getRecords();
17
17
*
18
18
* // Get a specific record
19
19
-
* const record = await client.app.bsky.feed.postgate.getRecord({
20
20
-
* uri: 'at://did:plc:example/app.bsky.feed.postgate/3abc123'
19
19
+
* const record = await client.run.smallweb.server.getRecord({
20
20
+
* uri: 'at://did:plc:example/run.smallweb.server/3abc123'
21
21
* });
22
22
*
23
23
* // Get records with filtering and search
24
24
-
* const filteredRecords = await client.app.bsky.feed.postgate.getRecords({
24
24
+
* const filteredRecords = await client.run.smallweb.server.getRecords({
25
25
* where: {
26
26
* text: { contains: "example search term" }
27
27
* }
28
28
* });
29
29
*
30
30
* // Use slice-level methods for cross-collection queries with type safety
31
31
-
* const sliceRecords = await client.network.slices.slice.getSliceRecords<AppBskyFeedPostgate>({
31
31
+
* const sliceRecords = await client.network.slices.slice.getSliceRecords<RunSmallwebServer>({
32
32
* where: {
33
33
-
* collection: { eq: 'app.bsky.feed.postgate' }
33
33
+
* collection: { eq: 'run.smallweb.server' }
34
34
* }
35
35
* });
36
36
*
37
37
* // Search across multiple collections using union types
38
38
-
* const multiCollectionRecords = await client.network.slices.slice.getSliceRecords<AppBskyFeedPostgate | AppBskyActorProfile>({
38
38
+
* const multiCollectionRecords = await client.network.slices.slice.getSliceRecords<RunSmallwebServer | AppBskyActorProfile>({
39
39
* where: {
40
40
-
* collection: { in: ['app.bsky.feed.postgate', 'app.bsky.actor.profile'] },
40
40
+
* collection: { in: ['run.smallweb.server', 'app.bsky.actor.profile'] },
41
41
* text: { contains: 'example search term' },
42
42
* did: { in: ['did:plc:user1', 'did:plc:user2'] }
43
43
* },
···
63
63
} from "@slices/client";
64
64
import type { OAuthClient } from "@slices/oauth";
65
65
66
66
-
export type AppBskyGraphDefsListPurpose =
67
67
-
| "app.bsky.graph.defs#modlist"
68
68
-
| "app.bsky.graph.defs#curatelist"
69
69
-
| "app.bsky.graph.defs#referencelist"
70
70
-
| (string & Record<string, never>);
71
71
-
72
72
-
export type AppBskyFeedDefsEvent =
73
73
-
| "app.bsky.feed.defs#requestLess"
74
74
-
| "app.bsky.feed.defs#requestMore"
75
75
-
| "app.bsky.feed.defs#clickthroughItem"
76
76
-
| "app.bsky.feed.defs#clickthroughAuthor"
77
77
-
| "app.bsky.feed.defs#clickthroughReposter"
78
78
-
| "app.bsky.feed.defs#clickthroughEmbed"
79
79
-
| "app.bsky.feed.defs#interactionSeen"
80
80
-
| "app.bsky.feed.defs#interactionLike"
81
81
-
| "app.bsky.feed.defs#interactionRepost"
82
82
-
| "app.bsky.feed.defs#interactionReply"
83
83
-
| "app.bsky.feed.defs#interactionQuote"
84
84
-
| "app.bsky.feed.defs#interactionShare"
85
85
-
| (string & Record<string, never>);
86
86
-
87
87
-
export type AppBskyFeedDefsContentMode =
88
88
-
| "app.bsky.feed.defs#contentModeUnspecified"
89
89
-
| "app.bsky.feed.defs#contentModeVideo"
90
90
-
| (string & Record<string, never>);
91
91
-
92
92
-
export type AppBskyActorDefsActorTarget =
93
93
-
| "all"
94
94
-
| "exclude-following"
95
95
-
| (string & Record<string, never>);
96
96
-
97
97
-
export type AppBskyActorDefsType =
98
98
-
| "feed"
99
99
-
| "list"
100
100
-
| "timeline"
101
101
-
| (string & Record<string, never>);
102
102
-
103
103
-
export type AppBskyActorDefsSort =
104
104
-
| "oldest"
105
105
-
| "newest"
106
106
-
| "most-likes"
107
107
-
| "random"
108
108
-
| "hotness"
109
109
-
| (string & Record<string, never>);
110
110
-
111
111
-
export type AppBskyActorDefsMutedWordTarget =
112
112
-
| "content"
113
113
-
| "tag"
114
114
-
| (string & Record<string, never>);
115
115
-
116
116
-
export type AppBskyActorDefsVisibility =
117
117
-
| "ignore"
118
118
-
| "show"
119
119
-
| "warn"
120
120
-
| "hide"
121
121
-
| (string & Record<string, never>);
122
122
-
123
123
-
export type AppBskyActorDefsAllowIncoming =
124
124
-
| "all"
125
125
-
| "none"
126
126
-
| "following"
127
127
-
| (string & Record<string, never>);
128
128
-
129
129
-
export type ComAtprotoLabelDefsLabelValue =
130
130
-
| "!hide"
131
131
-
| "!no-promote"
132
132
-
| "!warn"
133
133
-
| "!no-unauthenticated"
134
134
-
| "dmca-violation"
135
135
-
| "doxxing"
136
136
-
| "porn"
137
137
-
| "sexual"
138
138
-
| "nudity"
139
139
-
| "nsfl"
140
140
-
| "gore"
141
141
-
| (string & Record<string, never>);
142
142
-
143
143
-
export type ComAtprotoLabelDefsBlurs =
144
144
-
| "content"
145
145
-
| "media"
146
146
-
| "none"
147
147
-
| (string & Record<string, never>);
148
148
-
149
149
-
export type ComAtprotoLabelDefsSeverity =
150
150
-
| "inform"
151
151
-
| "alert"
152
152
-
| "none"
153
153
-
| (string & Record<string, never>);
154
154
-
155
155
-
export type ComAtprotoLabelDefsDefaultSetting =
156
156
-
| "ignore"
157
157
-
| "warn"
158
158
-
| "hide"
159
159
-
| (string & Record<string, never>);
160
160
-
161
161
-
export interface AppBskyEmbedDefsAspectRatio {
162
162
-
width: number;
163
163
-
height: number;
164
164
-
}
165
165
-
166
166
-
export interface AppBskyEmbedRecordMain {
167
167
-
record: ComAtprotoRepoStrongRef;
168
168
-
}
169
169
-
170
170
-
export interface AppBskyEmbedRecordView {
171
171
-
record:
172
172
-
| AppBskyEmbedRecord["ViewRecord"]
173
173
-
| AppBskyEmbedRecord["ViewNotFound"]
174
174
-
| AppBskyEmbedRecord["ViewBlocked"]
175
175
-
| AppBskyEmbedRecord["ViewDetached"]
176
176
-
| AppBskyFeedDefs["GeneratorView"]
177
177
-
| AppBskyGraphDefs["ListView"]
178
178
-
| AppBskyLabelerDefs["LabelerView"]
179
179
-
| AppBskyGraphDefs["StarterPackViewBasic"]
180
180
-
| { $type: string; [key: string]: unknown };
181
181
-
}
182
182
-
183
183
-
export interface AppBskyEmbedRecordViewRecord {
184
184
-
cid: string;
185
185
-
uri: string;
186
186
-
/** The record data itself. */
187
187
-
value: unknown;
188
188
-
author: AppBskyActorDefs["ProfileViewBasic"];
189
189
-
embeds?:
190
190
-
| AppBskyEmbedImages["View"]
191
191
-
| AppBskyEmbedVideo["View"]
192
192
-
| AppBskyEmbedExternal["View"]
193
193
-
| AppBskyEmbedRecord["View"]
194
194
-
| AppBskyEmbedRecordWithMedia["View"]
195
195
-
| { $type: string; [key: string]: unknown }[];
196
196
-
labels?: ComAtprotoLabelDefs["Label"][];
197
197
-
indexedAt: string;
198
198
-
likeCount?: number;
199
199
-
quoteCount?: number;
200
200
-
replyCount?: number;
201
201
-
repostCount?: number;
202
202
-
}
203
203
-
204
204
-
export interface AppBskyEmbedRecordViewBlocked {
205
205
-
uri: string;
206
206
-
author: AppBskyFeedDefs["BlockedAuthor"];
207
207
-
blocked: boolean;
208
208
-
}
209
209
-
210
210
-
export interface AppBskyEmbedRecordViewDetached {
211
211
-
uri: string;
212
212
-
detached: boolean;
213
213
-
}
214
214
-
215
215
-
export interface AppBskyEmbedRecordViewNotFound {
216
216
-
uri: string;
217
217
-
notFound: boolean;
218
218
-
}
219
219
-
220
220
-
export interface AppBskyEmbedImagesMain {
221
221
-
images: AppBskyEmbedImages["Image"][];
222
222
-
}
223
223
-
224
224
-
export interface AppBskyEmbedImagesView {
225
225
-
images: AppBskyEmbedImages["ViewImage"][];
226
226
-
}
227
227
-
228
228
-
export interface AppBskyEmbedImagesImage {
229
229
-
/** Alt text description of the image, for accessibility. */
230
230
-
alt: string;
231
231
-
image: BlobRef;
232
232
-
aspectRatio?: AppBskyEmbedDefs["AspectRatio"];
233
233
-
}
234
234
-
235
235
-
export interface AppBskyEmbedImagesViewImage {
236
236
-
/** Alt text description of the image, for accessibility. */
237
237
-
alt: string;
238
238
-
/** Fully-qualified URL where a thumbnail of the image can be fetched. For example, CDN location provided by the App View. */
239
239
-
thumb: string;
240
240
-
/** Fully-qualified URL where a large version of the image can be fetched. May or may not be the exact original blob. For example, CDN location provided by the App View. */
241
241
-
fullsize: string;
242
242
-
aspectRatio?: AppBskyEmbedDefs["AspectRatio"];
243
243
-
}
244
244
-
245
245
-
export interface AppBskyEmbedRecordWithMediaMain {
246
246
-
media:
247
247
-
| AppBskyEmbedImages["Main"]
248
248
-
| AppBskyEmbedVideo["Main"]
249
249
-
| AppBskyEmbedExternal["Main"]
250
250
-
| { $type: string; [key: string]: unknown };
251
251
-
record: AppBskyEmbedRecord["Main"];
252
252
-
}
253
253
-
254
254
-
export interface AppBskyEmbedRecordWithMediaView {
255
255
-
media:
256
256
-
| AppBskyEmbedImages["View"]
257
257
-
| AppBskyEmbedVideo["View"]
258
258
-
| AppBskyEmbedExternal["View"]
259
259
-
| { $type: string; [key: string]: unknown };
260
260
-
record: AppBskyEmbedRecord["View"];
261
261
-
}
262
262
-
263
263
-
export interface AppBskyEmbedVideoMain {
264
264
-
/** Alt text description of the video, for accessibility. */
265
265
-
alt?: string;
266
266
-
video: BlobRef;
267
267
-
captions?: AppBskyEmbedVideo["Caption"][];
268
268
-
aspectRatio?: AppBskyEmbedDefs["AspectRatio"];
269
269
-
}
270
270
-
271
271
-
export interface AppBskyEmbedVideoView {
272
272
-
alt?: string;
273
273
-
cid: string;
274
274
-
playlist: string;
275
275
-
thumbnail?: string;
276
276
-
aspectRatio?: AppBskyEmbedDefs["AspectRatio"];
277
277
-
}
278
278
-
279
279
-
export interface AppBskyEmbedVideoCaption {
280
280
-
file: BlobRef;
281
281
-
lang: string;
282
282
-
}
283
283
-
284
284
-
export interface AppBskyEmbedExternalMain {
285
285
-
external: AppBskyEmbedExternal["External"];
286
286
-
}
287
287
-
288
288
-
export interface AppBskyEmbedExternalView {
289
289
-
external: AppBskyEmbedExternal["ViewExternal"];
290
290
-
}
291
291
-
292
292
-
export interface AppBskyEmbedExternalExternal {
293
293
-
uri: string;
294
294
-
thumb?: BlobRef;
295
295
-
title: string;
296
296
-
description: string;
297
297
-
}
298
298
-
299
299
-
export interface AppBskyEmbedExternalViewExternal {
300
300
-
uri: string;
301
301
-
thumb?: string;
302
302
-
title: string;
303
303
-
description: string;
304
304
-
}
305
305
-
306
306
-
export type AppBskyGraphDefsModlist = "app.bsky.graph.defs#modlist";
307
307
-
308
308
-
export interface AppBskyGraphDefsListView {
309
309
-
cid: string;
310
310
-
uri: string;
311
311
-
name: string;
312
312
-
avatar?: string;
313
313
-
labels?: ComAtprotoLabelDefs["Label"][];
314
314
-
viewer?: AppBskyGraphDefs["ListViewerState"];
315
315
-
creator: AppBskyActorDefs["ProfileView"];
316
316
-
purpose: AppBskyGraphDefs["ListPurpose"];
317
317
-
indexedAt: string;
318
318
-
description?: string;
319
319
-
listItemCount?: number;
320
320
-
descriptionFacets?: AppBskyRichtextFacet["Main"][];
321
321
-
}
322
322
-
323
323
-
export type AppBskyGraphDefsCuratelist = "app.bsky.graph.defs#curatelist";
324
324
-
325
325
-
export interface AppBskyGraphDefsListItemView {
326
326
-
uri: string;
327
327
-
subject: AppBskyActorDefs["ProfileView"];
328
328
-
}
329
329
-
330
330
-
export interface AppBskyGraphDefsRelationship {
331
331
-
did: string;
332
332
-
/** if the actor follows this DID, this is the AT-URI of the follow record */
333
333
-
following?: string;
334
334
-
/** if the actor is followed by this DID, contains the AT-URI of the follow record */
335
335
-
followedBy?: string;
336
336
-
}
337
337
-
338
338
-
export interface AppBskyGraphDefsListViewBasic {
339
339
-
cid: string;
340
340
-
uri: string;
341
341
-
name: string;
342
342
-
avatar?: string;
343
343
-
labels?: ComAtprotoLabelDefs["Label"][];
344
344
-
viewer?: AppBskyGraphDefs["ListViewerState"];
345
345
-
purpose: AppBskyGraphDefs["ListPurpose"];
346
346
-
indexedAt?: string;
347
347
-
listItemCount?: number;
348
348
-
}
349
349
-
350
350
-
export interface AppBskyGraphDefsNotFoundActor {
351
351
-
actor: string;
352
352
-
notFound: boolean;
353
353
-
}
354
354
-
355
355
-
export type AppBskyGraphDefsReferencelist = "app.bsky.graph.defs#referencelist";
356
356
-
357
357
-
export interface AppBskyGraphDefsListViewerState {
358
358
-
muted?: boolean;
359
359
-
blocked?: string;
360
360
-
}
361
361
-
362
362
-
export interface AppBskyGraphDefsStarterPackView {
363
363
-
cid: string;
364
364
-
uri: string;
365
365
-
list?: AppBskyGraphDefs["ListViewBasic"];
366
366
-
feeds?: AppBskyFeedDefs["GeneratorView"][];
367
367
-
labels?: ComAtprotoLabelDefs["Label"][];
368
368
-
record: unknown;
369
369
-
creator: AppBskyActorDefs["ProfileViewBasic"];
370
370
-
indexedAt: string;
371
371
-
joinedWeekCount?: number;
372
372
-
listItemsSample?: AppBskyGraphDefs["ListItemView"][];
373
373
-
joinedAllTimeCount?: number;
374
374
-
}
375
375
-
376
376
-
export interface AppBskyGraphDefsStarterPackViewBasic {
377
377
-
cid: string;
378
378
-
uri: string;
379
379
-
labels?: ComAtprotoLabelDefs["Label"][];
380
380
-
record: unknown;
381
381
-
creator: AppBskyActorDefs["ProfileViewBasic"];
382
382
-
indexedAt: string;
383
383
-
listItemCount?: number;
384
384
-
joinedWeekCount?: number;
385
385
-
joinedAllTimeCount?: number;
386
386
-
}
387
387
-
388
388
-
export interface AppBskyFeedDefsPostView {
389
389
-
cid: string;
390
390
-
uri: string;
391
391
-
embed?:
392
392
-
| AppBskyEmbedImages["View"]
393
393
-
| AppBskyEmbedVideo["View"]
394
394
-
| AppBskyEmbedExternal["View"]
395
395
-
| AppBskyEmbedRecord["View"]
396
396
-
| AppBskyEmbedRecordWithMedia["View"]
397
397
-
| { $type: string; [key: string]: unknown };
398
398
-
author: AppBskyActorDefs["ProfileViewBasic"];
399
399
-
labels?: ComAtprotoLabelDefs["Label"][];
400
400
-
record: unknown;
401
401
-
viewer?: AppBskyFeedDefs["ViewerState"];
402
402
-
indexedAt: string;
403
403
-
likeCount?: number;
404
404
-
quoteCount?: number;
405
405
-
replyCount?: number;
406
406
-
threadgate?: AppBskyFeedDefs["ThreadgateView"];
407
407
-
repostCount?: number;
408
408
-
}
409
409
-
410
410
-
export interface AppBskyFeedDefsReplyRef {
411
411
-
root:
412
412
-
| AppBskyFeedDefs["PostView"]
413
413
-
| AppBskyFeedDefs["NotFoundPost"]
414
414
-
| AppBskyFeedDefs["BlockedPost"]
415
415
-
| { $type: string; [key: string]: unknown };
416
416
-
parent:
417
417
-
| AppBskyFeedDefs["PostView"]
418
418
-
| AppBskyFeedDefs["NotFoundPost"]
419
419
-
| AppBskyFeedDefs["BlockedPost"]
420
420
-
| { $type: string; [key: string]: unknown };
421
421
-
/** When parent is a reply to another post, this is the author of that post. */
422
422
-
grandparentAuthor?: AppBskyActorDefs["ProfileViewBasic"];
423
423
-
}
424
424
-
425
425
-
export type AppBskyFeedDefsReasonPin = Record<string, never>;
426
426
-
427
427
-
export interface AppBskyFeedDefsBlockedPost {
428
428
-
uri: string;
429
429
-
author: AppBskyFeedDefs["BlockedAuthor"];
430
430
-
blocked: boolean;
431
431
-
}
432
432
-
433
433
-
export interface AppBskyFeedDefsInteraction {
434
434
-
item?: string;
435
435
-
event?: AppBskyFeedDefsEvent;
436
436
-
/** Context on a feed item that was originally supplied by the feed generator on getFeedSkeleton. */
437
437
-
feedContext?: string;
438
438
-
}
439
439
-
440
440
-
export type AppBskyFeedDefsRequestLess = "app.bsky.feed.defs#requestLess";
441
441
-
export type AppBskyFeedDefsRequestMore = "app.bsky.feed.defs#requestMore";
442
442
-
443
443
-
export interface AppBskyFeedDefsViewerState {
444
444
-
like?: string;
445
445
-
pinned?: boolean;
446
446
-
repost?: string;
447
447
-
threadMuted?: boolean;
448
448
-
replyDisabled?: boolean;
449
449
-
embeddingDisabled?: boolean;
450
450
-
}
451
451
-
452
452
-
export interface AppBskyFeedDefsFeedViewPost {
453
453
-
post: AppBskyFeedDefs["PostView"];
454
454
-
reply?: AppBskyFeedDefs["ReplyRef"];
455
455
-
reason?: AppBskyFeedDefs["ReasonRepost"] | AppBskyFeedDefs["ReasonPin"] | {
456
456
-
$type: string;
457
457
-
[key: string]: unknown;
458
458
-
};
459
459
-
/** Context provided by feed generator that may be passed back alongside interactions. */
460
460
-
feedContext?: string;
461
461
-
}
462
462
-
463
463
-
export interface AppBskyFeedDefsNotFoundPost {
464
464
-
uri: string;
465
465
-
notFound: boolean;
466
466
-
}
467
467
-
468
468
-
export interface AppBskyFeedDefsReasonRepost {
469
469
-
by: AppBskyActorDefs["ProfileViewBasic"];
470
470
-
indexedAt: string;
471
471
-
}
472
472
-
473
473
-
export interface AppBskyFeedDefsBlockedAuthor {
474
474
-
did: string;
475
475
-
viewer?: AppBskyActorDefs["ViewerState"];
476
476
-
}
477
477
-
478
478
-
export interface AppBskyFeedDefsGeneratorView {
479
479
-
cid: string;
480
480
-
did: string;
481
481
-
uri: string;
482
482
-
avatar?: string;
483
483
-
labels?: ComAtprotoLabelDefs["Label"][];
484
484
-
viewer?: AppBskyFeedDefs["GeneratorViewerState"];
485
485
-
creator: AppBskyActorDefs["ProfileView"];
486
486
-
indexedAt: string;
487
487
-
likeCount?: number;
488
488
-
contentMode?: AppBskyFeedDefsContentMode;
489
489
-
description?: string;
490
490
-
displayName: string;
491
491
-
descriptionFacets?: AppBskyRichtextFacet["Main"][];
492
492
-
acceptsInteractions?: boolean;
493
493
-
}
494
494
-
495
495
-
export interface AppBskyFeedDefsThreadContext {
496
496
-
rootAuthorLike?: string;
497
497
-
}
498
498
-
499
499
-
export interface AppBskyFeedDefsThreadViewPost {
500
500
-
post: AppBskyFeedDefs["PostView"];
501
501
-
parent?:
502
502
-
| AppBskyFeedDefs["ThreadViewPost"]
503
503
-
| AppBskyFeedDefs["NotFoundPost"]
504
504
-
| AppBskyFeedDefs["BlockedPost"]
505
505
-
| { $type: string; [key: string]: unknown };
506
506
-
replies?:
507
507
-
| AppBskyFeedDefs["ThreadViewPost"]
508
508
-
| AppBskyFeedDefs["NotFoundPost"]
509
509
-
| AppBskyFeedDefs["BlockedPost"]
510
510
-
| { $type: string; [key: string]: unknown }[];
511
511
-
threadContext?: AppBskyFeedDefs["ThreadContext"];
512
512
-
}
513
513
-
514
514
-
export interface AppBskyFeedDefsThreadgateView {
515
515
-
cid?: string;
516
516
-
uri?: string;
517
517
-
lists?: AppBskyGraphDefs["ListViewBasic"][];
518
518
-
record?: unknown;
519
519
-
}
520
520
-
521
521
-
export type AppBskyFeedDefsInteractionLike =
522
522
-
"app.bsky.feed.defs#interactionLike";
523
523
-
export type AppBskyFeedDefsInteractionSeen =
524
524
-
"app.bsky.feed.defs#interactionSeen";
525
525
-
export type AppBskyFeedDefsClickthroughItem =
526
526
-
"app.bsky.feed.defs#clickthroughItem";
527
527
-
export type AppBskyFeedDefsContentModeVideo =
528
528
-
"app.bsky.feed.defs#contentModeVideo";
529
529
-
export type AppBskyFeedDefsInteractionQuote =
530
530
-
"app.bsky.feed.defs#interactionQuote";
531
531
-
export type AppBskyFeedDefsInteractionReply =
532
532
-
"app.bsky.feed.defs#interactionReply";
533
533
-
export type AppBskyFeedDefsInteractionShare =
534
534
-
"app.bsky.feed.defs#interactionShare";
535
535
-
536
536
-
export interface AppBskyFeedDefsSkeletonFeedPost {
537
537
-
post: string;
538
538
-
reason?:
539
539
-
| AppBskyFeedDefs["SkeletonReasonRepost"]
540
540
-
| AppBskyFeedDefs["SkeletonReasonPin"]
541
541
-
| { $type: string; [key: string]: unknown };
542
542
-
/** Context that will be passed through to client and may be passed to feed generator back alongside interactions. */
543
543
-
feedContext?: string;
544
544
-
}
545
545
-
546
546
-
export type AppBskyFeedDefsClickthroughEmbed =
547
547
-
"app.bsky.feed.defs#clickthroughEmbed";
548
548
-
export type AppBskyFeedDefsInteractionRepost =
549
549
-
"app.bsky.feed.defs#interactionRepost";
550
550
-
export type AppBskyFeedDefsSkeletonReasonPin = Record<string, never>;
551
551
-
export type AppBskyFeedDefsClickthroughAuthor =
552
552
-
"app.bsky.feed.defs#clickthroughAuthor";
553
553
-
export type AppBskyFeedDefsClickthroughReposter =
554
554
-
"app.bsky.feed.defs#clickthroughReposter";
555
555
-
556
556
-
export interface AppBskyFeedDefsGeneratorViewerState {
557
557
-
like?: string;
558
558
-
}
559
559
-
560
560
-
export interface AppBskyFeedDefsSkeletonReasonRepost {
561
561
-
repost: string;
562
562
-
}
563
563
-
564
564
-
export type AppBskyFeedDefsContentModeUnspecified =
565
565
-
"app.bsky.feed.defs#contentModeUnspecified";
566
566
-
567
567
-
export interface AppBskyFeedPostgate {
568
568
-
/** Reference (AT-URI) to the post record. */
569
569
-
post: string;
570
570
-
createdAt: string;
571
571
-
/** List of rules defining who can embed this post. If value is an empty array or is undefined, no particular rules apply and anyone can embed. */
572
572
-
embeddingRules?: AppBskyFeedPostgate["DisableRule"] | {
573
573
-
$type: string;
574
574
-
[key: string]: unknown;
575
575
-
}[];
576
576
-
/** List of AT-URIs embedding this post that the author has detached from. */
577
577
-
detachedEmbeddingUris?: string[];
578
578
-
}
579
579
-
580
580
-
export type AppBskyFeedPostgateSortFields = "post" | "createdAt";
581
581
-
export type AppBskyFeedPostgateDisableRule = Record<string, never>;
582
582
-
583
583
-
export interface AppBskyFeedThreadgate {
584
584
-
/** Reference (AT-URI) to the post record. */
585
585
-
post: string;
586
586
-
/** List of rules defining who can reply to this post. If value is an empty array, no one can reply. If value is undefined, anyone can reply. */
587
587
-
allow?:
588
588
-
| AppBskyFeedThreadgate["MentionRule"]
589
589
-
| AppBskyFeedThreadgate["FollowerRule"]
590
590
-
| AppBskyFeedThreadgate["FollowingRule"]
591
591
-
| AppBskyFeedThreadgate["ListRule"]
592
592
-
| { $type: string; [key: string]: unknown }[];
593
593
-
createdAt: string;
594
594
-
/** List of hidden reply URIs. */
595
595
-
hiddenReplies?: string[];
596
596
-
}
597
597
-
598
598
-
export type AppBskyFeedThreadgateSortFields = "post" | "createdAt";
599
599
-
600
600
-
export interface AppBskyFeedThreadgateListRule {
601
601
-
list: string;
602
602
-
}
603
603
-
604
604
-
export type AppBskyFeedThreadgateMentionRule = Record<string, never>;
605
605
-
export type AppBskyFeedThreadgateFollowerRule = Record<string, never>;
606
606
-
export type AppBskyFeedThreadgateFollowingRule = Record<string, never>;
607
607
-
608
608
-
export interface AppBskyRichtextFacetTag {
609
609
-
tag: string;
610
610
-
}
611
611
-
612
612
-
export interface AppBskyRichtextFacetLink {
613
613
-
uri: string;
614
614
-
}
615
615
-
616
616
-
export interface AppBskyRichtextFacetMain {
617
617
-
index: AppBskyRichtextFacet["ByteSlice"];
618
618
-
features:
619
619
-
| AppBskyRichtextFacet["Mention"]
620
620
-
| AppBskyRichtextFacet["Link"]
621
621
-
| AppBskyRichtextFacet["Tag"]
622
622
-
| { $type: string; [key: string]: unknown }[];
623
623
-
}
624
624
-
625
625
-
export interface AppBskyRichtextFacetMention {
626
626
-
did: string;
627
627
-
}
628
628
-
629
629
-
export interface AppBskyRichtextFacetByteSlice {
630
630
-
byteEnd: number;
631
631
-
byteStart: number;
632
632
-
}
633
633
-
634
634
-
export interface AppBskyActorDefsNux {
635
635
-
id: string;
636
636
-
/** Arbitrary data for the NUX. The structure is defined by the NUX itself. Limited to 300 characters. */
637
637
-
data?: string;
638
638
-
completed: boolean;
639
639
-
/** The date and time at which the NUX will expire and should be considered completed. */
640
640
-
expiresAt?: string;
641
641
-
}
642
642
-
643
643
-
export interface AppBskyActorDefsMutedWord {
644
644
-
id?: string;
645
645
-
/** The muted word itself. */
646
646
-
value: string;
647
647
-
/** The intended targets of the muted word. */
648
648
-
targets: AppBskyActorDefs["MutedWordTarget"][];
649
649
-
/** The date and time at which the muted word will expire and no longer be applied. */
650
650
-
expiresAt?: string;
651
651
-
/** Groups of users to apply the muted word to. If undefined, applies to all users. */
652
652
-
actorTarget?: AppBskyActorDefsActorTarget;
653
653
-
}
654
654
-
655
655
-
export interface AppBskyActorDefsSavedFeed {
656
656
-
id: string;
657
657
-
type: AppBskyActorDefsType;
658
658
-
value: string;
659
659
-
pinned: boolean;
660
660
-
}
661
661
-
662
662
-
export type AppBskyActorDefsPreferences =
663
663
-
| AppBskyActorDefs["AdultContentPref"]
664
664
-
| AppBskyActorDefs["ContentLabelPref"]
665
665
-
| AppBskyActorDefs["SavedFeedsPref"]
666
666
-
| AppBskyActorDefs["SavedFeedsPrefV2"]
667
667
-
| AppBskyActorDefs["PersonalDetailsPref"]
668
668
-
| AppBskyActorDefs["FeedViewPref"]
669
669
-
| AppBskyActorDefs["ThreadViewPref"]
670
670
-
| AppBskyActorDefs["InterestsPref"]
671
671
-
| AppBskyActorDefs["MutedWordsPref"]
672
672
-
| AppBskyActorDefs["HiddenPostsPref"]
673
673
-
| AppBskyActorDefs["BskyAppStatePref"]
674
674
-
| AppBskyActorDefs["LabelersPref"]
675
675
-
| AppBskyActorDefs["PostInteractionSettingsPref"]
676
676
-
| { $type: string; [key: string]: unknown }[];
677
677
-
678
678
-
export interface AppBskyActorDefsProfileView {
679
679
-
did: string;
680
680
-
avatar?: string;
681
681
-
handle: string;
682
682
-
labels?: ComAtprotoLabelDefs["Label"][];
683
683
-
viewer?: AppBskyActorDefs["ViewerState"];
684
684
-
createdAt?: string;
685
685
-
indexedAt?: string;
686
686
-
associated?: AppBskyActorDefs["ProfileAssociated"];
687
687
-
description?: string;
688
688
-
displayName?: string;
689
689
-
}
690
690
-
691
691
-
export interface AppBskyActorDefsViewerState {
692
692
-
muted?: boolean;
693
693
-
blocking?: string;
694
694
-
blockedBy?: boolean;
695
695
-
following?: string;
696
696
-
followedBy?: string;
697
697
-
mutedByList?: AppBskyGraphDefs["ListViewBasic"];
698
698
-
blockingByList?: AppBskyGraphDefs["ListViewBasic"];
699
699
-
knownFollowers?: AppBskyActorDefs["KnownFollowers"];
700
700
-
}
701
701
-
702
702
-
export interface AppBskyActorDefsFeedViewPref {
703
703
-
/** The URI of the feed, or an identifier which describes the feed. */
704
704
-
feed: string;
705
705
-
/** Hide replies in the feed. */
706
706
-
hideReplies?: boolean;
707
707
-
/** Hide reposts in the feed. */
708
708
-
hideReposts?: boolean;
709
709
-
/** Hide quote posts in the feed. */
710
710
-
hideQuotePosts?: boolean;
711
711
-
/** Hide replies in the feed if they do not have this number of likes. */
712
712
-
hideRepliesByLikeCount?: number;
713
713
-
/** Hide replies in the feed if they are not by followed users. */
714
714
-
hideRepliesByUnfollowed?: boolean;
715
715
-
}
716
716
-
717
717
-
export interface AppBskyActorDefsLabelersPref {
718
718
-
labelers: AppBskyActorDefs["LabelerPrefItem"][];
719
719
-
}
720
720
-
721
721
-
export interface AppBskyActorDefsInterestsPref {
722
722
-
/** A list of tags which describe the account owner's interests gathered during onboarding. */
723
723
-
tags: string[];
724
724
-
}
725
725
-
726
726
-
export interface AppBskyActorDefsKnownFollowers {
727
727
-
count: number;
728
728
-
followers: AppBskyActorDefs["ProfileViewBasic"][];
729
729
-
}
730
730
-
731
731
-
export interface AppBskyActorDefsMutedWordsPref {
732
732
-
/** A list of words the account owner has muted. */
733
733
-
items: AppBskyActorDefs["MutedWord"][];
734
734
-
}
735
735
-
736
736
-
export interface AppBskyActorDefsSavedFeedsPref {
737
737
-
saved: string[];
738
738
-
pinned: string[];
739
739
-
timelineIndex?: number;
740
740
-
}
741
741
-
742
742
-
export interface AppBskyActorDefsThreadViewPref {
743
743
-
/** Sorting mode for threads. */
744
744
-
sort?: AppBskyActorDefsSort;
745
745
-
/** Show followed users at the top of all replies. */
746
746
-
prioritizeFollowedUsers?: boolean;
747
747
-
}
748
748
-
749
749
-
export interface AppBskyActorDefsHiddenPostsPref {
750
750
-
/** A list of URIs of posts the account owner has hidden. */
751
751
-
items: string[];
752
752
-
}
753
753
-
754
754
-
export interface AppBskyActorDefsLabelerPrefItem {
755
755
-
did: string;
756
756
-
}
757
757
-
758
758
-
export interface AppBskyActorDefsAdultContentPref {
759
759
-
enabled: boolean;
760
760
-
}
761
761
-
762
762
-
export interface AppBskyActorDefsBskyAppStatePref {
763
763
-
/** Storage for NUXs the user has encountered. */
764
764
-
nuxs?: AppBskyActorDefs["Nux"][];
765
765
-
/** An array of tokens which identify nudges (modals, popups, tours, highlight dots) that should be shown to the user. */
766
766
-
queuedNudges?: string[];
767
767
-
activeProgressGuide?: AppBskyActorDefs["BskyAppProgressGuide"];
768
768
-
}
769
769
-
770
770
-
export interface AppBskyActorDefsContentLabelPref {
771
771
-
label: string;
772
772
-
/** Which labeler does this preference apply to? If undefined, applies globally. */
773
773
-
labelerDid?: string;
774
774
-
visibility: AppBskyActorDefsVisibility;
775
775
-
}
776
776
-
777
777
-
export interface AppBskyActorDefsProfileViewBasic {
778
778
-
did: string;
779
779
-
avatar?: string;
780
780
-
handle: string;
781
781
-
labels?: ComAtprotoLabelDefs["Label"][];
782
782
-
viewer?: AppBskyActorDefs["ViewerState"];
783
783
-
createdAt?: string;
784
784
-
associated?: AppBskyActorDefs["ProfileAssociated"];
785
785
-
displayName?: string;
786
786
-
}
787
787
-
788
788
-
export interface AppBskyActorDefsSavedFeedsPrefV2 {
789
789
-
items: AppBskyActorDefs["SavedFeed"][];
790
790
-
}
791
791
-
792
792
-
export interface AppBskyActorDefsProfileAssociated {
793
793
-
chat?: AppBskyActorDefs["ProfileAssociatedChat"];
794
794
-
lists?: number;
795
795
-
labeler?: boolean;
796
796
-
feedgens?: number;
797
797
-
starterPacks?: number;
798
798
-
}
799
799
-
800
800
-
export interface AppBskyActorDefsPersonalDetailsPref {
801
801
-
/** The birth date of account owner. */
802
802
-
birthDate?: string;
803
803
-
}
804
804
-
805
805
-
export interface AppBskyActorDefsProfileViewDetailed {
806
806
-
did: string;
807
807
-
avatar?: string;
808
808
-
banner?: string;
809
809
-
handle: string;
810
810
-
labels?: ComAtprotoLabelDefs["Label"][];
811
811
-
viewer?: AppBskyActorDefs["ViewerState"];
812
812
-
createdAt?: string;
813
813
-
indexedAt?: string;
814
814
-
associated?: AppBskyActorDefs["ProfileAssociated"];
815
815
-
pinnedPost?: ComAtprotoRepoStrongRef;
816
816
-
postsCount?: number;
817
817
-
description?: string;
818
818
-
displayName?: string;
819
819
-
followsCount?: number;
820
820
-
followersCount?: number;
821
821
-
joinedViaStarterPack?: AppBskyGraphDefs["StarterPackViewBasic"];
822
822
-
}
823
823
-
824
824
-
export interface AppBskyActorDefsBskyAppProgressGuide {
825
825
-
guide: string;
826
826
-
}
827
827
-
828
828
-
export interface AppBskyActorDefsProfileAssociatedChat {
829
829
-
allowIncoming: AppBskyActorDefsAllowIncoming;
830
830
-
}
831
831
-
832
832
-
export interface AppBskyActorDefsPostInteractionSettingsPref {
833
833
-
/** Matches threadgate record. List of rules defining who can reply to this users posts. If value is an empty array, no one can reply. If value is undefined, anyone can reply. */
834
834
-
threadgateAllowRules?:
835
835
-
| AppBskyFeedThreadgate["MentionRule"]
836
836
-
| AppBskyFeedThreadgate["FollowerRule"]
837
837
-
| AppBskyFeedThreadgate["FollowingRule"]
838
838
-
| AppBskyFeedThreadgate["ListRule"]
839
839
-
| { $type: string; [key: string]: unknown }[];
840
840
-
/** Matches postgate record. List of rules defining who can embed this users posts. If value is an empty array or is undefined, no particular rules apply and anyone can embed. */
841
841
-
postgateEmbeddingRules?: AppBskyFeedPostgate["DisableRule"] | {
842
842
-
$type: string;
843
843
-
[key: string]: unknown;
844
844
-
}[];
845
845
-
}
846
846
-
847
847
-
export interface AppBskyActorProfile {
848
848
-
/** Small image to be displayed next to posts from account. AKA, 'profile picture' */
849
849
-
avatar?: BlobRef;
850
850
-
/** Larger horizontal image to display behind profile view. */
851
851
-
banner?: BlobRef;
852
852
-
/** Self-label values, specific to the Bluesky application, on the overall account. */
853
853
-
labels?: ComAtprotoLabelDefs["SelfLabels"] | {
854
854
-
$type: string;
855
855
-
[key: string]: unknown;
856
856
-
};
857
857
-
createdAt?: string;
858
858
-
pinnedPost?: ComAtprotoRepoStrongRef;
859
859
-
/** Free-form profile description text. */
860
860
-
description?: string;
861
861
-
displayName?: string;
862
862
-
joinedViaStarterPack?: ComAtprotoRepoStrongRef;
863
863
-
}
864
864
-
865
865
-
export type AppBskyActorProfileSortFields =
866
866
-
| "createdAt"
867
867
-
| "description"
868
868
-
| "displayName";
869
869
-
870
870
-
export interface AppBskyLabelerDefsLabelerView {
871
871
-
cid: string;
872
872
-
uri: string;
873
873
-
labels?: ComAtprotoLabelDefs["Label"][];
874
874
-
viewer?: AppBskyLabelerDefs["LabelerViewerState"];
875
875
-
creator: AppBskyActorDefs["ProfileView"];
876
876
-
indexedAt: string;
877
877
-
likeCount?: number;
878
878
-
}
879
879
-
880
880
-
export interface AppBskyLabelerDefsLabelerPolicies {
881
881
-
/** The label values which this labeler publishes. May include global or custom labels. */
882
882
-
labelValues: ComAtprotoLabelDefs["LabelValue"][];
883
883
-
/** Label values created by this labeler and scoped exclusively to it. Labels defined here will override global label definitions for this labeler. */
884
884
-
labelValueDefinitions?: ComAtprotoLabelDefs["LabelValueDefinition"][];
885
885
-
}
886
886
-
887
887
-
export interface AppBskyLabelerDefsLabelerViewerState {
888
888
-
like?: string;
889
889
-
}
890
890
-
891
891
-
export interface AppBskyLabelerDefsLabelerViewDetailed {
892
892
-
cid: string;
893
893
-
uri: string;
894
894
-
labels?: ComAtprotoLabelDefs["Label"][];
895
895
-
viewer?: AppBskyLabelerDefs["LabelerViewerState"];
896
896
-
creator: AppBskyActorDefs["ProfileView"];
897
897
-
policies: AppBskyLabelerDefs["LabelerPolicies"];
898
898
-
indexedAt: string;
899
899
-
likeCount?: number;
900
900
-
}
901
901
-
902
902
-
export interface SmallwebRunServer {
66
66
+
export interface RunSmallwebServer {
903
67
/** The DID of the server owner */
904
68
owner: string;
905
69
/** The domain name of the server */
···
908
72
createdAt: string;
909
73
}
910
74
911
911
-
export type SmallwebRunServerSortFields = "owner" | "domain" | "createdAt";
75
75
+
export type RunSmallwebServerSortFields = "owner" | "domain" | "createdAt";
912
76
913
77
export interface RunSmallwebApp {
914
78
/** Name of the app */
···
930
94
| "owner"
931
95
| "createdAt";
932
96
933
933
-
export interface ComAtprotoLabelDefsLabel {
934
934
-
/** Optionally, CID specifying the specific version of 'uri' resource this label applies to. */
935
935
-
cid?: string;
936
936
-
/** Timestamp when this label was created. */
937
937
-
cts?: string;
938
938
-
/** Timestamp at which this label expires (no longer applies). */
939
939
-
exp?: string;
940
940
-
/** If true, this is a negation label, overwriting a previous label. */
941
941
-
neg?: boolean;
942
942
-
/** Signature of dag-cbor encoded label. */
943
943
-
sig?: string;
944
944
-
/** DID of the actor who created this label. */
945
945
-
src: string;
946
946
-
/** AT URI of the record, repository (account), or other resource that this label applies to. */
947
947
-
uri: string;
948
948
-
/** The short string name of the value or type of this label. */
949
949
-
val: string;
950
950
-
/** The AT Protocol version of the label object. */
951
951
-
ver?: number;
952
952
-
}
953
953
-
954
954
-
export interface ComAtprotoLabelDefsSelfLabel {
955
955
-
/** The short string name of the value or type of this label. */
956
956
-
val: string;
957
957
-
}
958
958
-
959
959
-
export interface ComAtprotoLabelDefsSelfLabels {
960
960
-
values: ComAtprotoLabelDefs["SelfLabel"][];
961
961
-
}
962
962
-
963
963
-
export interface ComAtprotoLabelDefsLabelValueDefinition {
964
964
-
/** What should this label hide in the UI, if applied? 'content' hides all of the target; 'media' hides the images/video/audio; 'none' hides nothing. */
965
965
-
blurs: ComAtprotoLabelDefsBlurs;
966
966
-
locales: ComAtprotoLabelDefs["LabelValueDefinitionStrings"][];
967
967
-
/** How should a client visually convey this label? 'inform' means neutral and informational; 'alert' means negative and warning; 'none' means show nothing. */
968
968
-
severity: ComAtprotoLabelDefsSeverity;
969
969
-
/** Does the user need to have adult content enabled in order to configure this label? */
970
970
-
adultOnly?: boolean;
971
971
-
/** The value of the label being defined. Must only include lowercase ascii and the '-' character ([a-z-]+). */
972
972
-
identifier: string;
973
973
-
/** The default setting for this label. */
974
974
-
defaultSetting?: ComAtprotoLabelDefsDefaultSetting;
975
975
-
}
976
976
-
977
977
-
export interface ComAtprotoLabelDefsLabelValueDefinitionStrings {
978
978
-
/** The code of the language these strings are written in. */
979
979
-
lang: string;
980
980
-
/** A short human-readable name for the label. */
981
981
-
name: string;
982
982
-
/** A longer description of what the label means and why it might be applied. */
983
983
-
description: string;
984
984
-
}
985
985
-
986
986
-
export interface ComAtprotoRepoStrongRef {
987
987
-
cid: string;
988
988
-
uri: string;
989
989
-
}
990
990
-
991
991
-
export interface AppBskyEmbedDefs {
992
992
-
readonly AspectRatio: AppBskyEmbedDefsAspectRatio;
993
993
-
}
994
994
-
995
995
-
export interface AppBskyEmbedRecord {
996
996
-
readonly Main: AppBskyEmbedRecordMain;
997
997
-
readonly View: AppBskyEmbedRecordView;
998
998
-
readonly ViewRecord: AppBskyEmbedRecordViewRecord;
999
999
-
readonly ViewBlocked: AppBskyEmbedRecordViewBlocked;
1000
1000
-
readonly ViewDetached: AppBskyEmbedRecordViewDetached;
1001
1001
-
readonly ViewNotFound: AppBskyEmbedRecordViewNotFound;
1002
1002
-
}
1003
1003
-
1004
1004
-
export interface AppBskyEmbedImages {
1005
1005
-
readonly Main: AppBskyEmbedImagesMain;
1006
1006
-
readonly View: AppBskyEmbedImagesView;
1007
1007
-
readonly Image: AppBskyEmbedImagesImage;
1008
1008
-
readonly ViewImage: AppBskyEmbedImagesViewImage;
1009
1009
-
}
1010
1010
-
1011
1011
-
export interface AppBskyEmbedRecordWithMedia {
1012
1012
-
readonly Main: AppBskyEmbedRecordWithMediaMain;
1013
1013
-
readonly View: AppBskyEmbedRecordWithMediaView;
1014
1014
-
}
1015
1015
-
1016
1016
-
export interface AppBskyEmbedVideo {
1017
1017
-
readonly Main: AppBskyEmbedVideoMain;
1018
1018
-
readonly View: AppBskyEmbedVideoView;
1019
1019
-
readonly Caption: AppBskyEmbedVideoCaption;
1020
1020
-
}
1021
1021
-
1022
1022
-
export interface AppBskyEmbedExternal {
1023
1023
-
readonly Main: AppBskyEmbedExternalMain;
1024
1024
-
readonly View: AppBskyEmbedExternalView;
1025
1025
-
readonly External: AppBskyEmbedExternalExternal;
1026
1026
-
readonly ViewExternal: AppBskyEmbedExternalViewExternal;
1027
1027
-
}
1028
1028
-
1029
1029
-
export interface AppBskyGraphDefs {
1030
1030
-
readonly Modlist: AppBskyGraphDefsModlist;
1031
1031
-
readonly ListView: AppBskyGraphDefsListView;
1032
1032
-
readonly Curatelist: AppBskyGraphDefsCuratelist;
1033
1033
-
readonly ListPurpose: AppBskyGraphDefsListPurpose;
1034
1034
-
readonly ListItemView: AppBskyGraphDefsListItemView;
1035
1035
-
readonly Relationship: AppBskyGraphDefsRelationship;
1036
1036
-
readonly ListViewBasic: AppBskyGraphDefsListViewBasic;
1037
1037
-
readonly NotFoundActor: AppBskyGraphDefsNotFoundActor;
1038
1038
-
readonly Referencelist: AppBskyGraphDefsReferencelist;
1039
1039
-
readonly ListViewerState: AppBskyGraphDefsListViewerState;
1040
1040
-
readonly StarterPackView: AppBskyGraphDefsStarterPackView;
1041
1041
-
readonly StarterPackViewBasic: AppBskyGraphDefsStarterPackViewBasic;
1042
1042
-
}
1043
1043
-
1044
1044
-
export interface AppBskyFeedDefs {
1045
1045
-
readonly PostView: AppBskyFeedDefsPostView;
1046
1046
-
readonly ReplyRef: AppBskyFeedDefsReplyRef;
1047
1047
-
readonly ReasonPin: AppBskyFeedDefsReasonPin;
1048
1048
-
readonly BlockedPost: AppBskyFeedDefsBlockedPost;
1049
1049
-
readonly Interaction: AppBskyFeedDefsInteraction;
1050
1050
-
readonly RequestLess: AppBskyFeedDefsRequestLess;
1051
1051
-
readonly RequestMore: AppBskyFeedDefsRequestMore;
1052
1052
-
readonly ViewerState: AppBskyFeedDefsViewerState;
1053
1053
-
readonly FeedViewPost: AppBskyFeedDefsFeedViewPost;
1054
1054
-
readonly NotFoundPost: AppBskyFeedDefsNotFoundPost;
1055
1055
-
readonly ReasonRepost: AppBskyFeedDefsReasonRepost;
1056
1056
-
readonly BlockedAuthor: AppBskyFeedDefsBlockedAuthor;
1057
1057
-
readonly GeneratorView: AppBskyFeedDefsGeneratorView;
1058
1058
-
readonly ThreadContext: AppBskyFeedDefsThreadContext;
1059
1059
-
readonly ThreadViewPost: AppBskyFeedDefsThreadViewPost;
1060
1060
-
readonly ThreadgateView: AppBskyFeedDefsThreadgateView;
1061
1061
-
readonly InteractionLike: AppBskyFeedDefsInteractionLike;
1062
1062
-
readonly InteractionSeen: AppBskyFeedDefsInteractionSeen;
1063
1063
-
readonly ClickthroughItem: AppBskyFeedDefsClickthroughItem;
1064
1064
-
readonly ContentModeVideo: AppBskyFeedDefsContentModeVideo;
1065
1065
-
readonly InteractionQuote: AppBskyFeedDefsInteractionQuote;
1066
1066
-
readonly InteractionReply: AppBskyFeedDefsInteractionReply;
1067
1067
-
readonly InteractionShare: AppBskyFeedDefsInteractionShare;
1068
1068
-
readonly SkeletonFeedPost: AppBskyFeedDefsSkeletonFeedPost;
1069
1069
-
readonly ClickthroughEmbed: AppBskyFeedDefsClickthroughEmbed;
1070
1070
-
readonly InteractionRepost: AppBskyFeedDefsInteractionRepost;
1071
1071
-
readonly SkeletonReasonPin: AppBskyFeedDefsSkeletonReasonPin;
1072
1072
-
readonly ClickthroughAuthor: AppBskyFeedDefsClickthroughAuthor;
1073
1073
-
readonly ClickthroughReposter: AppBskyFeedDefsClickthroughReposter;
1074
1074
-
readonly GeneratorViewerState: AppBskyFeedDefsGeneratorViewerState;
1075
1075
-
readonly SkeletonReasonRepost: AppBskyFeedDefsSkeletonReasonRepost;
1076
1076
-
readonly ContentModeUnspecified: AppBskyFeedDefsContentModeUnspecified;
1077
1077
-
}
1078
1078
-
1079
1079
-
export interface AppBskyFeedPostgate {
1080
1080
-
readonly Main: AppBskyFeedPostgate;
1081
1081
-
readonly DisableRule: AppBskyFeedPostgateDisableRule;
1082
1082
-
}
1083
1083
-
1084
1084
-
export interface AppBskyFeedThreadgate {
1085
1085
-
readonly Main: AppBskyFeedThreadgate;
1086
1086
-
readonly ListRule: AppBskyFeedThreadgateListRule;
1087
1087
-
readonly MentionRule: AppBskyFeedThreadgateMentionRule;
1088
1088
-
readonly FollowerRule: AppBskyFeedThreadgateFollowerRule;
1089
1089
-
readonly FollowingRule: AppBskyFeedThreadgateFollowingRule;
1090
1090
-
}
1091
1091
-
1092
1092
-
export interface AppBskyRichtextFacet {
1093
1093
-
readonly Tag: AppBskyRichtextFacetTag;
1094
1094
-
readonly Link: AppBskyRichtextFacetLink;
1095
1095
-
readonly Main: AppBskyRichtextFacetMain;
1096
1096
-
readonly Mention: AppBskyRichtextFacetMention;
1097
1097
-
readonly ByteSlice: AppBskyRichtextFacetByteSlice;
1098
1098
-
}
1099
1099
-
1100
1100
-
export interface AppBskyActorDefs {
1101
1101
-
readonly Nux: AppBskyActorDefsNux;
1102
1102
-
readonly MutedWord: AppBskyActorDefsMutedWord;
1103
1103
-
readonly SavedFeed: AppBskyActorDefsSavedFeed;
1104
1104
-
readonly Preferences: AppBskyActorDefsPreferences;
1105
1105
-
readonly ProfileView: AppBskyActorDefsProfileView;
1106
1106
-
readonly ViewerState: AppBskyActorDefsViewerState;
1107
1107
-
readonly FeedViewPref: AppBskyActorDefsFeedViewPref;
1108
1108
-
readonly LabelersPref: AppBskyActorDefsLabelersPref;
1109
1109
-
readonly InterestsPref: AppBskyActorDefsInterestsPref;
1110
1110
-
readonly KnownFollowers: AppBskyActorDefsKnownFollowers;
1111
1111
-
readonly MutedWordsPref: AppBskyActorDefsMutedWordsPref;
1112
1112
-
readonly SavedFeedsPref: AppBskyActorDefsSavedFeedsPref;
1113
1113
-
readonly ThreadViewPref: AppBskyActorDefsThreadViewPref;
1114
1114
-
readonly HiddenPostsPref: AppBskyActorDefsHiddenPostsPref;
1115
1115
-
readonly LabelerPrefItem: AppBskyActorDefsLabelerPrefItem;
1116
1116
-
readonly MutedWordTarget: AppBskyActorDefsMutedWordTarget;
1117
1117
-
readonly AdultContentPref: AppBskyActorDefsAdultContentPref;
1118
1118
-
readonly BskyAppStatePref: AppBskyActorDefsBskyAppStatePref;
1119
1119
-
readonly ContentLabelPref: AppBskyActorDefsContentLabelPref;
1120
1120
-
readonly ProfileViewBasic: AppBskyActorDefsProfileViewBasic;
1121
1121
-
readonly SavedFeedsPrefV2: AppBskyActorDefsSavedFeedsPrefV2;
1122
1122
-
readonly ProfileAssociated: AppBskyActorDefsProfileAssociated;
1123
1123
-
readonly PersonalDetailsPref: AppBskyActorDefsPersonalDetailsPref;
1124
1124
-
readonly ProfileViewDetailed: AppBskyActorDefsProfileViewDetailed;
1125
1125
-
readonly BskyAppProgressGuide: AppBskyActorDefsBskyAppProgressGuide;
1126
1126
-
readonly ProfileAssociatedChat: AppBskyActorDefsProfileAssociatedChat;
1127
1127
-
readonly PostInteractionSettingsPref:
1128
1128
-
AppBskyActorDefsPostInteractionSettingsPref;
1129
1129
-
}
1130
1130
-
1131
1131
-
export interface AppBskyLabelerDefs {
1132
1132
-
readonly LabelerView: AppBskyLabelerDefsLabelerView;
1133
1133
-
readonly LabelerPolicies: AppBskyLabelerDefsLabelerPolicies;
1134
1134
-
readonly LabelerViewerState: AppBskyLabelerDefsLabelerViewerState;
1135
1135
-
readonly LabelerViewDetailed: AppBskyLabelerDefsLabelerViewDetailed;
1136
1136
-
}
1137
1137
-
1138
1138
-
export interface ComAtprotoLabelDefs {
1139
1139
-
readonly Label: ComAtprotoLabelDefsLabel;
1140
1140
-
readonly SelfLabel: ComAtprotoLabelDefsSelfLabel;
1141
1141
-
readonly LabelValue: ComAtprotoLabelDefsLabelValue;
1142
1142
-
readonly SelfLabels: ComAtprotoLabelDefsSelfLabels;
1143
1143
-
readonly LabelValueDefinition: ComAtprotoLabelDefsLabelValueDefinition;
1144
1144
-
readonly LabelValueDefinitionStrings:
1145
1145
-
ComAtprotoLabelDefsLabelValueDefinitionStrings;
1146
1146
-
}
1147
1147
-
1148
1148
-
class PostgateFeedBskyAppClient {
1149
1149
-
private readonly client: SlicesClient;
1150
1150
-
1151
1151
-
constructor(client: SlicesClient) {
1152
1152
-
this.client = client;
1153
1153
-
}
1154
1154
-
1155
1155
-
async getRecords(
1156
1156
-
params?: {
1157
1157
-
limit?: number;
1158
1158
-
cursor?: string;
1159
1159
-
where?: {
1160
1160
-
[K in AppBskyFeedPostgateSortFields | IndexedRecordFields]?:
1161
1161
-
WhereCondition;
1162
1162
-
};
1163
1163
-
orWhere?: {
1164
1164
-
[K in AppBskyFeedPostgateSortFields | IndexedRecordFields]?:
1165
1165
-
WhereCondition;
1166
1166
-
};
1167
1167
-
sortBy?: SortField<AppBskyFeedPostgateSortFields>[];
1168
1168
-
},
1169
1169
-
): Promise<GetRecordsResponse<AppBskyFeedPostgate>> {
1170
1170
-
return await this.client.getRecords("app.bsky.feed.postgate", params);
1171
1171
-
}
1172
1172
-
1173
1173
-
async getRecord(
1174
1174
-
params: GetRecordParams,
1175
1175
-
): Promise<RecordResponse<AppBskyFeedPostgate>> {
1176
1176
-
return await this.client.getRecord("app.bsky.feed.postgate", params);
1177
1177
-
}
1178
1178
-
1179
1179
-
async countRecords(
1180
1180
-
params?: {
1181
1181
-
limit?: number;
1182
1182
-
cursor?: string;
1183
1183
-
where?: {
1184
1184
-
[K in AppBskyFeedPostgateSortFields | IndexedRecordFields]?:
1185
1185
-
WhereCondition;
1186
1186
-
};
1187
1187
-
orWhere?: {
1188
1188
-
[K in AppBskyFeedPostgateSortFields | IndexedRecordFields]?:
1189
1189
-
WhereCondition;
1190
1190
-
};
1191
1191
-
sortBy?: SortField<AppBskyFeedPostgateSortFields>[];
1192
1192
-
},
1193
1193
-
): Promise<CountRecordsResponse> {
1194
1194
-
return await this.client.countRecords("app.bsky.feed.postgate", params);
1195
1195
-
}
1196
1196
-
1197
1197
-
async createRecord(
1198
1198
-
record: AppBskyFeedPostgate,
1199
1199
-
useSelfRkey?: boolean,
1200
1200
-
): Promise<{ uri: string; cid: string }> {
1201
1201
-
return await this.client.createRecord(
1202
1202
-
"app.bsky.feed.postgate",
1203
1203
-
record,
1204
1204
-
useSelfRkey,
1205
1205
-
);
1206
1206
-
}
1207
1207
-
1208
1208
-
async updateRecord(
1209
1209
-
rkey: string,
1210
1210
-
record: AppBskyFeedPostgate,
1211
1211
-
): Promise<{ uri: string; cid: string }> {
1212
1212
-
return await this.client.updateRecord(
1213
1213
-
"app.bsky.feed.postgate",
1214
1214
-
rkey,
1215
1215
-
record,
1216
1216
-
);
1217
1217
-
}
1218
1218
-
1219
1219
-
async deleteRecord(rkey: string): Promise<void> {
1220
1220
-
return await this.client.deleteRecord("app.bsky.feed.postgate", rkey);
1221
1221
-
}
1222
1222
-
}
1223
1223
-
1224
1224
-
class ThreadgateFeedBskyAppClient {
1225
1225
-
private readonly client: SlicesClient;
1226
1226
-
1227
1227
-
constructor(client: SlicesClient) {
1228
1228
-
this.client = client;
1229
1229
-
}
1230
1230
-
1231
1231
-
async getRecords(
1232
1232
-
params?: {
1233
1233
-
limit?: number;
1234
1234
-
cursor?: string;
1235
1235
-
where?: {
1236
1236
-
[K in AppBskyFeedThreadgateSortFields | IndexedRecordFields]?:
1237
1237
-
WhereCondition;
1238
1238
-
};
1239
1239
-
orWhere?: {
1240
1240
-
[K in AppBskyFeedThreadgateSortFields | IndexedRecordFields]?:
1241
1241
-
WhereCondition;
1242
1242
-
};
1243
1243
-
sortBy?: SortField<AppBskyFeedThreadgateSortFields>[];
1244
1244
-
},
1245
1245
-
): Promise<GetRecordsResponse<AppBskyFeedThreadgate>> {
1246
1246
-
return await this.client.getRecords("app.bsky.feed.threadgate", params);
1247
1247
-
}
1248
1248
-
1249
1249
-
async getRecord(
1250
1250
-
params: GetRecordParams,
1251
1251
-
): Promise<RecordResponse<AppBskyFeedThreadgate>> {
1252
1252
-
return await this.client.getRecord("app.bsky.feed.threadgate", params);
1253
1253
-
}
1254
1254
-
1255
1255
-
async countRecords(
1256
1256
-
params?: {
1257
1257
-
limit?: number;
1258
1258
-
cursor?: string;
1259
1259
-
where?: {
1260
1260
-
[K in AppBskyFeedThreadgateSortFields | IndexedRecordFields]?:
1261
1261
-
WhereCondition;
1262
1262
-
};
1263
1263
-
orWhere?: {
1264
1264
-
[K in AppBskyFeedThreadgateSortFields | IndexedRecordFields]?:
1265
1265
-
WhereCondition;
1266
1266
-
};
1267
1267
-
sortBy?: SortField<AppBskyFeedThreadgateSortFields>[];
1268
1268
-
},
1269
1269
-
): Promise<CountRecordsResponse> {
1270
1270
-
return await this.client.countRecords("app.bsky.feed.threadgate", params);
1271
1271
-
}
1272
1272
-
1273
1273
-
async createRecord(
1274
1274
-
record: AppBskyFeedThreadgate,
1275
1275
-
useSelfRkey?: boolean,
1276
1276
-
): Promise<{ uri: string; cid: string }> {
1277
1277
-
return await this.client.createRecord(
1278
1278
-
"app.bsky.feed.threadgate",
1279
1279
-
record,
1280
1280
-
useSelfRkey,
1281
1281
-
);
1282
1282
-
}
1283
1283
-
1284
1284
-
async updateRecord(
1285
1285
-
rkey: string,
1286
1286
-
record: AppBskyFeedThreadgate,
1287
1287
-
): Promise<{ uri: string; cid: string }> {
1288
1288
-
return await this.client.updateRecord(
1289
1289
-
"app.bsky.feed.threadgate",
1290
1290
-
rkey,
1291
1291
-
record,
1292
1292
-
);
1293
1293
-
}
1294
1294
-
1295
1295
-
async deleteRecord(rkey: string): Promise<void> {
1296
1296
-
return await this.client.deleteRecord("app.bsky.feed.threadgate", rkey);
1297
1297
-
}
1298
1298
-
}
1299
1299
-
1300
1300
-
class FeedBskyAppClient {
1301
1301
-
readonly postgate: PostgateFeedBskyAppClient;
1302
1302
-
readonly threadgate: ThreadgateFeedBskyAppClient;
1303
1303
-
private readonly client: SlicesClient;
1304
1304
-
1305
1305
-
constructor(client: SlicesClient) {
1306
1306
-
this.client = client;
1307
1307
-
this.postgate = new PostgateFeedBskyAppClient(client);
1308
1308
-
this.threadgate = new ThreadgateFeedBskyAppClient(client);
1309
1309
-
}
1310
1310
-
}
1311
1311
-
1312
1312
-
class ProfileActorBskyAppClient {
1313
1313
-
private readonly client: SlicesClient;
1314
1314
-
1315
1315
-
constructor(client: SlicesClient) {
1316
1316
-
this.client = client;
1317
1317
-
}
1318
1318
-
1319
1319
-
async getRecords(
1320
1320
-
params?: {
1321
1321
-
limit?: number;
1322
1322
-
cursor?: string;
1323
1323
-
where?: {
1324
1324
-
[K in AppBskyActorProfileSortFields | IndexedRecordFields]?:
1325
1325
-
WhereCondition;
1326
1326
-
};
1327
1327
-
orWhere?: {
1328
1328
-
[K in AppBskyActorProfileSortFields | IndexedRecordFields]?:
1329
1329
-
WhereCondition;
1330
1330
-
};
1331
1331
-
sortBy?: SortField<AppBskyActorProfileSortFields>[];
1332
1332
-
},
1333
1333
-
): Promise<GetRecordsResponse<AppBskyActorProfile>> {
1334
1334
-
return await this.client.getRecords("app.bsky.actor.profile", params);
1335
1335
-
}
1336
1336
-
1337
1337
-
async getRecord(
1338
1338
-
params: GetRecordParams,
1339
1339
-
): Promise<RecordResponse<AppBskyActorProfile>> {
1340
1340
-
return await this.client.getRecord("app.bsky.actor.profile", params);
1341
1341
-
}
1342
1342
-
1343
1343
-
async countRecords(
1344
1344
-
params?: {
1345
1345
-
limit?: number;
1346
1346
-
cursor?: string;
1347
1347
-
where?: {
1348
1348
-
[K in AppBskyActorProfileSortFields | IndexedRecordFields]?:
1349
1349
-
WhereCondition;
1350
1350
-
};
1351
1351
-
orWhere?: {
1352
1352
-
[K in AppBskyActorProfileSortFields | IndexedRecordFields]?:
1353
1353
-
WhereCondition;
1354
1354
-
};
1355
1355
-
sortBy?: SortField<AppBskyActorProfileSortFields>[];
1356
1356
-
},
1357
1357
-
): Promise<CountRecordsResponse> {
1358
1358
-
return await this.client.countRecords("app.bsky.actor.profile", params);
1359
1359
-
}
1360
1360
-
1361
1361
-
async createRecord(
1362
1362
-
record: AppBskyActorProfile,
1363
1363
-
useSelfRkey?: boolean,
1364
1364
-
): Promise<{ uri: string; cid: string }> {
1365
1365
-
return await this.client.createRecord(
1366
1366
-
"app.bsky.actor.profile",
1367
1367
-
record,
1368
1368
-
useSelfRkey,
1369
1369
-
);
1370
1370
-
}
1371
1371
-
1372
1372
-
async updateRecord(
1373
1373
-
rkey: string,
1374
1374
-
record: AppBskyActorProfile,
1375
1375
-
): Promise<{ uri: string; cid: string }> {
1376
1376
-
return await this.client.updateRecord(
1377
1377
-
"app.bsky.actor.profile",
1378
1378
-
rkey,
1379
1379
-
record,
1380
1380
-
);
1381
1381
-
}
1382
1382
-
1383
1383
-
async deleteRecord(rkey: string): Promise<void> {
1384
1384
-
return await this.client.deleteRecord("app.bsky.actor.profile", rkey);
1385
1385
-
}
1386
1386
-
}
1387
1387
-
1388
1388
-
class ActorBskyAppClient {
1389
1389
-
readonly profile: ProfileActorBskyAppClient;
1390
1390
-
private readonly client: SlicesClient;
1391
1391
-
1392
1392
-
constructor(client: SlicesClient) {
1393
1393
-
this.client = client;
1394
1394
-
this.profile = new ProfileActorBskyAppClient(client);
1395
1395
-
}
1396
1396
-
}
1397
1397
-
1398
1398
-
class BskyAppClient {
1399
1399
-
readonly feed: FeedBskyAppClient;
1400
1400
-
readonly actor: ActorBskyAppClient;
1401
1401
-
private readonly client: SlicesClient;
1402
1402
-
1403
1403
-
constructor(client: SlicesClient) {
1404
1404
-
this.client = client;
1405
1405
-
this.feed = new FeedBskyAppClient(client);
1406
1406
-
this.actor = new ActorBskyAppClient(client);
1407
1407
-
}
1408
1408
-
}
1409
1409
-
1410
1410
-
class AppClient {
1411
1411
-
readonly bsky: BskyAppClient;
1412
1412
-
private readonly client: SlicesClient;
1413
1413
-
1414
1414
-
constructor(client: SlicesClient) {
1415
1415
-
this.client = client;
1416
1416
-
this.bsky = new BskyAppClient(client);
1417
1417
-
}
1418
1418
-
}
1419
1419
-
1420
1420
-
class ServerRunSmallwebClient {
97
97
+
class ServerSmallwebRunClient {
1421
98
private readonly client: SlicesClient;
1422
99
1423
100
constructor(client: SlicesClient) {
···
1429
106
limit?: number;
1430
107
cursor?: string;
1431
108
where?: {
1432
1432
-
[K in SmallwebRunServerSortFields | IndexedRecordFields]?:
109
109
+
[K in RunSmallwebServerSortFields | IndexedRecordFields]?:
1433
110
WhereCondition;
1434
111
};
1435
112
orWhere?: {
1436
1436
-
[K in SmallwebRunServerSortFields | IndexedRecordFields]?:
113
113
+
[K in RunSmallwebServerSortFields | IndexedRecordFields]?:
1437
114
WhereCondition;
1438
115
};
1439
1439
-
sortBy?: SortField<SmallwebRunServerSortFields>[];
116
116
+
sortBy?: SortField<RunSmallwebServerSortFields>[];
1440
117
},
1441
1441
-
): Promise<GetRecordsResponse<SmallwebRunServer>> {
1442
1442
-
return await this.client.getRecords("smallweb.run.server", params);
118
118
+
): Promise<GetRecordsResponse<RunSmallwebServer>> {
119
119
+
return await this.client.getRecords("run.smallweb.server", params);
1443
120
}
1444
121
1445
122
async getRecord(
1446
123
params: GetRecordParams,
1447
1447
-
): Promise<RecordResponse<SmallwebRunServer>> {
1448
1448
-
return await this.client.getRecord("smallweb.run.server", params);
124
124
+
): Promise<RecordResponse<RunSmallwebServer>> {
125
125
+
return await this.client.getRecord("run.smallweb.server", params);
1449
126
}
1450
127
1451
128
async countRecords(
···
1453
130
limit?: number;
1454
131
cursor?: string;
1455
132
where?: {
1456
1456
-
[K in SmallwebRunServerSortFields | IndexedRecordFields]?:
133
133
+
[K in RunSmallwebServerSortFields | IndexedRecordFields]?:
1457
134
WhereCondition;
1458
135
};
1459
136
orWhere?: {
1460
1460
-
[K in SmallwebRunServerSortFields | IndexedRecordFields]?:
137
137
+
[K in RunSmallwebServerSortFields | IndexedRecordFields]?:
1461
138
WhereCondition;
1462
139
};
1463
1463
-
sortBy?: SortField<SmallwebRunServerSortFields>[];
140
140
+
sortBy?: SortField<RunSmallwebServerSortFields>[];
1464
141
},
1465
142
): Promise<CountRecordsResponse> {
1466
1466
-
return await this.client.countRecords("smallweb.run.server", params);
143
143
+
return await this.client.countRecords("run.smallweb.server", params);
1467
144
}
1468
145
1469
146
async createRecord(
1470
1470
-
record: SmallwebRunServer,
147
147
+
record: RunSmallwebServer,
1471
148
useSelfRkey?: boolean,
1472
149
): Promise<{ uri: string; cid: string }> {
1473
150
return await this.client.createRecord(
1474
1474
-
"smallweb.run.server",
151
151
+
"run.smallweb.server",
1475
152
record,
1476
153
useSelfRkey,
1477
154
);
···
1479
156
1480
157
async updateRecord(
1481
158
rkey: string,
1482
1482
-
record: SmallwebRunServer,
159
159
+
record: RunSmallwebServer,
1483
160
): Promise<{ uri: string; cid: string }> {
1484
1484
-
return await this.client.updateRecord("smallweb.run.server", rkey, record);
161
161
+
return await this.client.updateRecord("run.smallweb.server", rkey, record);
1485
162
}
1486
163
1487
164
async deleteRecord(rkey: string): Promise<void> {
1488
1488
-
return await this.client.deleteRecord("smallweb.run.server", rkey);
1489
1489
-
}
1490
1490
-
}
1491
1491
-
1492
1492
-
class RunSmallwebClient {
1493
1493
-
readonly server: ServerRunSmallwebClient;
1494
1494
-
private readonly client: SlicesClient;
1495
1495
-
1496
1496
-
constructor(client: SlicesClient) {
1497
1497
-
this.client = client;
1498
1498
-
this.server = new ServerRunSmallwebClient(client);
1499
1499
-
}
1500
1500
-
}
1501
1501
-
1502
1502
-
class SmallwebClient {
1503
1503
-
readonly run: RunSmallwebClient;
1504
1504
-
private readonly client: SlicesClient;
1505
1505
-
1506
1506
-
constructor(client: SlicesClient) {
1507
1507
-
this.client = client;
1508
1508
-
this.run = new RunSmallwebClient(client);
165
165
+
return await this.client.deleteRecord("run.smallweb.server", rkey);
1509
166
}
1510
167
}
1511
168
···
1578
235
}
1579
236
1580
237
class SmallwebRunClient {
238
238
+
readonly server: ServerSmallwebRunClient;
1581
239
readonly app: AppSmallwebRunClient;
1582
240
private readonly client: SlicesClient;
1583
241
1584
242
constructor(client: SlicesClient) {
1585
243
this.client = client;
244
244
+
this.server = new ServerSmallwebRunClient(client);
1586
245
this.app = new AppSmallwebRunClient(client);
1587
246
}
1588
247
}
···
1598
257
}
1599
258
1600
259
export class AtProtoClient extends SlicesClient {
1601
1601
-
readonly app: AppClient;
1602
1602
-
readonly smallweb: SmallwebClient;
1603
260
readonly run: RunClient;
1604
261
readonly oauth?: OAuthClient | AuthProvider;
1605
262
···
1609
266
oauthClient?: OAuthClient | AuthProvider,
1610
267
) {
1611
268
super(baseUrl, sliceUri, oauthClient);
1612
1612
-
this.app = new AppClient(this);
1613
1613
-
this.smallweb = new SmallwebClient(this);
1614
269
this.run = new RunClient(this);
1615
270
this.oauth = oauthClient;
1616
271
}