canina/docs/audit/30-compiler-diagnostics-index.json
2026-08-06 20:54:44 +03:30

81 lines
3.6 KiB
JSON

[
{
"diagnosticId": "DIAG-001",
"errorCode": "TS2322",
"file": "backend/prisma/seed.ts",
"line": 54,
"column": 7,
"messageSummary": "Property 'slug' is missing in type '{ artNo: any; ... }' but required in type 'ProductCreateInput'.",
"sourceCategory": "Seed Script",
"canonicalFindingId": "TS-002",
"disposition": "ACCEPTED_NEW_FINDING",
"verificationCommand": "cmd /c \"backend\\node_modules\\.bin\\tsc.cmd --noEmit -p backend\\tsconfig.json\"",
"verificationRequirement": "Add slug property to product items in backend/prisma/seed.ts payload."
},
{
"diagnosticId": "DIAG-002",
"errorCode": "TS1272",
"file": "backend/src/common/metrics.controller.ts",
"line": 18,
"column": 32,
"messageSummary": "A type referenced in a decorated signature must be imported with 'import type' or a namespace import when 'isolatedModules' and 'emitDecoratorMetadata' are enabled.",
"sourceCategory": "Production Controller",
"canonicalFindingId": "TS-003",
"disposition": "ACCEPTED_NEW_FINDING",
"verificationCommand": "cmd /c \"backend\\node_modules\\.bin\\tsc.cmd --noEmit -p backend\\tsconfig.json\"",
"verificationRequirement": "Use import type { Response } from 'express' in metrics.controller.ts."
},
{
"diagnosticId": "DIAG-003",
"errorCode": "TS2339",
"file": "backend/src/pets/pets.controller.spec.ts",
"line": 71,
"column": 19,
"messageSummary": "Property 'success' does not exist on type '{ id: string; name: string; ... }'.",
"sourceCategory": "Unit Spec Test",
"canonicalFindingId": "TEST-001",
"disposition": "REVISED_ORIGINAL",
"verificationCommand": "cmd /c \"backend\\node_modules\\.bin\\tsc.cmd --noEmit -p backend\\tsconfig.json\"",
"verificationRequirement": "Update spec assertion to check pet entity properties directly instead of result.success."
},
{
"diagnosticId": "DIAG-004",
"errorCode": "TS2339",
"file": "backend/src/settings/settings.controller.spec.ts",
"line": 65,
"column": 19,
"messageSummary": "Property 'success' does not exist on type '{ metaTitle: string | null; ... }'.",
"sourceCategory": "Unit Spec Test",
"canonicalFindingId": "TEST-001",
"disposition": "REVISED_ORIGINAL",
"verificationCommand": "cmd /c \"backend\\node_modules\\.bin\\tsc.cmd --noEmit -p backend\\tsconfig.json\"",
"verificationRequirement": "Update spec assertion to check setting entity properties directly instead of result.success."
},
{
"diagnosticId": "DIAG-005",
"errorCode": "TS18047",
"file": "backend/src/users/users.controller.spec.ts",
"line": 42,
"column": 12,
"messageSummary": "'result' is possibly 'null'.",
"sourceCategory": "Unit Spec Test",
"canonicalFindingId": "TEST-001",
"disposition": "REVISED_ORIGINAL",
"verificationCommand": "cmd /c \"backend\\node_modules\\.bin\\tsc.cmd --noEmit -p backend\\tsconfig.json\"",
"verificationRequirement": "Add non-null assertion check for result in users.controller.spec.ts line 42."
},
{
"diagnosticId": "DIAG-006",
"errorCode": "TS2339",
"file": "backend/src/users/users.controller.spec.ts",
"line": 89,
"column": 19,
"messageSummary": "Property 'success' does not exist on type '{ id: string; createdAt: Date; ... }'.",
"sourceCategory": "Unit Spec Test",
"canonicalFindingId": "TEST-001",
"disposition": "REVISED_ORIGINAL",
"verificationCommand": "cmd /c \"backend\\node_modules\\.bin\\tsc.cmd --noEmit -p backend\\tsconfig.json\"",
"verificationRequirement": "Update spec assertion to check address entity properties directly instead of result.success."
}
]