diff --git a/lexicons/com/atproto/moderation/createReport.json b/lexicons/com/atproto/moderation/createReport.json index f41d28d0b15..0b8d11f3ac9 100644 --- a/lexicons/com/atproto/moderation/createReport.json +++ b/lexicons/com/atproto/moderation/createReport.json @@ -18,6 +18,8 @@ }, "reason": { "type": "string", + "maxGraphemes": 2000, + "maxLength": 20000, "description": "Additional context about the content and violation." }, "subject": { diff --git a/packages/api/src/client/lexicons.ts b/packages/api/src/client/lexicons.ts index c30a2e1c882..3ee6eac1f20 100644 --- a/packages/api/src/client/lexicons.ts +++ b/packages/api/src/client/lexicons.ts @@ -1067,6 +1067,8 @@ export const schemaDict = { }, reason: { type: 'string', + maxGraphemes: 2000, + maxLength: 20000, description: 'Additional context about the content and violation.', }, @@ -3054,7 +3056,8 @@ export const schemaDict = { commit: { type: 'string', format: 'cid', - description: 'An optional past commit CID.', + description: + 'DEPRECATED: referenced a repo commit by CID, and retrieved record as of that commit', }, }, }, diff --git a/packages/api/src/client/types/com/atproto/sync/getRecord.ts b/packages/api/src/client/types/com/atproto/sync/getRecord.ts index 1fc9a94b406..d7b9c8920a6 100644 --- a/packages/api/src/client/types/com/atproto/sync/getRecord.ts +++ b/packages/api/src/client/types/com/atproto/sync/getRecord.ts @@ -13,7 +13,7 @@ export interface QueryParams { collection: string /** Record Key */ rkey: string - /** An optional past commit CID. */ + /** DEPRECATED: referenced a repo commit by CID, and retrieved record as of that commit */ commit?: string } diff --git a/packages/bsky/src/lexicon/lexicons.ts b/packages/bsky/src/lexicon/lexicons.ts index af4614f72ba..8b2e40bd723 100644 --- a/packages/bsky/src/lexicon/lexicons.ts +++ b/packages/bsky/src/lexicon/lexicons.ts @@ -1067,6 +1067,8 @@ export const schemaDict = { }, reason: { type: 'string', + maxGraphemes: 2000, + maxLength: 20000, description: 'Additional context about the content and violation.', }, diff --git a/packages/ozone/src/lexicon/lexicons.ts b/packages/ozone/src/lexicon/lexicons.ts index 45220154eb3..3ee6eac1f20 100644 --- a/packages/ozone/src/lexicon/lexicons.ts +++ b/packages/ozone/src/lexicon/lexicons.ts @@ -1067,6 +1067,8 @@ export const schemaDict = { }, reason: { type: 'string', + maxGraphemes: 2000, + maxLength: 20000, description: 'Additional context about the content and violation.', }, diff --git a/packages/pds/src/lexicon/lexicons.ts b/packages/pds/src/lexicon/lexicons.ts index 45220154eb3..3ee6eac1f20 100644 --- a/packages/pds/src/lexicon/lexicons.ts +++ b/packages/pds/src/lexicon/lexicons.ts @@ -1067,6 +1067,8 @@ export const schemaDict = { }, reason: { type: 'string', + maxGraphemes: 2000, + maxLength: 20000, description: 'Additional context about the content and violation.', },