@atproto/api 0.19.5 → 0.19.6
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.
- package/CHANGELOG.md +9 -0
- package/dist/client/index.d.ts +18 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +30 -6
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +945 -391
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +283 -0
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getSuggestedUsersForDiscover.d.ts +25 -0
- package/dist/client/types/app/bsky/unspecced/getSuggestedUsersForDiscover.d.ts.map +1 -0
- package/dist/client/types/app/bsky/unspecced/getSuggestedUsersForDiscover.js +11 -0
- package/dist/client/types/app/bsky/unspecced/getSuggestedUsersForDiscover.js.map +1 -0
- package/dist/client/types/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.d.ts +26 -0
- package/dist/client/types/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.d.ts.map +1 -0
- package/dist/client/types/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.js +11 -0
- package/dist/client/types/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.js.map +1 -0
- package/dist/client/types/app/bsky/unspecced/getSuggestedUsersForExplore.d.ts +27 -0
- package/dist/client/types/app/bsky/unspecced/getSuggestedUsersForExplore.d.ts.map +1 -0
- package/dist/client/types/app/bsky/unspecced/getSuggestedUsersForExplore.js +11 -0
- package/dist/client/types/app/bsky/unspecced/getSuggestedUsersForExplore.js.map +1 -0
- package/dist/client/types/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.d.ts +28 -0
- package/dist/client/types/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.d.ts.map +1 -0
- package/dist/client/types/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.js +11 -0
- package/dist/client/types/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.js.map +1 -0
- package/dist/client/types/app/bsky/unspecced/getSuggestedUsersForSeeMore.d.ts +27 -0
- package/dist/client/types/app/bsky/unspecced/getSuggestedUsersForSeeMore.d.ts.map +1 -0
- package/dist/client/types/app/bsky/unspecced/getSuggestedUsersForSeeMore.js +11 -0
- package/dist/client/types/app/bsky/unspecced/getSuggestedUsersForSeeMore.js.map +1 -0
- package/dist/client/types/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.d.ts +28 -0
- package/dist/client/types/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.d.ts.map +1 -0
- package/dist/client/types/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.js +11 -0
- package/dist/client/types/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.js.map +1 -0
- package/package.json +2 -2
- package/src/client/index.ts +84 -0
- package/src/client/lexicons.ts +301 -0
- package/src/client/types/app/bsky/unspecced/getSuggestedUsersForDiscover.ts +43 -0
- package/src/client/types/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.ts +44 -0
- package/src/client/types/app/bsky/unspecced/getSuggestedUsersForExplore.ts +45 -0
- package/src/client/types/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.ts +46 -0
- package/src/client/types/app/bsky/unspecced/getSuggestedUsersForSeeMore.ts +45 -0
- package/src/client/types/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.ts +46 -0
- package/tsconfig.build.tsbuildinfo +1 -1
package/src/client/lexicons.ts
CHANGED
|
@@ -8594,6 +8594,295 @@ export const schemaDict = {
|
|
|
8594
8594
|
},
|
|
8595
8595
|
},
|
|
8596
8596
|
},
|
|
8597
|
+
AppBskyUnspeccedGetSuggestedUsersForDiscover: {
|
|
8598
|
+
lexicon: 1,
|
|
8599
|
+
id: 'app.bsky.unspecced.getSuggestedUsersForDiscover',
|
|
8600
|
+
defs: {
|
|
8601
|
+
main: {
|
|
8602
|
+
type: 'query',
|
|
8603
|
+
description: 'Get a list of suggested users for the Discover page',
|
|
8604
|
+
parameters: {
|
|
8605
|
+
type: 'params',
|
|
8606
|
+
properties: {
|
|
8607
|
+
limit: {
|
|
8608
|
+
type: 'integer',
|
|
8609
|
+
minimum: 1,
|
|
8610
|
+
maximum: 50,
|
|
8611
|
+
default: 25,
|
|
8612
|
+
},
|
|
8613
|
+
},
|
|
8614
|
+
},
|
|
8615
|
+
output: {
|
|
8616
|
+
encoding: 'application/json',
|
|
8617
|
+
schema: {
|
|
8618
|
+
type: 'object',
|
|
8619
|
+
required: ['actors'],
|
|
8620
|
+
properties: {
|
|
8621
|
+
actors: {
|
|
8622
|
+
type: 'array',
|
|
8623
|
+
items: {
|
|
8624
|
+
type: 'ref',
|
|
8625
|
+
ref: 'lex:app.bsky.actor.defs#profileView',
|
|
8626
|
+
},
|
|
8627
|
+
},
|
|
8628
|
+
recIdStr: {
|
|
8629
|
+
type: 'string',
|
|
8630
|
+
description:
|
|
8631
|
+
'Snowflake for this recommendation, use when submitting recommendation events.',
|
|
8632
|
+
},
|
|
8633
|
+
},
|
|
8634
|
+
},
|
|
8635
|
+
},
|
|
8636
|
+
},
|
|
8637
|
+
},
|
|
8638
|
+
},
|
|
8639
|
+
AppBskyUnspeccedGetSuggestedUsersForDiscoverSkeleton: {
|
|
8640
|
+
lexicon: 1,
|
|
8641
|
+
id: 'app.bsky.unspecced.getSuggestedUsersForDiscoverSkeleton',
|
|
8642
|
+
defs: {
|
|
8643
|
+
main: {
|
|
8644
|
+
type: 'query',
|
|
8645
|
+
description:
|
|
8646
|
+
'Get a skeleton of suggested users for the Discover page. Intended to be called and hydrated by app.bsky.unspecced.getSuggestedUsersForDiscover',
|
|
8647
|
+
parameters: {
|
|
8648
|
+
type: 'params',
|
|
8649
|
+
properties: {
|
|
8650
|
+
viewer: {
|
|
8651
|
+
type: 'string',
|
|
8652
|
+
format: 'did',
|
|
8653
|
+
description:
|
|
8654
|
+
'DID of the account making the request (not included for public/unauthenticated queries).',
|
|
8655
|
+
},
|
|
8656
|
+
limit: {
|
|
8657
|
+
type: 'integer',
|
|
8658
|
+
minimum: 1,
|
|
8659
|
+
maximum: 50,
|
|
8660
|
+
default: 25,
|
|
8661
|
+
},
|
|
8662
|
+
},
|
|
8663
|
+
},
|
|
8664
|
+
output: {
|
|
8665
|
+
encoding: 'application/json',
|
|
8666
|
+
schema: {
|
|
8667
|
+
type: 'object',
|
|
8668
|
+
required: ['dids'],
|
|
8669
|
+
properties: {
|
|
8670
|
+
dids: {
|
|
8671
|
+
type: 'array',
|
|
8672
|
+
items: {
|
|
8673
|
+
type: 'string',
|
|
8674
|
+
format: 'did',
|
|
8675
|
+
},
|
|
8676
|
+
},
|
|
8677
|
+
recIdStr: {
|
|
8678
|
+
type: 'string',
|
|
8679
|
+
description:
|
|
8680
|
+
'Snowflake for this recommendation, use when submitting recommendation events.',
|
|
8681
|
+
},
|
|
8682
|
+
},
|
|
8683
|
+
},
|
|
8684
|
+
},
|
|
8685
|
+
},
|
|
8686
|
+
},
|
|
8687
|
+
},
|
|
8688
|
+
AppBskyUnspeccedGetSuggestedUsersForExplore: {
|
|
8689
|
+
lexicon: 1,
|
|
8690
|
+
id: 'app.bsky.unspecced.getSuggestedUsersForExplore',
|
|
8691
|
+
defs: {
|
|
8692
|
+
main: {
|
|
8693
|
+
type: 'query',
|
|
8694
|
+
description: 'Get a list of suggested users for the Explore page',
|
|
8695
|
+
parameters: {
|
|
8696
|
+
type: 'params',
|
|
8697
|
+
properties: {
|
|
8698
|
+
category: {
|
|
8699
|
+
type: 'string',
|
|
8700
|
+
description: 'Category of users to get suggestions for.',
|
|
8701
|
+
},
|
|
8702
|
+
limit: {
|
|
8703
|
+
type: 'integer',
|
|
8704
|
+
minimum: 1,
|
|
8705
|
+
maximum: 50,
|
|
8706
|
+
default: 25,
|
|
8707
|
+
},
|
|
8708
|
+
},
|
|
8709
|
+
},
|
|
8710
|
+
output: {
|
|
8711
|
+
encoding: 'application/json',
|
|
8712
|
+
schema: {
|
|
8713
|
+
type: 'object',
|
|
8714
|
+
required: ['actors'],
|
|
8715
|
+
properties: {
|
|
8716
|
+
actors: {
|
|
8717
|
+
type: 'array',
|
|
8718
|
+
items: {
|
|
8719
|
+
type: 'ref',
|
|
8720
|
+
ref: 'lex:app.bsky.actor.defs#profileView',
|
|
8721
|
+
},
|
|
8722
|
+
},
|
|
8723
|
+
recIdStr: {
|
|
8724
|
+
type: 'string',
|
|
8725
|
+
description:
|
|
8726
|
+
'Snowflake for this recommendation, use when submitting recommendation events.',
|
|
8727
|
+
},
|
|
8728
|
+
},
|
|
8729
|
+
},
|
|
8730
|
+
},
|
|
8731
|
+
},
|
|
8732
|
+
},
|
|
8733
|
+
},
|
|
8734
|
+
AppBskyUnspeccedGetSuggestedUsersForExploreSkeleton: {
|
|
8735
|
+
lexicon: 1,
|
|
8736
|
+
id: 'app.bsky.unspecced.getSuggestedUsersForExploreSkeleton',
|
|
8737
|
+
defs: {
|
|
8738
|
+
main: {
|
|
8739
|
+
type: 'query',
|
|
8740
|
+
description:
|
|
8741
|
+
'Get a skeleton of suggested users for the Explore page. Intended to be called and hydrated by app.bsky.unspecced.getSuggestedUsersForExplore',
|
|
8742
|
+
parameters: {
|
|
8743
|
+
type: 'params',
|
|
8744
|
+
properties: {
|
|
8745
|
+
viewer: {
|
|
8746
|
+
type: 'string',
|
|
8747
|
+
format: 'did',
|
|
8748
|
+
description:
|
|
8749
|
+
'DID of the account making the request (not included for public/unauthenticated queries).',
|
|
8750
|
+
},
|
|
8751
|
+
category: {
|
|
8752
|
+
type: 'string',
|
|
8753
|
+
description: 'Category of users to get suggestions for.',
|
|
8754
|
+
},
|
|
8755
|
+
limit: {
|
|
8756
|
+
type: 'integer',
|
|
8757
|
+
minimum: 1,
|
|
8758
|
+
maximum: 50,
|
|
8759
|
+
default: 25,
|
|
8760
|
+
},
|
|
8761
|
+
},
|
|
8762
|
+
},
|
|
8763
|
+
output: {
|
|
8764
|
+
encoding: 'application/json',
|
|
8765
|
+
schema: {
|
|
8766
|
+
type: 'object',
|
|
8767
|
+
required: ['dids'],
|
|
8768
|
+
properties: {
|
|
8769
|
+
dids: {
|
|
8770
|
+
type: 'array',
|
|
8771
|
+
items: {
|
|
8772
|
+
type: 'string',
|
|
8773
|
+
format: 'did',
|
|
8774
|
+
},
|
|
8775
|
+
},
|
|
8776
|
+
recIdStr: {
|
|
8777
|
+
type: 'string',
|
|
8778
|
+
description:
|
|
8779
|
+
'Snowflake for this recommendation, use when submitting recommendation events.',
|
|
8780
|
+
},
|
|
8781
|
+
},
|
|
8782
|
+
},
|
|
8783
|
+
},
|
|
8784
|
+
},
|
|
8785
|
+
},
|
|
8786
|
+
},
|
|
8787
|
+
AppBskyUnspeccedGetSuggestedUsersForSeeMore: {
|
|
8788
|
+
lexicon: 1,
|
|
8789
|
+
id: 'app.bsky.unspecced.getSuggestedUsersForSeeMore',
|
|
8790
|
+
defs: {
|
|
8791
|
+
main: {
|
|
8792
|
+
type: 'query',
|
|
8793
|
+
description: 'Get a list of suggested users for the See More page',
|
|
8794
|
+
parameters: {
|
|
8795
|
+
type: 'params',
|
|
8796
|
+
properties: {
|
|
8797
|
+
category: {
|
|
8798
|
+
type: 'string',
|
|
8799
|
+
description: 'Category of users to get suggestions for.',
|
|
8800
|
+
},
|
|
8801
|
+
limit: {
|
|
8802
|
+
type: 'integer',
|
|
8803
|
+
minimum: 1,
|
|
8804
|
+
maximum: 50,
|
|
8805
|
+
default: 25,
|
|
8806
|
+
},
|
|
8807
|
+
},
|
|
8808
|
+
},
|
|
8809
|
+
output: {
|
|
8810
|
+
encoding: 'application/json',
|
|
8811
|
+
schema: {
|
|
8812
|
+
type: 'object',
|
|
8813
|
+
required: ['actors'],
|
|
8814
|
+
properties: {
|
|
8815
|
+
actors: {
|
|
8816
|
+
type: 'array',
|
|
8817
|
+
items: {
|
|
8818
|
+
type: 'ref',
|
|
8819
|
+
ref: 'lex:app.bsky.actor.defs#profileView',
|
|
8820
|
+
},
|
|
8821
|
+
},
|
|
8822
|
+
recIdStr: {
|
|
8823
|
+
type: 'string',
|
|
8824
|
+
description:
|
|
8825
|
+
'Snowflake for this recommendation, use when submitting recommendation events.',
|
|
8826
|
+
},
|
|
8827
|
+
},
|
|
8828
|
+
},
|
|
8829
|
+
},
|
|
8830
|
+
},
|
|
8831
|
+
},
|
|
8832
|
+
},
|
|
8833
|
+
AppBskyUnspeccedGetSuggestedUsersForSeeMoreSkeleton: {
|
|
8834
|
+
lexicon: 1,
|
|
8835
|
+
id: 'app.bsky.unspecced.getSuggestedUsersForSeeMoreSkeleton',
|
|
8836
|
+
defs: {
|
|
8837
|
+
main: {
|
|
8838
|
+
type: 'query',
|
|
8839
|
+
description:
|
|
8840
|
+
'Get a skeleton of suggested users for the See More page. Intended to be called and hydrated by app.bsky.unspecced.getSuggestedUsersForSeeMore',
|
|
8841
|
+
parameters: {
|
|
8842
|
+
type: 'params',
|
|
8843
|
+
properties: {
|
|
8844
|
+
viewer: {
|
|
8845
|
+
type: 'string',
|
|
8846
|
+
format: 'did',
|
|
8847
|
+
description:
|
|
8848
|
+
'DID of the account making the request (not included for public/unauthenticated queries).',
|
|
8849
|
+
},
|
|
8850
|
+
category: {
|
|
8851
|
+
type: 'string',
|
|
8852
|
+
description: 'Category of users to get suggestions for.',
|
|
8853
|
+
},
|
|
8854
|
+
limit: {
|
|
8855
|
+
type: 'integer',
|
|
8856
|
+
minimum: 1,
|
|
8857
|
+
maximum: 50,
|
|
8858
|
+
default: 25,
|
|
8859
|
+
},
|
|
8860
|
+
},
|
|
8861
|
+
},
|
|
8862
|
+
output: {
|
|
8863
|
+
encoding: 'application/json',
|
|
8864
|
+
schema: {
|
|
8865
|
+
type: 'object',
|
|
8866
|
+
required: ['dids'],
|
|
8867
|
+
properties: {
|
|
8868
|
+
dids: {
|
|
8869
|
+
type: 'array',
|
|
8870
|
+
items: {
|
|
8871
|
+
type: 'string',
|
|
8872
|
+
format: 'did',
|
|
8873
|
+
},
|
|
8874
|
+
},
|
|
8875
|
+
recIdStr: {
|
|
8876
|
+
type: 'string',
|
|
8877
|
+
description:
|
|
8878
|
+
'Snowflake for this recommendation, use when submitting recommendation events.',
|
|
8879
|
+
},
|
|
8880
|
+
},
|
|
8881
|
+
},
|
|
8882
|
+
},
|
|
8883
|
+
},
|
|
8884
|
+
},
|
|
8885
|
+
},
|
|
8597
8886
|
AppBskyUnspeccedGetSuggestedUsersSkeleton: {
|
|
8598
8887
|
lexicon: 1,
|
|
8599
8888
|
id: 'app.bsky.unspecced.getSuggestedUsersSkeleton',
|
|
@@ -20884,6 +21173,18 @@ export const ids = {
|
|
|
20884
21173
|
AppBskyUnspeccedGetSuggestedStarterPacksSkeleton:
|
|
20885
21174
|
'app.bsky.unspecced.getSuggestedStarterPacksSkeleton',
|
|
20886
21175
|
AppBskyUnspeccedGetSuggestedUsers: 'app.bsky.unspecced.getSuggestedUsers',
|
|
21176
|
+
AppBskyUnspeccedGetSuggestedUsersForDiscover:
|
|
21177
|
+
'app.bsky.unspecced.getSuggestedUsersForDiscover',
|
|
21178
|
+
AppBskyUnspeccedGetSuggestedUsersForDiscoverSkeleton:
|
|
21179
|
+
'app.bsky.unspecced.getSuggestedUsersForDiscoverSkeleton',
|
|
21180
|
+
AppBskyUnspeccedGetSuggestedUsersForExplore:
|
|
21181
|
+
'app.bsky.unspecced.getSuggestedUsersForExplore',
|
|
21182
|
+
AppBskyUnspeccedGetSuggestedUsersForExploreSkeleton:
|
|
21183
|
+
'app.bsky.unspecced.getSuggestedUsersForExploreSkeleton',
|
|
21184
|
+
AppBskyUnspeccedGetSuggestedUsersForSeeMore:
|
|
21185
|
+
'app.bsky.unspecced.getSuggestedUsersForSeeMore',
|
|
21186
|
+
AppBskyUnspeccedGetSuggestedUsersForSeeMoreSkeleton:
|
|
21187
|
+
'app.bsky.unspecced.getSuggestedUsersForSeeMoreSkeleton',
|
|
20887
21188
|
AppBskyUnspeccedGetSuggestedUsersSkeleton:
|
|
20888
21189
|
'app.bsky.unspecced.getSuggestedUsersSkeleton',
|
|
20889
21190
|
AppBskyUnspeccedGetSuggestionsSkeleton:
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { HeadersMap, XRPCError } from '@atproto/xrpc'
|
|
5
|
+
import { type ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
6
|
+
import { CID } from 'multiformats/cid'
|
|
7
|
+
import { validate as _validate } from '../../../../lexicons'
|
|
8
|
+
import {
|
|
9
|
+
type $Typed,
|
|
10
|
+
is$typed as _is$typed,
|
|
11
|
+
type OmitKey,
|
|
12
|
+
} from '../../../../util'
|
|
13
|
+
import type * as AppBskyActorDefs from '../actor/defs.js'
|
|
14
|
+
|
|
15
|
+
const is$typed = _is$typed,
|
|
16
|
+
validate = _validate
|
|
17
|
+
const id = 'app.bsky.unspecced.getSuggestedUsersForDiscover'
|
|
18
|
+
|
|
19
|
+
export type QueryParams = {
|
|
20
|
+
limit?: number
|
|
21
|
+
}
|
|
22
|
+
export type InputSchema = undefined
|
|
23
|
+
|
|
24
|
+
export interface OutputSchema {
|
|
25
|
+
actors: AppBskyActorDefs.ProfileView[]
|
|
26
|
+
/** Snowflake for this recommendation, use when submitting recommendation events. */
|
|
27
|
+
recIdStr?: string
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export interface CallOptions {
|
|
31
|
+
signal?: AbortSignal
|
|
32
|
+
headers?: HeadersMap
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export interface Response {
|
|
36
|
+
success: boolean
|
|
37
|
+
headers: HeadersMap
|
|
38
|
+
data: OutputSchema
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function toKnownErr(e: any) {
|
|
42
|
+
return e
|
|
43
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { HeadersMap, XRPCError } from '@atproto/xrpc'
|
|
5
|
+
import { type ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
6
|
+
import { CID } from 'multiformats/cid'
|
|
7
|
+
import { validate as _validate } from '../../../../lexicons'
|
|
8
|
+
import {
|
|
9
|
+
type $Typed,
|
|
10
|
+
is$typed as _is$typed,
|
|
11
|
+
type OmitKey,
|
|
12
|
+
} from '../../../../util'
|
|
13
|
+
|
|
14
|
+
const is$typed = _is$typed,
|
|
15
|
+
validate = _validate
|
|
16
|
+
const id = 'app.bsky.unspecced.getSuggestedUsersForDiscoverSkeleton'
|
|
17
|
+
|
|
18
|
+
export type QueryParams = {
|
|
19
|
+
/** DID of the account making the request (not included for public/unauthenticated queries). */
|
|
20
|
+
viewer?: string
|
|
21
|
+
limit?: number
|
|
22
|
+
}
|
|
23
|
+
export type InputSchema = undefined
|
|
24
|
+
|
|
25
|
+
export interface OutputSchema {
|
|
26
|
+
dids: string[]
|
|
27
|
+
/** Snowflake for this recommendation, use when submitting recommendation events. */
|
|
28
|
+
recIdStr?: string
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export interface CallOptions {
|
|
32
|
+
signal?: AbortSignal
|
|
33
|
+
headers?: HeadersMap
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export interface Response {
|
|
37
|
+
success: boolean
|
|
38
|
+
headers: HeadersMap
|
|
39
|
+
data: OutputSchema
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function toKnownErr(e: any) {
|
|
43
|
+
return e
|
|
44
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { HeadersMap, XRPCError } from '@atproto/xrpc'
|
|
5
|
+
import { type ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
6
|
+
import { CID } from 'multiformats/cid'
|
|
7
|
+
import { validate as _validate } from '../../../../lexicons'
|
|
8
|
+
import {
|
|
9
|
+
type $Typed,
|
|
10
|
+
is$typed as _is$typed,
|
|
11
|
+
type OmitKey,
|
|
12
|
+
} from '../../../../util'
|
|
13
|
+
import type * as AppBskyActorDefs from '../actor/defs.js'
|
|
14
|
+
|
|
15
|
+
const is$typed = _is$typed,
|
|
16
|
+
validate = _validate
|
|
17
|
+
const id = 'app.bsky.unspecced.getSuggestedUsersForExplore'
|
|
18
|
+
|
|
19
|
+
export type QueryParams = {
|
|
20
|
+
/** Category of users to get suggestions for. */
|
|
21
|
+
category?: string
|
|
22
|
+
limit?: number
|
|
23
|
+
}
|
|
24
|
+
export type InputSchema = undefined
|
|
25
|
+
|
|
26
|
+
export interface OutputSchema {
|
|
27
|
+
actors: AppBskyActorDefs.ProfileView[]
|
|
28
|
+
/** Snowflake for this recommendation, use when submitting recommendation events. */
|
|
29
|
+
recIdStr?: string
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export interface CallOptions {
|
|
33
|
+
signal?: AbortSignal
|
|
34
|
+
headers?: HeadersMap
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export interface Response {
|
|
38
|
+
success: boolean
|
|
39
|
+
headers: HeadersMap
|
|
40
|
+
data: OutputSchema
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function toKnownErr(e: any) {
|
|
44
|
+
return e
|
|
45
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { HeadersMap, XRPCError } from '@atproto/xrpc'
|
|
5
|
+
import { type ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
6
|
+
import { CID } from 'multiformats/cid'
|
|
7
|
+
import { validate as _validate } from '../../../../lexicons'
|
|
8
|
+
import {
|
|
9
|
+
type $Typed,
|
|
10
|
+
is$typed as _is$typed,
|
|
11
|
+
type OmitKey,
|
|
12
|
+
} from '../../../../util'
|
|
13
|
+
|
|
14
|
+
const is$typed = _is$typed,
|
|
15
|
+
validate = _validate
|
|
16
|
+
const id = 'app.bsky.unspecced.getSuggestedUsersForExploreSkeleton'
|
|
17
|
+
|
|
18
|
+
export type QueryParams = {
|
|
19
|
+
/** DID of the account making the request (not included for public/unauthenticated queries). */
|
|
20
|
+
viewer?: string
|
|
21
|
+
/** Category of users to get suggestions for. */
|
|
22
|
+
category?: string
|
|
23
|
+
limit?: number
|
|
24
|
+
}
|
|
25
|
+
export type InputSchema = undefined
|
|
26
|
+
|
|
27
|
+
export interface OutputSchema {
|
|
28
|
+
dids: string[]
|
|
29
|
+
/** Snowflake for this recommendation, use when submitting recommendation events. */
|
|
30
|
+
recIdStr?: string
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export interface CallOptions {
|
|
34
|
+
signal?: AbortSignal
|
|
35
|
+
headers?: HeadersMap
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export interface Response {
|
|
39
|
+
success: boolean
|
|
40
|
+
headers: HeadersMap
|
|
41
|
+
data: OutputSchema
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export function toKnownErr(e: any) {
|
|
45
|
+
return e
|
|
46
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { HeadersMap, XRPCError } from '@atproto/xrpc'
|
|
5
|
+
import { type ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
6
|
+
import { CID } from 'multiformats/cid'
|
|
7
|
+
import { validate as _validate } from '../../../../lexicons'
|
|
8
|
+
import {
|
|
9
|
+
type $Typed,
|
|
10
|
+
is$typed as _is$typed,
|
|
11
|
+
type OmitKey,
|
|
12
|
+
} from '../../../../util'
|
|
13
|
+
import type * as AppBskyActorDefs from '../actor/defs.js'
|
|
14
|
+
|
|
15
|
+
const is$typed = _is$typed,
|
|
16
|
+
validate = _validate
|
|
17
|
+
const id = 'app.bsky.unspecced.getSuggestedUsersForSeeMore'
|
|
18
|
+
|
|
19
|
+
export type QueryParams = {
|
|
20
|
+
/** Category of users to get suggestions for. */
|
|
21
|
+
category?: string
|
|
22
|
+
limit?: number
|
|
23
|
+
}
|
|
24
|
+
export type InputSchema = undefined
|
|
25
|
+
|
|
26
|
+
export interface OutputSchema {
|
|
27
|
+
actors: AppBskyActorDefs.ProfileView[]
|
|
28
|
+
/** Snowflake for this recommendation, use when submitting recommendation events. */
|
|
29
|
+
recIdStr?: string
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export interface CallOptions {
|
|
33
|
+
signal?: AbortSignal
|
|
34
|
+
headers?: HeadersMap
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export interface Response {
|
|
38
|
+
success: boolean
|
|
39
|
+
headers: HeadersMap
|
|
40
|
+
data: OutputSchema
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function toKnownErr(e: any) {
|
|
44
|
+
return e
|
|
45
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { HeadersMap, XRPCError } from '@atproto/xrpc'
|
|
5
|
+
import { type ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
6
|
+
import { CID } from 'multiformats/cid'
|
|
7
|
+
import { validate as _validate } from '../../../../lexicons'
|
|
8
|
+
import {
|
|
9
|
+
type $Typed,
|
|
10
|
+
is$typed as _is$typed,
|
|
11
|
+
type OmitKey,
|
|
12
|
+
} from '../../../../util'
|
|
13
|
+
|
|
14
|
+
const is$typed = _is$typed,
|
|
15
|
+
validate = _validate
|
|
16
|
+
const id = 'app.bsky.unspecced.getSuggestedUsersForSeeMoreSkeleton'
|
|
17
|
+
|
|
18
|
+
export type QueryParams = {
|
|
19
|
+
/** DID of the account making the request (not included for public/unauthenticated queries). */
|
|
20
|
+
viewer?: string
|
|
21
|
+
/** Category of users to get suggestions for. */
|
|
22
|
+
category?: string
|
|
23
|
+
limit?: number
|
|
24
|
+
}
|
|
25
|
+
export type InputSchema = undefined
|
|
26
|
+
|
|
27
|
+
export interface OutputSchema {
|
|
28
|
+
dids: string[]
|
|
29
|
+
/** Snowflake for this recommendation, use when submitting recommendation events. */
|
|
30
|
+
recIdStr?: string
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export interface CallOptions {
|
|
34
|
+
signal?: AbortSignal
|
|
35
|
+
headers?: HeadersMap
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export interface Response {
|
|
39
|
+
success: boolean
|
|
40
|
+
headers: HeadersMap
|
|
41
|
+
data: OutputSchema
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export function toKnownErr(e: any) {
|
|
45
|
+
return e
|
|
46
|
+
}
|