xmr-remote-nodes/frontend/src/app.d.ts

34 lines
598 B
TypeScript
Raw Normal View History

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