stream interface, data handling logic

This commit is contained in:
Rupenieks
2020-05-19 15:19:35 +02:00
parent 6e0a8a143a
commit 110f368bca
4 changed files with 248 additions and 57 deletions

View File

@@ -0,0 +1,20 @@
export interface IStream {
subscriptions?: [{}];
invite_only?: boolean;
principals?: string[];
authorization_errors_fatal?: boolean;
history_public_to_subscribers?: boolean;
stream_post_policy?: number;
announce?: boolean;
include_public?: boolean;
include_subscribed?: boolean;
include_all_active?: boolean;
include_default?: boolean;
include_owner_subscribed?: boolean;
include_subscribers?: boolean;
description?: string;
new_name?: string;
is_private?: boolean;
is_announcement_only?: boolean;
}