mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
add endpoint to get document drafts
This commit is contained in:
@@ -9,6 +9,7 @@ import { AttendeesRemoveInputDTO } from '../dto/attendeeRemoveInputDTO';
|
||||
import { EventListOutputDTO } from '../dto/eventListDTOOutput';
|
||||
import { HttpService } from 'src/app/services/http.service';
|
||||
import { TracingType } from 'src/app/services/monitoring/opentelemetry/tracer';
|
||||
import { IGetDraftListByProcessIdOutput, IGetDraftListByProcessIdSchema } from '../../domain/usecase/getDraft-list-by-process-id.service';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root'
|
||||
@@ -130,4 +131,8 @@ export class AgendaDataService {
|
||||
async getSharedCalendar() {
|
||||
return await this.httpService.get<SharedCalendarListOutputDTO>(`${this.baseUrl}/Users/${SessionStore.user.UserId}/ShareCalendar`);
|
||||
}
|
||||
|
||||
async getDraftListByProcessId(input: IGetDraftListByProcessIdSchema) {
|
||||
return await this.httpService.get<IGetDraftListByProcessIdOutput>(`${this.baseUrl}/Contents/FolderId/${input.processId}`);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user