mirror of
https://github.com/CompassConnections/Compass.git
synced 2025-12-23 22:18:43 -05:00
13 lines
291 B
TypeScript
13 lines
291 B
TypeScript
type BuildInfo = {
|
|
commitSha: string;
|
|
commitRef: string;
|
|
commitMessage: string;
|
|
commitDate: string;
|
|
buildDate: string;
|
|
};
|
|
|
|
export async function getLiveUpdateInfo(): Promise<BuildInfo> {
|
|
const res = await fetch("/live-update.json", { cache: "no-store" });
|
|
return res.json();
|
|
}
|