@atproto/bsky 0.0.75 → 0.0.77
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 +18 -0
- package/dist/api/app/bsky/actor/getProfiles.d.ts.map +1 -1
- package/dist/api/app/bsky/actor/getProfiles.js +9 -1
- package/dist/api/app/bsky/actor/getProfiles.js.map +1 -1
- package/dist/api/app/bsky/actor/searchActorsTypeahead.js +10 -2
- package/dist/api/app/bsky/actor/searchActorsTypeahead.js.map +1 -1
- package/dist/api/app/bsky/feed/getActorLikes.js +2 -2
- package/dist/api/app/bsky/feed/getActorLikes.js.map +1 -1
- package/dist/api/app/bsky/feed/getFeed.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getFeed.js +8 -1
- package/dist/api/app/bsky/feed/getFeed.js.map +1 -1
- package/dist/api/app/bsky/feed/getLikes.js +6 -6
- package/dist/api/app/bsky/feed/getLikes.js.map +1 -1
- package/dist/api/app/bsky/feed/getPosts.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getPosts.js +12 -5
- package/dist/api/app/bsky/feed/getPosts.js.map +1 -1
- package/dist/api/app/bsky/feed/getQuotes.d.ts +4 -0
- package/dist/api/app/bsky/feed/getQuotes.d.ts.map +1 -0
- package/dist/api/app/bsky/feed/getQuotes.js +67 -0
- package/dist/api/app/bsky/feed/getQuotes.js.map +1 -0
- package/dist/api/app/bsky/feed/getRepostedBy.js +6 -6
- package/dist/api/app/bsky/feed/getRepostedBy.js.map +1 -1
- package/dist/api/app/bsky/feed/searchPosts.js +4 -4
- package/dist/api/app/bsky/feed/searchPosts.js.map +1 -1
- package/dist/api/app/bsky/graph/getFollowers.js +8 -8
- package/dist/api/app/bsky/graph/getFollowers.js.map +1 -1
- package/dist/api/app/bsky/graph/getList.d.ts.map +1 -1
- package/dist/api/app/bsky/graph/getList.js +32 -2
- package/dist/api/app/bsky/graph/getList.js.map +1 -1
- package/dist/api/app/bsky/notification/listNotifications.d.ts.map +1 -1
- package/dist/api/app/bsky/notification/listNotifications.js +29 -8
- package/dist/api/app/bsky/notification/listNotifications.js.map +1 -1
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +2 -0
- package/dist/api/index.js.map +1 -1
- package/dist/auth-verifier.d.ts +8 -3
- package/dist/auth-verifier.d.ts.map +1 -1
- package/dist/auth-verifier.js +43 -29
- package/dist/auth-verifier.js.map +1 -1
- package/dist/data-plane/server/db/database-schema.d.ts +4 -2
- package/dist/data-plane/server/db/database-schema.d.ts.map +1 -1
- package/dist/data-plane/server/db/migrations/20240723T220700077Z-quotes-post-aggs.d.ts +4 -0
- package/dist/data-plane/server/db/migrations/20240723T220700077Z-quotes-post-aggs.d.ts.map +1 -0
- package/dist/data-plane/server/db/migrations/20240723T220700077Z-quotes-post-aggs.js +15 -0
- package/dist/data-plane/server/db/migrations/20240723T220700077Z-quotes-post-aggs.js.map +1 -0
- package/dist/data-plane/server/db/migrations/20240723T220703655Z-quotes.d.ts +4 -0
- package/dist/data-plane/server/db/migrations/20240723T220703655Z-quotes.d.ts.map +1 -0
- package/dist/data-plane/server/db/migrations/20240723T220703655Z-quotes.js +30 -0
- package/dist/data-plane/server/db/migrations/20240723T220703655Z-quotes.js.map +1 -0
- package/dist/data-plane/server/db/migrations/20240801T193939827Z-post-gate.d.ts +4 -0
- package/dist/data-plane/server/db/migrations/20240801T193939827Z-post-gate.d.ts.map +1 -0
- package/dist/data-plane/server/db/migrations/20240801T193939827Z-post-gate.js +20 -0
- package/dist/data-plane/server/db/migrations/20240801T193939827Z-post-gate.js.map +1 -0
- package/dist/data-plane/server/db/migrations/20240808T224251220Z-post-gate-flags.d.ts +4 -0
- package/dist/data-plane/server/db/migrations/20240808T224251220Z-post-gate-flags.d.ts.map +1 -0
- package/dist/data-plane/server/db/migrations/20240808T224251220Z-post-gate-flags.js +28 -0
- package/dist/data-plane/server/db/migrations/20240808T224251220Z-post-gate-flags.js.map +1 -0
- package/dist/data-plane/server/db/migrations/index.d.ts +4 -0
- package/dist/data-plane/server/db/migrations/index.d.ts.map +1 -1
- package/dist/data-plane/server/db/migrations/index.js +5 -1
- package/dist/data-plane/server/db/migrations/index.js.map +1 -1
- package/dist/data-plane/server/db/tables/post-agg.d.ts +1 -0
- package/dist/data-plane/server/db/tables/post-agg.d.ts.map +1 -1
- package/dist/data-plane/server/db/tables/post-gate.d.ts +14 -0
- package/dist/data-plane/server/db/tables/post-gate.d.ts.map +1 -0
- package/dist/data-plane/server/db/tables/post-gate.js +4 -0
- package/dist/data-plane/server/db/tables/post-gate.js.map +1 -0
- package/dist/data-plane/server/db/tables/post.d.ts +3 -0
- package/dist/data-plane/server/db/tables/post.d.ts.map +1 -1
- package/dist/data-plane/server/db/tables/quote.d.ts +16 -0
- package/dist/data-plane/server/db/tables/quote.d.ts.map +1 -0
- package/dist/data-plane/server/db/tables/quote.js +4 -0
- package/dist/data-plane/server/db/tables/quote.js.map +1 -0
- package/dist/data-plane/server/indexing/index.d.ts +2 -0
- package/dist/data-plane/server/indexing/index.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/index.js +6 -0
- package/dist/data-plane/server/indexing/index.js.map +1 -1
- package/dist/data-plane/server/indexing/plugins/post-gate.d.ts +10 -0
- package/dist/data-plane/server/indexing/plugins/post-gate.d.ts.map +1 -0
- package/dist/data-plane/server/indexing/plugins/post-gate.js +101 -0
- package/dist/data-plane/server/indexing/plugins/post-gate.js.map +1 -0
- package/dist/data-plane/server/indexing/plugins/post.d.ts +2 -0
- package/dist/data-plane/server/indexing/plugins/post.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/plugins/post.js +122 -15
- package/dist/data-plane/server/indexing/plugins/post.js.map +1 -1
- package/dist/data-plane/server/indexing/plugins/thread-gate.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/plugins/thread-gate.js +12 -0
- package/dist/data-plane/server/indexing/plugins/thread-gate.js.map +1 -1
- package/dist/data-plane/server/routes/index.d.ts.map +1 -1
- package/dist/data-plane/server/routes/index.js +2 -0
- package/dist/data-plane/server/routes/index.js.map +1 -1
- package/dist/data-plane/server/routes/interactions.d.ts.map +1 -1
- package/dist/data-plane/server/routes/interactions.js +2 -1
- package/dist/data-plane/server/routes/interactions.js.map +1 -1
- package/dist/data-plane/server/routes/quotes.d.ts +6 -0
- package/dist/data-plane/server/routes/quotes.d.ts.map +1 -0
- package/dist/data-plane/server/routes/quotes.js +27 -0
- package/dist/data-plane/server/routes/quotes.js.map +1 -0
- package/dist/data-plane/server/routes/records.d.ts.map +1 -1
- package/dist/data-plane/server/routes/records.js +11 -1
- package/dist/data-plane/server/routes/records.js.map +1 -1
- package/dist/data-plane/server/util.d.ts +6 -7
- package/dist/data-plane/server/util.d.ts.map +1 -1
- package/dist/data-plane/server/util.js +1 -9
- package/dist/data-plane/server/util.js.map +1 -1
- package/dist/hydration/feed.d.ts +10 -0
- package/dist/hydration/feed.d.ts.map +1 -1
- package/dist/hydration/feed.js +31 -7
- package/dist/hydration/feed.js.map +1 -1
- package/dist/hydration/hydrator.d.ts +5 -2
- package/dist/hydration/hydrator.d.ts.map +1 -1
- package/dist/hydration/hydrator.js +102 -38
- package/dist/hydration/hydrator.js.map +1 -1
- package/dist/hydration/util.d.ts +0 -1
- package/dist/hydration/util.d.ts.map +1 -1
- package/dist/hydration/util.js +1 -5
- package/dist/hydration/util.js.map +1 -1
- package/dist/lexicon/index.d.ts +2 -0
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +4 -0
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +141 -0
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +142 -0
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/embed/record.d.ts +8 -1
- package/dist/lexicon/types/app/bsky/embed/record.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/embed/record.js +11 -1
- package/dist/lexicon/types/app/bsky/embed/record.js.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/defs.d.ts +2 -0
- package/dist/lexicon/types/app/bsky/feed/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/getQuotes.d.ts +44 -0
- package/dist/lexicon/types/app/bsky/feed/getQuotes.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/feed/getQuotes.js +3 -0
- package/dist/lexicon/types/app/bsky/feed/getQuotes.js.map +1 -0
- package/dist/lexicon/types/app/bsky/feed/postgate.d.ts +25 -0
- package/dist/lexicon/types/app/bsky/feed/postgate.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/feed/postgate.js +27 -0
- package/dist/lexicon/types/app/bsky/feed/postgate.js.map +1 -0
- package/dist/lexicon/types/app/bsky/feed/threadgate.d.ts +2 -0
- package/dist/lexicon/types/app/bsky/feed/threadgate.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/threadgate.js.map +1 -1
- package/dist/proto/bsky_connect.d.ts +21 -1
- package/dist/proto/bsky_connect.d.ts.map +1 -1
- package/dist/proto/bsky_connect.js +20 -0
- package/dist/proto/bsky_connect.js.map +1 -1
- package/dist/proto/bsky_pb.d.ts +96 -0
- package/dist/proto/bsky_pb.d.ts.map +1 -1
- package/dist/proto/bsky_pb.js +306 -4
- package/dist/proto/bsky_pb.js.map +1 -1
- package/dist/util/uris.d.ts +12 -0
- package/dist/util/uris.d.ts.map +1 -0
- package/dist/util/uris.js +34 -0
- package/dist/util/uris.js.map +1 -0
- package/dist/views/index.d.ts +8 -2
- package/dist/views/index.d.ts.map +1 -1
- package/dist/views/index.js +83 -39
- package/dist/views/index.js.map +1 -1
- package/dist/views/types.d.ts +1 -1
- package/dist/views/types.d.ts.map +1 -1
- package/dist/views/types.js.map +1 -1
- package/dist/views/util.d.ts +11 -1
- package/dist/views/util.d.ts.map +1 -1
- package/dist/views/util.js +19 -8
- package/dist/views/util.js.map +1 -1
- package/package.json +6 -6
- package/proto/bsky.proto +33 -0
- package/src/api/app/bsky/actor/getProfiles.ts +10 -1
- package/src/api/app/bsky/actor/searchActorsTypeahead.ts +9 -4
- package/src/api/app/bsky/feed/getActorLikes.ts +1 -1
- package/src/api/app/bsky/feed/getFeed.ts +12 -1
- package/src/api/app/bsky/feed/getLikes.ts +1 -1
- package/src/api/app/bsky/feed/getPosts.ts +10 -2
- package/src/api/app/bsky/feed/getQuotes.ts +105 -0
- package/src/api/app/bsky/feed/getRepostedBy.ts +1 -1
- package/src/api/app/bsky/feed/searchPosts.ts +1 -1
- package/src/api/app/bsky/graph/getFollowers.ts +1 -1
- package/src/api/app/bsky/graph/getList.ts +47 -4
- package/src/api/app/bsky/notification/listNotifications.ts +32 -6
- package/src/api/index.ts +2 -0
- package/src/auth-verifier.ts +78 -51
- package/src/data-plane/server/db/database-schema.ts +7 -3
- package/src/data-plane/server/db/migrations/20240723T220700077Z-quotes-post-aggs.ts +12 -0
- package/src/data-plane/server/db/migrations/20240723T220703655Z-quotes.ts +28 -0
- package/src/data-plane/server/db/migrations/20240801T193939827Z-post-gate.ts +17 -0
- package/src/data-plane/server/db/migrations/20240808T224251220Z-post-gate-flags.ts +25 -0
- package/src/data-plane/server/db/migrations/index.ts +4 -0
- package/src/data-plane/server/db/tables/post-agg.ts +1 -0
- package/src/data-plane/server/db/tables/post-gate.ts +12 -0
- package/src/data-plane/server/db/tables/post.ts +3 -0
- package/src/data-plane/server/db/tables/quote.ts +15 -0
- package/src/data-plane/server/indexing/index.ts +7 -0
- package/src/data-plane/server/indexing/plugins/post-gate.ts +104 -0
- package/src/data-plane/server/indexing/plugins/post.ts +151 -16
- package/src/data-plane/server/indexing/plugins/thread-gate.ts +12 -0
- package/src/data-plane/server/routes/index.ts +2 -0
- package/src/data-plane/server/routes/interactions.ts +2 -1
- package/src/data-plane/server/routes/quotes.ts +32 -0
- package/src/data-plane/server/routes/records.ts +11 -1
- package/src/data-plane/server/util.ts +0 -8
- package/src/hydration/feed.ts +58 -12
- package/src/hydration/hydrator.ts +112 -24
- package/src/hydration/util.ts +0 -4
- package/src/lexicon/index.ts +12 -0
- package/src/lexicon/lexicons.ts +145 -0
- package/src/lexicon/types/app/bsky/embed/record.ts +19 -0
- package/src/lexicon/types/app/bsky/feed/defs.ts +2 -0
- package/src/lexicon/types/app/bsky/feed/getQuotes.ts +54 -0
- package/src/lexicon/types/app/bsky/feed/postgate.ts +47 -0
- package/src/lexicon/types/app/bsky/feed/threadgate.ts +2 -0
- package/src/proto/bsky_connect.ts +24 -0
- package/src/proto/bsky_pb.ts +289 -0
- package/src/util/uris.ts +31 -0
- package/src/views/index.ts +90 -35
- package/src/views/types.ts +1 -0
- package/src/views/util.ts +37 -7
- package/tests/__snapshots__/feed-generation.test.ts.snap +37 -0
- package/tests/admin/admin-auth.test.ts +15 -8
- package/tests/auth.test.ts +2 -1
- package/tests/data-plane/__snapshots__/indexing.test.ts.snap +18 -0
- package/tests/data-plane/handle-invalidation.test.ts +31 -5
- package/tests/data-plane/indexing.test.ts +139 -23
- package/tests/data-plane/thread-mutes.test.ts +41 -9
- package/tests/feed-generation.test.ts +150 -32
- package/tests/postgates.test.ts +186 -0
- package/tests/seed/feed-hidden-replies.ts +62 -0
- package/tests/seed/postgates.ts +56 -0
- package/tests/server.test.ts +1 -1
- package/tests/views/__snapshots__/author-feed.test.ts.snap +56 -0
- package/tests/views/__snapshots__/block-lists.test.ts.snap +6 -0
- package/tests/views/__snapshots__/blocks.test.ts.snap +10 -0
- package/tests/views/__snapshots__/list-feed.test.ts.snap +22 -0
- package/tests/views/__snapshots__/lists.test.ts.snap +145 -26
- package/tests/views/__snapshots__/mute-lists.test.ts.snap +8 -0
- package/tests/views/__snapshots__/mutes.test.ts.snap +6 -0
- package/tests/views/__snapshots__/posts.test.ts.snap +12 -0
- package/tests/views/__snapshots__/quotes.test.ts.snap +399 -0
- package/tests/views/__snapshots__/starter-packs.test.ts.snap +245 -4
- package/tests/views/__snapshots__/thread.test.ts.snap +50 -0
- package/tests/views/__snapshots__/timeline.test.ts.snap +170 -0
- package/tests/views/account-deactivation.test.ts +8 -2
- package/tests/views/actor-likes.test.ts +27 -6
- package/tests/views/actor-search.test.ts +5 -1
- package/tests/views/author-feed.test.ts +76 -21
- package/tests/views/block-lists.test.ts +201 -40
- package/tests/views/blocks.test.ts +245 -46
- package/tests/views/feed-hidden-replies.test.ts +246 -0
- package/tests/views/feed-view-post.test.ts +501 -0
- package/tests/views/follows.test.ts +133 -22
- package/tests/views/known-followers.test.ts +43 -7
- package/tests/views/labeler-service.test.ts +36 -6
- package/tests/views/likes.test.ts +8 -5
- package/tests/views/list-feed.test.ts +25 -4
- package/tests/views/lists.test.ts +73 -31
- package/tests/views/mute-lists.test.ts +101 -29
- package/tests/views/mutes.test.ts +77 -17
- package/tests/views/notifications.test.ts +141 -25
- package/tests/views/posts.test.ts +13 -2
- package/tests/views/profile.test.ts +37 -11
- package/tests/views/quotes.test.ts +105 -0
- package/tests/views/reposts.test.ts +31 -5
- package/tests/views/starter-packs.test.ts +83 -3
- package/tests/views/suggested-follows.test.ts +31 -5
- package/tests/views/suggestions.test.ts +37 -6
- package/tests/views/thread.test.ts +121 -20
- package/tests/views/threadgating.test.ts +128 -22
- package/tests/views/timeline.test.ts +67 -14
package/dist/lexicon/lexicons.js
CHANGED
|
@@ -4824,6 +4824,7 @@ exports.schemaDict = {
|
|
|
4824
4824
|
'lex:app.bsky.embed.record#viewRecord',
|
|
4825
4825
|
'lex:app.bsky.embed.record#viewNotFound',
|
|
4826
4826
|
'lex:app.bsky.embed.record#viewBlocked',
|
|
4827
|
+
'lex:app.bsky.embed.record#viewDetached',
|
|
4827
4828
|
'lex:app.bsky.feed.defs#generatorView',
|
|
4828
4829
|
'lex:app.bsky.graph.defs#listView',
|
|
4829
4830
|
'lex:app.bsky.labeler.defs#labelerView',
|
|
@@ -4918,6 +4919,20 @@ exports.schemaDict = {
|
|
|
4918
4919
|
},
|
|
4919
4920
|
},
|
|
4920
4921
|
},
|
|
4922
|
+
viewDetached: {
|
|
4923
|
+
type: 'object',
|
|
4924
|
+
required: ['uri', 'detached'],
|
|
4925
|
+
properties: {
|
|
4926
|
+
uri: {
|
|
4927
|
+
type: 'string',
|
|
4928
|
+
format: 'at-uri',
|
|
4929
|
+
},
|
|
4930
|
+
detached: {
|
|
4931
|
+
type: 'boolean',
|
|
4932
|
+
const: true,
|
|
4933
|
+
},
|
|
4934
|
+
},
|
|
4935
|
+
},
|
|
4921
4936
|
},
|
|
4922
4937
|
},
|
|
4923
4938
|
AppBskyEmbedRecordWithMedia: {
|
|
@@ -4999,6 +5014,9 @@ exports.schemaDict = {
|
|
|
4999
5014
|
likeCount: {
|
|
5000
5015
|
type: 'integer',
|
|
5001
5016
|
},
|
|
5017
|
+
quoteCount: {
|
|
5018
|
+
type: 'integer',
|
|
5019
|
+
},
|
|
5002
5020
|
indexedAt: {
|
|
5003
5021
|
type: 'string',
|
|
5004
5022
|
format: 'datetime',
|
|
@@ -5038,6 +5056,9 @@ exports.schemaDict = {
|
|
|
5038
5056
|
replyDisabled: {
|
|
5039
5057
|
type: 'boolean',
|
|
5040
5058
|
},
|
|
5059
|
+
embeddingDisabled: {
|
|
5060
|
+
type: 'boolean',
|
|
5061
|
+
},
|
|
5041
5062
|
},
|
|
5042
5063
|
},
|
|
5043
5064
|
feedViewPost: {
|
|
@@ -6086,6 +6107,68 @@ exports.schemaDict = {
|
|
|
6086
6107
|
},
|
|
6087
6108
|
},
|
|
6088
6109
|
},
|
|
6110
|
+
AppBskyFeedGetQuotes: {
|
|
6111
|
+
lexicon: 1,
|
|
6112
|
+
id: 'app.bsky.feed.getQuotes',
|
|
6113
|
+
defs: {
|
|
6114
|
+
main: {
|
|
6115
|
+
type: 'query',
|
|
6116
|
+
description: 'Get a list of quotes for a given post.',
|
|
6117
|
+
parameters: {
|
|
6118
|
+
type: 'params',
|
|
6119
|
+
required: ['uri'],
|
|
6120
|
+
properties: {
|
|
6121
|
+
uri: {
|
|
6122
|
+
type: 'string',
|
|
6123
|
+
format: 'at-uri',
|
|
6124
|
+
description: 'Reference (AT-URI) of post record',
|
|
6125
|
+
},
|
|
6126
|
+
cid: {
|
|
6127
|
+
type: 'string',
|
|
6128
|
+
format: 'cid',
|
|
6129
|
+
description: 'If supplied, filters to quotes of specific version (by CID) of the post record.',
|
|
6130
|
+
},
|
|
6131
|
+
limit: {
|
|
6132
|
+
type: 'integer',
|
|
6133
|
+
minimum: 1,
|
|
6134
|
+
maximum: 100,
|
|
6135
|
+
default: 50,
|
|
6136
|
+
},
|
|
6137
|
+
cursor: {
|
|
6138
|
+
type: 'string',
|
|
6139
|
+
},
|
|
6140
|
+
},
|
|
6141
|
+
},
|
|
6142
|
+
output: {
|
|
6143
|
+
encoding: 'application/json',
|
|
6144
|
+
schema: {
|
|
6145
|
+
type: 'object',
|
|
6146
|
+
required: ['uri', 'posts'],
|
|
6147
|
+
properties: {
|
|
6148
|
+
uri: {
|
|
6149
|
+
type: 'string',
|
|
6150
|
+
format: 'at-uri',
|
|
6151
|
+
},
|
|
6152
|
+
cid: {
|
|
6153
|
+
type: 'string',
|
|
6154
|
+
format: 'cid',
|
|
6155
|
+
},
|
|
6156
|
+
cursor: {
|
|
6157
|
+
type: 'string',
|
|
6158
|
+
},
|
|
6159
|
+
posts: {
|
|
6160
|
+
type: 'array',
|
|
6161
|
+
items: {
|
|
6162
|
+
type: 'ref',
|
|
6163
|
+
ref: 'lex:app.bsky.feed.defs#postView',
|
|
6164
|
+
},
|
|
6165
|
+
},
|
|
6166
|
+
},
|
|
6167
|
+
},
|
|
6168
|
+
},
|
|
6169
|
+
},
|
|
6170
|
+
},
|
|
6171
|
+
},
|
|
6089
6172
|
AppBskyFeedGetRepostedBy: {
|
|
6090
6173
|
lexicon: 1,
|
|
6091
6174
|
id: 'app.bsky.feed.getRepostedBy',
|
|
@@ -6391,6 +6474,54 @@ exports.schemaDict = {
|
|
|
6391
6474
|
},
|
|
6392
6475
|
},
|
|
6393
6476
|
},
|
|
6477
|
+
AppBskyFeedPostgate: {
|
|
6478
|
+
lexicon: 1,
|
|
6479
|
+
id: 'app.bsky.feed.postgate',
|
|
6480
|
+
defs: {
|
|
6481
|
+
main: {
|
|
6482
|
+
type: 'record',
|
|
6483
|
+
key: 'tid',
|
|
6484
|
+
description: 'Record defining interaction rules for a post. The record key (rkey) of the postgate record must match the record key of the post, and that record must be in the same repository.',
|
|
6485
|
+
record: {
|
|
6486
|
+
type: 'object',
|
|
6487
|
+
required: ['post', 'createdAt'],
|
|
6488
|
+
properties: {
|
|
6489
|
+
createdAt: {
|
|
6490
|
+
type: 'string',
|
|
6491
|
+
format: 'datetime',
|
|
6492
|
+
},
|
|
6493
|
+
post: {
|
|
6494
|
+
type: 'string',
|
|
6495
|
+
format: 'at-uri',
|
|
6496
|
+
description: 'Reference (AT-URI) to the post record.',
|
|
6497
|
+
},
|
|
6498
|
+
detachedEmbeddingUris: {
|
|
6499
|
+
type: 'array',
|
|
6500
|
+
maxLength: 50,
|
|
6501
|
+
items: {
|
|
6502
|
+
type: 'string',
|
|
6503
|
+
format: 'at-uri',
|
|
6504
|
+
},
|
|
6505
|
+
description: 'List of AT-URIs embedding this post that the author has detached from.',
|
|
6506
|
+
},
|
|
6507
|
+
embeddingRules: {
|
|
6508
|
+
type: 'array',
|
|
6509
|
+
maxLength: 5,
|
|
6510
|
+
items: {
|
|
6511
|
+
type: 'union',
|
|
6512
|
+
refs: ['lex:app.bsky.feed.postgate#disableRule'],
|
|
6513
|
+
},
|
|
6514
|
+
},
|
|
6515
|
+
},
|
|
6516
|
+
},
|
|
6517
|
+
},
|
|
6518
|
+
disableRule: {
|
|
6519
|
+
type: 'object',
|
|
6520
|
+
description: 'Disables embedding of this post.',
|
|
6521
|
+
properties: {},
|
|
6522
|
+
},
|
|
6523
|
+
},
|
|
6524
|
+
},
|
|
6394
6525
|
AppBskyFeedRepost: {
|
|
6395
6526
|
lexicon: 1,
|
|
6396
6527
|
id: 'app.bsky.feed.repost',
|
|
@@ -6587,6 +6718,15 @@ exports.schemaDict = {
|
|
|
6587
6718
|
type: 'string',
|
|
6588
6719
|
format: 'datetime',
|
|
6589
6720
|
},
|
|
6721
|
+
hiddenReplies: {
|
|
6722
|
+
type: 'array',
|
|
6723
|
+
maxLength: 50,
|
|
6724
|
+
items: {
|
|
6725
|
+
type: 'string',
|
|
6726
|
+
format: 'at-uri',
|
|
6727
|
+
},
|
|
6728
|
+
description: 'List of hidden reply URIs.',
|
|
6729
|
+
},
|
|
6590
6730
|
},
|
|
6591
6731
|
},
|
|
6592
6732
|
},
|
|
@@ -9780,11 +9920,13 @@ exports.ids = {
|
|
|
9780
9920
|
AppBskyFeedGetListFeed: 'app.bsky.feed.getListFeed',
|
|
9781
9921
|
AppBskyFeedGetPostThread: 'app.bsky.feed.getPostThread',
|
|
9782
9922
|
AppBskyFeedGetPosts: 'app.bsky.feed.getPosts',
|
|
9923
|
+
AppBskyFeedGetQuotes: 'app.bsky.feed.getQuotes',
|
|
9783
9924
|
AppBskyFeedGetRepostedBy: 'app.bsky.feed.getRepostedBy',
|
|
9784
9925
|
AppBskyFeedGetSuggestedFeeds: 'app.bsky.feed.getSuggestedFeeds',
|
|
9785
9926
|
AppBskyFeedGetTimeline: 'app.bsky.feed.getTimeline',
|
|
9786
9927
|
AppBskyFeedLike: 'app.bsky.feed.like',
|
|
9787
9928
|
AppBskyFeedPost: 'app.bsky.feed.post',
|
|
9929
|
+
AppBskyFeedPostgate: 'app.bsky.feed.postgate',
|
|
9788
9930
|
AppBskyFeedRepost: 'app.bsky.feed.repost',
|
|
9789
9931
|
AppBskyFeedSearchPosts: 'app.bsky.feed.searchPosts',
|
|
9790
9932
|
AppBskyFeedSendInteractions: 'app.bsky.feed.sendInteractions',
|