Skip to content

Commit

Permalink
feat(projects): add new project types (#808)
Browse files Browse the repository at this point in the history
TSP-214
  • Loading branch information
pcoelho-coveo authored Mar 26, 2024
1 parent 0ff623f commit 2c09615
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions src/resources/Projects/ProjectInterfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,37 @@ export const projectResourceTypes = [

export type ProjectResourceType = (typeof projectResourceTypes)[number];

/**
* Enum representing the possible project types.
*
* @enum {string}
*/
export enum ProjectType {
CaseDeflection = 'CASE_DEFLECTION',
Commerce = 'COMMERCE',
CommunityPortal = 'COMMUNITY_PORTAL',
CorporateWebsite = 'CORPORATE_WEBSITE',
HrEmployeePortal = 'HR_EMPLOYEE_PORTAL',
Intranet = 'INTRANET',
InProductSearch = 'IN_PRODUCT_SEARCH',
ItEmployeePortal = 'IT_EMPLOYEE_PORTAL',
Other = 'OTHER',
SupportExperience = 'SUPPORT_EXPERIENCE',
SupportPortal = 'SUPPORT_PORTAL',

/**
* @deprecated Use SupportPortal instead
*/
Service = 'SERVICE',

/**
* @deprecated Use CorporateWebsite instead
*/
Website = 'WEBSITE',

/**
* @deprecated Use Intranet instead
*/
Workplace = 'WORKPLACE',
}

Expand Down

0 comments on commit 2c09615

Please sign in to comment.