import { getDeploy } from './netlify.js' /** * Load one deploy by id. Pass `site` to use the site-scoped path. * @param {Object} input * @param {string} input.deploy Deploy id. * @param {string} [input.site] Site id, name, or domain. * @returns {Promise<{ id: string, state: string | null, url: string | null }>} * @example * import getDeploy from 'kody:@kody/netlify/get-deploy' * const deploy = await getDeploy({ deploy: 'deploy_123' }) */ export default async function getDeployEntrypoint(input = {}) { return await getDeploy(input) }