Atualização automática - 2026-06-24 13:47:42
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
import fs from 'fs';
|
||||
import { validateCertificateAgainstStandard } from './services/validationEngine.js'; // Need to mock or transpile
|
||||
|
||||
const std = JSON.parse(fs.readFileSync('./data/standards.json', 'utf8'))[0];
|
||||
const report = {
|
||||
identification: { product: "PERFIL I" },
|
||||
compliance: {
|
||||
mechanical: [
|
||||
{ property: "Yield Strength (Limite de Escoamento)", certificate: "415 MPa", status: "OK" },
|
||||
{ property: "Tensile Strength", certificate: "547 MPa", status: "OK" }
|
||||
],
|
||||
chemical: []
|
||||
}
|
||||
};
|
||||
|
||||
// We can't import typescript directly in node easily without tsx or ts-node.
|
||||
Reference in New Issue
Block a user