Methods
create
- create(name: string, participants: string[]): Promise<{
groupId: string;
name: string;
owner: { readonly id: string; };
participants: readonly string[];
}>
-
Parameters
-
name: string
-
participants: string[]
Returns Promise<{
groupId: string;
name: string;
owner: { readonly id: string; };
participants: readonly string[];
}>
delete
- delete(id: string): Promise<void>
-
Returns Promise<void>
fetch
- fetch(): Observable<{
groupId: string;
name: string;
owner: { readonly id: string; };
participants: readonly string[];
}[]>
-
Returns Observable<{
groupId: string;
name: string;
owner: { readonly id: string; };
participants: readonly string[];
}[]>
update
- update(id: string, name: string, participants: readonly string[]): Promise<{
groupId: string;
name: string;
owner: { readonly id: string; };
participants: readonly string[];
}>
-
Parameters
-
id: string
-
name: string
-
participants: readonly string[]
Returns Promise<{
groupId: string;
name: string;
owner: { readonly id: string; };
participants: readonly string[];
}>