first commit
This commit is contained in:
10
frontend/app/utils/interface/expense.ts
Normal file
10
frontend/app/utils/interface/expense.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
export interface Expense {
|
||||
expenseIdentifier?: string;
|
||||
expenseName: string;
|
||||
location: string;
|
||||
currency: string;
|
||||
cost: number;
|
||||
quantity: number;
|
||||
totalCost: number;
|
||||
remarks: string;
|
||||
}
|
||||
35
frontend/app/utils/interface/issue.ts
Normal file
35
frontend/app/utils/interface/issue.ts
Normal file
@@ -0,0 +1,35 @@
|
||||
export interface IssueData {
|
||||
issueId?: string;
|
||||
|
||||
issueTitle: string;
|
||||
|
||||
issueProbability: number;
|
||||
|
||||
grossIssueValue: number;
|
||||
|
||||
probableIssueValue: number;
|
||||
|
||||
probableIssueValueInUSD: number;
|
||||
|
||||
issueImpact: string;
|
||||
|
||||
issueOwner: string;
|
||||
|
||||
issueDescription: string;
|
||||
|
||||
mitigationAction?: string;
|
||||
|
||||
projectIdentifier: string;
|
||||
|
||||
financialIssue: boolean;
|
||||
|
||||
issueCreatedDate?: string;
|
||||
|
||||
issueOptionsSelectId?: string;
|
||||
|
||||
issueStatus?: string;
|
||||
|
||||
issueAge?: number;
|
||||
|
||||
effectedSprintId?: string;
|
||||
}
|
||||
48
frontend/app/utils/interface/productOfProject.ts
Normal file
48
frontend/app/utils/interface/productOfProject.ts
Normal file
@@ -0,0 +1,48 @@
|
||||
import { Expense } from "./expense";
|
||||
|
||||
export interface ProductOfProject {
|
||||
productIdentifier: string;
|
||||
projectIdentifier: string;
|
||||
projectName: string;
|
||||
projectManager: string;
|
||||
|
||||
accountId: string;
|
||||
leadIdentifier: string;
|
||||
|
||||
productStatus: string;
|
||||
projectStatus: string;
|
||||
productType: string;
|
||||
productDescription: string;
|
||||
discountPercent: number;
|
||||
|
||||
resourceDataWithAllocation: ResourceAllocationDto[];
|
||||
scheduleData?: { projectIdentifier?: string; productIdentifier?: string; task: any[]; group?: Record<string, any>; dependency?: any[] } | null;
|
||||
|
||||
createdOn: string;
|
||||
createdBy: string;
|
||||
updatedBy: string;
|
||||
updatedOn: string;
|
||||
expenseDetails: Record<string, Expense>;
|
||||
}
|
||||
|
||||
|
||||
export interface ResourceAllocationDto {
|
||||
id?: string;
|
||||
allocation: Record<string, number>;
|
||||
detailedAllocation: Record<string, DetailedAllocationValue>;
|
||||
resourceType: string;
|
||||
role: string;
|
||||
gradeId: number;
|
||||
employeeName: string;
|
||||
taskName: string;
|
||||
resourceId: string;
|
||||
taskId: number;
|
||||
}
|
||||
|
||||
export interface DetailedAllocationValue {
|
||||
hours?: number;
|
||||
date?: string;
|
||||
cost?: number;
|
||||
comments?: string;
|
||||
approved?: boolean;
|
||||
}
|
||||
46
frontend/app/utils/interface/project.ts
Normal file
46
frontend/app/utils/interface/project.ts
Normal file
@@ -0,0 +1,46 @@
|
||||
export interface Project {
|
||||
projectIdentifier: string;
|
||||
|
||||
projectManager: string;
|
||||
projectName: string;
|
||||
projectStatus: string;
|
||||
projectNumber: string;
|
||||
parentProjectNo: string;
|
||||
contractNumber: string;
|
||||
projectClient: string;
|
||||
projectCity: string;
|
||||
projectCountry: string;
|
||||
currency: string;
|
||||
projectImage: string;
|
||||
contractUpload: string;
|
||||
source: string;
|
||||
productType: string;
|
||||
expenses: string;
|
||||
formattedActualRevenueIncludingVAT_deal: string;
|
||||
isCompleted: boolean;
|
||||
groupNotExist: boolean;
|
||||
isDebtRevenue_deal: boolean;
|
||||
projectDescription: string;
|
||||
|
||||
createdById: string;
|
||||
updatedBy: string;
|
||||
projectManagerDelegates: string;
|
||||
|
||||
projectStartDate: string;
|
||||
contractedStartDate: string;
|
||||
contractedEndDate: string;
|
||||
createdOn: string;
|
||||
updatedOn: string;
|
||||
|
||||
projectTeam: string[];
|
||||
projectTeamUnderProjectManager: string[];
|
||||
projectTeamUnderProjectManagerDelegates: string[];
|
||||
|
||||
groupAssigneesEditStr: string;
|
||||
groupAssigneesViewStr: string;
|
||||
|
||||
participants: Record<string, any>;
|
||||
contractedProductIdentifierWiseDataObj: Record<string, any>;
|
||||
|
||||
productIdentifier: string;
|
||||
}
|
||||
18
frontend/app/utils/interface/risk.ts
Normal file
18
frontend/app/utils/interface/risk.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
export interface RiskData {
|
||||
riskIdentifier?: string;
|
||||
riskTitle?: string;
|
||||
riskProbability: number;
|
||||
grossRiskValue?: number;
|
||||
probableRiskValue?: number;
|
||||
probableRiskValueInUSD?: number;
|
||||
riskImpact?: string;
|
||||
riskOwner?: string;
|
||||
riskDescription?: string;
|
||||
projectIdentifier?: string;
|
||||
financialRisk?: boolean;
|
||||
riskCreatedDate?: string;
|
||||
riskOptionsSelectId?: string;
|
||||
riskStatus?: string;
|
||||
riskAge?: number;
|
||||
effectedSprintId?: string
|
||||
}
|
||||
Reference in New Issue
Block a user