@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_.
24 lines (23 loc) • 796 B
TypeScript
import { AutomationActionResponse } from '../../automations/types/api/actions';
import { AutomationTriggerResponse } from '../../automations/types/api/triggers';
import { ServiceLevelAgreementSeverity, ServiceLevelAgreementType } from '../../models/ServiceLevelAgreement';
export type ServiceLevelAgreementResponse = {
name: string;
description: string;
enabled: boolean;
trigger: AutomationTriggerResponse;
actions_on_resolve: AutomationActionResponse[];
type: ServiceLevelAgreementType;
severity: ServiceLevelAgreementSeverity;
id: string;
created: string;
updated: string;
account: string;
workspace: string;
actor: {
actor_id: string;
handle: string;
user_id: string | null;
bot_id: string | null;
};
};