feat(core): Refactor project structure for better modularity and code organization
This commit is contained in:
8
ts_shared/interfaces/document.ts
Normal file
8
ts_shared/interfaces/document.ts
Normal file
@ -0,0 +1,8 @@
|
||||
import * as translation from '../translation.js';
|
||||
|
||||
export interface IDocumentSettings {
|
||||
enableTopDraftText?: boolean;
|
||||
enableDefaultHeader?: boolean;
|
||||
enableDefaultFooter?: boolean;
|
||||
languageCode?: translation.TLanguageCode;
|
||||
}
|
2
ts_shared/interfaces/index.ts
Normal file
2
ts_shared/interfaces/index.ts
Normal file
@ -0,0 +1,2 @@
|
||||
export * from './document.js';
|
||||
export * from './translation.js';
|
19
ts_shared/interfaces/translation.ts
Normal file
19
ts_shared/interfaces/translation.ts
Normal file
@ -0,0 +1,19 @@
|
||||
export interface IDeDocumentTranslations {
|
||||
address: string;
|
||||
bankConnection: string;
|
||||
contactInfo: string;
|
||||
description: string;
|
||||
invoice: string;
|
||||
itemPos: string;
|
||||
quantity: string;
|
||||
registrationInfo: string;
|
||||
reverseVatNote: string;
|
||||
totalNetPrice: string;
|
||||
unitNetPrice: string;
|
||||
unitType: string;
|
||||
yourCustomerId: string;
|
||||
yourVatId: string;
|
||||
continuesOnPage: string;
|
||||
finalPageStatement: string;
|
||||
page: string;
|
||||
}
|
Reference in New Issue
Block a user