@atproto/ozone 0.1.167 → 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 +23 -0
- package/dist/api/report/createReport.d.ts.map +1 -1
- package/dist/api/report/createReport.js +2 -4
- package/dist/api/report/createReport.js.map +1 -1
- 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 +981 -427
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +290 -10
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.d.ts +3 -3
- package/dist/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.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/dist/lexicon/types/com/atproto/label/defs.d.ts +1 -1
- package/dist/lexicon/types/com/atproto/label/defs.d.ts.map +1 -1
- package/dist/lexicon/types/com/atproto/label/defs.js.map +1 -1
- package/package.json +6 -6
- package/src/api/report/createReport.ts +2 -4
- package/src/lexicon/index.ts +78 -0
- package/src/lexicon/lexicons.ts +309 -11
- package/src/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.ts +3 -3
- 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/src/lexicon/types/com/atproto/label/defs.ts +2 -5
- package/tests/3p-labeler.test.ts +2 -2
- package/tests/account-strikes.test.ts +1 -1
- package/tests/communication-templates.test.ts +1 -1
- package/tests/expiring-label.test.ts +1 -1
- package/tests/get-account-timeline.test.ts +1 -1
- package/tests/get-config.test.ts +1 -1
- package/tests/get-lists.test.ts +2 -2
- package/tests/get-profiles.test.ts +1 -1
- package/tests/get-record.test.ts +1 -1
- package/tests/get-records.test.ts +1 -1
- package/tests/get-repo.test.ts +2 -2
- package/tests/get-repos.test.ts +2 -2
- package/tests/get-starter-pack.test.ts +2 -2
- package/tests/get-subjects.test.ts +1 -1
- package/tests/moderation.test.ts +3 -3
- package/tests/query-labels.test.ts +1 -1
- package/tests/repo-search.test.ts +1 -1
- package/tests/report-reason.test.ts +1 -1
- package/tests/safelink.test.ts +3 -3
- package/tests/scheduled-action-processor.test.ts +1 -1
- package/tests/scheduled-action.test.ts +3 -3
- package/tests/sets.test.ts +1 -1
- package/tests/settings.test.ts +1 -1
- package/tests/strike-expiry-processor.test.ts +1 -1
- package/tests/takedown.test.ts +2 -2
- package/tests/team.test.ts +2 -2
- package/tests/verification-listener.test.ts +1 -1
- package/tests/verification.test.ts +2 -2
- package/tsconfig.build.tsbuildinfo +1 -1
package/src/lexicon/lexicons.ts
CHANGED
|
@@ -6243,21 +6243,21 @@ export const schemaDict = {
|
|
|
6243
6243
|
ref: 'lex:app.bsky.actor.defs#profileView',
|
|
6244
6244
|
},
|
|
6245
6245
|
},
|
|
6246
|
+
recIdStr: {
|
|
6247
|
+
type: 'string',
|
|
6248
|
+
description:
|
|
6249
|
+
'Snowflake for this recommendation, use when submitting recommendation events.',
|
|
6250
|
+
},
|
|
6246
6251
|
isFallback: {
|
|
6247
6252
|
type: 'boolean',
|
|
6248
6253
|
description:
|
|
6249
|
-
'
|
|
6254
|
+
'DEPRECATED, unused. Previously: if true, response has fallen-back to generic results, and is not scoped using relativeToDid',
|
|
6250
6255
|
default: false,
|
|
6251
6256
|
},
|
|
6252
6257
|
recId: {
|
|
6253
6258
|
type: 'integer',
|
|
6254
6259
|
description: 'DEPRECATED: use recIdStr instead.',
|
|
6255
6260
|
},
|
|
6256
|
-
recIdStr: {
|
|
6257
|
-
type: 'string',
|
|
6258
|
-
description:
|
|
6259
|
-
'Snowflake for this recommendation, use when submitting recommendation events.',
|
|
6260
|
-
},
|
|
6261
6261
|
},
|
|
6262
6262
|
},
|
|
6263
6263
|
},
|
|
@@ -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',
|
|
@@ -11842,16 +12131,13 @@ export const schemaDict = {
|
|
|
11842
12131
|
type: 'string',
|
|
11843
12132
|
knownValues: [
|
|
11844
12133
|
'!hide',
|
|
11845
|
-
'!no-promote',
|
|
11846
12134
|
'!warn',
|
|
11847
12135
|
'!no-unauthenticated',
|
|
11848
|
-
'dmca-violation',
|
|
11849
|
-
'doxxing',
|
|
11850
12136
|
'porn',
|
|
11851
12137
|
'sexual',
|
|
11852
12138
|
'nudity',
|
|
11853
|
-
'
|
|
11854
|
-
'
|
|
12139
|
+
'graphic-media',
|
|
12140
|
+
'bot',
|
|
11855
12141
|
],
|
|
11856
12142
|
},
|
|
11857
12143
|
},
|
|
@@ -20818,6 +21104,18 @@ export const ids = {
|
|
|
20818
21104
|
AppBskyUnspeccedGetSuggestedStarterPacksSkeleton:
|
|
20819
21105
|
'app.bsky.unspecced.getSuggestedStarterPacksSkeleton',
|
|
20820
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',
|
|
20821
21119
|
AppBskyUnspeccedGetSuggestedUsersSkeleton:
|
|
20822
21120
|
'app.bsky.unspecced.getSuggestedUsersSkeleton',
|
|
20823
21121
|
AppBskyUnspeccedGetSuggestionsSkeleton:
|
|
@@ -22,12 +22,12 @@ export type InputSchema = undefined
|
|
|
22
22
|
|
|
23
23
|
export interface OutputSchema {
|
|
24
24
|
suggestions: AppBskyActorDefs.ProfileView[]
|
|
25
|
-
/**
|
|
25
|
+
/** Snowflake for this recommendation, use when submitting recommendation events. */
|
|
26
|
+
recIdStr?: string
|
|
27
|
+
/** DEPRECATED, unused. Previously: if true, response has fallen-back to generic results, and is not scoped using relativeToDid */
|
|
26
28
|
isFallback?: boolean
|
|
27
29
|
/** DEPRECATED: use recIdStr instead. */
|
|
28
30
|
recId?: number
|
|
29
|
-
/** Snowflake for this recommendation, use when submitting recommendation events. */
|
|
30
|
-
recIdStr?: string
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
export type HandlerInput = void
|
|
@@ -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
|
|
@@ -133,14 +133,11 @@ export function validateLabelValueDefinitionStrings<V>(v: V) {
|
|
|
133
133
|
|
|
134
134
|
export type LabelValue =
|
|
135
135
|
| '!hide'
|
|
136
|
-
| '!no-promote'
|
|
137
136
|
| '!warn'
|
|
138
137
|
| '!no-unauthenticated'
|
|
139
|
-
| 'dmca-violation'
|
|
140
|
-
| 'doxxing'
|
|
141
138
|
| 'porn'
|
|
142
139
|
| 'sexual'
|
|
143
140
|
| 'nudity'
|
|
144
|
-
| '
|
|
145
|
-
| '
|
|
141
|
+
| 'graphic-media'
|
|
142
|
+
| 'bot'
|
|
146
143
|
| (string & {})
|
package/tests/3p-labeler.test.ts
CHANGED
|
@@ -43,8 +43,8 @@ describe('labels from 3p labelers', () => {
|
|
|
43
43
|
pdsDid: network.pds.ctx.cfg.service.did,
|
|
44
44
|
})
|
|
45
45
|
|
|
46
|
-
thirdPartyAgent = thirdPartyLabeler.
|
|
47
|
-
agent = ozone.
|
|
46
|
+
thirdPartyAgent = thirdPartyLabeler.getAgent()
|
|
47
|
+
agent = ozone.getAgent()
|
|
48
48
|
sc = network.getSeedClient()
|
|
49
49
|
modClient = ozone.getModClient()
|
|
50
50
|
thirdPartyModClient = thirdPartyLabeler.getModClient()
|
|
@@ -56,7 +56,7 @@ describe('account-strikes', () => {
|
|
|
56
56
|
network = await TestNetwork.create({
|
|
57
57
|
dbPostgresSchema: 'ozone_account_strikes',
|
|
58
58
|
})
|
|
59
|
-
agent = network.ozone.
|
|
59
|
+
agent = network.ozone.getAgent()
|
|
60
60
|
sc = network.getSeedClient()
|
|
61
61
|
modClient = network.ozone.getModClient()
|
|
62
62
|
await basicSeed(sc)
|
|
@@ -11,7 +11,7 @@ describe('communication-templates', () => {
|
|
|
11
11
|
network = await TestNetwork.create({
|
|
12
12
|
dbPostgresSchema: 'ozone_communication_templates',
|
|
13
13
|
})
|
|
14
|
-
agent = network.ozone.
|
|
14
|
+
agent = network.ozone.getAgent()
|
|
15
15
|
sc = network.getSeedClient()
|
|
16
16
|
await basicSeed(sc)
|
|
17
17
|
await network.processAll()
|