webui/src/modules/manager/workflowTemplates/components/capabilityEditorRegistry.ts

23 lines
1.2 KiB
TypeScript

import { tagsEditorRegistryEntry } from "./CapabilityEditors/TagsEditor";
import { assigneesOfITaskAssigneeRegistryEntry } from "./CapabilityEditors/AssigneesOfITaskAssigneeEditor";
import { taskCoreEditorRegistryEntry } from "./CapabilityEditors/TaskCoreEditor";
import { capabilityEditorRegistryEntry } from "./useCapabilityDefaults";
import { outcomeOfApprovalVerdictRegistryEntry } from "./CapabilityEditors/OutcomeEditor";
import { budgetEditorRegistryEntry } from "./CapabilityEditors/BudgetEditorRegistryEntry";
import { bypassableEditorRegistryEntry } from "./CapabilityEditors/BypassableEditor";
import { createStageEditorRegistryEntry } from "./CapabilityEditors/StageEditor";
type CapabilityEditorRegistry = Array<capabilityEditorRegistryEntry>;
export const capabilityEditorRegistry: CapabilityEditorRegistry = [
taskCoreEditorRegistryEntry,
tagsEditorRegistryEntry,
budgetEditorRegistryEntry,
assigneesOfITaskAssigneeRegistryEntry,
outcomeOfApprovalVerdictRegistryEntry,
// IFormTemplate: null, //ToDo implement this
bypassableEditorRegistryEntry,
createStageEditorRegistryEntry("GeneralTask"),
createStageEditorRegistryEntry("ApprovalTask"),
];