2024-05-03 17:11:56 +00:00
|
|
|
// See https://kit.svelte.dev/docs/types#app
|
|
|
|
// for information about these interfaces
|
|
|
|
declare global {
|
2024-05-28 03:03:29 +00:00
|
|
|
namespace App {
|
|
|
|
// interface Error {}
|
|
|
|
// interface Locals {}
|
|
|
|
// interface PageData {}
|
|
|
|
// interface PageState {}
|
|
|
|
// interface Platform {}
|
|
|
|
}
|
|
|
|
interface ImportMetaEnv {
|
|
|
|
VITE_API_URL: string;
|
|
|
|
}
|
2024-05-07 13:55:57 +00:00
|
|
|
|
2024-05-28 03:03:29 +00:00
|
|
|
interface MoneroNode {
|
|
|
|
id: number;
|
|
|
|
hostname: string;
|
|
|
|
ip: string;
|
|
|
|
port: number;
|
|
|
|
protocol: string;
|
|
|
|
is_tor: boolean;
|
|
|
|
is_available: boolean;
|
|
|
|
nettype: string;
|
|
|
|
}
|
2024-05-08 13:07:51 +00:00
|
|
|
|
2024-05-28 03:03:29 +00:00
|
|
|
interface ApiResponse {
|
|
|
|
status: string;
|
|
|
|
message: string;
|
|
|
|
data: null | object | object[];
|
|
|
|
}
|
2024-05-03 17:11:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export {};
|