Type alias PaginatedMetaList<Model>
PaginatedMetaList<Model>: {
data: Model[];
meta: {
current_page: number;
last_page: number;
links: {
first: string;
last: string;
next: string;
prev: string;
} | {
active: boolean;
label: string;
url: string | null;
}[];
next_page_url: string;
path: string;
per_page: number | string;
prev_page_url: string | null;
to: number;
total: number;
};
}
Type declaration
-
data: Model[]
-
meta: {
current_page: number;
last_page: number;
links: {
first: string;
last: string;
next: string;
prev: string;
} | {
active: boolean;
label: string;
url: string | null;
}[];
next_page_url: string;
path: string;
per_page: number | string;
prev_page_url: string | null;
to: number;
total: number;
}
-
current_page: number
-
last_page: number
-
links: {
first: string;
last: string;
next: string;
prev: string;
} | {
active: boolean;
label: string;
url: string | null;
}[]
-
next_page_url: string
-
path: string
-
per_page: number | string
-
prev_page_url: string | null
-
to: number
-
total: number