Misc linting fixes.

This commit is contained in:
Patrick Fic
2025-03-19 13:52:49 -07:00
parent 3277af73f6
commit e67309ed4d
12 changed files with 36 additions and 30 deletions

View File

@@ -1,7 +1,7 @@
export interface DecodedTtl {
clm_total: number;
depreciation_taxes: number;
cieca_ttl: DecodedTtlLine;
cieca_ttl: { data: DecodedTtlLine };
}
export interface DecodedTtlLine {

View File

@@ -47,6 +47,10 @@ const DecodeTtl = async (
//Apply business logic transfomrations.
return { clm_total: 0, depreciation_taxes: 0, cieca_ttl: rawTtlData };
return {
clm_total: 0,
depreciation_taxes: 0,
cieca_ttl: { data: rawTtlData },
};
};
export default DecodeTtl;

View File

@@ -45,7 +45,8 @@ async function ImportJob(filepath: string): Promise<void> {
const pfm: DecodedPfm = await DecodePfm(extensionlessFilePath);
const pfo: DecodedPfo = await DecodePfo(extensionlessFilePath); // TODO: This will be the `cieca_pfo` object
const stl: DecodedStl[] = await DecodeStl(extensionlessFilePath); // TODO: This will be the `cieca_stl` object
const ttl: DecodedTtl = await DecodeTtl(extensionlessFilePath); //
const ttl: DecodedTtl = await DecodeTtl(extensionlessFilePath);
log.debug("EMS Object", {
ad1,
ad2,