import { Core } from "./Core.js"; import { type operations, ApiPaths } from "./lib/apiSchema.js"; export type EdgesResponse = operations["getEdges"]["responses"][200]["content"]["application/json"]; export class Api extends Core { /** * Fetch edges from the floatplane api */ edges = (): Promise => this.got(this.baseUrl + ApiPaths.getEdges).json(); }