Files
twenty_crm/packages/twenty-ui/src/display/icon/components/TablerIcons.ts
Baptiste Devessier a2b1062db6 Update workflow nodes configuration (#6861)
- Improve the design of the right drawer
- Allow to update the trigger of the workflow: the object and the event
listened to
- Allow to update the selected serverless function that a code action
should execute
- Change how we determine which workflow version to display in the
visualizer. We fetch the selected workflow's data, including whether it
has a draft or a published version. If the workflow has a draft version,
it gets displayed; otherwise, we display the last published version.
- I used the type `WorkflowWithCurrentVersion` to forward the currently
edited workflow with its _current_ version embedded across the app.
- I created single-responsibility hooks like
`useFindWorkflowWithCurrentVersion`, `useFindShowPageWorkflow`,
`useUpdateWorkflowVersionTrigger` or `useUpdateWorkflowVersionStep`.
- I updated the types for workflow related objects, like `Workflow` and
`WorkflowVersion`. See
`packages/twenty-front/src/modules/workflow/types/Workflow.ts`.
- This introduced the possibility to have `null` values for triggers and
steps. I made the according changes in the codebase and in the tests.
- I created a utility function to extract both parts of object-event
format (`company.created`):
`packages/twenty-front/src/modules/workflow/utils/splitWorkflowTriggerEventName.ts`
2024-09-04 17:39:28 +02:00

185 lines
3.1 KiB
TypeScript

/* eslint-disable no-restricted-imports */
export {
Icon123,
IconAlertCircle,
IconAlertTriangle,
IconApi,
IconApps,
IconArchive,
IconArchiveOff,
IconArrowBackUp,
IconArrowDown,
IconArrowLeft,
IconArrowRight,
IconArrowUp,
IconArrowUpRight,
IconArrowsVertical,
IconAt,
IconBaselineDensitySmall,
IconBell,
IconBolt,
IconBook2,
IconBookmark,
IconBookmarkPlus,
IconBox,
IconBrandGithub,
IconBrandGoogle,
IconBrandLinkedin,
IconBrandX,
IconBriefcase,
IconBuildingSkyscraper,
IconCalendar,
IconCalendarDue,
IconCalendarEvent,
IconCalendarTime,
IconCalendarX,
IconChartCandle,
IconCheck,
IconCheckbox,
IconChevronDown,
IconChevronLeft,
IconChevronRight,
IconChevronUp,
IconChevronsRight,
IconCircleDot,
IconCircleOff,
IconCirclePlus,
IconCircleX,
IconClick,
IconClockHour8,
IconCode,
IconCoins,
IconColorSwatch,
IconMessageCircle as IconComment,
IconCopy,
IconCreativeCommonsSa,
IconCreditCard,
IconCsv,
IconCurrencyBaht,
IconCurrencyDirham,
IconCurrencyDollar,
IconCurrencyEuro,
IconCurrencyFrank,
IconCurrencyKroneCzech,
IconCurrencyKroneSwedish,
IconCurrencyPound,
IconCurrencyReal,
IconCurrencyRiyal,
IconCurrencyWon,
IconCurrencyYen,
IconCurrencyYuan,
IconDatabase,
IconDeviceFloppy,
IconDoorEnter,
IconDotsVertical,
IconDownload,
IconEditCircle,
IconExternalLink,
IconEye,
IconEyeOff,
IconFile,
IconFileCheck,
IconFileExport,
IconFileImport,
IconFilePencil,
IconFileText,
IconFileUpload,
IconFileZip,
IconFilter,
IconFilterOff,
IconFocusCentered,
IconForbid,
IconFunction,
IconGitCommit,
IconGripVertical,
IconH1,
IconH2,
IconH3,
IconHeadphones,
IconHeart,
IconHeartOff,
IconHelpCircle,
IconHierarchy2,
IconHome,
IconInbox,
IconInfoCircle,
IconJson,
IconKey,
IconLanguage,
IconLayersLinked,
IconLayoutKanban,
IconLayoutSidebarLeftCollapse,
IconLayoutSidebarRightCollapse,
IconLayoutSidebarRightExpand,
IconLink,
IconLinkOff,
IconList,
IconListCheck,
IconListNumbers,
IconLock,
IconLockOpen,
IconMail,
IconMailCog,
IconMap,
IconMaximize,
IconMessage,
IconMinus,
IconMoneybag,
IconMoodSmile,
IconMouse2,
IconNotes,
IconNumbers,
IconPaperclip,
IconPencil,
IconPhone,
IconPhoto,
IconPilcrow,
IconPlayerPlay,
IconPlaystationSquare,
IconPlug,
IconPlus,
IconPresentation,
IconProgressCheck,
IconPuzzle,
IconQuestionMark,
IconRefresh,
IconRelationManyToMany,
IconRelationOneToMany,
IconRelationOneToOne,
IconReload,
IconRepeat,
IconRestore,
IconRocket,
IconRotate,
IconRotate2,
IconSearch,
IconSend,
IconSettings,
IconSettingsAutomation,
IconSortDescending,
IconSparkles,
IconSql,
IconSquareRoundedCheck,
IconTable,
IconTag,
IconTags,
IconTarget,
IconTargetArrow,
IconTestPipe,
IconTextSize,
IconTimelineEvent,
IconTrash,
IconUnlink,
IconUpload,
IconUser,
IconUserCircle,
IconUsers,
IconVideo,
IconWand,
IconWorld,
IconX,
IconPlaylistAdd,
} from '@tabler/icons-react';
export type { TablerIconsProps } from '@tabler/icons-react';