mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
[feature-274] Improve Oculus downloading + add Modal to choose from where to download Beat Saber
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import { BsStore } from "./models/bs-store.enum";
|
||||
|
||||
export interface PartialBSVersion {
|
||||
BSVersion: string,
|
||||
name?: string
|
||||
@@ -13,4 +15,7 @@ export interface BSVersion extends PartialBSVersion {
|
||||
steam?: boolean;
|
||||
oculus?: boolean;
|
||||
color?: string;
|
||||
downloadedFrom?: BsStore;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -16,3 +16,7 @@ export function hourToMin(hours: number): number {
|
||||
export function hourToS(hours: number): number {
|
||||
return hours * minToS(MINUTES_IN_HOUR);
|
||||
}
|
||||
|
||||
export function msToS(milliseconds: number): number {
|
||||
return milliseconds / 1000;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
export enum BsStore {
|
||||
STEAM = "steam",
|
||||
OCULUS = "oculus",
|
||||
}
|
||||
Reference in New Issue
Block a user