File tree Expand file tree Collapse file tree
components/workflow/pending-nexus-operation Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8888 operation .scheduleToCloseTimeout as string ,
8989 )}
9090 {/if }
91+ {#if operation .scheduleToStartTimeout }
92+ {@render detail (
93+ translate (' workflows.schedule-to-start-timeout' ),
94+ operation .scheduleToCloseTimeout as string ,
95+ )}
96+ {/if }
97+ {#if operation .startToCloseTimeout }
98+ {@render detail (
99+ translate (' workflows.start-to-close-timeout' ),
100+ operation .startToCloseTimeout as string ,
101+ )}
102+ {/if }
91103 </div >
92104 <div class =" flex w-full flex-col gap-4 md:flex-1 xl:w-1/2" >
93105 {#if failed }
Original file line number Diff line number Diff line change @@ -310,6 +310,8 @@ export const Strings = {
310310 'pending-nexus-operation' : 'Pending Nexus Operation' ,
311311 'schedule-event-id' : 'Scheduled Event ID' ,
312312 'schedule-to-close-timeout' : 'Schedule to Close Timeout' ,
313+ 'schedule-to-start-timeout' : 'Schedule to Start Timeout' ,
314+ 'start-to-close-timeout' : 'Start to Close Timeout' ,
313315 'related-events' : 'Related Events' ,
314316 priority : 'Priority' ,
315317 fairness : 'Fairness' ,
Original file line number Diff line number Diff line change 11import type { Timestamp } from '@temporalio/common' ;
2+ import type { google } from '@temporalio/proto' ;
23
34import type { EventGroup } from '$lib/models/event-groups/event-groups' ;
45import type { ActivityOptions , EventLink } from '$lib/types' ;
@@ -56,7 +57,10 @@ export type PendingActivityState =
5657 | 'CancelRequested' ;
5758
5859export type PendingChildren = import ( '$lib/types' ) . PendingChildrenInfo ;
59- export type PendingNexusOperation = import ( '$lib/types' ) . PendingNexusInfo ;
60+ export type PendingNexusOperation = import ( '$lib/types' ) . PendingNexusInfo & {
61+ scheduleToStartTimeout : google . protobuf . IDuration | null ;
62+ startToCloseTimeout : google . protobuf . IDuration | null ;
63+ } ;
6064export type Callbacks = import ( '$lib/types' ) . CallbackInfo [ ] ;
6165
6266export type EventRequestMetadata = {
You can’t perform that action at this time.
0 commit comments