diff --git a/backend/back/src/types/jobIds.ts b/backend/back/src/types/jobIds.ts index 1a5641e6..26564f95 100644 --- a/backend/back/src/types/jobIds.ts +++ b/backend/back/src/types/jobIds.ts @@ -18,13 +18,13 @@ export const JobsIdentifiers: JobsIdentifiers = { "area-enable-workflow": ({ workflowStepId }) => uniqueJobId("area-enable-workflow", workflowStepId), "area-on-account-connect": ({ ownerId }) => `area-on-account-connect-${ownerId}`, "area-on-action": ({ ownerId }) => `area-on-action-${ownerId}`, + "area-on-workflow-create": ({ ownerId }) => `area-on-workflow-create-${ownerId}`, + "area-on-workflow-toggle": ({ ownerId }) => `area-on-workflow-toggle-${ownerId}`, "discord-on-avatar-change": ({ workflowStepId }) => uniqueJobId("discord-on-avatar-change", workflowStepId), "discord-on-guild-avatar-change": ({ workflowStepId }) => uniqueJobId("discord-on-guild-avatar-change", workflowStepId), "discord-on-guild-boost": ({ workflowStepId }) => uniqueJobId("discord-on-guild-boost", workflowStepId), "discord-on-guild-deafen": ({ workflowStepId }) => uniqueJobId("discord-on-guild-deafen", workflowStepId), - "area-on-workflow-create": ({ ownerId }) => `area-on-workflow-create-${ownerId}`, - "area-on-workflow-toggle": ({ ownerId }) => `area-on-workflow-toggle-${ownerId}`, "discord-on-guild-join": ({ workflowStepId }) => uniqueJobId("discord-on-guild-join", workflowStepId), "discord-on-guild-leave": ({ workflowStepId }) => uniqueJobId("discord-on-guild-leave", workflowStepId), "discord-on-guild-mute": ({ workflowStepId }) => uniqueJobId("discord-on-guild-mute", workflowStepId), diff --git a/backend/back/src/types/jobs.ts b/backend/back/src/types/jobs.ts index 2d393861..75b6d235 100644 --- a/backend/back/src/types/jobs.ts +++ b/backend/back/src/types/jobs.ts @@ -45,11 +45,11 @@ export const JobParamsClasses = { "area-enable-workflow": WorkflowToggleParams, "area-on-account-connect": OwnerJobParams, "area-on-action": OwnerJobParams, + "area-on-workflow-create": OwnerJobParams, + "area-on-workflow-toggle": OwnerJobParams, "discord-on-avatar-change": UniqueJobParams, "discord-on-guild-avatar-change": DiscordGuildIdParams, "discord-on-guild-boost": DiscordGuildIdParams, - "area-on-workflow-create": OwnerJobParams, - "area-on-workflow-toggle": OwnerJobParams, "discord-on-guild-deafen": DiscordGuildIdParams, "discord-on-guild-join": UniqueJobParams, "discord-on-guild-leave": DiscordOptionalGuildIdParams,