@atproto/ozone 0.1.168 → 0.1.169
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 +10 -0
- package/dist/lexicon/index.d.ts +12 -0
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +24 -0
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +945 -391
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +283 -0
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForDiscover.d.ts +24 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForDiscover.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForDiscover.js +7 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForDiscover.js.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.d.ts +25 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.js +7 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.js.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForExplore.d.ts +26 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForExplore.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForExplore.js +7 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForExplore.js.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.d.ts +27 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.js +7 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.js.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForSeeMore.d.ts +26 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForSeeMore.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForSeeMore.js +7 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForSeeMore.js.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.d.ts +27 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.js +7 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.js.map +1 -0
- package/package.json +3 -3
- package/src/lexicon/index.ts +78 -0
- package/src/lexicon/lexicons.ts +301 -0
- package/src/lexicon/types/app/bsky/unspecced/getSuggestedUsersForDiscover.ts +42 -0
- package/src/lexicon/types/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.ts +43 -0
- package/src/lexicon/types/app/bsky/unspecced/getSuggestedUsersForExplore.ts +44 -0
- package/src/lexicon/types/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.ts +45 -0
- package/src/lexicon/types/app/bsky/unspecced/getSuggestedUsersForSeeMore.ts +44 -0
- package/src/lexicon/types/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.ts +45 -0
- package/tsconfig.build.tsbuildinfo +1 -1
package/src/lexicon/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',
|
|
@@ -20815,6 +21104,18 @@ export const ids = {
|
|
|
20815
21104
|
AppBskyUnspeccedGetSuggestedStarterPacksSkeleton:
|
|
20816
21105
|
'app.bsky.unspecced.getSuggestedStarterPacksSkeleton',
|
|
20817
21106
|
AppBskyUnspeccedGetSuggestedUsers: 'app.bsky.unspecced.getSuggestedUsers',
|
|
21107
|
+
AppBskyUnspeccedGetSuggestedUsersForDiscover:
|
|
21108
|
+
'app.bsky.unspecced.getSuggestedUsersForDiscover',
|
|
21109
|
+
AppBskyUnspeccedGetSuggestedUsersForDiscoverSkeleton:
|
|
21110
|
+
'app.bsky.unspecced.getSuggestedUsersForDiscoverSkeleton',
|
|
21111
|
+
AppBskyUnspeccedGetSuggestedUsersForExplore:
|
|
21112
|
+
'app.bsky.unspecced.getSuggestedUsersForExplore',
|
|
21113
|
+
AppBskyUnspeccedGetSuggestedUsersForExploreSkeleton:
|
|
21114
|
+
'app.bsky.unspecced.getSuggestedUsersForExploreSkeleton',
|
|
21115
|
+
AppBskyUnspeccedGetSuggestedUsersForSeeMore:
|
|
21116
|
+
'app.bsky.unspecced.getSuggestedUsersForSeeMore',
|
|
21117
|
+
AppBskyUnspeccedGetSuggestedUsersForSeeMoreSkeleton:
|
|
21118
|
+
'app.bsky.unspecced.getSuggestedUsersForSeeMoreSkeleton',
|
|
20818
21119
|
AppBskyUnspeccedGetSuggestedUsersSkeleton:
|
|
20819
21120
|
'app.bsky.unspecced.getSuggestedUsersSkeleton',
|
|
20820
21121
|
AppBskyUnspeccedGetSuggestionsSkeleton:
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
5
|
+
import { CID } from 'multiformats/cid'
|
|
6
|
+
import { validate as _validate } from '../../../../lexicons'
|
|
7
|
+
import {
|
|
8
|
+
type $Typed,
|
|
9
|
+
is$typed as _is$typed,
|
|
10
|
+
type OmitKey,
|
|
11
|
+
} from '../../../../util'
|
|
12
|
+
import type * as AppBskyActorDefs from '../actor/defs.js'
|
|
13
|
+
|
|
14
|
+
const is$typed = _is$typed,
|
|
15
|
+
validate = _validate
|
|
16
|
+
const id = 'app.bsky.unspecced.getSuggestedUsersForDiscover'
|
|
17
|
+
|
|
18
|
+
export type QueryParams = {
|
|
19
|
+
limit: number
|
|
20
|
+
}
|
|
21
|
+
export type InputSchema = undefined
|
|
22
|
+
|
|
23
|
+
export interface OutputSchema {
|
|
24
|
+
actors: AppBskyActorDefs.ProfileView[]
|
|
25
|
+
/** Snowflake for this recommendation, use when submitting recommendation events. */
|
|
26
|
+
recIdStr?: string
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type HandlerInput = void
|
|
30
|
+
|
|
31
|
+
export interface HandlerSuccess {
|
|
32
|
+
encoding: 'application/json'
|
|
33
|
+
body: OutputSchema
|
|
34
|
+
headers?: { [key: string]: string }
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export interface HandlerError {
|
|
38
|
+
status: number
|
|
39
|
+
message?: string
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export type HandlerOutput = HandlerError | HandlerSuccess
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
5
|
+
import { CID } from 'multiformats/cid'
|
|
6
|
+
import { validate as _validate } from '../../../../lexicons'
|
|
7
|
+
import {
|
|
8
|
+
type $Typed,
|
|
9
|
+
is$typed as _is$typed,
|
|
10
|
+
type OmitKey,
|
|
11
|
+
} from '../../../../util'
|
|
12
|
+
|
|
13
|
+
const is$typed = _is$typed,
|
|
14
|
+
validate = _validate
|
|
15
|
+
const id = 'app.bsky.unspecced.getSuggestedUsersForDiscoverSkeleton'
|
|
16
|
+
|
|
17
|
+
export type QueryParams = {
|
|
18
|
+
/** DID of the account making the request (not included for public/unauthenticated queries). */
|
|
19
|
+
viewer?: string
|
|
20
|
+
limit: number
|
|
21
|
+
}
|
|
22
|
+
export type InputSchema = undefined
|
|
23
|
+
|
|
24
|
+
export interface OutputSchema {
|
|
25
|
+
dids: string[]
|
|
26
|
+
/** Snowflake for this recommendation, use when submitting recommendation events. */
|
|
27
|
+
recIdStr?: string
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export type HandlerInput = void
|
|
31
|
+
|
|
32
|
+
export interface HandlerSuccess {
|
|
33
|
+
encoding: 'application/json'
|
|
34
|
+
body: OutputSchema
|
|
35
|
+
headers?: { [key: string]: string }
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export interface HandlerError {
|
|
39
|
+
status: number
|
|
40
|
+
message?: string
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export type HandlerOutput = HandlerError | HandlerSuccess
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
5
|
+
import { CID } from 'multiformats/cid'
|
|
6
|
+
import { validate as _validate } from '../../../../lexicons'
|
|
7
|
+
import {
|
|
8
|
+
type $Typed,
|
|
9
|
+
is$typed as _is$typed,
|
|
10
|
+
type OmitKey,
|
|
11
|
+
} from '../../../../util'
|
|
12
|
+
import type * as AppBskyActorDefs from '../actor/defs.js'
|
|
13
|
+
|
|
14
|
+
const is$typed = _is$typed,
|
|
15
|
+
validate = _validate
|
|
16
|
+
const id = 'app.bsky.unspecced.getSuggestedUsersForExplore'
|
|
17
|
+
|
|
18
|
+
export type QueryParams = {
|
|
19
|
+
/** Category of users to get suggestions for. */
|
|
20
|
+
category?: string
|
|
21
|
+
limit: number
|
|
22
|
+
}
|
|
23
|
+
export type InputSchema = undefined
|
|
24
|
+
|
|
25
|
+
export interface OutputSchema {
|
|
26
|
+
actors: AppBskyActorDefs.ProfileView[]
|
|
27
|
+
/** Snowflake for this recommendation, use when submitting recommendation events. */
|
|
28
|
+
recIdStr?: string
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export type HandlerInput = void
|
|
32
|
+
|
|
33
|
+
export interface HandlerSuccess {
|
|
34
|
+
encoding: 'application/json'
|
|
35
|
+
body: OutputSchema
|
|
36
|
+
headers?: { [key: string]: string }
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export interface HandlerError {
|
|
40
|
+
status: number
|
|
41
|
+
message?: string
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export type HandlerOutput = HandlerError | HandlerSuccess
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
5
|
+
import { CID } from 'multiformats/cid'
|
|
6
|
+
import { validate as _validate } from '../../../../lexicons'
|
|
7
|
+
import {
|
|
8
|
+
type $Typed,
|
|
9
|
+
is$typed as _is$typed,
|
|
10
|
+
type OmitKey,
|
|
11
|
+
} from '../../../../util'
|
|
12
|
+
|
|
13
|
+
const is$typed = _is$typed,
|
|
14
|
+
validate = _validate
|
|
15
|
+
const id = 'app.bsky.unspecced.getSuggestedUsersForExploreSkeleton'
|
|
16
|
+
|
|
17
|
+
export type QueryParams = {
|
|
18
|
+
/** DID of the account making the request (not included for public/unauthenticated queries). */
|
|
19
|
+
viewer?: string
|
|
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
|
+
dids: string[]
|
|
28
|
+
/** Snowflake for this recommendation, use when submitting recommendation events. */
|
|
29
|
+
recIdStr?: string
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export type HandlerInput = void
|
|
33
|
+
|
|
34
|
+
export interface HandlerSuccess {
|
|
35
|
+
encoding: 'application/json'
|
|
36
|
+
body: OutputSchema
|
|
37
|
+
headers?: { [key: string]: string }
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export interface HandlerError {
|
|
41
|
+
status: number
|
|
42
|
+
message?: string
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export type HandlerOutput = HandlerError | HandlerSuccess
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
5
|
+
import { CID } from 'multiformats/cid'
|
|
6
|
+
import { validate as _validate } from '../../../../lexicons'
|
|
7
|
+
import {
|
|
8
|
+
type $Typed,
|
|
9
|
+
is$typed as _is$typed,
|
|
10
|
+
type OmitKey,
|
|
11
|
+
} from '../../../../util'
|
|
12
|
+
import type * as AppBskyActorDefs from '../actor/defs.js'
|
|
13
|
+
|
|
14
|
+
const is$typed = _is$typed,
|
|
15
|
+
validate = _validate
|
|
16
|
+
const id = 'app.bsky.unspecced.getSuggestedUsersForSeeMore'
|
|
17
|
+
|
|
18
|
+
export type QueryParams = {
|
|
19
|
+
/** Category of users to get suggestions for. */
|
|
20
|
+
category?: string
|
|
21
|
+
limit: number
|
|
22
|
+
}
|
|
23
|
+
export type InputSchema = undefined
|
|
24
|
+
|
|
25
|
+
export interface OutputSchema {
|
|
26
|
+
actors: AppBskyActorDefs.ProfileView[]
|
|
27
|
+
/** Snowflake for this recommendation, use when submitting recommendation events. */
|
|
28
|
+
recIdStr?: string
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export type HandlerInput = void
|
|
32
|
+
|
|
33
|
+
export interface HandlerSuccess {
|
|
34
|
+
encoding: 'application/json'
|
|
35
|
+
body: OutputSchema
|
|
36
|
+
headers?: { [key: string]: string }
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export interface HandlerError {
|
|
40
|
+
status: number
|
|
41
|
+
message?: string
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export type HandlerOutput = HandlerError | HandlerSuccess
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
5
|
+
import { CID } from 'multiformats/cid'
|
|
6
|
+
import { validate as _validate } from '../../../../lexicons'
|
|
7
|
+
import {
|
|
8
|
+
type $Typed,
|
|
9
|
+
is$typed as _is$typed,
|
|
10
|
+
type OmitKey,
|
|
11
|
+
} from '../../../../util'
|
|
12
|
+
|
|
13
|
+
const is$typed = _is$typed,
|
|
14
|
+
validate = _validate
|
|
15
|
+
const id = 'app.bsky.unspecced.getSuggestedUsersForSeeMoreSkeleton'
|
|
16
|
+
|
|
17
|
+
export type QueryParams = {
|
|
18
|
+
/** DID of the account making the request (not included for public/unauthenticated queries). */
|
|
19
|
+
viewer?: string
|
|
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
|
+
dids: string[]
|
|
28
|
+
/** Snowflake for this recommendation, use when submitting recommendation events. */
|
|
29
|
+
recIdStr?: string
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export type HandlerInput = void
|
|
33
|
+
|
|
34
|
+
export interface HandlerSuccess {
|
|
35
|
+
encoding: 'application/json'
|
|
36
|
+
body: OutputSchema
|
|
37
|
+
headers?: { [key: string]: string }
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export interface HandlerError {
|
|
41
|
+
status: number
|
|
42
|
+
message?: string
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export type HandlerOutput = HandlerError | HandlerSuccess
|