aboutsummaryrefslogtreecommitdiffhomepage
path: root/ci/invidiousType.ts
blob: eab05240ecab34301142971abda96860c3f323c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

export type instanceMap = {
  name: string;
  url: string;
  uptime: number;
  down: boolean;
}[]

export type InvidiousInstance = [
  string,
  {
    uri: string;
    type: "https" | "http" | "onion" | "i2p";
    monitor: null | {
      uptime: number;
      down: boolean;
    };
  }
]