Skip to content

类型: UseActFlowResult

Hierarchy

属性

activity

activity: Ref<Activity & { isPastStartsAt: Boolean }>

活动信息

Inherited from

Pick.activity

act-hooks/types.ts


currentStage

currentStage: ComputedRef<ActivityStage & { lotteryChances: LotteryChance[] ; lotteryLogs: LotteryLog[] }>

act-hooks/types.ts


error

error: ComputedRef<IOError>

act-hooks/types.ts


isError

isError: ComputedRef<Boolean>

act-hooks/types.ts


isFetching

isFetching: ComputedRef<Boolean>

act-hooks/types.ts


isLoading

isLoading: ComputedRef<Boolean>

act-hooks/types.ts


isPending

isPending: ComputedRef<Boolean>

act-hooks/types.ts


lotteryChances

lotteryChances: Ref<LotteryChance[]>

抽奖机会列表,强制以创建时间倒序排序

Inherited from

Pick.lotteryChances

act-hooks/types.ts


lotteryLogs

lotteryLogs: Ref<LotteryLog[]>

抽奖记录列表,强制以创建时间倒序排序

Inherited from

Pick.lotteryLogs

act-hooks/types.ts


nextStage

nextStage: ComputedRef<ActivityStage>

下一个阶段

Inherited from

Pick.nextStage

act-hooks/types.ts


prevStage

prevStage: ComputedRef<ActivityStage & { lotteryChances: LotteryChance[] ; lotteryLogs: LotteryLog[] }>

act-hooks/types.ts


refetchActivity

refetchActivity: () => void

Type declaration

▸ (): void

返回值

void

act-hooks/types.ts


refetchLotteryChances

refetchLotteryChances: () => void

Type declaration

▸ (): void

返回值

void

act-hooks/types.ts


refetchLotteryLogs

refetchLotteryLogs: () => void

Type declaration

▸ (): void

返回值

void

act-hooks/types.ts