46 lines
896 B
TypeScript
46 lines
896 B
TypeScript
|
|
export interface IdentificationData {
|
|
product: string;
|
|
standards: string;
|
|
manufacturer: string;
|
|
certificateNumber: string;
|
|
certificateDate: string;
|
|
batches: string;
|
|
heats: string;
|
|
quantity: string;
|
|
}
|
|
|
|
export interface ComplianceItem {
|
|
property?: string;
|
|
element?: string;
|
|
test?: string;
|
|
norm: string;
|
|
certificate: string;
|
|
status: 'OK' | 'FALHA';
|
|
}
|
|
|
|
export interface ComplianceData {
|
|
status: 'CONFORME' | 'NÃO CONFORME';
|
|
mechanical: ComplianceItem[];
|
|
chemical: ComplianceItem[];
|
|
otherTests: ComplianceItem[];
|
|
}
|
|
|
|
export interface OverPerformanceItem {
|
|
property: string;
|
|
value: string;
|
|
}
|
|
|
|
export interface EquivalentItem {
|
|
system: string;
|
|
norm: string;
|
|
}
|
|
|
|
export interface ReportData {
|
|
confidence: number;
|
|
identification: IdentificationData;
|
|
compliance: ComplianceData;
|
|
overPerformance: OverPerformanceItem[];
|
|
equivalents: EquivalentItem[];
|
|
}
|