61 lines
No EOL
1.4 KiB
TypeScript
61 lines
No EOL
1.4 KiB
TypeScript
interface FormData {
|
|
respondentType: string
|
|
office: string
|
|
consideredAgency: string
|
|
title: string
|
|
description: string
|
|
dateReceived: Date | null
|
|
dateConsideration: Date | null
|
|
offenseDetails: string
|
|
levelConsideration: string
|
|
dateNotification: Date | null
|
|
complaintFrom: string
|
|
appellant: string
|
|
documentFile: any | null
|
|
complaintStatus: string
|
|
persons: ArrayPerson[]
|
|
personId: any
|
|
organizationId:string|null
|
|
respondentId:any
|
|
}
|
|
|
|
interface ArrayPerson {
|
|
idcard: string,
|
|
name: string,
|
|
position: string,
|
|
positionLevel: string,
|
|
salary: string,
|
|
organization: string,
|
|
}
|
|
interface MyObjectComplaintsRef {
|
|
respondentType: object | null;
|
|
office: object | null;
|
|
consideredAgency: object | null;
|
|
title: object | null;
|
|
description: object | null;
|
|
dateReceived: object | null;
|
|
dateConsideration: object | null;
|
|
offenseDetails: object | null;
|
|
levelConsideration: object | null;
|
|
dateNotification: object | null;
|
|
complaintFrom: object | null;
|
|
appellant: object | null;
|
|
documentFile: object | null;
|
|
[key: string]: any;
|
|
}
|
|
|
|
interface DataAddRequest {
|
|
id: string
|
|
idcard: string
|
|
name: string
|
|
position: string
|
|
positionLevel: string
|
|
salary: string
|
|
organization: string
|
|
}
|
|
export type {
|
|
FormData,
|
|
MyObjectComplaintsRef,
|
|
DataAddRequest,
|
|
ArrayPerson
|
|
} |