initial framework
This commit is contained in:
20
types.d.ts
vendored
Normal file
20
types.d.ts
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
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 };
|
||||
Reference in New Issue
Block a user