@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_.
25 lines (24 loc) • 660 B
TypeScript
import { WorkspaceEventResource, WorkspaceEventRelatedResource } from '../../models/workspaceEvent';
export type WorkspaceEventResponse = {
id: string;
account: string;
event: string;
occurred: string;
payload: unknown;
received: string;
related: WorkspaceEventRelatedResource[];
resource: WorkspaceEventResource;
workspace: string | null;
};
export type WorkspaceEventsResponse = {
events: WorkspaceEventResponse[];
next_page: string | null;
total: number;
};
export type WorkspaceEventsCountResponse = {
count: number;
label: string;
value: string;
start_time: string;
end_time: string;
};