import { proxyActivities , sleep } from '@temporalio/workflow' ; import type * as activities from './activities' ; const { activityB , } = proxyActivities < typeof activities > ( { startToCloseTimeout : '30 seconds' , } ) ; export const workflowId = 'patching-workflows-vFinal' ; export async function myWorkflow ( ) { await activityB ( ) ; await sleep ( '1 days' ) ; }