From 45b33bea9737263b7d0e5c71b7860f906de141d5 Mon Sep 17 00:00:00 2001 From: christiandeange Date: Tue, 14 Jan 2025 00:28:04 +0000 Subject: [PATCH] Update lexicons from atproto --- bluesky/api/bluesky.api | 30 +++++++++++-------- .../app/bsky/actor/getSuggestions.json | 4 +++ .../graph/getSuggestedFollowsByActor.json | 4 +++ .../unspecced/getSuggestionsSkeleton.json | 4 +++ 4 files changed, 30 insertions(+), 12 deletions(-) diff --git a/bluesky/api/bluesky.api b/bluesky/api/bluesky.api index 0da36c26..6b1679d0 100644 --- a/bluesky/api/bluesky.api +++ b/bluesky/api/bluesky.api @@ -286,15 +286,17 @@ public final class app/bsky/actor/GetSuggestionsQueryParams$Companion { public final class app/bsky/actor/GetSuggestionsResponse { public static final field Companion Lapp/bsky/actor/GetSuggestionsResponse$Companion; - public fun (Ljava/lang/String;Ljava/util/List;)V - public synthetic fun (Ljava/lang/String;Ljava/util/List;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Ljava/lang/String;Ljava/util/List;Ljava/lang/Long;)V + public synthetic fun (Ljava/lang/String;Ljava/util/List;Ljava/lang/Long;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ljava/lang/String; public final fun component2 ()Ljava/util/List; - public final fun copy (Ljava/lang/String;Ljava/util/List;)Lapp/bsky/actor/GetSuggestionsResponse; - public static synthetic fun copy$default (Lapp/bsky/actor/GetSuggestionsResponse;Ljava/lang/String;Ljava/util/List;ILjava/lang/Object;)Lapp/bsky/actor/GetSuggestionsResponse; + public final fun component3 ()Ljava/lang/Long; + public final fun copy (Ljava/lang/String;Ljava/util/List;Ljava/lang/Long;)Lapp/bsky/actor/GetSuggestionsResponse; + public static synthetic fun copy$default (Lapp/bsky/actor/GetSuggestionsResponse;Ljava/lang/String;Ljava/util/List;Ljava/lang/Long;ILjava/lang/Object;)Lapp/bsky/actor/GetSuggestionsResponse; public fun equals (Ljava/lang/Object;)Z public final fun getActors ()Ljava/util/List; public final fun getCursor ()Ljava/lang/String; + public final fun getRecId ()Ljava/lang/Long; public fun hashCode ()I public fun toString ()Ljava/lang/String; } @@ -5461,13 +5463,15 @@ public final class app/bsky/graph/GetSuggestedFollowsByActorQueryParams$Companio public final class app/bsky/graph/GetSuggestedFollowsByActorResponse { public static final field Companion Lapp/bsky/graph/GetSuggestedFollowsByActorResponse$Companion; - public fun (Ljava/util/List;Ljava/lang/Boolean;)V - public synthetic fun (Ljava/util/List;Ljava/lang/Boolean;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Ljava/util/List;Ljava/lang/Boolean;Ljava/lang/Long;)V + public synthetic fun (Ljava/util/List;Ljava/lang/Boolean;Ljava/lang/Long;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ljava/util/List; public final fun component2 ()Ljava/lang/Boolean; - public final fun copy (Ljava/util/List;Ljava/lang/Boolean;)Lapp/bsky/graph/GetSuggestedFollowsByActorResponse; - public static synthetic fun copy$default (Lapp/bsky/graph/GetSuggestedFollowsByActorResponse;Ljava/util/List;Ljava/lang/Boolean;ILjava/lang/Object;)Lapp/bsky/graph/GetSuggestedFollowsByActorResponse; + public final fun component3 ()Ljava/lang/Long; + public final fun copy (Ljava/util/List;Ljava/lang/Boolean;Ljava/lang/Long;)Lapp/bsky/graph/GetSuggestedFollowsByActorResponse; + public static synthetic fun copy$default (Lapp/bsky/graph/GetSuggestedFollowsByActorResponse;Ljava/util/List;Ljava/lang/Boolean;Ljava/lang/Long;ILjava/lang/Object;)Lapp/bsky/graph/GetSuggestedFollowsByActorResponse; public fun equals (Ljava/lang/Object;)Z + public final fun getRecId ()Ljava/lang/Long; public final fun getSuggestions ()Ljava/util/List; public fun hashCode ()I public final fun isFallback ()Ljava/lang/Boolean; @@ -6865,16 +6869,18 @@ public final class app/bsky/unspecced/GetSuggestionsSkeletonQueryParams$Companio public final class app/bsky/unspecced/GetSuggestionsSkeletonResponse { public static final field Companion Lapp/bsky/unspecced/GetSuggestionsSkeletonResponse$Companion; - public synthetic fun (Ljava/lang/String;Ljava/util/List;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/lang/Long;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/lang/Long;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ljava/lang/String; public final fun component2 ()Ljava/util/List; public final fun component3-68yuAGA ()Ljava/lang/String; - public final fun copy-ieLxZXs (Ljava/lang/String;Ljava/util/List;Ljava/lang/String;)Lapp/bsky/unspecced/GetSuggestionsSkeletonResponse; - public static synthetic fun copy-ieLxZXs$default (Lapp/bsky/unspecced/GetSuggestionsSkeletonResponse;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;ILjava/lang/Object;)Lapp/bsky/unspecced/GetSuggestionsSkeletonResponse; + public final fun component4 ()Ljava/lang/Long; + public final fun copy-6lKguXw (Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/lang/Long;)Lapp/bsky/unspecced/GetSuggestionsSkeletonResponse; + public static synthetic fun copy-6lKguXw$default (Lapp/bsky/unspecced/GetSuggestionsSkeletonResponse;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/lang/Long;ILjava/lang/Object;)Lapp/bsky/unspecced/GetSuggestionsSkeletonResponse; public fun equals (Ljava/lang/Object;)Z public final fun getActors ()Ljava/util/List; public final fun getCursor ()Ljava/lang/String; + public final fun getRecId ()Ljava/lang/Long; public final fun getRelativeToDid-68yuAGA ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; diff --git a/lexicons/schemas/app/bsky/actor/getSuggestions.json b/lexicons/schemas/app/bsky/actor/getSuggestions.json index 2004ae6f..31e52652 100644 --- a/lexicons/schemas/app/bsky/actor/getSuggestions.json +++ b/lexicons/schemas/app/bsky/actor/getSuggestions.json @@ -30,6 +30,10 @@ "type": "ref", "ref": "app.bsky.actor.defs#profileView" } + }, + "recId": { + "type": "integer", + "description": "Snowflake for this recommendation, use when submitting recommendation events." } } } diff --git a/lexicons/schemas/app/bsky/graph/getSuggestedFollowsByActor.json b/lexicons/schemas/app/bsky/graph/getSuggestedFollowsByActor.json index 49d6a0b2..454de154 100644 --- a/lexicons/schemas/app/bsky/graph/getSuggestedFollowsByActor.json +++ b/lexicons/schemas/app/bsky/graph/getSuggestedFollowsByActor.json @@ -29,6 +29,10 @@ "type": "boolean", "description": "If true, response has fallen-back to generic results, and is not scoped using relativeToDid", "default": false + }, + "recId": { + "type": "integer", + "description": "Snowflake for this recommendation, use when submitting recommendation events." } } } diff --git a/lexicons/schemas/app/bsky/unspecced/getSuggestionsSkeleton.json b/lexicons/schemas/app/bsky/unspecced/getSuggestionsSkeleton.json index 42edf3af..658f2a11 100644 --- a/lexicons/schemas/app/bsky/unspecced/getSuggestionsSkeleton.json +++ b/lexicons/schemas/app/bsky/unspecced/getSuggestionsSkeleton.json @@ -45,6 +45,10 @@ "type": "string", "format": "did", "description": "DID of the account these suggestions are relative to. If this is returned undefined, suggestions are based on the viewer." + }, + "recId": { + "type": "integer", + "description": "Snowflake for this recommendation, use when submitting recommendation events." } } }