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 16, 2025
1 parent 45b33be commit bbd5094
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
16 changes: 16 additions & 0 deletions bluesky/api/bluesky.api
Original file line number Diff line number Diff line change
Expand Up @@ -10294,6 +10294,22 @@ public final class com/atproto/label/SubscribeLabelsQueryParams$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}

public final class com/atproto/lexicon/Schema {
public static final field Companion Lcom/atproto/lexicon/Schema$Companion;
public fun <init> (J)V
public final fun component1 ()J
public final fun copy (J)Lcom/atproto/lexicon/Schema;
public static synthetic fun copy$default (Lcom/atproto/lexicon/Schema;JILjava/lang/Object;)Lcom/atproto/lexicon/Schema;
public fun equals (Ljava/lang/Object;)Z
public final fun getLexicon ()J
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}

public final class com/atproto/lexicon/Schema$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}

public final class com/atproto/moderation/CreateReportRequest {
public static final field Companion Lcom/atproto/moderation/CreateReportRequest$Companion;
public fun <init> (Lcom/atproto/moderation/Token;Ljava/lang/String;Lcom/atproto/moderation/CreateReportRequestSubjectUnion;)V
Expand Down
21 changes: 21 additions & 0 deletions lexicons/schemas/com/atproto/lexicon/schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"lexicon": 1,
"id": "com.atproto.lexicon.schema",
"defs": {
"main": {
"type": "record",
"description": "Representation of Lexicon schemas themselves, when published as atproto records. Note that the schema language is not defined in Lexicon; this meta schema currently only includes a single version field ('lexicon'). See the atproto specifications for description of the other expected top-level fields ('id', 'defs', etc).",
"key": "nsid",
"record": {
"type": "object",
"required": ["lexicon"],
"properties": {
"lexicon": {
"type": "integer",
"description": "Indicates the 'version' of the Lexicon language. Must be '1' for the current atproto/Lexicon schema system."
}
}
}
}
}
}

0 comments on commit bbd5094

Please sign in to comment.