Skip to content

Commit 49324c5

Browse files
committed
chore: update interfaces/index.ts
1 parent b92307a commit 49324c5

21 files changed

Lines changed: 25 additions & 23 deletions

frontend/src/interfaces/index.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1-
export type { IInputEvent } from './IInputEvent';
2-
export type { IPaginationOptions } from './IPaginationOptions';
3-
export type { IStamps } from './IStamps';
1+
export * from './IInputEvent';
2+
export * from './IPaginationOptions';
3+
export * from './IProject';
4+
export * from './IProjectService';
5+
export * from './ISsoAttributes';
6+
export * from './IStamps';

frontend/src/services/electrificationProjectService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { appAxios } from './interceptors';
22
import { Initiative } from '@/utils/enums/application';
33

44
import type { AxiosResponse } from 'axios';
5-
import type { IDraftableProjectService } from '@/interfaces/IProjectService';
5+
import type { IDraftableProjectService } from '@/interfaces';
66
import type { ElectrificationProjectSearchParameters, Draft, ElectrificationProject, StatisticFilters } from '@/types';
77
import type { FormSchemaType } from '@/validators/electrification/projectIntakeFormSchema';
88

frontend/src/services/generalProjectService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { appAxios } from './interceptors';
22
import { Initiative } from '@/utils/enums/application';
33

44
import type { AxiosResponse } from 'axios';
5-
import type { IDraftableProjectService } from '@/interfaces/IProjectService';
5+
import type { IDraftableProjectService } from '@/interfaces';
66
import type { Draft, GeneralProject, GeneralProjectSearchParameters, StatisticFilters } from '@/types';
77
import type { FormSchemaType } from '@/validators/general/projectIntakeFormSchema';
88

frontend/src/services/housingProjectService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { appAxios } from './interceptors';
22
import { Initiative } from '@/utils/enums/application';
33

44
import type { AxiosResponse } from 'axios';
5-
import type { IDraftableProjectService } from '@/interfaces/IProjectService';
5+
import type { IDraftableProjectService } from '@/interfaces';
66
import type { Draft, HousingProject, HousingProjectSearchParameters, StatisticFilters } from '@/types';
77
import type { FormSchemaType } from '@/validators/housing/projectIntakeFormSchema';
88

frontend/src/types/common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export type PartialFields<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K
2525
export type Replace<T, R> = Omit<T, keyof R> & R;
2626
export type RequiredFields<T, K extends keyof T> = T & Required<Pick<T, K>>;
2727
export type ValueOf<T> = T[keyof T];
28-
export type UUID = `${string}-${string}-${string}-${string}-${string}`;
28+
export type UUID = string; // nosonar
2929

3030
/**
3131
* PCNS Specific

frontend/src/types/models.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { GeoJSON } from 'geojson';
22

33
import type { MaybeUndefined, Nullable, UUID } from './common';
4-
import type { IStamps } from '@/interfaces';
4+
import type { IProject, IStamps } from '@/interfaces';
55
import type { AccessRequestStatus, BasicResponse, IdentityProviderKind } from '@/utils/enums/application';
66
import type { NumResidentialUnits } from '@/utils/enums/housing';
77
import type {
@@ -17,7 +17,6 @@ import type {
1717
SubmissionType
1818
} from '@/utils/enums/projectCommon';
1919
import type { BusinessArea, PermitStage, PermitState, PiesOnHold } from '@/utils/enums/codeEnums';
20-
import type { IProject } from '@/interfaces/IProject';
2120
import type { Group } from './api/response.types';
2221

2322
/**

frontend/src/types/oidc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { ISsoAttribute } from '@/interfaces/ISsoAttribute';
1+
import type { ISsoAttribute } from '@/interfaces';
22

33
export interface BasicBceidAttribute extends ISsoAttribute {
44
bceidUserGuid: string;

frontend/src/utils/keys.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { InjectionKey, Ref } from 'vue';
22

3-
import type { IDraftableProjectService, IProjectService } from '@/interfaces/IProjectService';
3+
import type { IDraftableProjectService, IProjectService } from '@/interfaces';
44
import type { NavigationPermission } from '@/store/authzStore';
55
import type { Resource, RouteName } from '@/utils/enums/application';
66

frontend/src/views/external/EnquiryIntakeView.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import {
1818
import { generalErrorHandler } from '@/utils/utils';
1919
2020
import type { Ref } from 'vue';
21-
import type { IProjectService } from '@/interfaces/IProjectService';
21+
import type { IProjectService } from '@/interfaces';
2222
2323
// Props
2424
const {

0 commit comments

Comments
 (0)