basic module setup
This commit is contained in:
@@ -11,10 +11,24 @@ export interface Scope {
|
||||
bidDescription?: string;
|
||||
}
|
||||
|
||||
export type ModifierType = 'tax' | 'man-hours' | 'custom';
|
||||
|
||||
export interface Modifier {
|
||||
id: string;
|
||||
moduleId: string;
|
||||
name: string;
|
||||
value: number;
|
||||
valueType: 'percent' | 'amount' | 'unit';
|
||||
type: ModifierType;
|
||||
unitLabel?: string; // e.g. "hrs" for man-hours
|
||||
includeInTotal: boolean;
|
||||
}
|
||||
|
||||
export interface SubScope {
|
||||
id: string;
|
||||
name: string;
|
||||
scopeId: string;
|
||||
modifiers?: Modifier[];
|
||||
}
|
||||
|
||||
export interface JobInfo {
|
||||
|
||||
Reference in New Issue
Block a user