diff --git a/utilities/project-factory/src/server/config/constants.ts b/utilities/project-factory/src/server/config/constants.ts index 50faf5f7beb..f07957a26cc 100644 --- a/utilities/project-factory/src/server/config/constants.ts +++ b/utilities/project-factory/src/server/config/constants.ts @@ -36,6 +36,7 @@ export const CONSTANTS: any = { CAMPAIGN_NAME_ERROR: "Campaign name already exists", CAMPAIGN_ALREADY_MAPPED: "Campaign is already mapped", PARENT_CAMPAIGN_ERROR: "Parent campaign not found", + INVALID_RESOURCE_DISTRIBUTION_STRATEGY: "Invalid resource distribution strategy", }, BOUNDARY: { BOUNDARY_DATA_NOT_FOUND: "No boundary data found in the system.", @@ -146,6 +147,10 @@ export const processTrackStatuses = { failed: "failed", } +export const resourceDistributionStrategyTypes = [ + "FIXED", "MIXED", "HOUSE_TO_HOUSE" +] + // Retrieves the error object containing the error code, message, and notFound flag. export const getErrorCodes = (module: string, key: string): Error => {