Files
lmgcitfy/types.d.ts
2026-02-11 21:05:26 +00:00

21 lines
316 B
TypeScript

interface GCIAPIResult {
count: number;
next: null | number;
previous: null | number;
results: GCIResult[];
}
interface GCIResult {
id: string;
shortlink: string | null;
name: string;
url: string;
}
interface APIResult {
error?: boolean;
payload: string;
}
export { GCIAPIResult, APIResult };