Remove unnecessary constants types.
MODIFY
src/types/Authorization.ts
src/types/Authorization.ts
@@ -179,14 +179,12 @@ export enum DynamicAuthorizationFilterName {
ASSIGNED_SITES_COMPANIES = 'AssignedSitesCompanies',
SITES_ADMIN = 'SitesAdmin',
ASSIGNED_SITE_AREAS = 'AssignedSiteAreas',
- SITE_ADMIN_SITE_AREAS = 'SiteAdminSiteAreas',
}
export enum DynamicAuthorizationDataSourceName {
ASSIGNED_SITES_COMPANIES = 'AssignedSitesCompanies',
SITES_ADMIN = 'SitesAdmin',
ASSIGNED_SITE_AREAS = 'AssignedSiteAreas',
- SITE_ADMIN_SITE_AREAS = 'SiteAdminSiteAreas',
}
export interface DynamicAuthorizationDataSourceData {}
@@ -202,6 +200,3 @@ export interface SitesAdminDynamicAuthorizationDataSourceData extends DynamicAut
export interface AssignedSiteAreasDynamicAuthorizationDataSourceData extends DynamicAuthorizationDataSourceData {
siteAreaIDs?: string[];
}
-export interface SiteAdminSiteAreasDynamicAuthorizationDataSourceData extends DynamicAuthorizationDataSourceData {
- siteAreaIDs?: string[];
-}

Remove unnecessary constants types.