Skip to content

Commit

Permalink
lex: tweak deprecation note (#2222)
Browse files Browse the repository at this point in the history
* lex: tweak deprecation note

The motivation with this is that the docs site hides deprecated
endpoint, and the behavior was updated to only do this when
"deprecation" is the first word of the description (to avoid hiding some
endpoints which just talk about deprecation).

* make codegen
  • Loading branch information
bnewbold authored Feb 23, 2024
1 parent 0c815b9 commit d643b5b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lexicons/com/atproto/temp/fetchLabels.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"defs": {
"main": {
"type": "query",
"description": "Fetch all labels from a labeler created after a certain date. DEPRECATED: use queryLabels or subscribeLabels instead",
"description": "DEPRECATED: use queryLabels or subscribeLabels instead -- Fetch all labels from a labeler created after a certain date.",
"parameters": {
"type": "params",
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion packages/api/src/client/lexicons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4867,7 +4867,7 @@ export const schemaDict = {
main: {
type: 'query',
description:
'Fetch all labels from a labeler created after a certain date. DEPRECATED: use queryLabels or subscribeLabels instead',
'DEPRECATED: use queryLabels or subscribeLabels instead -- Fetch all labels from a labeler created after a certain date.',
parameters: {
type: 'params',
properties: {
Expand Down
2 changes: 1 addition & 1 deletion packages/bsky/src/lexicon/lexicons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4867,7 +4867,7 @@ export const schemaDict = {
main: {
type: 'query',
description:
'Fetch all labels from a labeler created after a certain date. DEPRECATED: use queryLabels or subscribeLabels instead',
'DEPRECATED: use queryLabels or subscribeLabels instead -- Fetch all labels from a labeler created after a certain date.',
parameters: {
type: 'params',
properties: {
Expand Down
2 changes: 1 addition & 1 deletion packages/ozone/src/lexicon/lexicons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4867,7 +4867,7 @@ export const schemaDict = {
main: {
type: 'query',
description:
'Fetch all labels from a labeler created after a certain date. DEPRECATED: use queryLabels or subscribeLabels instead',
'DEPRECATED: use queryLabels or subscribeLabels instead -- Fetch all labels from a labeler created after a certain date.',
parameters: {
type: 'params',
properties: {
Expand Down
2 changes: 1 addition & 1 deletion packages/pds/src/lexicon/lexicons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4867,7 +4867,7 @@ export const schemaDict = {
main: {
type: 'query',
description:
'Fetch all labels from a labeler created after a certain date. DEPRECATED: use queryLabels or subscribeLabels instead',
'DEPRECATED: use queryLabels or subscribeLabels instead -- Fetch all labels from a labeler created after a certain date.',
parameters: {
type: 'params',
properties: {
Expand Down

0 comments on commit d643b5b

Please sign in to comment.