mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
[chore] prettify + config prettier
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
export { ModInstallProgression, InstallModsResult, UninstallModsResult } from "./mod-ipc.model"
|
||||
export { Mod, DownloadLink, DownloadLinkType, FileHashes, ModAuthor } from "./mod.interface"
|
||||
export { ModInstallProgression, InstallModsResult, UninstallModsResult } from "./mod-ipc.model";
|
||||
export { Mod, DownloadLink, DownloadLinkType, FileHashes, ModAuthor } from "./mod.interface";
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
export interface ModInstallProgression{
|
||||
name: string,
|
||||
progression: number
|
||||
export interface ModInstallProgression {
|
||||
name: string;
|
||||
progression: number;
|
||||
}
|
||||
|
||||
export interface InstallModsResult {
|
||||
nbModsToInstall: number,
|
||||
nbInstalledMods: number
|
||||
nbModsToInstall: number;
|
||||
nbInstalledMods: number;
|
||||
}
|
||||
|
||||
export interface UninstallModsResult {
|
||||
nbModsToUninstall: number,
|
||||
nbUninstalledMods: number
|
||||
}
|
||||
nbModsToUninstall: number;
|
||||
nbUninstalledMods: number;
|
||||
}
|
||||
|
||||
@@ -1,37 +1,36 @@
|
||||
export interface Mod {
|
||||
_id: string,
|
||||
name: string,
|
||||
version: string,
|
||||
gameVersion: string,
|
||||
authorId: string,
|
||||
uploadedDate: string,
|
||||
updatedDate: string,
|
||||
author: ModAuthor,
|
||||
description: string,
|
||||
link: string,
|
||||
category: string,
|
||||
downloads: DownloadLink[],
|
||||
required: boolean,
|
||||
dependencies: Mod[],
|
||||
status: string
|
||||
|
||||
_id: string;
|
||||
name: string;
|
||||
version: string;
|
||||
gameVersion: string;
|
||||
authorId: string;
|
||||
uploadedDate: string;
|
||||
updatedDate: string;
|
||||
author: ModAuthor;
|
||||
description: string;
|
||||
link: string;
|
||||
category: string;
|
||||
downloads: DownloadLink[];
|
||||
required: boolean;
|
||||
dependencies: Mod[];
|
||||
status: string;
|
||||
}
|
||||
|
||||
export interface ModAuthor {
|
||||
_id: string,
|
||||
username: string,
|
||||
lastLogin: string,
|
||||
_id: string;
|
||||
username: string;
|
||||
lastLogin: string;
|
||||
}
|
||||
|
||||
export interface DownloadLink {
|
||||
type: DownloadLinkType,
|
||||
url: string,
|
||||
hashMd5: FileHashes[]
|
||||
type: DownloadLinkType;
|
||||
url: string;
|
||||
hashMd5: FileHashes[];
|
||||
}
|
||||
|
||||
export type DownloadLinkType = "universal"|"steam"|"oculus";
|
||||
export type DownloadLinkType = "universal" | "steam" | "oculus";
|
||||
|
||||
export interface FileHashes {
|
||||
hash: string,
|
||||
file: string
|
||||
}
|
||||
hash: string;
|
||||
file: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user