lexicon: maximum report "reason" length of 1000 chars (graphemes) ()

* lexicon: maximum report length of 500 chars (graphemes)

* lexicon: bump maximum report size to 1000 chars

* lexicon: bump max report size again to 2k graphemes

* make codegen
This commit is contained in:
bnewbold 2023-10-30 09:28:42 -07:00 committed by GitHub
parent ea04096b02
commit ec0dfdc8f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 1 deletions
lexicons/com/atproto/moderation
packages
api/src/client
bsky/src/lexicon

@ -43,7 +43,11 @@
"type": "ref",
"ref": "com.atproto.moderation.defs#reasonType"
},
"reason": { "type": "string" },
"reason": {
"type": "string",
"maxGraphemes": 2000,
"maxLength": 20000
},
"subject": {
"type": "union",
"refs": [

@ -1632,6 +1632,8 @@ export const schemaDict = {
},
reason: {
type: 'string',
maxGraphemes: 2000,
maxLength: 20000,
},
subject: {
type: 'union',

@ -1632,6 +1632,8 @@ export const schemaDict = {
},
reason: {
type: 'string',
maxGraphemes: 2000,
maxLength: 20000,
},
subject: {
type: 'union',