2024-12-08 19:23:05 +00:00
|
|
|
import { title } from "process";
|
|
|
|
|
import { httpGetInterceptor } from "../http-config/http-interceptor-service";
|
|
|
|
|
import { type } from "os";
|
|
|
|
|
|
|
|
|
|
export async function paginationSchedule(
|
|
|
|
|
size: number,
|
|
|
|
|
page: number,
|
2024-12-11 18:28:57 +00:00
|
|
|
type: any,
|
|
|
|
|
title: string = ""
|
2024-12-08 19:23:05 +00:00
|
|
|
) {
|
|
|
|
|
return await httpGetInterceptor(
|
2024-12-11 18:28:57 +00:00
|
|
|
`schedule/pagination?enablePage=1&scheduleTypeId=${type}&page=${page}&size=${size}&title=${title}`
|
2024-12-08 19:23:05 +00:00
|
|
|
);
|
|
|
|
|
}
|