Cleanup - unused files / unused exports / duplicate exports
[ProtonMail-WebClient.git] / packages / shared / lib / interfaces / Group.ts
blobbcc8bceee1fbff1fb685deb8ac9e56ad5d69f0a2
1 import type { Address } from './Address';
3 export enum GroupPermissions {
4     NobodyCanSend = 0,
5     GroupMembersCanSend = 1,
6     OrgMembersCanSend = 2,
7     EveryoneCanSend = 3,
10 export enum GroupFlags {
11     None = 0,
14 export enum GroupMemberType {
15     Internal = 0,
16     External = 1,
19 export interface ProxyInstances {
20     PgpVersion: number;
21     GroupAddressKeyFingerprint: string;
22     GroupMemberAddressKeyFingerprint: string;
23     ProxyParam: string;
26 export interface Group {
27     ID: string;
28     Name: string;
29     Description: string;
30     Address: Address | { Email: string; ID?: string };
31     CreateTime?: number;
32     Permissions?: GroupPermissions;
33     Flags?: GroupFlags;
34     MemberCount?: number;