UNPKG

@cause-911/management

Version:

Run `npm install @cause-911/management --save` to add this library to your project

15 lines (14 loc) 594 B
import { HttpClient } from '@angular/common/http'; import { Observable } from 'rxjs'; import { CoreService } from '@cause-911/core'; import { GroupModel } from '../models/group-model'; export declare class ManagementGroupService { private http; private config; constructor(coreService: CoreService, http: HttpClient); getAll(): Observable<GroupModel[]>; get(idGroup: string): Observable<GroupModel>; save(group: GroupModel): Observable<any>; delete(idGroup: string): Observable<any>; hasExistingGroupName(group: GroupModel): Observable<boolean>; }