@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 (23 loc) • 737 B
text/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,
},
}