mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 20:30:33 +00:00
refactor(nestjs): export module
This commit is contained in:
@@ -2,8 +2,11 @@ import { Exportable } from '@/modules/Export/Exportable';
|
||||
import { CreditNoteApplication } from '../CreditNoteApplication.service';
|
||||
import { Injectable } from '@nestjs/common';
|
||||
import { ICreditNotesQueryDTO } from '../types/CreditNotes.types';
|
||||
import { ExportableService } from '@/modules/Export/decorators/ExportableModel.decorator';
|
||||
import { CreditNote } from '../models/CreditNote';
|
||||
|
||||
@Injectable()
|
||||
@ExportableService({ name: CreditNote.name })
|
||||
export class CreditNotesExportable extends Exportable {
|
||||
constructor(private readonly creditNotesApp: CreditNoteApplication) {
|
||||
super();
|
||||
|
||||
Reference in New Issue
Block a user