diff --git a/client/modules/_hooks/src/workspace/types.ts b/client/modules/_hooks/src/workspace/types.ts index 4da9fce6e..461c3639c 100644 --- a/client/modules/_hooks/src/workspace/types.ts +++ b/client/modules/_hooks/src/workspace/types.ts @@ -52,6 +52,24 @@ export type TAppFileInput = { targetPath?: string; }; +type TAppNotes = { + label?: string; + shortLabel?: string; + helpUrl?: string; + category?: string; + isInteractive?: boolean; + hideNodeCountAndCoresPerNode?: boolean; + icon?: string; + dynamicExecSystems?: string[]; + queueFilter?: string[]; + hideQueue?: boolean; + hideAllocation?: boolean; + hideMaxMinutes?: boolean; + jobLaunchDescription?: string; + showReservation?: boolean; + showTargetPath?: boolean; +}; + export type TTapisApp = { sharedAppCtx: string; isPublic: boolean; @@ -111,22 +129,7 @@ export type TTapisApp = { tags: string[]; }; tags: string[]; - notes: { - label?: string; - shortLabel?: string; - helpUrl?: string; - category?: string; - isInteractive?: boolean; - hideNodeCountAndCoresPerNode?: boolean; - icon?: string; - dynamicExecSystems?: string[]; - queueFilter?: string[]; - hideQueue?: boolean; - hideAllocation?: boolean; - hideMaxMinutes?: boolean; - jobLaunchDescription?: string; - showReservation?: boolean; - }; + notes: TAppNotes; uuid: string; deleted: boolean; created: string; @@ -183,7 +186,7 @@ export type TTapisJob = { mpiCmd?: string; name: string; nodeCount: number; - notes: string; + notes: TAppNotes; owner: string; parameterSet: string; remoteChecksFailed: number; diff --git a/client/modules/workspace/src/JobsDetailModal/JobsDetailModal.tsx b/client/modules/workspace/src/JobsDetailModal/JobsDetailModal.tsx index 2207b2db8..ae3e45508 100644 --- a/client/modules/workspace/src/JobsDetailModal/JobsDetailModal.tsx +++ b/client/modules/workspace/src/JobsDetailModal/JobsDetailModal.tsx @@ -304,7 +304,12 @@ export const JobsDetailModal: React.FC<{ uuid: string }> = ({ uuid }) => {