lexicon: maximum report "reason" length of 1000 chars (graphemes) (#1171)
* 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:
parent
ea04096b02
commit
ec0dfdc8f5
lexicons/com/atproto/moderation
packages
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user