This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
|
import { DefaultClient } from "./Client";
|
|
|
|
export class Version {
|
|
|
|
version_current: string;
|
|
version_latest: string;
|
|
outdated: boolean;
|
|
|
|
constructor() {
|
|
throw Error();
|
|
}
|
|
|
|
static get(): Promise<Version> {
|
|
return DefaultClient.fetch<Version>(["admin", "version"]);
|
|
}
|
|
|
|
}
|