mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 08:26:11 +00:00
streams: Add folder foreign key to Stream table.
This commit also adds "folder_id" field in stream and subscription objects. Fixes part of #31972.
This commit is contained in:
@@ -168,6 +168,7 @@ class RawStreamDict(TypedDict):
|
||||
deactivated: bool
|
||||
description: str
|
||||
first_message_id: int | None
|
||||
folder_id: int | None
|
||||
is_recently_active: bool
|
||||
history_public_to_subscribers: bool
|
||||
id: int
|
||||
@@ -216,6 +217,7 @@ class SubscriptionStreamDict(TypedDict):
|
||||
desktop_notifications: bool | None
|
||||
email_notifications: bool | None
|
||||
first_message_id: int | None
|
||||
folder_id: int | None
|
||||
is_recently_active: bool
|
||||
history_public_to_subscribers: bool
|
||||
in_home_view: bool
|
||||
@@ -248,6 +250,7 @@ class NeverSubscribedStreamDict(TypedDict):
|
||||
date_created: int
|
||||
description: str
|
||||
first_message_id: int | None
|
||||
folder_id: int | None
|
||||
is_recently_active: bool
|
||||
history_public_to_subscribers: bool
|
||||
invite_only: bool
|
||||
@@ -279,6 +282,7 @@ class DefaultStreamDict(TypedDict):
|
||||
date_created: int
|
||||
description: str
|
||||
first_message_id: int | None
|
||||
folder_id: int | None
|
||||
is_recently_active: bool
|
||||
history_public_to_subscribers: bool
|
||||
invite_only: bool
|
||||
|
||||
Reference in New Issue
Block a user