Feat/Expenses/RF32: Endpoint for expenseReport data by id #337
Annotations
6 errors and 3 warnings
Compile:
src/core/infra/mappers/expense-entity-from-db-model.mapper.ts#L9
Property 'supplier' does not exist on type '{ id: string; title: string; justification: string; total_amount: Decimal; status: string | null; category: string | null; date: Date; created_at: Date; updated_at: Date | null; id_report: string; id_file: string | null; }'.
|
Compile:
src/core/infra/mappers/expense-entity-from-db-model.mapper.ts#L9
Property 'supplier' does not exist on type '{ id: string; title: string; justification: string; total_amount: Decimal; status: string | null; category: string | null; date: Date; created_at: Date; updated_at: Date | null; id_report: string; id_file: string | null; }'.
|
Compile:
src/core/infra/mappers/expense-entity-from-db-model.mapper.ts#L17
Property 'url_file' does not exist on type '{ id: string; title: string; justification: string; total_amount: Decimal; status: string | null; category: string | null; date: Date; created_at: Date; updated_at: Date | null; id_report: string; id_file: string | null; }'.
|
Compile:
src/core/infra/mappers/expense-entity-from-db-model.mapper.ts#L17
Property 'url_file' does not exist on type '{ id: string; title: string; justification: string; total_amount: Decimal; status: string | null; category: string | null; date: Date; created_at: Date; updated_at: Date | null; id_report: string; id_file: string | null; }'.
|
Compile:
src/core/infra/repositories/expense.repository.ts#L29
Argument of type '{ employee: { id: string; first_name: string; last_name: string; email: string; image_url: string | null; created_at: Date; updated_at: Date | null; id_department: string | null; id_role: string; device_token: string | null; }; expense: { ...; }[]; } & { ...; }' is not assignable to parameter of type 'RawExpenseReport'.
|
Compile
Process completed with exit code 2.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Check for leaked secrets
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Loading