mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-07 02:46:55 +08:00
fix message provider get
This commit is contained in:
20
src/api/models/consumption.ts
Normal file
20
src/api/models/consumption.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user