import { handleNoUsers } from "./handle-no-users" ; import { IAddOrInviteContext , IAddOrInviteResponse } from "../types" ; import { processAutoAddUsers } from "./process-auto-add-users" ; private export param { IAddOrInviteContext } context return { IAddOrInviteResponse } export async function addOrInviteCollaborationCoordinators ( context ) { if ( ! context . collaborationCoordinator || context . collaborationCoordinator . length === 0 ) { return handleNoUsers ( ) ; } return processAutoAddUsers ( context , "collaborationCoordinator" ) ; }