@atcute/bluesky 3.0.3 → 3.1.0
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/dist/lexicons/index.d.ts +2 -0
- package/dist/lexicons/index.js +2 -0
- package/dist/lexicons/index.js.map +1 -1
- package/dist/lexicons/types/app/bsky/actor/getPreferences.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/actor/getProfile.d.ts +3 -0
- package/dist/lexicons/types/app/bsky/actor/getProfiles.d.ts +5 -1
- package/dist/lexicons/types/app/bsky/actor/getProfiles.js +1 -1
- package/dist/lexicons/types/app/bsky/actor/getSuggestions.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/actor/putPreferences.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/actor/searchActors.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/actor/searchActorsTypeahead.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/feed/describeFeedGenerator.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/feed/getActorFeeds.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/feed/getActorLikes.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/feed/getAuthorFeed.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/feed/getFeed.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/feed/getFeedGenerator.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/feed/getFeedGenerators.d.ts +5 -1
- package/dist/lexicons/types/app/bsky/feed/getFeedGenerators.js +3 -1
- package/dist/lexicons/types/app/bsky/feed/getFeedGenerators.js.map +1 -1
- package/dist/lexicons/types/app/bsky/feed/getFeedSkeleton.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/feed/getLikes.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/feed/getListFeed.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/feed/getPostThread.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/feed/getPosts.d.ts +5 -1
- package/dist/lexicons/types/app/bsky/feed/getPosts.js +1 -1
- package/dist/lexicons/types/app/bsky/feed/getQuotes.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/feed/getRepostedBy.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/feed/getSuggestedFeeds.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/feed/getTimeline.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/feed/searchPosts.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/feed/sendInteractions.d.ts +6 -0
- package/dist/lexicons/types/app/bsky/graph/getActorStarterPacks.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/graph/getBlocks.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/graph/getFollowers.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/graph/getFollows.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/graph/getKnownFollowers.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/graph/getList.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/graph/getListBlocks.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/graph/getListMutes.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/graph/getLists.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/graph/getMutes.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/graph/getRelationships.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/graph/getStarterPack.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/graph/getStarterPacks.d.ts +5 -1
- package/dist/lexicons/types/app/bsky/graph/getStarterPacks.js +1 -1
- package/dist/lexicons/types/app/bsky/graph/getSuggestedFollowsByActor.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/graph/muteActor.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/graph/muteActorList.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/graph/muteThread.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/graph/searchStarterPacks.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/graph/unmuteActor.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/graph/unmuteActorList.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/graph/unmuteThread.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/labeler/getServices.d.ts +5 -1
- package/dist/lexicons/types/app/bsky/labeler/getServices.js +3 -1
- package/dist/lexicons/types/app/bsky/labeler/getServices.js.map +1 -1
- package/dist/lexicons/types/app/bsky/notification/getUnreadCount.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/notification/listNotifications.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/notification/putPreferences.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/notification/registerPush.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/notification/updateSeen.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/unspecced/getConfig.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/unspecced/getPopularFeedGenerators.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/unspecced/getPostThreadHiddenV2.d.ts +48 -0
- package/dist/lexicons/types/app/bsky/unspecced/getPostThreadHiddenV2.js +37 -0
- package/dist/lexicons/types/app/bsky/unspecced/getPostThreadHiddenV2.js.map +1 -0
- package/dist/lexicons/types/app/bsky/unspecced/getPostThreadV2.d.ts +84 -0
- package/dist/lexicons/types/app/bsky/unspecced/getPostThreadV2.js +72 -0
- package/dist/lexicons/types/app/bsky/unspecced/getPostThreadV2.js.map +1 -0
- package/dist/lexicons/types/app/bsky/unspecced/getSuggestedFeeds.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/unspecced/getSuggestedFeedsSkeleton.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/unspecced/getSuggestedStarterPacks.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/unspecced/getSuggestedUsers.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/unspecced/getSuggestedUsersSkeleton.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/unspecced/getSuggestionsSkeleton.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/unspecced/getTaggedSuggestions.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/unspecced/getTrendingTopics.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/unspecced/getTrends.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/unspecced/getTrendsSkeleton.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/unspecced/searchActorsSkeleton.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/unspecced/searchPostsSkeleton.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/unspecced/searchStarterPacksSkeleton.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/video/getJobStatus.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/video/getUploadLimits.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/video/uploadVideo.d.ts +5 -0
- package/dist/lexicons/types/chat/bsky/actor/deleteAccount.d.ts +4 -0
- package/dist/lexicons/types/chat/bsky/actor/exportAccountData.d.ts +3 -0
- package/dist/lexicons/types/chat/bsky/convo/acceptConvo.d.ts +6 -0
- package/dist/lexicons/types/chat/bsky/convo/addReaction.d.ts +6 -0
- package/dist/lexicons/types/chat/bsky/convo/deleteMessageForSelf.d.ts +5 -0
- package/dist/lexicons/types/chat/bsky/convo/getConvo.d.ts +4 -0
- package/dist/lexicons/types/chat/bsky/convo/getConvoAvailability.d.ts +4 -0
- package/dist/lexicons/types/chat/bsky/convo/getConvoForMembers.d.ts +4 -0
- package/dist/lexicons/types/chat/bsky/convo/getLog.d.ts +4 -0
- package/dist/lexicons/types/chat/bsky/convo/getMessages.d.ts +4 -0
- package/dist/lexicons/types/chat/bsky/convo/leaveConvo.d.ts +6 -0
- package/dist/lexicons/types/chat/bsky/convo/listConvos.d.ts +4 -0
- package/dist/lexicons/types/chat/bsky/convo/muteConvo.d.ts +6 -0
- package/dist/lexicons/types/chat/bsky/convo/removeReaction.d.ts +6 -0
- package/dist/lexicons/types/chat/bsky/convo/sendMessage.d.ts +5 -0
- package/dist/lexicons/types/chat/bsky/convo/sendMessageBatch.d.ts +6 -0
- package/dist/lexicons/types/chat/bsky/convo/unmuteConvo.d.ts +6 -0
- package/dist/lexicons/types/chat/bsky/convo/updateAllRead.d.ts +6 -0
- package/dist/lexicons/types/chat/bsky/convo/updateRead.d.ts +6 -0
- package/dist/lexicons/types/chat/bsky/moderation/getActorMetadata.d.ts +4 -0
- package/dist/lexicons/types/chat/bsky/moderation/getMessageContext.d.ts +4 -0
- package/dist/lexicons/types/chat/bsky/moderation/updateActorAccess.d.ts +4 -0
- package/lib/lexicons/index.ts +2 -0
- package/lib/lexicons/types/app/bsky/actor/getPreferences.ts +3 -0
- package/lib/lexicons/types/app/bsky/actor/getProfile.ts +3 -0
- package/lib/lexicons/types/app/bsky/actor/getProfiles.ts +4 -1
- package/lib/lexicons/types/app/bsky/actor/getSuggestions.ts +3 -0
- package/lib/lexicons/types/app/bsky/actor/putPreferences.ts +3 -0
- package/lib/lexicons/types/app/bsky/actor/searchActors.ts +3 -0
- package/lib/lexicons/types/app/bsky/actor/searchActorsTypeahead.ts +3 -0
- package/lib/lexicons/types/app/bsky/feed/describeFeedGenerator.ts +3 -0
- package/lib/lexicons/types/app/bsky/feed/getActorFeeds.ts +3 -0
- package/lib/lexicons/types/app/bsky/feed/getActorLikes.ts +3 -0
- package/lib/lexicons/types/app/bsky/feed/getAuthorFeed.ts +3 -0
- package/lib/lexicons/types/app/bsky/feed/getFeed.ts +3 -0
- package/lib/lexicons/types/app/bsky/feed/getFeedGenerator.ts +3 -0
- package/lib/lexicons/types/app/bsky/feed/getFeedGenerators.ts +6 -1
- package/lib/lexicons/types/app/bsky/feed/getFeedSkeleton.ts +3 -0
- package/lib/lexicons/types/app/bsky/feed/getLikes.ts +3 -0
- package/lib/lexicons/types/app/bsky/feed/getListFeed.ts +3 -0
- package/lib/lexicons/types/app/bsky/feed/getPostThread.ts +3 -0
- package/lib/lexicons/types/app/bsky/feed/getPosts.ts +4 -1
- package/lib/lexicons/types/app/bsky/feed/getQuotes.ts +3 -0
- package/lib/lexicons/types/app/bsky/feed/getRepostedBy.ts +3 -0
- package/lib/lexicons/types/app/bsky/feed/getSuggestedFeeds.ts +3 -0
- package/lib/lexicons/types/app/bsky/feed/getTimeline.ts +3 -0
- package/lib/lexicons/types/app/bsky/feed/searchPosts.ts +3 -0
- package/lib/lexicons/types/app/bsky/feed/sendInteractions.ts +4 -0
- package/lib/lexicons/types/app/bsky/graph/getActorStarterPacks.ts +3 -0
- package/lib/lexicons/types/app/bsky/graph/getBlocks.ts +3 -0
- package/lib/lexicons/types/app/bsky/graph/getFollowers.ts +3 -0
- package/lib/lexicons/types/app/bsky/graph/getFollows.ts +3 -0
- package/lib/lexicons/types/app/bsky/graph/getKnownFollowers.ts +3 -0
- package/lib/lexicons/types/app/bsky/graph/getList.ts +3 -0
- package/lib/lexicons/types/app/bsky/graph/getListBlocks.ts +3 -0
- package/lib/lexicons/types/app/bsky/graph/getListMutes.ts +3 -0
- package/lib/lexicons/types/app/bsky/graph/getLists.ts +3 -0
- package/lib/lexicons/types/app/bsky/graph/getMutes.ts +3 -0
- package/lib/lexicons/types/app/bsky/graph/getRelationships.ts +3 -0
- package/lib/lexicons/types/app/bsky/graph/getStarterPack.ts +3 -0
- package/lib/lexicons/types/app/bsky/graph/getStarterPacks.ts +4 -1
- package/lib/lexicons/types/app/bsky/graph/getSuggestedFollowsByActor.ts +3 -0
- package/lib/lexicons/types/app/bsky/graph/muteActor.ts +3 -0
- package/lib/lexicons/types/app/bsky/graph/muteActorList.ts +3 -0
- package/lib/lexicons/types/app/bsky/graph/muteThread.ts +3 -0
- package/lib/lexicons/types/app/bsky/graph/searchStarterPacks.ts +3 -0
- package/lib/lexicons/types/app/bsky/graph/unmuteActor.ts +3 -0
- package/lib/lexicons/types/app/bsky/graph/unmuteActorList.ts +3 -0
- package/lib/lexicons/types/app/bsky/graph/unmuteThread.ts +3 -0
- package/lib/lexicons/types/app/bsky/labeler/getServices.ts +6 -1
- package/lib/lexicons/types/app/bsky/notification/getUnreadCount.ts +3 -0
- package/lib/lexicons/types/app/bsky/notification/listNotifications.ts +3 -0
- package/lib/lexicons/types/app/bsky/notification/putPreferences.ts +3 -0
- package/lib/lexicons/types/app/bsky/notification/registerPush.ts +3 -0
- package/lib/lexicons/types/app/bsky/notification/updateSeen.ts +3 -0
- package/lib/lexicons/types/app/bsky/unspecced/getConfig.ts +3 -0
- package/lib/lexicons/types/app/bsky/unspecced/getPopularFeedGenerators.ts +3 -0
- package/lib/lexicons/types/app/bsky/unspecced/getPostThreadHiddenV2.ts +62 -0
- package/lib/lexicons/types/app/bsky/unspecced/getPostThreadV2.ts +115 -0
- package/lib/lexicons/types/app/bsky/unspecced/getSuggestedFeeds.ts +3 -0
- package/lib/lexicons/types/app/bsky/unspecced/getSuggestedFeedsSkeleton.ts +3 -0
- package/lib/lexicons/types/app/bsky/unspecced/getSuggestedStarterPacks.ts +3 -0
- package/lib/lexicons/types/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.ts +3 -0
- package/lib/lexicons/types/app/bsky/unspecced/getSuggestedUsers.ts +3 -0
- package/lib/lexicons/types/app/bsky/unspecced/getSuggestedUsersSkeleton.ts +3 -0
- package/lib/lexicons/types/app/bsky/unspecced/getSuggestionsSkeleton.ts +3 -0
- package/lib/lexicons/types/app/bsky/unspecced/getTaggedSuggestions.ts +3 -0
- package/lib/lexicons/types/app/bsky/unspecced/getTrendingTopics.ts +3 -0
- package/lib/lexicons/types/app/bsky/unspecced/getTrends.ts +3 -0
- package/lib/lexicons/types/app/bsky/unspecced/getTrendsSkeleton.ts +3 -0
- package/lib/lexicons/types/app/bsky/unspecced/searchActorsSkeleton.ts +3 -0
- package/lib/lexicons/types/app/bsky/unspecced/searchPostsSkeleton.ts +3 -0
- package/lib/lexicons/types/app/bsky/unspecced/searchStarterPacksSkeleton.ts +3 -0
- package/lib/lexicons/types/app/bsky/video/getJobStatus.ts +3 -0
- package/lib/lexicons/types/app/bsky/video/getUploadLimits.ts +3 -0
- package/lib/lexicons/types/app/bsky/video/uploadVideo.ts +4 -0
- package/lib/lexicons/types/chat/bsky/actor/deleteAccount.ts +3 -0
- package/lib/lexicons/types/chat/bsky/actor/exportAccountData.ts +3 -0
- package/lib/lexicons/types/chat/bsky/convo/acceptConvo.ts +4 -0
- package/lib/lexicons/types/chat/bsky/convo/addReaction.ts +4 -0
- package/lib/lexicons/types/chat/bsky/convo/deleteMessageForSelf.ts +4 -0
- package/lib/lexicons/types/chat/bsky/convo/getConvo.ts +3 -0
- package/lib/lexicons/types/chat/bsky/convo/getConvoAvailability.ts +3 -0
- package/lib/lexicons/types/chat/bsky/convo/getConvoForMembers.ts +3 -0
- package/lib/lexicons/types/chat/bsky/convo/getLog.ts +3 -0
- package/lib/lexicons/types/chat/bsky/convo/getMessages.ts +3 -0
- package/lib/lexicons/types/chat/bsky/convo/leaveConvo.ts +4 -0
- package/lib/lexicons/types/chat/bsky/convo/listConvos.ts +3 -0
- package/lib/lexicons/types/chat/bsky/convo/muteConvo.ts +4 -0
- package/lib/lexicons/types/chat/bsky/convo/removeReaction.ts +4 -0
- package/lib/lexicons/types/chat/bsky/convo/sendMessage.ts +4 -0
- package/lib/lexicons/types/chat/bsky/convo/sendMessageBatch.ts +4 -0
- package/lib/lexicons/types/chat/bsky/convo/unmuteConvo.ts +4 -0
- package/lib/lexicons/types/chat/bsky/convo/updateAllRead.ts +4 -0
- package/lib/lexicons/types/chat/bsky/convo/updateRead.ts +4 -0
- package/lib/lexicons/types/chat/bsky/moderation/getActorMetadata.ts +3 -0
- package/lib/lexicons/types/chat/bsky/moderation/getMessageContext.ts +3 -0
- package/lib/lexicons/types/chat/bsky/moderation/updateActorAccess.ts +3 -0
- package/package.json +4 -4
|
@@ -9,6 +9,10 @@ type main$schematype = typeof _mainSchema;
|
|
|
9
9
|
export interface mainSchema extends main$schematype {
|
|
10
10
|
}
|
|
11
11
|
export declare const mainSchema: mainSchema;
|
|
12
|
+
export interface $params {
|
|
13
|
+
}
|
|
14
|
+
export interface $input extends v.InferXRPCBodyInput<mainSchema['input']> {
|
|
15
|
+
}
|
|
12
16
|
declare module '@atcute/lexicons/ambient' {
|
|
13
17
|
interface XRPCProcedures {
|
|
14
18
|
'app.bsky.graph.muteActorList': mainSchema;
|
|
@@ -9,6 +9,10 @@ type main$schematype = typeof _mainSchema;
|
|
|
9
9
|
export interface mainSchema extends main$schematype {
|
|
10
10
|
}
|
|
11
11
|
export declare const mainSchema: mainSchema;
|
|
12
|
+
export interface $params {
|
|
13
|
+
}
|
|
14
|
+
export interface $input extends v.InferXRPCBodyInput<mainSchema['input']> {
|
|
15
|
+
}
|
|
12
16
|
declare module '@atcute/lexicons/ambient' {
|
|
13
17
|
interface XRPCProcedures {
|
|
14
18
|
'app.bsky.graph.muteThread': mainSchema;
|
|
@@ -15,6 +15,10 @@ type main$schematype = typeof _mainSchema;
|
|
|
15
15
|
export interface mainSchema extends main$schematype {
|
|
16
16
|
}
|
|
17
17
|
export declare const mainSchema: mainSchema;
|
|
18
|
+
export interface $params extends v.InferInput<mainSchema['params']> {
|
|
19
|
+
}
|
|
20
|
+
export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {
|
|
21
|
+
}
|
|
18
22
|
declare module '@atcute/lexicons/ambient' {
|
|
19
23
|
interface XRPCQueries {
|
|
20
24
|
'app.bsky.graph.searchStarterPacks': mainSchema;
|
|
@@ -9,6 +9,10 @@ type main$schematype = typeof _mainSchema;
|
|
|
9
9
|
export interface mainSchema extends main$schematype {
|
|
10
10
|
}
|
|
11
11
|
export declare const mainSchema: mainSchema;
|
|
12
|
+
export interface $params {
|
|
13
|
+
}
|
|
14
|
+
export interface $input extends v.InferXRPCBodyInput<mainSchema['input']> {
|
|
15
|
+
}
|
|
12
16
|
declare module '@atcute/lexicons/ambient' {
|
|
13
17
|
interface XRPCProcedures {
|
|
14
18
|
'app.bsky.graph.unmuteActor': mainSchema;
|
|
@@ -9,6 +9,10 @@ type main$schematype = typeof _mainSchema;
|
|
|
9
9
|
export interface mainSchema extends main$schematype {
|
|
10
10
|
}
|
|
11
11
|
export declare const mainSchema: mainSchema;
|
|
12
|
+
export interface $params {
|
|
13
|
+
}
|
|
14
|
+
export interface $input extends v.InferXRPCBodyInput<mainSchema['input']> {
|
|
15
|
+
}
|
|
12
16
|
declare module '@atcute/lexicons/ambient' {
|
|
13
17
|
interface XRPCProcedures {
|
|
14
18
|
'app.bsky.graph.unmuteActorList': mainSchema;
|
|
@@ -9,6 +9,10 @@ type main$schematype = typeof _mainSchema;
|
|
|
9
9
|
export interface mainSchema extends main$schematype {
|
|
10
10
|
}
|
|
11
11
|
export declare const mainSchema: mainSchema;
|
|
12
|
+
export interface $params {
|
|
13
|
+
}
|
|
14
|
+
export interface $input extends v.InferXRPCBodyInput<mainSchema['input']> {
|
|
15
|
+
}
|
|
12
16
|
declare module '@atcute/lexicons/ambient' {
|
|
13
17
|
interface XRPCProcedures {
|
|
14
18
|
'app.bsky.graph.unmuteThread': mainSchema;
|
|
@@ -2,7 +2,7 @@ import * as v from '@atcute/lexicons/validations';
|
|
|
2
2
|
import * as AppBskyLabelerDefs from './defs.js';
|
|
3
3
|
declare const _mainSchema: v.XRPCQueryMetadata<v.ObjectSchema<{
|
|
4
4
|
detailed: v.OptionalSchema<v.BooleanSchema, false>;
|
|
5
|
-
dids: v.ArraySchema<v.FormattedStringSchema<"did"
|
|
5
|
+
dids: v.SchemaWithConstraint<v.ArraySchema<v.FormattedStringSchema<"did">>, readonly [v.ArrayLengthConstraint<1, number>]>;
|
|
6
6
|
}>, {
|
|
7
7
|
type: "lex";
|
|
8
8
|
schema: v.ObjectSchema<{
|
|
@@ -13,6 +13,10 @@ type main$schematype = typeof _mainSchema;
|
|
|
13
13
|
export interface mainSchema extends main$schematype {
|
|
14
14
|
}
|
|
15
15
|
export declare const mainSchema: mainSchema;
|
|
16
|
+
export interface $params extends v.InferInput<mainSchema['params']> {
|
|
17
|
+
}
|
|
18
|
+
export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {
|
|
19
|
+
}
|
|
16
20
|
declare module '@atcute/lexicons/ambient' {
|
|
17
21
|
interface XRPCQueries {
|
|
18
22
|
'app.bsky.labeler.getServices': mainSchema;
|
|
@@ -3,7 +3,9 @@ import * as AppBskyLabelerDefs from './defs.js';
|
|
|
3
3
|
const _mainSchema = /*#__PURE__*/ v.query('app.bsky.labeler.getServices', {
|
|
4
4
|
params: /*#__PURE__*/ v.object({
|
|
5
5
|
detailed: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean(), false),
|
|
6
|
-
dids: /*#__PURE__*/ v.array(/*#__PURE__*/ v.didString()),
|
|
6
|
+
dids: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.array(/*#__PURE__*/ v.didString()), [
|
|
7
|
+
/*#__PURE__*/ v.arrayLength(1),
|
|
8
|
+
]),
|
|
7
9
|
}),
|
|
8
10
|
output: {
|
|
9
11
|
type: 'lex',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getServices.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/app/bsky/labeler/getServices.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,kBAAkB,MAAM,WAAW,CAAC;AAEhD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,8BAA8B,EAAE;IACzE,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;QAC9B,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,EAAE,KAAK,CAAC;QACpE,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"getServices.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/app/bsky/labeler/getServices.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,kBAAkB,MAAM,WAAW,CAAC;AAEhD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,8BAA8B,EAAE;IACzE,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;QAC9B,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,EAAE,KAAK,CAAC;QACpE,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC,EAAE;YACnF,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC;SAC9B,CAAC;KACF,CAAC;IACF,MAAM,EAAE;QACP,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,IAAI,KAAK;gBACR,OAAO,aAAa,CAAC,CAAC,CAAC,KAAK;gBAC3B,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC;oBACvB,kBAAkB,CAAC,iBAAiB;oBACpC,kBAAkB,CAAC,yBAAyB;iBAC5C,CAAC,CACF,CAAC;YACH,CAAC;SACD,CAAC;KACF;CACD,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -12,6 +12,10 @@ type main$schematype = typeof _mainSchema;
|
|
|
12
12
|
export interface mainSchema extends main$schematype {
|
|
13
13
|
}
|
|
14
14
|
export declare const mainSchema: mainSchema;
|
|
15
|
+
export interface $params extends v.InferInput<mainSchema['params']> {
|
|
16
|
+
}
|
|
17
|
+
export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {
|
|
18
|
+
}
|
|
15
19
|
declare module '@atcute/lexicons/ambient' {
|
|
16
20
|
interface XRPCQueries {
|
|
17
21
|
'app.bsky.notification.getUnreadCount': mainSchema;
|
|
@@ -38,6 +38,10 @@ export declare const mainSchema: mainSchema;
|
|
|
38
38
|
export declare const notificationSchema: notificationSchema;
|
|
39
39
|
export interface Notification extends v.InferInput<typeof notificationSchema> {
|
|
40
40
|
}
|
|
41
|
+
export interface $params extends v.InferInput<mainSchema['params']> {
|
|
42
|
+
}
|
|
43
|
+
export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {
|
|
44
|
+
}
|
|
41
45
|
declare module '@atcute/lexicons/ambient' {
|
|
42
46
|
interface XRPCQueries {
|
|
43
47
|
'app.bsky.notification.listNotifications': mainSchema;
|
|
@@ -9,6 +9,10 @@ type main$schematype = typeof _mainSchema;
|
|
|
9
9
|
export interface mainSchema extends main$schematype {
|
|
10
10
|
}
|
|
11
11
|
export declare const mainSchema: mainSchema;
|
|
12
|
+
export interface $params {
|
|
13
|
+
}
|
|
14
|
+
export interface $input extends v.InferXRPCBodyInput<mainSchema['input']> {
|
|
15
|
+
}
|
|
12
16
|
declare module '@atcute/lexicons/ambient' {
|
|
13
17
|
interface XRPCProcedures {
|
|
14
18
|
'app.bsky.notification.putPreferences': mainSchema;
|
|
@@ -12,6 +12,10 @@ type main$schematype = typeof _mainSchema;
|
|
|
12
12
|
export interface mainSchema extends main$schematype {
|
|
13
13
|
}
|
|
14
14
|
export declare const mainSchema: mainSchema;
|
|
15
|
+
export interface $params {
|
|
16
|
+
}
|
|
17
|
+
export interface $input extends v.InferXRPCBodyInput<mainSchema['input']> {
|
|
18
|
+
}
|
|
15
19
|
declare module '@atcute/lexicons/ambient' {
|
|
16
20
|
interface XRPCProcedures {
|
|
17
21
|
'app.bsky.notification.registerPush': mainSchema;
|
|
@@ -9,6 +9,10 @@ type main$schematype = typeof _mainSchema;
|
|
|
9
9
|
export interface mainSchema extends main$schematype {
|
|
10
10
|
}
|
|
11
11
|
export declare const mainSchema: mainSchema;
|
|
12
|
+
export interface $params {
|
|
13
|
+
}
|
|
14
|
+
export interface $input extends v.InferXRPCBodyInput<mainSchema['input']> {
|
|
15
|
+
}
|
|
12
16
|
declare module '@atcute/lexicons/ambient' {
|
|
13
17
|
interface XRPCProcedures {
|
|
14
18
|
'app.bsky.notification.updateSeen': mainSchema;
|
|
@@ -21,6 +21,10 @@ export declare const liveNowConfigSchema: liveNowConfigSchema;
|
|
|
21
21
|
export declare const mainSchema: mainSchema;
|
|
22
22
|
export interface LiveNowConfig extends v.InferInput<typeof liveNowConfigSchema> {
|
|
23
23
|
}
|
|
24
|
+
export interface $params {
|
|
25
|
+
}
|
|
26
|
+
export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {
|
|
27
|
+
}
|
|
24
28
|
declare module '@atcute/lexicons/ambient' {
|
|
25
29
|
interface XRPCQueries {
|
|
26
30
|
'app.bsky.unspecced.getConfig': mainSchema;
|
|
@@ -15,6 +15,10 @@ type main$schematype = typeof _mainSchema;
|
|
|
15
15
|
export interface mainSchema extends main$schematype {
|
|
16
16
|
}
|
|
17
17
|
export declare const mainSchema: mainSchema;
|
|
18
|
+
export interface $params extends v.InferInput<mainSchema['params']> {
|
|
19
|
+
}
|
|
20
|
+
export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {
|
|
21
|
+
}
|
|
18
22
|
declare module '@atcute/lexicons/ambient' {
|
|
19
23
|
interface XRPCQueries {
|
|
20
24
|
'app.bsky.unspecced.getPopularFeedGenerators': mainSchema;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
import * as AppBskyFeedDefs from '../feed/defs.js';
|
|
3
|
+
declare const _mainSchema: v.XRPCQueryMetadata<v.ObjectSchema<{
|
|
4
|
+
anchor: v.FormattedStringSchema<"at-uri">;
|
|
5
|
+
}>, {
|
|
6
|
+
type: "lex";
|
|
7
|
+
schema: v.ObjectSchema<{
|
|
8
|
+
readonly thread: v.ArraySchema<threadHiddenItemSchema>;
|
|
9
|
+
}>;
|
|
10
|
+
}, "app.bsky.unspecced.getPostThreadHiddenV2">;
|
|
11
|
+
declare const _threadHiddenItemSchema: v.ObjectSchema<{
|
|
12
|
+
$type: v.OptionalSchema<v.LiteralSchema<"app.bsky.unspecced.getPostThreadHiddenV2#threadHiddenItem">, undefined>;
|
|
13
|
+
depth: v.IntegerSchema;
|
|
14
|
+
uri: v.FormattedStringSchema<"at-uri">;
|
|
15
|
+
readonly value: v.VariantSchema<readonly [threadHiddenItemPostSchema], boolean>;
|
|
16
|
+
}>;
|
|
17
|
+
declare const _threadHiddenItemPostSchema: v.ObjectSchema<{
|
|
18
|
+
$type: v.OptionalSchema<v.LiteralSchema<"app.bsky.unspecced.getPostThreadHiddenV2#threadHiddenItemPost">, undefined>;
|
|
19
|
+
hiddenByThreadgate: v.BooleanSchema;
|
|
20
|
+
mutedByViewer: v.BooleanSchema;
|
|
21
|
+
readonly post: AppBskyFeedDefs.postViewSchema;
|
|
22
|
+
}>;
|
|
23
|
+
type main$schematype = typeof _mainSchema;
|
|
24
|
+
type threadHiddenItem$schematype = typeof _threadHiddenItemSchema;
|
|
25
|
+
type threadHiddenItemPost$schematype = typeof _threadHiddenItemPostSchema;
|
|
26
|
+
export interface mainSchema extends main$schematype {
|
|
27
|
+
}
|
|
28
|
+
export interface threadHiddenItemSchema extends threadHiddenItem$schematype {
|
|
29
|
+
}
|
|
30
|
+
export interface threadHiddenItemPostSchema extends threadHiddenItemPost$schematype {
|
|
31
|
+
}
|
|
32
|
+
export declare const mainSchema: mainSchema;
|
|
33
|
+
export declare const threadHiddenItemSchema: threadHiddenItemSchema;
|
|
34
|
+
export declare const threadHiddenItemPostSchema: threadHiddenItemPostSchema;
|
|
35
|
+
export interface ThreadHiddenItem extends v.InferInput<typeof threadHiddenItemSchema> {
|
|
36
|
+
}
|
|
37
|
+
export interface ThreadHiddenItemPost extends v.InferInput<typeof threadHiddenItemPostSchema> {
|
|
38
|
+
}
|
|
39
|
+
export interface $params extends v.InferInput<mainSchema['params']> {
|
|
40
|
+
}
|
|
41
|
+
export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {
|
|
42
|
+
}
|
|
43
|
+
declare module '@atcute/lexicons/ambient' {
|
|
44
|
+
interface XRPCQueries {
|
|
45
|
+
'app.bsky.unspecced.getPostThreadHiddenV2': mainSchema;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
import * as AppBskyFeedDefs from '../feed/defs.js';
|
|
3
|
+
const _mainSchema = /*#__PURE__*/ v.query('app.bsky.unspecced.getPostThreadHiddenV2', {
|
|
4
|
+
params: /*#__PURE__*/ v.object({
|
|
5
|
+
anchor: /*#__PURE__*/ v.resourceUriString(),
|
|
6
|
+
}),
|
|
7
|
+
output: {
|
|
8
|
+
type: 'lex',
|
|
9
|
+
schema: /*#__PURE__*/ v.object({
|
|
10
|
+
get thread() {
|
|
11
|
+
return /*#__PURE__*/ v.array(threadHiddenItemSchema);
|
|
12
|
+
},
|
|
13
|
+
}),
|
|
14
|
+
},
|
|
15
|
+
});
|
|
16
|
+
const _threadHiddenItemSchema = /*#__PURE__*/ v.object({
|
|
17
|
+
$type: /*#__PURE__*/ v.optional(
|
|
18
|
+
/*#__PURE__*/ v.literal('app.bsky.unspecced.getPostThreadHiddenV2#threadHiddenItem')),
|
|
19
|
+
depth: /*#__PURE__*/ v.integer(),
|
|
20
|
+
uri: /*#__PURE__*/ v.resourceUriString(),
|
|
21
|
+
get value() {
|
|
22
|
+
return /*#__PURE__*/ v.variant([threadHiddenItemPostSchema]);
|
|
23
|
+
},
|
|
24
|
+
});
|
|
25
|
+
const _threadHiddenItemPostSchema = /*#__PURE__*/ v.object({
|
|
26
|
+
$type: /*#__PURE__*/ v.optional(
|
|
27
|
+
/*#__PURE__*/ v.literal('app.bsky.unspecced.getPostThreadHiddenV2#threadHiddenItemPost')),
|
|
28
|
+
hiddenByThreadgate: /*#__PURE__*/ v.boolean(),
|
|
29
|
+
mutedByViewer: /*#__PURE__*/ v.boolean(),
|
|
30
|
+
get post() {
|
|
31
|
+
return AppBskyFeedDefs.postViewSchema;
|
|
32
|
+
},
|
|
33
|
+
});
|
|
34
|
+
export const mainSchema = _mainSchema;
|
|
35
|
+
export const threadHiddenItemSchema = _threadHiddenItemSchema;
|
|
36
|
+
export const threadHiddenItemPostSchema = _threadHiddenItemPostSchema;
|
|
37
|
+
//# sourceMappingURL=getPostThreadHiddenV2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getPostThreadHiddenV2.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/app/bsky/unspecced/getPostThreadHiddenV2.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,eAAe,MAAM,iBAAiB,CAAC;AAEnD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,0CAA0C,EAAE;IACrF,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;QAC9B,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,iBAAiB,EAAE;KAC3C,CAAC;IACF,MAAM,EAAE;QACP,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,IAAI,MAAM;gBACT,OAAO,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC;YACtD,CAAC;SACD,CAAC;KACF;CACD,CAAC,CAAC;AACH,MAAM,uBAAuB,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACtD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAC9B,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,2DAA2D,CAAC,CACpF;IACD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE;IAChC,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,iBAAiB,EAAE;IACxC,IAAI,KAAK;QACR,OAAO,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,0BAA0B,CAAC,CAAC,CAAC;IAC9D,CAAC;CACD,CAAC,CAAC;AACH,MAAM,2BAA2B,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAC1D,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAC9B,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,+DAA+D,CAAC,CACxF;IACD,kBAAkB,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE;IAC7C,aAAa,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE;IACxC,IAAI,IAAI;QACP,OAAO,eAAe,CAAC,cAAc,CAAC;IACvC,CAAC;CACD,CAAC,CAAC;AAUH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC;AACpD,MAAM,CAAC,MAAM,sBAAsB,GAAG,uBAAiD,CAAC;AACxF,MAAM,CAAC,MAAM,0BAA0B,GAAG,2BAAyD,CAAC"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
import * as AppBskyFeedDefs from '../feed/defs.js';
|
|
3
|
+
declare const _mainSchema: v.XRPCQueryMetadata<v.ObjectSchema<{
|
|
4
|
+
above: v.OptionalSchema<v.BooleanSchema, true>;
|
|
5
|
+
anchor: v.FormattedStringSchema<"at-uri">;
|
|
6
|
+
below: v.OptionalSchema<v.SchemaWithConstraint<v.IntegerSchema, readonly [v.IntegerRangeConstraint<0, 20>]>, 6>;
|
|
7
|
+
branchingFactor: v.OptionalSchema<v.SchemaWithConstraint<v.IntegerSchema, readonly [v.IntegerRangeConstraint<0, 100>]>, 10>;
|
|
8
|
+
prioritizeFollowedUsers: v.OptionalSchema<v.BooleanSchema, false>;
|
|
9
|
+
sort: v.OptionalSchema<v.StringSchema<(string & {}) | "newest" | "oldest" | "top">, "oldest">;
|
|
10
|
+
}>, {
|
|
11
|
+
type: "lex";
|
|
12
|
+
schema: v.ObjectSchema<{
|
|
13
|
+
hasHiddenReplies: v.BooleanSchema;
|
|
14
|
+
readonly thread: v.ArraySchema<threadItemSchema>;
|
|
15
|
+
readonly threadgate: v.OptionalSchema<AppBskyFeedDefs.threadgateViewSchema, undefined>;
|
|
16
|
+
}>;
|
|
17
|
+
}, "app.bsky.unspecced.getPostThreadV2">;
|
|
18
|
+
declare const _threadItemSchema: v.ObjectSchema<{
|
|
19
|
+
$type: v.OptionalSchema<v.LiteralSchema<"app.bsky.unspecced.getPostThreadV2#threadItem">, undefined>;
|
|
20
|
+
depth: v.IntegerSchema;
|
|
21
|
+
uri: v.FormattedStringSchema<"at-uri">;
|
|
22
|
+
readonly value: v.VariantSchema<readonly [threadItemBlockedSchema, threadItemNoUnauthenticatedSchema, threadItemNotFoundSchema, threadItemPostSchema], boolean>;
|
|
23
|
+
}>;
|
|
24
|
+
declare const _threadItemBlockedSchema: v.ObjectSchema<{
|
|
25
|
+
$type: v.OptionalSchema<v.LiteralSchema<"app.bsky.unspecced.getPostThreadV2#threadItemBlocked">, undefined>;
|
|
26
|
+
readonly author: AppBskyFeedDefs.blockedAuthorSchema;
|
|
27
|
+
}>;
|
|
28
|
+
declare const _threadItemNoUnauthenticatedSchema: v.ObjectSchema<{
|
|
29
|
+
$type: v.OptionalSchema<v.LiteralSchema<"app.bsky.unspecced.getPostThreadV2#threadItemNoUnauthenticated">, undefined>;
|
|
30
|
+
}>;
|
|
31
|
+
declare const _threadItemNotFoundSchema: v.ObjectSchema<{
|
|
32
|
+
$type: v.OptionalSchema<v.LiteralSchema<"app.bsky.unspecced.getPostThreadV2#threadItemNotFound">, undefined>;
|
|
33
|
+
}>;
|
|
34
|
+
declare const _threadItemPostSchema: v.ObjectSchema<{
|
|
35
|
+
$type: v.OptionalSchema<v.LiteralSchema<"app.bsky.unspecced.getPostThreadV2#threadItemPost">, undefined>;
|
|
36
|
+
moreParents: v.BooleanSchema;
|
|
37
|
+
moreReplies: v.IntegerSchema;
|
|
38
|
+
opThread: v.BooleanSchema;
|
|
39
|
+
readonly post: AppBskyFeedDefs.postViewSchema;
|
|
40
|
+
}>;
|
|
41
|
+
type main$schematype = typeof _mainSchema;
|
|
42
|
+
type threadItem$schematype = typeof _threadItemSchema;
|
|
43
|
+
type threadItemBlocked$schematype = typeof _threadItemBlockedSchema;
|
|
44
|
+
type threadItemNoUnauthenticated$schematype = typeof _threadItemNoUnauthenticatedSchema;
|
|
45
|
+
type threadItemNotFound$schematype = typeof _threadItemNotFoundSchema;
|
|
46
|
+
type threadItemPost$schematype = typeof _threadItemPostSchema;
|
|
47
|
+
export interface mainSchema extends main$schematype {
|
|
48
|
+
}
|
|
49
|
+
export interface threadItemSchema extends threadItem$schematype {
|
|
50
|
+
}
|
|
51
|
+
export interface threadItemBlockedSchema extends threadItemBlocked$schematype {
|
|
52
|
+
}
|
|
53
|
+
export interface threadItemNoUnauthenticatedSchema extends threadItemNoUnauthenticated$schematype {
|
|
54
|
+
}
|
|
55
|
+
export interface threadItemNotFoundSchema extends threadItemNotFound$schematype {
|
|
56
|
+
}
|
|
57
|
+
export interface threadItemPostSchema extends threadItemPost$schematype {
|
|
58
|
+
}
|
|
59
|
+
export declare const mainSchema: mainSchema;
|
|
60
|
+
export declare const threadItemSchema: threadItemSchema;
|
|
61
|
+
export declare const threadItemBlockedSchema: threadItemBlockedSchema;
|
|
62
|
+
export declare const threadItemNoUnauthenticatedSchema: threadItemNoUnauthenticatedSchema;
|
|
63
|
+
export declare const threadItemNotFoundSchema: threadItemNotFoundSchema;
|
|
64
|
+
export declare const threadItemPostSchema: threadItemPostSchema;
|
|
65
|
+
export interface ThreadItem extends v.InferInput<typeof threadItemSchema> {
|
|
66
|
+
}
|
|
67
|
+
export interface ThreadItemBlocked extends v.InferInput<typeof threadItemBlockedSchema> {
|
|
68
|
+
}
|
|
69
|
+
export interface ThreadItemNoUnauthenticated extends v.InferInput<typeof threadItemNoUnauthenticatedSchema> {
|
|
70
|
+
}
|
|
71
|
+
export interface ThreadItemNotFound extends v.InferInput<typeof threadItemNotFoundSchema> {
|
|
72
|
+
}
|
|
73
|
+
export interface ThreadItemPost extends v.InferInput<typeof threadItemPostSchema> {
|
|
74
|
+
}
|
|
75
|
+
export interface $params extends v.InferInput<mainSchema['params']> {
|
|
76
|
+
}
|
|
77
|
+
export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {
|
|
78
|
+
}
|
|
79
|
+
declare module '@atcute/lexicons/ambient' {
|
|
80
|
+
interface XRPCQueries {
|
|
81
|
+
'app.bsky.unspecced.getPostThreadV2': mainSchema;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
export {};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
import * as AppBskyFeedDefs from '../feed/defs.js';
|
|
3
|
+
const _mainSchema = /*#__PURE__*/ v.query('app.bsky.unspecced.getPostThreadV2', {
|
|
4
|
+
params: /*#__PURE__*/ v.object({
|
|
5
|
+
above: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean(), true),
|
|
6
|
+
anchor: /*#__PURE__*/ v.resourceUriString(),
|
|
7
|
+
below: /*#__PURE__*/ v.optional(
|
|
8
|
+
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(0, 20)]), 6),
|
|
9
|
+
branchingFactor: /*#__PURE__*/ v.optional(
|
|
10
|
+
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(0, 100)]), 10),
|
|
11
|
+
prioritizeFollowedUsers: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean(), false),
|
|
12
|
+
sort: /*#__PURE__*/ v.optional(
|
|
13
|
+
/*#__PURE__*/ v.string(), 'oldest'),
|
|
14
|
+
}),
|
|
15
|
+
output: {
|
|
16
|
+
type: 'lex',
|
|
17
|
+
schema: /*#__PURE__*/ v.object({
|
|
18
|
+
hasHiddenReplies: /*#__PURE__*/ v.boolean(),
|
|
19
|
+
get thread() {
|
|
20
|
+
return /*#__PURE__*/ v.array(threadItemSchema);
|
|
21
|
+
},
|
|
22
|
+
get threadgate() {
|
|
23
|
+
return /*#__PURE__*/ v.optional(AppBskyFeedDefs.threadgateViewSchema);
|
|
24
|
+
},
|
|
25
|
+
}),
|
|
26
|
+
},
|
|
27
|
+
});
|
|
28
|
+
const _threadItemSchema = /*#__PURE__*/ v.object({
|
|
29
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.unspecced.getPostThreadV2#threadItem')),
|
|
30
|
+
depth: /*#__PURE__*/ v.integer(),
|
|
31
|
+
uri: /*#__PURE__*/ v.resourceUriString(),
|
|
32
|
+
get value() {
|
|
33
|
+
return /*#__PURE__*/ v.variant([
|
|
34
|
+
threadItemBlockedSchema,
|
|
35
|
+
threadItemNoUnauthenticatedSchema,
|
|
36
|
+
threadItemNotFoundSchema,
|
|
37
|
+
threadItemPostSchema,
|
|
38
|
+
]);
|
|
39
|
+
},
|
|
40
|
+
});
|
|
41
|
+
const _threadItemBlockedSchema = /*#__PURE__*/ v.object({
|
|
42
|
+
$type: /*#__PURE__*/ v.optional(
|
|
43
|
+
/*#__PURE__*/ v.literal('app.bsky.unspecced.getPostThreadV2#threadItemBlocked')),
|
|
44
|
+
get author() {
|
|
45
|
+
return AppBskyFeedDefs.blockedAuthorSchema;
|
|
46
|
+
},
|
|
47
|
+
});
|
|
48
|
+
const _threadItemNoUnauthenticatedSchema = /*#__PURE__*/ v.object({
|
|
49
|
+
$type: /*#__PURE__*/ v.optional(
|
|
50
|
+
/*#__PURE__*/ v.literal('app.bsky.unspecced.getPostThreadV2#threadItemNoUnauthenticated')),
|
|
51
|
+
});
|
|
52
|
+
const _threadItemNotFoundSchema = /*#__PURE__*/ v.object({
|
|
53
|
+
$type: /*#__PURE__*/ v.optional(
|
|
54
|
+
/*#__PURE__*/ v.literal('app.bsky.unspecced.getPostThreadV2#threadItemNotFound')),
|
|
55
|
+
});
|
|
56
|
+
const _threadItemPostSchema = /*#__PURE__*/ v.object({
|
|
57
|
+
$type: /*#__PURE__*/ v.optional(
|
|
58
|
+
/*#__PURE__*/ v.literal('app.bsky.unspecced.getPostThreadV2#threadItemPost')),
|
|
59
|
+
moreParents: /*#__PURE__*/ v.boolean(),
|
|
60
|
+
moreReplies: /*#__PURE__*/ v.integer(),
|
|
61
|
+
opThread: /*#__PURE__*/ v.boolean(),
|
|
62
|
+
get post() {
|
|
63
|
+
return AppBskyFeedDefs.postViewSchema;
|
|
64
|
+
},
|
|
65
|
+
});
|
|
66
|
+
export const mainSchema = _mainSchema;
|
|
67
|
+
export const threadItemSchema = _threadItemSchema;
|
|
68
|
+
export const threadItemBlockedSchema = _threadItemBlockedSchema;
|
|
69
|
+
export const threadItemNoUnauthenticatedSchema = _threadItemNoUnauthenticatedSchema;
|
|
70
|
+
export const threadItemNotFoundSchema = _threadItemNotFoundSchema;
|
|
71
|
+
export const threadItemPostSchema = _threadItemPostSchema;
|
|
72
|
+
//# sourceMappingURL=getPostThreadV2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getPostThreadV2.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/app/bsky/unspecced/getPostThreadV2.ts"],"names":[],"mappings":"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"}
|
|
@@ -12,6 +12,10 @@ type main$schematype = typeof _mainSchema;
|
|
|
12
12
|
export interface mainSchema extends main$schematype {
|
|
13
13
|
}
|
|
14
14
|
export declare const mainSchema: mainSchema;
|
|
15
|
+
export interface $params extends v.InferInput<mainSchema['params']> {
|
|
16
|
+
}
|
|
17
|
+
export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {
|
|
18
|
+
}
|
|
15
19
|
declare module '@atcute/lexicons/ambient' {
|
|
16
20
|
interface XRPCQueries {
|
|
17
21
|
'app.bsky.unspecced.getSuggestedFeeds': mainSchema;
|
|
@@ -12,6 +12,10 @@ type main$schematype = typeof _mainSchema;
|
|
|
12
12
|
export interface mainSchema extends main$schematype {
|
|
13
13
|
}
|
|
14
14
|
export declare const mainSchema: mainSchema;
|
|
15
|
+
export interface $params extends v.InferInput<mainSchema['params']> {
|
|
16
|
+
}
|
|
17
|
+
export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {
|
|
18
|
+
}
|
|
15
19
|
declare module '@atcute/lexicons/ambient' {
|
|
16
20
|
interface XRPCQueries {
|
|
17
21
|
'app.bsky.unspecced.getSuggestedFeedsSkeleton': mainSchema;
|
|
@@ -12,6 +12,10 @@ type main$schematype = typeof _mainSchema;
|
|
|
12
12
|
export interface mainSchema extends main$schematype {
|
|
13
13
|
}
|
|
14
14
|
export declare const mainSchema: mainSchema;
|
|
15
|
+
export interface $params extends v.InferInput<mainSchema['params']> {
|
|
16
|
+
}
|
|
17
|
+
export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {
|
|
18
|
+
}
|
|
15
19
|
declare module '@atcute/lexicons/ambient' {
|
|
16
20
|
interface XRPCQueries {
|
|
17
21
|
'app.bsky.unspecced.getSuggestedStarterPacks': mainSchema;
|
|
@@ -12,6 +12,10 @@ type main$schematype = typeof _mainSchema;
|
|
|
12
12
|
export interface mainSchema extends main$schematype {
|
|
13
13
|
}
|
|
14
14
|
export declare const mainSchema: mainSchema;
|
|
15
|
+
export interface $params extends v.InferInput<mainSchema['params']> {
|
|
16
|
+
}
|
|
17
|
+
export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {
|
|
18
|
+
}
|
|
15
19
|
declare module '@atcute/lexicons/ambient' {
|
|
16
20
|
interface XRPCQueries {
|
|
17
21
|
'app.bsky.unspecced.getSuggestedStarterPacksSkeleton': mainSchema;
|
|
@@ -13,6 +13,10 @@ type main$schematype = typeof _mainSchema;
|
|
|
13
13
|
export interface mainSchema extends main$schematype {
|
|
14
14
|
}
|
|
15
15
|
export declare const mainSchema: mainSchema;
|
|
16
|
+
export interface $params extends v.InferInput<mainSchema['params']> {
|
|
17
|
+
}
|
|
18
|
+
export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {
|
|
19
|
+
}
|
|
16
20
|
declare module '@atcute/lexicons/ambient' {
|
|
17
21
|
interface XRPCQueries {
|
|
18
22
|
'app.bsky.unspecced.getSuggestedUsers': mainSchema;
|
|
@@ -13,6 +13,10 @@ type main$schematype = typeof _mainSchema;
|
|
|
13
13
|
export interface mainSchema extends main$schematype {
|
|
14
14
|
}
|
|
15
15
|
export declare const mainSchema: mainSchema;
|
|
16
|
+
export interface $params extends v.InferInput<mainSchema['params']> {
|
|
17
|
+
}
|
|
18
|
+
export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {
|
|
19
|
+
}
|
|
16
20
|
declare module '@atcute/lexicons/ambient' {
|
|
17
21
|
interface XRPCQueries {
|
|
18
22
|
'app.bsky.unspecced.getSuggestedUsersSkeleton': mainSchema;
|
|
@@ -18,6 +18,10 @@ type main$schematype = typeof _mainSchema;
|
|
|
18
18
|
export interface mainSchema extends main$schematype {
|
|
19
19
|
}
|
|
20
20
|
export declare const mainSchema: mainSchema;
|
|
21
|
+
export interface $params extends v.InferInput<mainSchema['params']> {
|
|
22
|
+
}
|
|
23
|
+
export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {
|
|
24
|
+
}
|
|
21
25
|
declare module '@atcute/lexicons/ambient' {
|
|
22
26
|
interface XRPCQueries {
|
|
23
27
|
'app.bsky.unspecced.getSuggestionsSkeleton': mainSchema;
|
|
@@ -21,6 +21,10 @@ export declare const mainSchema: mainSchema;
|
|
|
21
21
|
export declare const suggestionSchema: suggestionSchema;
|
|
22
22
|
export interface Suggestion extends v.InferInput<typeof suggestionSchema> {
|
|
23
23
|
}
|
|
24
|
+
export interface $params extends v.InferInput<mainSchema['params']> {
|
|
25
|
+
}
|
|
26
|
+
export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {
|
|
27
|
+
}
|
|
24
28
|
declare module '@atcute/lexicons/ambient' {
|
|
25
29
|
interface XRPCQueries {
|
|
26
30
|
'app.bsky.unspecced.getTaggedSuggestions': mainSchema;
|
|
@@ -14,6 +14,10 @@ type main$schematype = typeof _mainSchema;
|
|
|
14
14
|
export interface mainSchema extends main$schematype {
|
|
15
15
|
}
|
|
16
16
|
export declare const mainSchema: mainSchema;
|
|
17
|
+
export interface $params extends v.InferInput<mainSchema['params']> {
|
|
18
|
+
}
|
|
19
|
+
export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {
|
|
20
|
+
}
|
|
17
21
|
declare module '@atcute/lexicons/ambient' {
|
|
18
22
|
interface XRPCQueries {
|
|
19
23
|
'app.bsky.unspecced.getTrendingTopics': mainSchema;
|
|
@@ -12,6 +12,10 @@ type main$schematype = typeof _mainSchema;
|
|
|
12
12
|
export interface mainSchema extends main$schematype {
|
|
13
13
|
}
|
|
14
14
|
export declare const mainSchema: mainSchema;
|
|
15
|
+
export interface $params extends v.InferInput<mainSchema['params']> {
|
|
16
|
+
}
|
|
17
|
+
export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {
|
|
18
|
+
}
|
|
15
19
|
declare module '@atcute/lexicons/ambient' {
|
|
16
20
|
interface XRPCQueries {
|
|
17
21
|
'app.bsky.unspecced.getTrends': mainSchema;
|
|
@@ -13,6 +13,10 @@ type main$schematype = typeof _mainSchema;
|
|
|
13
13
|
export interface mainSchema extends main$schematype {
|
|
14
14
|
}
|
|
15
15
|
export declare const mainSchema: mainSchema;
|
|
16
|
+
export interface $params extends v.InferInput<mainSchema['params']> {
|
|
17
|
+
}
|
|
18
|
+
export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {
|
|
19
|
+
}
|
|
16
20
|
declare module '@atcute/lexicons/ambient' {
|
|
17
21
|
interface XRPCQueries {
|
|
18
22
|
'app.bsky.unspecced.getTrendsSkeleton': mainSchema;
|
|
@@ -18,6 +18,10 @@ type main$schematype = typeof _mainSchema;
|
|
|
18
18
|
export interface mainSchema extends main$schematype {
|
|
19
19
|
}
|
|
20
20
|
export declare const mainSchema: mainSchema;
|
|
21
|
+
export interface $params extends v.InferInput<mainSchema['params']> {
|
|
22
|
+
}
|
|
23
|
+
export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {
|
|
24
|
+
}
|
|
21
25
|
declare module '@atcute/lexicons/ambient' {
|
|
22
26
|
interface XRPCQueries {
|
|
23
27
|
'app.bsky.unspecced.searchActorsSkeleton': mainSchema;
|
|
@@ -26,6 +26,10 @@ type main$schematype = typeof _mainSchema;
|
|
|
26
26
|
export interface mainSchema extends main$schematype {
|
|
27
27
|
}
|
|
28
28
|
export declare const mainSchema: mainSchema;
|
|
29
|
+
export interface $params extends v.InferInput<mainSchema['params']> {
|
|
30
|
+
}
|
|
31
|
+
export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {
|
|
32
|
+
}
|
|
29
33
|
declare module '@atcute/lexicons/ambient' {
|
|
30
34
|
interface XRPCQueries {
|
|
31
35
|
'app.bsky.unspecced.searchPostsSkeleton': mainSchema;
|
|
@@ -17,6 +17,10 @@ type main$schematype = typeof _mainSchema;
|
|
|
17
17
|
export interface mainSchema extends main$schematype {
|
|
18
18
|
}
|
|
19
19
|
export declare const mainSchema: mainSchema;
|
|
20
|
+
export interface $params extends v.InferInput<mainSchema['params']> {
|
|
21
|
+
}
|
|
22
|
+
export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {
|
|
23
|
+
}
|
|
20
24
|
declare module '@atcute/lexicons/ambient' {
|
|
21
25
|
interface XRPCQueries {
|
|
22
26
|
'app.bsky.unspecced.searchStarterPacksSkeleton': mainSchema;
|
|
@@ -12,6 +12,10 @@ type main$schematype = typeof _mainSchema;
|
|
|
12
12
|
export interface mainSchema extends main$schematype {
|
|
13
13
|
}
|
|
14
14
|
export declare const mainSchema: mainSchema;
|
|
15
|
+
export interface $params extends v.InferInput<mainSchema['params']> {
|
|
16
|
+
}
|
|
17
|
+
export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {
|
|
18
|
+
}
|
|
15
19
|
declare module '@atcute/lexicons/ambient' {
|
|
16
20
|
interface XRPCQueries {
|
|
17
21
|
'app.bsky.video.getJobStatus': mainSchema;
|