feat: organization metadata redesigned.

This commit is contained in:
a.bouhuolia
2021-09-04 09:49:26 +02:00
parent 4706519121
commit f2c51c6023
24 changed files with 681 additions and 245 deletions

View File

@@ -0,0 +1,14 @@
export interface IJobMeta {
id: string;
nextRunAt: Date;
lastModifiedBy: null | Date;
lockedAt: null | Date;
lastRunAt: null | Date;
failCount: number;
failedAt: null | Date;
lastFinishedAt: Date | null;
running: boolean;
queued: boolean;
completed: boolean;
failed: boolean;
}

View File

@@ -7,4 +7,20 @@ export interface IOrganizationSetupDTO{
fiscalYear: string,
industry: string,
timeZone: string,
}
export interface IOrganizationBuildDTO {
organizationName: string;
baseCurrency: string,
timezone: string;
fiscalYear: string;
industry: string;
}
export interface IOrganizationUpdateDTO {
organizationName: string;
baseCurrency: string,
timezone: string;
fiscalYear: string;
industry: string;
}

View File

@@ -6,6 +6,7 @@ export interface ITenant {
initializedAt: Date|null,
seededAt: Date|null,
builtAt: Date|null,
createdAt: Date|null,
}

View File

@@ -56,6 +56,7 @@ export * from './InventoryDetails';
export * from './LandedCost';
export * from './Entry';
export * from './TransactionsByReference';
export * from './Jobs';
export interface I18nService {
__: (input: string) => string;