mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 05:22:02 +00:00
fix: add page and pageSize
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import * as yup from 'yup';
|
||||
|
||||
export type DailyMarketingReportFilterType = {
|
||||
page?: number;
|
||||
pageSize?: number;
|
||||
search: string | null;
|
||||
area_id: string | null;
|
||||
location_id: string | null;
|
||||
@@ -14,6 +16,8 @@ export type DailyMarketingReportFilterType = {
|
||||
};
|
||||
|
||||
export const DailyMarketingReportFilterSchema = yup.object({
|
||||
page: yup.number().nullable(),
|
||||
pageSize: yup.number().nullable(),
|
||||
search: yup.string().nullable(),
|
||||
area_id: yup.string().nullable(),
|
||||
location_id: yup.string().nullable(),
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
import * as yup from 'yup';
|
||||
|
||||
export type HppPerKandangFilterType = {
|
||||
page?: number;
|
||||
pageSize?: number;
|
||||
area_id: string | null;
|
||||
location_id: string | null;
|
||||
kandang_id: string | null;
|
||||
@@ -12,6 +14,8 @@ export type HppPerKandangFilterType = {
|
||||
};
|
||||
|
||||
export const HppPerKandangFilterSchema = yup.object({
|
||||
page: yup.number().nullable(),
|
||||
pageSize: yup.number().nullable(),
|
||||
area_id: yup.string().nullable(),
|
||||
location_id: yup.string().nullable(),
|
||||
kandang_id: yup.string().nullable(),
|
||||
|
||||
Reference in New Issue
Block a user