Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added app.log
Binary file not shown.
6 changes: 4 additions & 2 deletions dist/app.controller.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import { AppService } from './app.service';
import { CreateInvoiceDto } from './invoices/dto/create-invoice.dto';
import { InvoiceDto } from './invoices/dto/invoice.dto';
export declare class AppController {
private readonly appService;
constructor(appService: AppService);
getInvoices(): any[];
createInvoice(body: any): any;
getInvoices(): InvoiceDto[];
createInvoice(createInvoiceDto: CreateInvoiceDto): InvoiceDto;
}
28 changes: 23 additions & 5 deletions dist/app.controller.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/app.controller.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion dist/app.module.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/app.module.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions dist/app.service.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { CreateInvoiceDto } from './invoices/dto/create-invoice.dto';
import { InvoiceDto } from './invoices/dto/invoice.dto';
export declare class AppService {
private invoices;
getAllInvoices(): any[];
processNewInvoice(data: any): any;
getAllInvoices(): InvoiceDto[];
processNewInvoice(data: CreateInvoiceDto): InvoiceDto;
}
2 changes: 1 addition & 1 deletion dist/app.service.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions dist/database.providers.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { DataSource } from 'typeorm';
export declare const databaseProviders: {
provide: string;
useFactory: () => Promise<DataSource>;
}[];
29 changes: 29 additions & 0 deletions dist/database.providers.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/database.providers.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions dist/health/health.controller.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { DataSource } from 'typeorm';
export declare class HealthController {
private readonly dataSource;
constructor(dataSource: DataSource);
healthCheck(): Promise<{
status: string;
database: string;
timestamp: string;
}>;
}
61 changes: 61 additions & 0 deletions dist/health/health.controller.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/health/health.controller.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions dist/health/health.module.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export declare class HealthModule {
}
22 changes: 22 additions & 0 deletions dist/health/health.module.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/health/health.module.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions dist/invoices/dto/create-invoice.dto.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export declare class CreateInvoiceDto {
amount: number;
date: string;
customer: string;
description?: string;
}
50 changes: 50 additions & 0 deletions dist/invoices/dto/create-invoice.dto.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/invoices/dto/create-invoice.dto.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions dist/invoices/dto/invoice.dto.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
export declare class InvoiceDto {
id: string;
amount: number;
date: string;
customer: string;
description?: string;
riskScore: number;
status: string;
timestamp: string;
}
Loading