Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Scheduled] Auto Mirror Lexicons #233

Merged
merged 1 commit into from
Apr 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions lexicons/app/bsky/actor/defs.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"handle": {"type": "string", "format": "handle"},
"displayName": {
"type": "string",
"maxLength": 64
"maxGraphemes": 64,
"maxLength": 640
},
"avatar": { "type": "string" },
"viewer": {"type": "ref", "ref": "#viewerState"}
Expand All @@ -25,11 +26,13 @@
"handle": {"type": "string", "format":"handle"},
"displayName": {
"type": "string",
"maxLength": 64
"maxGraphemes": 64,
"maxLength": 640
},
"description": {
"type": "string",
"maxLength": 256
"maxGraphemes": 256,
"maxLength": 2560
},
"avatar": { "type": "string" },
"indexedAt": {"type": "string", "format": "datetime"},
Expand All @@ -44,11 +47,13 @@
"handle": {"type": "string", "format": "handle"},
"displayName": {
"type": "string",
"maxLength": 64
"maxGraphemes": 64,
"maxLength": 640
},
"description": {
"type": "string",
"maxLength": 256
"maxGraphemes": 256,
"maxLength": 2560
},
"avatar": { "type": "string" },
"banner": { "type": "string" },
Expand Down
6 changes: 4 additions & 2 deletions lexicons/app/bsky/actor/profile.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@
"properties": {
"displayName": {
"type": "string",
"maxLength": 64
"maxGraphemes": 64,
"maxLength": 640
},
"description": {
"type": "string",
"maxLength": 256
"maxGraphemes": 256,
"maxLength": 2560
},
"avatar": {
"type": "blob",
Expand Down
5 changes: 3 additions & 2 deletions lexicons/com/atproto/repo/listRecords.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@
"repo": {"type": "string", "format": "at-identifier", "description": "The handle or DID of the repo."},
"collection": {"type": "string", "format": "nsid", "description": "The NSID of the record type."},
"limit": {"type": "integer", "minimum": 1, "maximum": 100, "default": 50, "description": "The number of records to return."},
"rkeyStart": {"type": "string", "description": "The lowest sort-ordered rkey to start from (exclusive)"},
"rkeyEnd": {"type": "string", "description": "The highest sort-ordered rkey to stop at (exclusive)"},
"cursor": {"type": "string"},
"rkeyStart": {"type": "string", "description": "DEPRECATED: The lowest sort-ordered rkey to start from (exclusive)"},
"rkeyEnd": {"type": "string", "description": "DEPRECATED: The highest sort-ordered rkey to stop at (exclusive)"},
"reverse": {"type": "boolean", "description": "Reverse the order of the returned records?"}
}
},
Expand Down
3 changes: 2 additions & 1 deletion lexicons/com/atproto/server/createSession.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"accessJwt": {"type": "string"},
"refreshJwt": {"type": "string"},
"handle": {"type": "string", "format": "handle"},
"did": {"type": "string", "format": "did"}
"did": {"type": "string", "format": "did"},
"email": {"type": "string"}
}
}
},
Expand Down
3 changes: 2 additions & 1 deletion lexicons/com/atproto/server/getSession.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"required": ["handle", "did"],
"properties": {
"handle": {"type": "string", "format": "handle"},
"did": {"type": "string", "format": "did"}
"did": {"type": "string", "format": "did"},
"email": {"type": "string"}
}
}
}
Expand Down