mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 01:16:19 +00:00
streams: Add can_administer_channel_group as a stream setting.
We have not added current user as the default for new channels in this commit.
This commit is contained in:
committed by
Tim Abbott
parent
44b498f96b
commit
eb943d54a9
@@ -150,6 +150,7 @@ class RawStreamDict(TypedDict):
|
||||
are needed to encode the stream for the API.
|
||||
"""
|
||||
|
||||
can_administer_channel_group_id: int
|
||||
can_remove_subscribers_group_id: int
|
||||
creator_id: int | None
|
||||
date_created: datetime
|
||||
@@ -192,6 +193,7 @@ class SubscriptionStreamDict(TypedDict):
|
||||
"""
|
||||
|
||||
audible_notifications: bool | None
|
||||
can_administer_channel_group: int | AnonymousSettingGroupDict
|
||||
can_remove_subscribers_group: int | AnonymousSettingGroupDict
|
||||
color: str
|
||||
creator_id: int | None
|
||||
@@ -222,6 +224,7 @@ class SubscriptionStreamDict(TypedDict):
|
||||
|
||||
class NeverSubscribedStreamDict(TypedDict):
|
||||
is_archived: bool
|
||||
can_administer_channel_group: int | AnonymousSettingGroupDict
|
||||
can_remove_subscribers_group: int | AnonymousSettingGroupDict
|
||||
creator_id: int | None
|
||||
date_created: int
|
||||
@@ -248,6 +251,7 @@ class DefaultStreamDict(TypedDict):
|
||||
"""
|
||||
|
||||
is_archived: bool
|
||||
can_administer_channel_group: int | AnonymousSettingGroupDict
|
||||
can_remove_subscribers_group: int | AnonymousSettingGroupDict
|
||||
creator_id: int | None
|
||||
date_created: int
|
||||
|
||||
Reference in New Issue
Block a user