@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_.
33 lines (32 loc) • 2.16 kB
TypeScript
import { RouteLocationRaw } from 'vue-router';
import { WorkspaceEventResource } from '../models/workspaceEvent';
type __VLS_Props = {
resource: WorkspaceEventResource;
};
declare const id: import("vue").ComputedRef<string | null>, name: import("vue").ComputedRef<string | null>, role: import("vue").ComputedRef<"flow" | "tag" | "work-queue" | "work-pool" | "automation" | "deployment" | "workspace" | "flow-run" | "block-document" | "task-run" | "concurrency-limit" | "artifact-collection" | "creator" | "actor" | "webhook" | null>, resourceId: import("vue").ComputedRef<string>;
declare const linkToResource: import("vue").ComputedRef<RouteLocationRaw | undefined>;
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
declare var __VLS_6: {
id: string | null;
name: string | null;
role: "flow" | "tag" | "work-queue" | "work-pool" | "automation" | "deployment" | "workspace" | "flow-run" | "block-document" | "task-run" | "concurrency-limit" | "artifact-collection" | "creator" | "actor" | "webhook" | null;
resourceId: string;
};
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
default?: (props: typeof __VLS_6) => any;
}>;
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
id: typeof id;
name: typeof name;
role: typeof role;
resourceId: typeof resourceId;
linkToResource: typeof linkToResource;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props & {}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props & {}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
export default _default;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};