1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-07-22 14:49:40 +02:00

feat: add build id from commit hash (#1095)

* fix old ref

* capture git commit as build ID

* generate new types

* display build on Site Settings page

* fix extras crash it extras is none
This commit is contained in:
Hayden 2022-03-24 20:29:01 -08:00 committed by GitHub
parent 7f102f513d
commit ffb3b45ac2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 21 additions and 16 deletions

View file

@ -1,4 +1,5 @@
import { BaseAPI } from "../_base";
import { AdminAboutInfo } from "~/types/api-types/admin";
const prefix = "/api";
@ -8,17 +9,6 @@ const routes = {
check: `${prefix}/admin/about/check`,
};
export interface AdminAboutInfo {
production: boolean;
version: string;
demoStatus: boolean;
apiPort: number;
apiDocs: boolean;
dbType: string;
dbUrl: string;
defaultGroup: string;
versionLatest: string;
}
export interface AdminStatistics {
totalRecipes: number;