Skip to content

Commit

Permalink
🚨 Lint and build
Browse files Browse the repository at this point in the history
  • Loading branch information
naelob committed Jul 15, 2024
1 parent e41f64b commit e273ba9
Show file tree
Hide file tree
Showing 86 changed files with 288 additions and 536 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,6 @@ import { ConnectionsStrategiesService } from './connections-strategies.service';

@Module({
controllers: [ConnectionsStrategiesController],
providers: [



ConnectionsStrategiesService,
ConfigService,
ValidateUserService,
],
providers: [ConnectionsStrategiesService, ConfigService, ValidateUserService],
})
export class ConnectionsStrategiesModule {}
2 changes: 1 addition & 1 deletion packages/api/src/@core/events/events.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { EventsController } from './events.controller';
import { EventsService } from './events.service';

@Module({
providers: [EventsService, ValidateUserService],
providers: [EventsService, ValidateUserService],
controllers: [EventsController],
})
export class EventsModule {}
2 changes: 1 addition & 1 deletion packages/api/src/@core/linked-users/linked-users.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { LinkedUsersController } from './linked-users.controller';
import { LinkedUsersService } from './linked-users.service';

@Module({
providers: [LinkedUsersService, ValidateUserService],
providers: [LinkedUsersService, ValidateUserService],
controllers: [LinkedUsersController],
})
export class LinkedUsersModule {}
2 changes: 1 addition & 1 deletion packages/api/src/@core/magic-link/magic-link.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ import { MagicLinkService } from './magic-link.service';

@Module({
controllers: [MagicLinkController],
providers: [MagicLinkService, JwtService],
providers: [MagicLinkService, JwtService],
})
export class MagicLinkModule {}
2 changes: 1 addition & 1 deletion packages/api/src/@core/passthrough/passthrough.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { PassthroughController } from './passthrough.controller';
import { PassthroughService } from './passthrough.service';

@Module({
providers: [PassthroughService, EncryptionService],
providers: [PassthroughService, EncryptionService],
controllers: [PassthroughController],
})
export class PassthroughModule {}
13 changes: 4 additions & 9 deletions packages/api/src/accounting/address/address.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,21 @@ import { SyncService } from './sync/sync.service';
import { IngestDataService } from '@@core/@core-services/unification/ingest-data.service';
import { BullQueueModule } from '@@core/@core-services/queues/queue.module';




import { CoreUnification } from '@@core/@core-services/unification/core-unification.service';

