UNPKG

@prefecthq/prefect-ui-library

Version:

This library is the Vue and Typescript component library for [Prefect 2](https://github.com/PrefectHQ/prefect) and [Prefect Cloud 2](https://www.prefect.io/cloud/). _The components and utilities in this project are not meant to be used independently_.

9 lines (8 loc) 511 B
import { SubscriptionOptions } from '@prefecthq/vue-compositions'; import { ComputedRef, MaybeRef, MaybeRefOrGetter } from 'vue'; import { UseFlowRuns } from '../compositions/useFlowRuns'; import { FlowRun, UnionFilter } from '../models'; export type UseNextFlowRun = Pick<UseFlowRuns, 'subscription'> & { flowRun: ComputedRef<FlowRun | undefined>; }; export declare function useNextFlowRun(filter: MaybeRefOrGetter<UnionFilter | null | undefined>, options?: MaybeRef<SubscriptionOptions>): UseNextFlowRun;