@nangohq/types
Version:
Types used in Nango applications
15 lines (14 loc) • 373 B
TypeScript
import type { Endpoint, ApiError } from '../api.js';
import type { Deployment } from './index.js';
export type PostRollout = Endpoint<{
Method: 'POST';
Path: '/fleet/:fleetId/rollout';
Body: {
image: string;
};
Params: {
fleetId: string;
};
Success: Deployment;
Error: ApiError<'forbidden'> | ApiError<'rollout_failed'>;
}>;