@atproto/ozone 0.1.168 → 0.1.170
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/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 +572 -2
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +292 -1
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts +1 -0
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/embed/images.d.ts +1 -0
- package/dist/lexicon/types/app/bsky/embed/images.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/embed/images.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 +7 -7
- package/src/lexicon/index.ts +78 -0
- package/src/lexicon/lexicons.ts +311 -1
- package/src/lexicon/types/app/bsky/actor/defs.ts +1 -0
- package/src/lexicon/types/app/bsky/embed/images.ts +1 -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/index.ts
CHANGED
|
@@ -101,6 +101,12 @@ import * as AppBskyUnspeccedGetSuggestedOnboardingUsers from './types/app/bsky/u
|
|
|
101
101
|
import * as AppBskyUnspeccedGetSuggestedStarterPacks from './types/app/bsky/unspecced/getSuggestedStarterPacks.js'
|
|
102
102
|
import * as AppBskyUnspeccedGetSuggestedStarterPacksSkeleton from './types/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.js'
|
|
103
103
|
import * as AppBskyUnspeccedGetSuggestedUsers from './types/app/bsky/unspecced/getSuggestedUsers.js'
|
|
104
|
+
import * as AppBskyUnspeccedGetSuggestedUsersForDiscover from './types/app/bsky/unspecced/getSuggestedUsersForDiscover.js'
|
|
105
|
+
import * as AppBskyUnspeccedGetSuggestedUsersForDiscoverSkeleton from './types/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.js'
|
|
106
|
+
import * as AppBskyUnspeccedGetSuggestedUsersForExplore from './types/app/bsky/unspecced/getSuggestedUsersForExplore.js'
|
|
107
|
+
import * as AppBskyUnspeccedGetSuggestedUsersForExploreSkeleton from './types/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.js'
|
|
108
|
+
import * as AppBskyUnspeccedGetSuggestedUsersForSeeMore from './types/app/bsky/unspecced/getSuggestedUsersForSeeMore.js'
|
|
109
|
+
import * as AppBskyUnspeccedGetSuggestedUsersForSeeMoreSkeleton from './types/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.js'
|
|
104
110
|
import * as AppBskyUnspeccedGetSuggestedUsersSkeleton from './types/app/bsky/unspecced/getSuggestedUsersSkeleton.js'
|
|
105
111
|
import * as AppBskyUnspeccedGetSuggestionsSkeleton from './types/app/bsky/unspecced/getSuggestionsSkeleton.js'
|
|
106
112
|
import * as AppBskyUnspeccedGetTaggedSuggestions from './types/app/bsky/unspecced/getTaggedSuggestions.js'
|
|
@@ -1627,6 +1633,78 @@ export class AppBskyUnspeccedNS {
|
|
|
1627
1633
|
return this._server.xrpc.method(nsid, cfg)
|
|
1628
1634
|
}
|
|
1629
1635
|
|
|
1636
|
+
getSuggestedUsersForDiscover<A extends Auth = void>(
|
|
1637
|
+
cfg: MethodConfigOrHandler<
|
|
1638
|
+
A,
|
|
1639
|
+
AppBskyUnspeccedGetSuggestedUsersForDiscover.QueryParams,
|
|
1640
|
+
AppBskyUnspeccedGetSuggestedUsersForDiscover.HandlerInput,
|
|
1641
|
+
AppBskyUnspeccedGetSuggestedUsersForDiscover.HandlerOutput
|
|
1642
|
+
>,
|
|
1643
|
+
) {
|
|
1644
|
+
const nsid = 'app.bsky.unspecced.getSuggestedUsersForDiscover' // @ts-ignore
|
|
1645
|
+
return this._server.xrpc.method(nsid, cfg)
|
|
1646
|
+
}
|
|
1647
|
+
|
|
1648
|
+
getSuggestedUsersForDiscoverSkeleton<A extends Auth = void>(
|
|
1649
|
+
cfg: MethodConfigOrHandler<
|
|
1650
|
+
A,
|
|
1651
|
+
AppBskyUnspeccedGetSuggestedUsersForDiscoverSkeleton.QueryParams,
|
|
1652
|
+
AppBskyUnspeccedGetSuggestedUsersForDiscoverSkeleton.HandlerInput,
|
|
1653
|
+
AppBskyUnspeccedGetSuggestedUsersForDiscoverSkeleton.HandlerOutput
|
|
1654
|
+
>,
|
|
1655
|
+
) {
|
|
1656
|
+
const nsid = 'app.bsky.unspecced.getSuggestedUsersForDiscoverSkeleton' // @ts-ignore
|
|
1657
|
+
return this._server.xrpc.method(nsid, cfg)
|
|
1658
|
+
}
|
|
1659
|
+
|
|
1660
|
+
getSuggestedUsersForExplore<A extends Auth = void>(
|
|
1661
|
+
cfg: MethodConfigOrHandler<
|
|
1662
|
+
A,
|
|
1663
|
+
AppBskyUnspeccedGetSuggestedUsersForExplore.QueryParams,
|
|
1664
|
+
AppBskyUnspeccedGetSuggestedUsersForExplore.HandlerInput,
|
|
1665
|
+
AppBskyUnspeccedGetSuggestedUsersForExplore.HandlerOutput
|
|
1666
|
+
>,
|
|
1667
|
+
) {
|
|
1668
|
+
const nsid = 'app.bsky.unspecced.getSuggestedUsersForExplore' // @ts-ignore
|
|
1669
|
+
return this._server.xrpc.method(nsid, cfg)
|
|
1670
|
+
}
|
|
1671
|
+
|
|
1672
|
+
getSuggestedUsersForExploreSkeleton<A extends Auth = void>(
|
|
1673
|
+
cfg: MethodConfigOrHandler<
|
|
1674
|
+
A,
|
|
1675
|
+
AppBskyUnspeccedGetSuggestedUsersForExploreSkeleton.QueryParams,
|
|
1676
|
+
AppBskyUnspeccedGetSuggestedUsersForExploreSkeleton.HandlerInput,
|
|
1677
|
+
AppBskyUnspeccedGetSuggestedUsersForExploreSkeleton.HandlerOutput
|
|
1678
|
+
>,
|
|
1679
|
+
) {
|
|
1680
|
+
const nsid = 'app.bsky.unspecced.getSuggestedUsersForExploreSkeleton' // @ts-ignore
|
|
1681
|
+
return this._server.xrpc.method(nsid, cfg)
|
|
1682
|
+
}
|
|
1683
|
+
|
|
1684
|
+
getSuggestedUsersForSeeMore<A extends Auth = void>(
|
|
1685
|
+
cfg: MethodConfigOrHandler<
|
|
1686
|
+
A,
|
|
1687
|
+
AppBskyUnspeccedGetSuggestedUsersForSeeMore.QueryParams,
|
|
1688
|
+
AppBskyUnspeccedGetSuggestedUsersForSeeMore.HandlerInput,
|
|
1689
|
+
AppBskyUnspeccedGetSuggestedUsersForSeeMore.HandlerOutput
|
|
1690
|
+
>,
|
|
1691
|
+
) {
|
|
1692
|
+
const nsid = 'app.bsky.unspecced.getSuggestedUsersForSeeMore' // @ts-ignore
|
|
1693
|
+
return this._server.xrpc.method(nsid, cfg)
|
|
1694
|
+
}
|
|
1695
|
+
|
|
1696
|
+
getSuggestedUsersForSeeMoreSkeleton<A extends Auth = void>(
|
|
1697
|
+
cfg: MethodConfigOrHandler<
|
|
1698
|
+
A,
|
|
1699
|
+
AppBskyUnspeccedGetSuggestedUsersForSeeMoreSkeleton.QueryParams,
|
|
1700
|
+
AppBskyUnspeccedGetSuggestedUsersForSeeMoreSkeleton.HandlerInput,
|
|
1701
|
+
AppBskyUnspeccedGetSuggestedUsersForSeeMoreSkeleton.HandlerOutput
|
|
1702
|
+
>,
|
|
1703
|
+
) {
|
|
1704
|
+
const nsid = 'app.bsky.unspecced.getSuggestedUsersForSeeMoreSkeleton' // @ts-ignore
|
|
1705
|
+
return this._server.xrpc.method(nsid, cfg)
|
|
1706
|
+
}
|
|
1707
|
+
|
|
1630
1708
|
getSuggestedUsersSkeleton<A extends Auth = void>(
|
|
1631
1709
|
cfg: MethodConfigOrHandler<
|
|
1632
1710
|
A,
|
package/src/lexicon/lexicons.ts
CHANGED
|
@@ -871,6 +871,13 @@ export const schemaDict = {
|
|
|
871
871
|
description: 'An optional embed associated with the status.',
|
|
872
872
|
refs: ['lex:app.bsky.embed.external#view'],
|
|
873
873
|
},
|
|
874
|
+
labels: {
|
|
875
|
+
type: 'array',
|
|
876
|
+
items: {
|
|
877
|
+
type: 'ref',
|
|
878
|
+
ref: 'lex:com.atproto.label.defs#label',
|
|
879
|
+
},
|
|
880
|
+
},
|
|
874
881
|
expiresAt: {
|
|
875
882
|
type: 'string',
|
|
876
883
|
description:
|
|
@@ -2758,8 +2765,10 @@ export const schemaDict = {
|
|
|
2758
2765
|
properties: {
|
|
2759
2766
|
image: {
|
|
2760
2767
|
type: 'blob',
|
|
2768
|
+
description:
|
|
2769
|
+
'The raw image file. May be up to 2mb, formerly limited to 1mb.',
|
|
2761
2770
|
accept: ['image/*'],
|
|
2762
|
-
maxSize:
|
|
2771
|
+
maxSize: 2000000,
|
|
2763
2772
|
},
|
|
2764
2773
|
alt: {
|
|
2765
2774
|
type: 'string',
|
|
@@ -8594,6 +8603,295 @@ export const schemaDict = {
|
|
|
8594
8603
|
},
|
|
8595
8604
|
},
|
|
8596
8605
|
},
|
|
8606
|
+
AppBskyUnspeccedGetSuggestedUsersForDiscover: {
|
|
8607
|
+
lexicon: 1,
|
|
8608
|
+
id: 'app.bsky.unspecced.getSuggestedUsersForDiscover',
|
|
8609
|
+
defs: {
|
|
8610
|
+
main: {
|
|
8611
|
+
type: 'query',
|
|
8612
|
+
description: 'Get a list of suggested users for the Discover page',
|
|
8613
|
+
parameters: {
|
|
8614
|
+
type: 'params',
|
|
8615
|
+
properties: {
|
|
8616
|
+
limit: {
|
|
8617
|
+
type: 'integer',
|
|
8618
|
+
minimum: 1,
|
|
8619
|
+
maximum: 50,
|
|
8620
|
+
default: 25,
|
|
8621
|
+
},
|
|
8622
|
+
},
|
|
8623
|
+
},
|
|
8624
|
+
output: {
|
|
8625
|
+
encoding: 'application/json',
|
|
8626
|
+
schema: {
|
|
8627
|
+
type: 'object',
|
|
8628
|
+
required: ['actors'],
|
|
8629
|
+
properties: {
|
|
8630
|
+
actors: {
|
|
8631
|
+
type: 'array',
|
|
8632
|
+
items: {
|
|
8633
|
+
type: 'ref',
|
|
8634
|
+
ref: 'lex:app.bsky.actor.defs#profileView',
|
|
8635
|
+
},
|
|
8636
|
+
},
|
|
8637
|
+
recIdStr: {
|
|
8638
|
+
type: 'string',
|
|
8639
|
+
description:
|
|
8640
|
+
'Snowflake for this recommendation, use when submitting recommendation events.',
|
|
8641
|
+
},
|
|
8642
|
+
},
|
|
8643
|
+
},
|
|
8644
|
+
},
|
|
8645
|
+
},
|
|
8646
|
+
},
|
|
8647
|
+
},
|
|
8648
|
+
AppBskyUnspeccedGetSuggestedUsersForDiscoverSkeleton: {
|
|
8649
|
+
lexicon: 1,
|
|
8650
|
+
id: 'app.bsky.unspecced.getSuggestedUsersForDiscoverSkeleton',
|
|
8651
|
+
defs: {
|
|
8652
|
+
main: {
|
|
8653
|
+
type: 'query',
|
|
8654
|
+
description:
|
|
8655
|
+
'Get a skeleton of suggested users for the Discover page. Intended to be called and hydrated by app.bsky.unspecced.getSuggestedUsersForDiscover',
|
|
8656
|
+
parameters: {
|
|
8657
|
+
type: 'params',
|
|
8658
|
+
properties: {
|
|
8659
|
+
viewer: {
|
|
8660
|
+
type: 'string',
|
|
8661
|
+
format: 'did',
|
|
8662
|
+
description:
|
|
8663
|
+
'DID of the account making the request (not included for public/unauthenticated queries).',
|
|
8664
|
+
},
|
|
8665
|
+
limit: {
|
|
8666
|
+
type: 'integer',
|
|
8667
|
+
minimum: 1,
|
|
8668
|
+
maximum: 50,
|
|
8669
|
+
default: 25,
|
|
8670
|
+
},
|
|
8671
|
+
},
|
|
8672
|
+
},
|
|
8673
|
+
output: {
|
|
8674
|
+
encoding: 'application/json',
|
|
8675
|
+
schema: {
|
|
8676
|
+
type: 'object',
|
|
8677
|
+
required: ['dids'],
|
|
8678
|
+
properties: {
|
|
8679
|
+
dids: {
|
|
8680
|
+
type: 'array',
|
|
8681
|
+
items: {
|
|
8682
|
+
type: 'string',
|
|
8683
|
+
format: 'did',
|
|
8684
|
+
},
|
|
8685
|
+
},
|
|
8686
|
+
recIdStr: {
|
|
8687
|
+
type: 'string',
|
|
8688
|
+
description:
|
|
8689
|
+
'Snowflake for this recommendation, use when submitting recommendation events.',
|
|
8690
|
+
},
|
|
8691
|
+
},
|
|
8692
|
+
},
|
|
8693
|
+
},
|
|
8694
|
+
},
|
|
8695
|
+
},
|
|
8696
|
+
},
|
|
8697
|
+
AppBskyUnspeccedGetSuggestedUsersForExplore: {
|
|
8698
|
+
lexicon: 1,
|
|
8699
|
+
id: 'app.bsky.unspecced.getSuggestedUsersForExplore',
|
|
8700
|
+
defs: {
|
|
8701
|
+
main: {
|
|
8702
|
+
type: 'query',
|
|
8703
|
+
description: 'Get a list of suggested users for the Explore page',
|
|
8704
|
+
parameters: {
|
|
8705
|
+
type: 'params',
|
|
8706
|
+
properties: {
|
|
8707
|
+
category: {
|
|
8708
|
+
type: 'string',
|
|
8709
|
+
description: 'Category of users to get suggestions for.',
|
|
8710
|
+
},
|
|
8711
|
+
limit: {
|
|
8712
|
+
type: 'integer',
|
|
8713
|
+
minimum: 1,
|
|
8714
|
+
maximum: 50,
|
|
8715
|
+
default: 25,
|
|
8716
|
+
},
|
|
8717
|
+
},
|
|
8718
|
+
},
|
|
8719
|
+
output: {
|
|
8720
|
+
encoding: 'application/json',
|
|
8721
|
+
schema: {
|
|
8722
|
+
type: 'object',
|
|
8723
|
+
required: ['actors'],
|
|
8724
|
+
properties: {
|
|
8725
|
+
actors: {
|
|
8726
|
+
type: 'array',
|
|
8727
|
+
items: {
|
|
8728
|
+
type: 'ref',
|
|
8729
|
+
ref: 'lex:app.bsky.actor.defs#profileView',
|
|
8730
|
+
},
|
|
8731
|
+
},
|
|
8732
|
+
recIdStr: {
|
|
8733
|
+
type: 'string',
|
|
8734
|
+
description:
|
|
8735
|
+
'Snowflake for this recommendation, use when submitting recommendation events.',
|
|
8736
|
+
},
|
|
8737
|
+
},
|
|
8738
|
+
},
|
|
8739
|
+
},
|
|
8740
|
+
},
|
|
8741
|
+
},
|
|
8742
|
+
},
|
|
8743
|
+
AppBskyUnspeccedGetSuggestedUsersForExploreSkeleton: {
|
|
8744
|
+
lexicon: 1,
|
|
8745
|
+
id: 'app.bsky.unspecced.getSuggestedUsersForExploreSkeleton',
|
|
8746
|
+
defs: {
|
|
8747
|
+
main: {
|
|
8748
|
+
type: 'query',
|
|
8749
|
+
description:
|
|
8750
|
+
'Get a skeleton of suggested users for the Explore page. Intended to be called and hydrated by app.bsky.unspecced.getSuggestedUsersForExplore',
|
|
8751
|
+
parameters: {
|
|
8752
|
+
type: 'params',
|
|
8753
|
+
properties: {
|
|
8754
|
+
viewer: {
|
|
8755
|
+
type: 'string',
|
|
8756
|
+
format: 'did',
|
|
8757
|
+
description:
|
|
8758
|
+
'DID of the account making the request (not included for public/unauthenticated queries).',
|
|
8759
|
+
},
|
|
8760
|
+
category: {
|
|
8761
|
+
type: 'string',
|
|
8762
|
+
description: 'Category of users to get suggestions for.',
|
|
8763
|
+
},
|
|
8764
|
+
limit: {
|
|
8765
|
+
type: 'integer',
|
|
8766
|
+
minimum: 1,
|
|
8767
|
+
maximum: 50,
|
|
8768
|
+
default: 25,
|
|
8769
|
+
},
|
|
8770
|
+
},
|
|
8771
|
+
},
|
|
8772
|
+
output: {
|
|
8773
|
+
encoding: 'application/json',
|
|
8774
|
+
schema: {
|
|
8775
|
+
type: 'object',
|
|
8776
|
+
required: ['dids'],
|
|
8777
|
+
properties: {
|
|
8778
|
+
dids: {
|
|
8779
|
+
type: 'array',
|
|
8780
|
+
items: {
|
|
8781
|
+
type: 'string',
|
|
8782
|
+
format: 'did',
|
|
8783
|
+
},
|
|
8784
|
+
},
|
|
8785
|
+
recIdStr: {
|
|
8786
|
+
type: 'string',
|
|
8787
|
+
description:
|
|
8788
|
+
'Snowflake for this recommendation, use when submitting recommendation events.',
|
|
8789
|
+
},
|
|
8790
|
+
},
|
|
8791
|
+
},
|
|
8792
|
+
},
|
|
8793
|
+
},
|
|
8794
|
+
},
|
|
8795
|
+
},
|
|
8796
|
+
AppBskyUnspeccedGetSuggestedUsersForSeeMore: {
|
|
8797
|
+
lexicon: 1,
|
|
8798
|
+
id: 'app.bsky.unspecced.getSuggestedUsersForSeeMore',
|
|
8799
|
+
defs: {
|
|
8800
|
+
main: {
|
|
8801
|
+
type: 'query',
|
|
8802
|
+
description: 'Get a list of suggested users for the See More page',
|
|
8803
|
+
parameters: {
|
|
8804
|
+
type: 'params',
|
|
8805
|
+
properties: {
|
|
8806
|
+
category: {
|
|
8807
|
+
type: 'string',
|
|
8808
|
+
description: 'Category of users to get suggestions for.',
|
|
8809
|
+
},
|
|
8810
|
+
limit: {
|
|
8811
|
+
type: 'integer',
|
|
8812
|
+
minimum: 1,
|
|
8813
|
+
maximum: 50,
|
|
8814
|
+
default: 25,
|
|
8815
|
+
},
|
|
8816
|
+
},
|
|
8817
|
+
},
|
|
8818
|
+
output: {
|
|
8819
|
+
encoding: 'application/json',
|
|
8820
|
+
schema: {
|
|
8821
|
+
type: 'object',
|
|
8822
|
+
required: ['actors'],
|
|
8823
|
+
properties: {
|
|
8824
|
+
actors: {
|
|
8825
|
+
type: 'array',
|
|
8826
|
+
items: {
|
|
8827
|
+
type: 'ref',
|
|
8828
|
+
ref: 'lex:app.bsky.actor.defs#profileView',
|
|
8829
|
+
},
|
|
8830
|
+
},
|
|
8831
|
+
recIdStr: {
|
|
8832
|
+
type: 'string',
|
|
8833
|
+
description:
|
|
8834
|
+
'Snowflake for this recommendation, use when submitting recommendation events.',
|
|
8835
|
+
},
|
|
8836
|
+
},
|
|
8837
|
+
},
|
|
8838
|
+
},
|
|
8839
|
+
},
|
|
8840
|
+
},
|
|
8841
|
+
},
|
|
8842
|
+
AppBskyUnspeccedGetSuggestedUsersForSeeMoreSkeleton: {
|
|
8843
|
+
lexicon: 1,
|
|
8844
|
+
id: 'app.bsky.unspecced.getSuggestedUsersForSeeMoreSkeleton',
|
|
8845
|
+
defs: {
|
|
8846
|
+
main: {
|
|
8847
|
+
type: 'query',
|
|
8848
|
+
description:
|
|
8849
|
+
'Get a skeleton of suggested users for the See More page. Intended to be called and hydrated by app.bsky.unspecced.getSuggestedUsersForSeeMore',
|
|
8850
|
+
parameters: {
|
|
8851
|
+
type: 'params',
|
|
8852
|
+
properties: {
|
|
8853
|
+
viewer: {
|
|
8854
|
+
type: 'string',
|
|
8855
|
+
format: 'did',
|
|
8856
|
+
description:
|
|
8857
|
+
'DID of the account making the request (not included for public/unauthenticated queries).',
|
|
8858
|
+
},
|
|
8859
|
+
category: {
|
|
8860
|
+
type: 'string',
|
|
8861
|
+
description: 'Category of users to get suggestions for.',
|
|
8862
|
+
},
|
|
8863
|
+
limit: {
|
|
8864
|
+
type: 'integer',
|
|
8865
|
+
minimum: 1,
|
|
8866
|
+
maximum: 50,
|
|
8867
|
+
default: 25,
|
|
8868
|
+
},
|
|
8869
|
+
},
|
|
8870
|
+
},
|
|
8871
|
+
output: {
|
|
8872
|
+
encoding: 'application/json',
|
|
8873
|
+
schema: {
|
|
8874
|
+
type: 'object',
|
|
8875
|
+
required: ['dids'],
|
|
8876
|
+
properties: {
|
|
8877
|
+
dids: {
|
|
8878
|
+
type: 'array',
|
|
8879
|
+
items: {
|
|
8880
|
+
type: 'string',
|
|
8881
|
+
format: 'did',
|
|
8882
|
+
},
|
|
8883
|
+
},
|
|
8884
|
+
recIdStr: {
|
|
8885
|
+
type: 'string',
|
|
8886
|
+
description:
|
|
8887
|
+
'Snowflake for this recommendation, use when submitting recommendation events.',
|
|
8888
|
+
},
|
|
8889
|
+
},
|
|
8890
|
+
},
|
|
8891
|
+
},
|
|
8892
|
+
},
|
|
8893
|
+
},
|
|
8894
|
+
},
|
|
8597
8895
|
AppBskyUnspeccedGetSuggestedUsersSkeleton: {
|
|
8598
8896
|
lexicon: 1,
|
|
8599
8897
|
id: 'app.bsky.unspecced.getSuggestedUsersSkeleton',
|
|
@@ -20815,6 +21113,18 @@ export const ids = {
|
|
|
20815
21113
|
AppBskyUnspeccedGetSuggestedStarterPacksSkeleton:
|
|
20816
21114
|
'app.bsky.unspecced.getSuggestedStarterPacksSkeleton',
|
|
20817
21115
|
AppBskyUnspeccedGetSuggestedUsers: 'app.bsky.unspecced.getSuggestedUsers',
|
|
21116
|
+
AppBskyUnspeccedGetSuggestedUsersForDiscover:
|
|
21117
|
+
'app.bsky.unspecced.getSuggestedUsersForDiscover',
|
|
21118
|
+
AppBskyUnspeccedGetSuggestedUsersForDiscoverSkeleton:
|
|
21119
|
+
'app.bsky.unspecced.getSuggestedUsersForDiscoverSkeleton',
|
|
21120
|
+
AppBskyUnspeccedGetSuggestedUsersForExplore:
|
|
21121
|
+
'app.bsky.unspecced.getSuggestedUsersForExplore',
|
|
21122
|
+
AppBskyUnspeccedGetSuggestedUsersForExploreSkeleton:
|
|
21123
|
+
'app.bsky.unspecced.getSuggestedUsersForExploreSkeleton',
|
|
21124
|
+
AppBskyUnspeccedGetSuggestedUsersForSeeMore:
|
|
21125
|
+
'app.bsky.unspecced.getSuggestedUsersForSeeMore',
|
|
21126
|
+
AppBskyUnspeccedGetSuggestedUsersForSeeMoreSkeleton:
|
|
21127
|
+
'app.bsky.unspecced.getSuggestedUsersForSeeMoreSkeleton',
|
|
20818
21128
|
AppBskyUnspeccedGetSuggestedUsersSkeleton:
|
|
20819
21129
|
'app.bsky.unspecced.getSuggestedUsersSkeleton',
|
|
20820
21130
|
AppBskyUnspeccedGetSuggestionsSkeleton:
|
|
@@ -695,6 +695,7 @@ export interface StatusView {
|
|
|
695
695
|
status: 'app.bsky.actor.status#live' | (string & {})
|
|
696
696
|
record: { [_ in string]: unknown }
|
|
697
697
|
embed?: $Typed<AppBskyEmbedExternal.View> | { $type: string }
|
|
698
|
+
labels?: ComAtprotoLabelDefs.Label[]
|
|
698
699
|
/** The date when this status will expire. The application might choose to no longer return the status after expiration. */
|
|
699
700
|
expiresAt?: string
|
|
700
701
|
/** True if the status is not expired, false if it is expired. Only present if expiration was set. */
|
|
@@ -32,6 +32,7 @@ export function validateMain<V>(v: V) {
|
|
|
32
32
|
|
|
33
33
|
export interface Image {
|
|
34
34
|
$type?: 'app.bsky.embed.images#image'
|
|
35
|
+
/** The raw image file. May be up to 2mb, formerly limited to 1mb. */
|
|
35
36
|
image: BlobRef
|
|
36
37
|
/** Alt text description of the image, for accessibility. */
|
|
37
38
|
alt: string
|
|
@@ -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
|