Complete S03 runtime closure and S04 control loop
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
export const JOB_DETAILS_TABS = {
|
||||
overview: 0,
|
||||
correspondence: 1,
|
||||
attachments: 2,
|
||||
tailoredCv: 3,
|
||||
followUp: 4,
|
||||
candidateFit: 5,
|
||||
focusPlan: 6,
|
||||
interviewPrep: 7,
|
||||
readiness: 8,
|
||||
history: 9,
|
||||
} as const;
|
||||
|
||||
export type JobWorkspaceOpenOptions = {
|
||||
tab?: number;
|
||||
followMode?: string;
|
||||
};
|
||||
|
||||
export function buildJobWorkspacePath(jobId: number, options: JobWorkspaceOpenOptions = {}) {
|
||||
const params = new URLSearchParams();
|
||||
params.set('open', String(jobId));
|
||||
if (typeof options.tab === 'number') params.set('tab', String(options.tab));
|
||||
if (options.followMode) params.set('followMode', options.followMode);
|
||||
return `/jobs?${params.toString()}`;
|
||||
}
|
||||
Reference in New Issue
Block a user