Deploy Inicial do SteelCheck com Docker Build Automatizado
This commit is contained in:
45
types.ts
Normal file
45
types.ts
Normal file
@@ -0,0 +1,45 @@
|
||||
|
||||
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[];
|
||||
}
|
||||
Reference in New Issue
Block a user