Skip to content

Commit

Permalink
Update lexicons from atproto
Browse files Browse the repository at this point in the history
  • Loading branch information
christiandeange authored and github-actions[bot] committed Jan 4, 2025
1 parent a72a7e8 commit de13373
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 9 deletions.
22 changes: 13 additions & 9 deletions bluesky/api/bluesky.api
Original file line number Diff line number Diff line change
Expand Up @@ -16460,17 +16460,19 @@ public final class tools/ozone/moderation/ModEventTag$Companion {
public final class tools/ozone/moderation/ModEventTakedown {
public static final field Companion Ltools/ozone/moderation/ModEventTakedown$Companion;
public fun <init> ()V
public fun <init> (Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Boolean;)V
public synthetic fun <init> (Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Boolean;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public fun <init> (Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Boolean;Ljava/util/List;)V
public synthetic fun <init> (Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Boolean;Ljava/util/List;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun component1 ()Ljava/lang/String;
public final fun component2 ()Ljava/lang/Long;
public final fun component3 ()Ljava/lang/Boolean;
public final fun copy (Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Boolean;)Ltools/ozone/moderation/ModEventTakedown;
public static synthetic fun copy$default (Ltools/ozone/moderation/ModEventTakedown;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Boolean;ILjava/lang/Object;)Ltools/ozone/moderation/ModEventTakedown;
public final fun component4 ()Ljava/util/List;
public final fun copy (Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Boolean;Ljava/util/List;)Ltools/ozone/moderation/ModEventTakedown;
public static synthetic fun copy$default (Ltools/ozone/moderation/ModEventTakedown;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Boolean;Ljava/util/List;ILjava/lang/Object;)Ltools/ozone/moderation/ModEventTakedown;
public fun equals (Ljava/lang/Object;)Z
public final fun getAcknowledgeAccountSubjects ()Ljava/lang/Boolean;
public final fun getComment ()Ljava/lang/String;
public final fun getDurationInHours ()Ljava/lang/Long;
public final fun getPolicies ()Ljava/util/List;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
Expand Down Expand Up @@ -17974,8 +17976,8 @@ public final class tools/ozone/moderation/OpSerializer : kotlinx/serialization/K

public final class tools/ozone/moderation/QueryEventsQueryParams {
public static final field Companion Ltools/ozone/moderation/QueryEventsQueryParams$Companion;
public synthetic fun <init> (Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;Ljava/lang/String;Ljava/util/List;Ltools/ozone/moderation/QueryEventsSubjectType;Ljava/lang/Boolean;Ljava/lang/Long;Ljava/lang/Boolean;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public synthetic fun <init> (Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;Ljava/lang/String;Ljava/util/List;Ltools/ozone/moderation/QueryEventsSubjectType;Ljava/lang/Boolean;Ljava/lang/Long;Ljava/lang/Boolean;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
public synthetic fun <init> (Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;Ljava/lang/String;Ljava/util/List;Ltools/ozone/moderation/QueryEventsSubjectType;Ljava/lang/Boolean;Ljava/lang/Long;Ljava/lang/Boolean;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public synthetic fun <init> (Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;Ljava/lang/String;Ljava/util/List;Ltools/ozone/moderation/QueryEventsSubjectType;Ljava/lang/Boolean;Ljava/lang/Long;Ljava/lang/Boolean;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun asList ()Ljava/util/List;
public final fun component1 ()Ljava/util/List;
public final fun component10 ()Ljava/lang/Long;
Expand All @@ -17986,7 +17988,8 @@ public final class tools/ozone/moderation/QueryEventsQueryParams {
public final fun component15 ()Ljava/util/List;
public final fun component16 ()Ljava/util/List;
public final fun component17 ()Ljava/util/List;
public final fun component18 ()Ljava/lang/String;
public final fun component18 ()Ljava/util/List;
public final fun component19 ()Ljava/lang/String;
public final fun component2-68yuAGA ()Ljava/lang/String;
public final fun component3 ()Ljava/lang/String;
public final fun component4 ()Lkotlinx/datetime/Instant;
Expand All @@ -17995,8 +17998,8 @@ public final class tools/ozone/moderation/QueryEventsQueryParams {
public final fun component7 ()Ljava/util/List;
public final fun component8 ()Ltools/ozone/moderation/QueryEventsSubjectType;
public final fun component9 ()Ljava/lang/Boolean;
public final fun copy-1kN9m_U (Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;Ljava/lang/String;Ljava/util/List;Ltools/ozone/moderation/QueryEventsSubjectType;Ljava/lang/Boolean;Ljava/lang/Long;Ljava/lang/Boolean;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/lang/String;)Ltools/ozone/moderation/QueryEventsQueryParams;
public static synthetic fun copy-1kN9m_U$default (Ltools/ozone/moderation/QueryEventsQueryParams;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;Ljava/lang/String;Ljava/util/List;Ltools/ozone/moderation/QueryEventsSubjectType;Ljava/lang/Boolean;Ljava/lang/Long;Ljava/lang/Boolean;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/lang/String;ILjava/lang/Object;)Ltools/ozone/moderation/QueryEventsQueryParams;
public final fun copy-_1NeaXE (Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;Ljava/lang/String;Ljava/util/List;Ltools/ozone/moderation/QueryEventsSubjectType;Ljava/lang/Boolean;Ljava/lang/Long;Ljava/lang/Boolean;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/lang/String;)Ltools/ozone/moderation/QueryEventsQueryParams;
public static synthetic fun copy-_1NeaXE$default (Ltools/ozone/moderation/QueryEventsQueryParams;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;Ljava/lang/String;Ljava/util/List;Ltools/ozone/moderation/QueryEventsSubjectType;Ljava/lang/Boolean;Ljava/lang/Long;Ljava/lang/Boolean;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/lang/String;ILjava/lang/Object;)Ltools/ozone/moderation/QueryEventsQueryParams;
public fun equals (Ljava/lang/Object;)Z
public final fun getAddedLabels ()Ljava/util/List;
public final fun getAddedTags ()Ljava/util/List;
Expand All @@ -18009,6 +18012,7 @@ public final class tools/ozone/moderation/QueryEventsQueryParams {
public final fun getHasComment ()Ljava/lang/Boolean;
public final fun getIncludeAllUserRecords ()Ljava/lang/Boolean;
public final fun getLimit ()Ljava/lang/Long;
public final fun getPolicies ()Ljava/util/List;
public final fun getRemovedLabels ()Ljava/util/List;
public final fun getRemovedTags ()Ljava/util/List;
public final fun getReportTypes ()Ljava/util/List;
Expand Down
6 changes: 6 additions & 0 deletions lexicons/schemas/tools/ozone/moderation/defs.json
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,12 @@
"acknowledgeAccountSubjects": {
"type": "boolean",
"description": "If true, all other reports on content authored by this account will be resolved (acknowledged)."
},
"policies": {
"type": "array",
"maxLength": 5,
"items": { "type": "string" },
"description": "Names/Keywords of the policies that drove the decision."
}
}
},
Expand Down
7 changes: 7 additions & 0 deletions lexicons/schemas/tools/ozone/moderation/queryEvents.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,13 @@
"type": "string"
}
},
"policies": {
"type": "array",
"items": {
"type": "string",
"description": "If specified, only events where the action policies match any of the given policies are returned"
}
},
"cursor": {
"type": "string"
}
Expand Down

0 comments on commit de13373

Please sign in to comment.