mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-05 17:00:37 +01:00
18 lines
406 B
TypeScript
18 lines
406 B
TypeScript
import { staticAsset } from "@blitzkit/core";
|
|
import { fetchPB } from "../../protobuf";
|
|
import { AverageDefinitions } from "../../protos";
|
|
|
|
export interface AverageDefinitionsManifest {
|
|
version: 1;
|
|
/**
|
|
* epoch in days
|
|
*/
|
|
latest: number;
|
|
}
|
|
|
|
export async function fetchAverageDefinitions() {
|
|
return await fetchPB(staticAsset("averages.pb"), AverageDefinitions);
|
|
}
|
|
|
|
export * from "./constants";
|