@Module({
imports: [BullQueueModule],
controllers: [AddressController],
providers: [
AddressService,

SyncService,
WebhookService,

ServiceRegistry,



IngestDataService,



/* PROVIDERS SERVICES */
],
exports: [SyncService],
Expand Down
13 changes: 4 additions & 9 deletions packages/api/src/accounting/attachment/attachment.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,22 @@ import { SyncService } from './sync/sync.service';
import { IngestDataService } from '@@core/@core-services/unification/ingest-data.service';
import { BullQueueModule } from '@@core/@core-services/queues/queue.module';




import { CoreUnification } from '@@core/@core-services/unification/core-unification.service';

@Module({
imports: [BullQueueModule],
controllers: [AttachmentController],
providers: [
AttachmentService,

SyncService,
WebhookService,

ServiceRegistry,
CoreUnification,



IngestDataService,



/* PROVIDERS SERVICES */
],
exports: [SyncService],
Expand Down
14 changes: 5 additions & 9 deletions packages/api/src/accounting/balancesheet/balancesheet.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,28 +11,24 @@ import { SyncService } from './sync/sync.service';
import { IngestDataService } from '@@core/@core-services/unification/ingest-data.service';
import { BullQueueModule } from '@@core/@core-services/queues/queue.module';




import { CoreUnification } from '@@core/@core-services/unification/core-unification.service';

@Module({
imports: [BullQueueModule],
controllers: [BalanceSheetController],
providers: [
BalanceSheetService,

SyncService,
WebhookService,

CoreUnification,

FieldMappingService,
ServiceRegistry,

IngestDataService,



/* PROVIDERS SERVICES */
],
exports: [SyncService],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,20 @@ import { SyncService } from './sync/sync.service';
import { IngestDataService } from '@@core/@core-services/unification/ingest-data.service';
import { BullQueueModule } from '@@core/@core-services/queues/queue.module';




import { CoreUnification } from '@@core/@core-services/unification/core-unification.service';

@Module({
imports: [BullQueueModule],
controllers: [CashflowStatementController],
providers: [
CashflowStatementService,

SyncService,
WebhookService,

ServiceRegistry,
CoreUnification,





IngestDataService,
/* PROVIDERS SERVICES */
],
Expand Down
13 changes: 4 additions & 9 deletions packages/api/src/accounting/companyinfo/companyinfo.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,22 @@ import { SyncService } from './sync/sync.service';
import { IngestDataService } from '@@core/@core-services/unification/ingest-data.service';
import { BullQueueModule } from '@@core/@core-services/queues/queue.module';




import { CoreUnification } from '@@core/@core-services/unification/core-unification.service';

@Module({
imports: [BullQueueModule],
controllers: [CompanyInfoController],
providers: [
CoreUnification,

CompanyInfoService,

SyncService,
WebhookService,




FieldMappingService,
ServiceRegistry,

IngestDataService,
/* PROVIDERS SERVICES */
],
Expand Down
13 changes: 4 additions & 9 deletions packages/api/src/accounting/contact/contact.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,21 @@ import { SyncService } from './sync/sync.service';
import { IngestDataService } from '@@core/@core-services/unification/ingest-data.service';
import { BullQueueModule } from '@@core/@core-services/queues/queue.module';




import { CoreUnification } from '@@core/@core-services/unification/core-unification.service';

@Module({
imports: [BullQueueModule],
controllers: [ContactController],
providers: [
ContactService,

SyncService,
WebhookService,

ServiceRegistry,

CoreUnification,




IngestDataService,
/* PROVIDERS SERVICES */
],
Expand Down
14 changes: 5 additions & 9 deletions packages/api/src/accounting/creditnote/creditnote.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,22 @@ import { SyncService } from './sync/sync.service';
import { IngestDataService } from '@@core/@core-services/unification/ingest-data.service';
import { BullQueueModule } from '@@core/@core-services/queues/queue.module';




import { CoreUnification } from '@@core/@core-services/unification/core-unification.service';

@Module({
imports: [BullQueueModule],
controllers: [CreditNoteController],
providers: [
CreditNoteService,

CoreUnification,

SyncService,



WebhookService,

ServiceRegistry,

IngestDataService,
/* PROVIDERS SERVICES */
],
Expand Down
13 changes: 4 additions & 9 deletions packages/api/src/accounting/expense/expense.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ import { SyncService } from './sync/sync.service';
import { IngestDataService } from '@@core/@core-services/unification/ingest-data.service';
import { BullQueueModule } from '@@core/@core-services/queues/queue.module';




import { CoreUnification } from '@@core/@core-services/unification/core-unification.service';

@Module({
Expand All @@ -22,15 +19,13 @@ import { CoreUnification } from '@@core/@core-services/unification/core-unificat
providers: [
ExpenseService,
CoreUnification,




SyncService,

WebhookService,

ServiceRegistry,

IngestDataService,
/* PROVIDERS SERVICES */
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,22 @@ import { SyncService } from './sync/sync.service';
import { IngestDataService } from '@@core/@core-services/unification/ingest-data.service';
import { BullQueueModule } from '@@core/@core-services/queues/queue.module';




import { CoreUnification } from '@@core/@core-services/unification/core-unification.service';

@Module({
imports: [BullQueueModule],
controllers: [IncomeStatementController],
providers: [
IncomeStatementService,

SyncService,
CoreUnification,

WebhookService,




FieldMappingService,
ServiceRegistry,

IngestDataService,
/* PROVIDERS SERVICES */
],
Expand Down
12 changes: 3 additions & 9 deletions packages/api/src/accounting/invoice/invoice.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,20 @@ import { SyncService } from './sync/sync.service';
import { IngestDataService } from '@@core/@core-services/unification/ingest-data.service';
import { BullQueueModule } from '@@core/@core-services/queues/queue.module';




import { CoreUnification } from '@@core/@core-services/unification/core-unification.service';

@Module({
imports: [BullQueueModule],
controllers: [InvoiceController],
providers: [
InvoiceService,




SyncService,
WebhookService,
CoreUnification,



ServiceRegistry,

IngestDataService,
/* PROVIDERS SERVICES */
],
Expand Down
13 changes: 4 additions & 9 deletions packages/api/src/accounting/item/item.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,21 @@ import { SyncService } from './sync/sync.service';
import { IngestDataService } from '@@core/@core-services/unification/ingest-data.service';
import { BullQueueModule } from '@@core/@core-services/queues/queue.module';




import { CoreUnification } from '@@core/@core-services/unification/core-unification.service';
@Module({
imports: [BullQueueModule],
controllers: [ItemController],
providers: [
ItemService,




SyncService,
WebhookService,

ServiceRegistry,

IngestDataService,
CoreUnification,

/* PROVIDERS SERVICES */
],
exports: [SyncService],
Expand Down
Loading

0 comments on commit e273ba9

Please sign in to comment.