diff --git a/lexicons/com/atproto/sync/getRecord.json b/lexicons/com/atproto/sync/getRecord.json index 718245a5195..c2bbbaa7868 100644 --- a/lexicons/com/atproto/sync/getRecord.json +++ b/lexicons/com/atproto/sync/getRecord.json @@ -19,7 +19,7 @@ "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/bsky/src/lexicon/lexicons.ts b/packages/bsky/src/lexicon/lexicons.ts index 720d6658fdd..147772cb32e 100644 --- a/packages/bsky/src/lexicon/lexicons.ts +++ b/packages/bsky/src/lexicon/lexicons.ts @@ -3052,7 +3052,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/bsky/src/lexicon/types/com/atproto/sync/getRecord.ts b/packages/bsky/src/lexicon/types/com/atproto/sync/getRecord.ts index c78ff8c2089..01bebb7e582 100644 --- a/packages/bsky/src/lexicon/types/com/atproto/sync/getRecord.ts +++ b/packages/bsky/src/lexicon/types/com/atproto/sync/getRecord.ts @@ -15,7 +15,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/ozone/src/lexicon/lexicons.ts b/packages/ozone/src/lexicon/lexicons.ts index ba51eb63aa2..ab8be8ab750 100644 --- a/packages/ozone/src/lexicon/lexicons.ts +++ b/packages/ozone/src/lexicon/lexicons.ts @@ -3052,7 +3052,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/ozone/src/lexicon/types/com/atproto/sync/getRecord.ts b/packages/ozone/src/lexicon/types/com/atproto/sync/getRecord.ts index c78ff8c2089..01bebb7e582 100644 --- a/packages/ozone/src/lexicon/types/com/atproto/sync/getRecord.ts +++ b/packages/ozone/src/lexicon/types/com/atproto/sync/getRecord.ts @@ -15,7 +15,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/pds/src/lexicon/lexicons.ts b/packages/pds/src/lexicon/lexicons.ts index ba51eb63aa2..ab8be8ab750 100644 --- a/packages/pds/src/lexicon/lexicons.ts +++ b/packages/pds/src/lexicon/lexicons.ts @@ -3052,7 +3052,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/pds/src/lexicon/types/com/atproto/sync/getRecord.ts b/packages/pds/src/lexicon/types/com/atproto/sync/getRecord.ts index c78ff8c2089..01bebb7e582 100644 --- a/packages/pds/src/lexicon/types/com/atproto/sync/getRecord.ts +++ b/packages/pds/src/lexicon/types/com/atproto/sync/getRecord.ts @@ -15,7 +15,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 }