Skip to content

Commit

Permalink
Remove what seems to be cruft from Lexicon types (bluesky-social#1202)
Browse files Browse the repository at this point in the history
lexicon: remove 'infos' field from subscriptions

This is unused in any current lexicons, and not actually implemented
anywhere in code. We refactored "info" messages in to regular messages
within a union.
  • Loading branch information
bnewbold authored Jun 19, 2023
1 parent ffc6451 commit 6a1b24f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/lexicon/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,6 @@ export const lexXrpcSubscription = z
description: z.string().optional(),
parameters: lexXrpcParameters.optional(),
message: lexXrpcSubscriptionMessage.optional(),
infos: lexXrpcError.array().optional(),
errors: lexXrpcError.array().optional(),
})
.strict()
Expand Down

0 comments on commit 6a1b24f

Please sign in to comment.