mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-02-21 18:42:00 +00:00
Some checks failed
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 1m58s
32 lines
480 B
TypeScript
32 lines
480 B
TypeScript
export interface Links {
|
|
next_page: string | null;
|
|
previous_page: string | null;
|
|
}
|
|
export interface Meta {
|
|
total: number;
|
|
per_page: number;
|
|
current_page: number;
|
|
last_page: number;
|
|
}
|
|
|
|
export interface DataResponse<T> {
|
|
meta: Meta;
|
|
links: Links;
|
|
data: T[];
|
|
}
|
|
|
|
export interface Atoll {
|
|
id: number;
|
|
islands: Island[];
|
|
name: string;
|
|
createdAt: string;
|
|
updatedAt: string;
|
|
}
|
|
|
|
export interface Island {
|
|
id: number;
|
|
name: string;
|
|
createdAt: string;
|
|
updatedAt: string;
|
|
}
|