| 1 | import * as Effect from "effect/Effect"; |
| 2 | import { getDeployment } from "@distilled.cloud/prisma/management"; |
| 3 | |
| 4 | export const observeDeployment = (deploymentId: string) => |
| 5 | getDeployment({ deploymentId }).pipe(Effect.map((response) => response.data)); |