Skip to content

Commit

Permalink
Add opened to chat.bsky.convo.defs#convoView (bluesky-social#2953)
Browse files Browse the repository at this point in the history
* Add convoView to chat.bsky.convo.defs#convoView

* Add changeset
  • Loading branch information
rafaelbsky authored Nov 8, 2024
1 parent b398276 commit 561431f
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/wise-coats-glow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@atproto/api": patch
---

Add convoView.opened to lexicon definition
1 change: 1 addition & 0 deletions lexicons/chat/bsky/convo/defs.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@
"refs": ["#messageView", "#deletedMessageView"]
},
"muted": { "type": "boolean" },
"opened": { "type": "boolean" },
"unreadCount": { "type": "integer" }
}
},
Expand Down
3 changes: 3 additions & 0 deletions packages/api/src/client/lexicons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9893,6 +9893,9 @@ export const schemaDict = {
muted: {
type: 'boolean',
},
opened: {
type: 'boolean',
},
unreadCount: {
type: 'integer',
},
Expand Down
1 change: 1 addition & 0 deletions packages/api/src/client/types/chat/bsky/convo/defs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ export interface ConvoView {
| DeletedMessageView
| { $type: string; [k: string]: unknown }
muted: boolean
opened?: boolean
unreadCount: number
[k: string]: unknown
}
Expand Down
3 changes: 3 additions & 0 deletions packages/bsky/src/lexicon/lexicons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9893,6 +9893,9 @@ export const schemaDict = {
muted: {
type: 'boolean',
},
opened: {
type: 'boolean',
},
unreadCount: {
type: 'integer',
},
Expand Down
1 change: 1 addition & 0 deletions packages/bsky/src/lexicon/types/chat/bsky/convo/defs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ export interface ConvoView {
| DeletedMessageView
| { $type: string; [k: string]: unknown }
muted: boolean
opened?: boolean
unreadCount: number
[k: string]: unknown
}
Expand Down
3 changes: 3 additions & 0 deletions packages/ozone/src/lexicon/lexicons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9893,6 +9893,9 @@ export const schemaDict = {
muted: {
type: 'boolean',
},
opened: {
type: 'boolean',
},
unreadCount: {
type: 'integer',
},
Expand Down
1 change: 1 addition & 0 deletions packages/ozone/src/lexicon/types/chat/bsky/convo/defs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ export interface ConvoView {
| DeletedMessageView
| { $type: string; [k: string]: unknown }
muted: boolean
opened?: boolean
unreadCount: number
[k: string]: unknown
}
Expand Down
3 changes: 3 additions & 0 deletions packages/pds/src/lexicon/lexicons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9893,6 +9893,9 @@ export const schemaDict = {
muted: {
type: 'boolean',
},
opened: {
type: 'boolean',
},
unreadCount: {
type: 'integer',
},
Expand Down
1 change: 1 addition & 0 deletions packages/pds/src/lexicon/types/chat/bsky/convo/defs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ export interface ConvoView {
| DeletedMessageView
| { $type: string; [k: string]: unknown }
muted: boolean
opened?: boolean
unreadCount: number
[k: string]: unknown
}
Expand Down

0 comments on commit 561431f

Please sign in to comment.