Initial BeatStream support.

This commit is contained in:
RoxCian
2021-03-30 18:55:18 +08:00
parent d967adfb4a
commit bfdeca09fd
21 changed files with 1546 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
import { ICollection } from "./definitions"
export interface IBatchResult extends ICollection<"bst.batchResult"> {
batchId: string
}

View File

@@ -0,0 +1,3 @@
export interface ICollection<TCollectionName extends string> {
collection: TCollectionName
}

View File

@@ -0,0 +1,5 @@
import { ICollection } from "./definitions"
export interface IPluginVersion<TMajor extends number = number, TMinor extends number = number, TRevision extends number = number> extends ICollection<"bst.pluginVersion"> {
version: string
}

View File

@@ -0,0 +1,14 @@
import { ICollection } from "./definitions"
export interface IWebUIMessage extends ICollection<"utility.webuiMessage"> {
message: string
type: WebUIMessageType
refid?: string
version: number
}
export enum WebUIMessageType {
info = 0,
success = 1,
error = 2
}