tbarequest
Version:
A wrapper to fetch data from The Blue Alliance API
26 lines (25 loc) • 1.13 kB
TypeScript
import { teamEndpoints } from "./teams.js";
import { statusEndpoints } from "./status.js";
import { eventEndpoints } from "./events.js";
import { matchEndpoints } from "./matches.js";
import { districtEndpoints } from "./districts.js";
import { regionalAdvancementEndpoints } from "./regionalAdvancements.js";
import { insightEndpoints } from "./insights.js";
export declare const searchIndex: {
"/search_index": {
schema: import("arktype/internal/methods/object.ts").ObjectType<{
teams: {
key: string;
nickname: string;
}[];
events: {
key: string;
name: string;
}[];
}, {}>;
arguments: import("arktype/internal/methods/array.ts").ArrayType<[], {}>;
};
};
export declare const endpoints: typeof statusEndpoints & typeof teamEndpoints & typeof eventEndpoints & typeof matchEndpoints & typeof districtEndpoints & typeof regionalAdvancementEndpoints & typeof insightEndpoints & typeof searchIndex;
export type TBAEndpoints = typeof endpoints;
export type TBAEndpoint = keyof typeof endpoints;