mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 13:20:31 +00:00
feat: organization metadata redesigned.
This commit is contained in:
14
server/src/interfaces/Jobs.ts
Normal file
14
server/src/interfaces/Jobs.ts
Normal 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;
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
@@ -6,6 +6,7 @@ export interface ITenant {
|
||||
|
||||
initializedAt: Date|null,
|
||||
seededAt: Date|null,
|
||||
builtAt: Date|null,
|
||||
createdAt: Date|null,
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user