mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-03-05 23:41:24 -05:00
* Test * Add pretty formatting * Fix Tests * Fix Tests * Fix Tests * Fix * Add pretty formatting fix * Fix * Test * Fix tests * Clean typeckech * Add prettier check * Fix api tsconfig * Fix api tsconfig * Fix tsconfig * Fix * Fix * Prettier
13 lines
281 B
TypeScript
13 lines
281 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()
|
|
}
|