Automate issuer overlay creation from ticker searches
This commit is contained in:
@@ -5,7 +5,7 @@ import type {
|
||||
TaskType
|
||||
} from '@/lib/types';
|
||||
|
||||
export type StageTimelineItem = {
|
||||
type StageTimelineItem = {
|
||||
stage: TaskStage;
|
||||
label: string;
|
||||
state: 'completed' | 'active' | 'pending' | 'failed';
|
||||
@@ -115,7 +115,7 @@ export function stageLabel(stage: TaskStage) {
|
||||
return STAGE_LABELS[stage] ?? stage;
|
||||
}
|
||||
|
||||
export function taskStageOrder(taskType: TaskType) {
|
||||
function taskStageOrder(taskType: TaskType) {
|
||||
return TASK_STAGE_ORDER[taskType] ?? ['queued', 'running', 'completed'];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user