Skip to content

Commit

Permalink
fix(jobs-list): reordered jobs list to match alpha ordering
Browse files Browse the repository at this point in the history
Took 11 minutes
  • Loading branch information
Croos3r authored and Dorian Moy committed Nov 5, 2023
1 parent 436afe1 commit 190b65d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions backend/back/src/types/jobIds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
4 changes: 2 additions & 2 deletions backend/back/src/types/jobs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 190b65d

Please sign in to comment.