Appearance
类型: UseActFlowResult
Hierarchy
Pick<UseActResult,"activity"|"nextStage">Pick<UseLotteryChanceResult,"lotteryChances">Pick<UseLotteryLogResult,"lotteryLogs">↳
UseActFlowResult
属性
activity
• activity: Ref<Activity & { isPastStartsAt: Boolean }>
活动信息
Inherited from
Pick.activity
currentStage
• currentStage: ComputedRef<ActivityStage & { lotteryChances: LotteryChance[] ; lotteryLogs: LotteryLog[] }>
error
• error: ComputedRef<IOError>
isError
• isError: ComputedRef<Boolean>
isFetching
• isFetching: ComputedRef<Boolean>
isLoading
• isLoading: ComputedRef<Boolean>
isPending
• isPending: ComputedRef<Boolean>
lotteryChances
• lotteryChances: Ref<LotteryChance[]>
抽奖机会列表,强制以创建时间倒序排序
Inherited from
Pick.lotteryChances
lotteryLogs
• lotteryLogs: Ref<LotteryLog[]>
抽奖记录列表,强制以创建时间倒序排序
Inherited from
Pick.lotteryLogs
nextStage
• nextStage: ComputedRef<ActivityStage>
下一个阶段
Inherited from
Pick.nextStage
prevStage
• prevStage: ComputedRef<ActivityStage & { lotteryChances: LotteryChance[] ; lotteryLogs: LotteryLog[] }>
refetchActivity
• refetchActivity: () => void
Type declaration
▸ (): void
返回值
void
refetchLotteryChances
• refetchLotteryChances: () => void
Type declaration
▸ (): void
返回值
void
refetchLotteryLogs
• refetchLotteryLogs: () => void
Type declaration
▸ (): void
返回值
void