mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-07 02:46:55 +08:00
21 lines
437 B
TypeScript
21 lines
437 B
TypeScript
export enum ConsumptionTypes {
|
|
DanmakuStorage,
|
|
}
|
|
|
|
export interface IDeductionSetting {
|
|
isEnabled: boolean
|
|
}
|
|
export interface UserConsumptionSetting {
|
|
danmakuStorage: DanmakuStorageDeductionSetting
|
|
}
|
|
export enum DeductionStorageType {
|
|
Time,
|
|
Count,
|
|
}
|
|
export interface DanmakuStorageDeductionSetting extends IDeductionSetting {
|
|
storageType: DeductionStorageType
|
|
isUnlimited: boolean
|
|
limitDays: number
|
|
limitCount: number
|
|
}
|