Skip to content

Commit

Permalink
Update constants.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ashish-egov authored Aug 27, 2024
1 parent b479aa1 commit 65f8883
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions utilities/project-factory/src/server/config/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down Expand Up @@ -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 => {
Expand Down

0 comments on commit 65f8883

Please sign in to comment.