import type { TagListResponse, DeployResult } from './dto/deploy' export function getAvailableTags(slug: string): Promise { return useApi().get(`/applications/${slug}/tags`, undefined, { toast: false, }) } export function deploy(envId: number, tag: string): Promise { return useApi().post(`/environments/${envId}/deploy`, { tag }, { toast: false, }) }