26 lines
622 B
TypeScript
26 lines
622 B
TypeScript
/**
|
|
* Object containing a string of Drools rules.
|
|
*/
|
|
export interface IRules {
|
|
/**
|
|
* The DossierTemplate ID for these rules
|
|
*/
|
|
dossierTemplateId: string;
|
|
/**
|
|
* The file type to be retrieved/saved under, defaults to ENTITY
|
|
*/
|
|
ruleFileType?: 'ENTITY' | 'COMPONENT';
|
|
/**
|
|
* The actual string of rules.
|
|
*/
|
|
rules?: string;
|
|
/**
|
|
* Request param for rules validation, without updating them
|
|
*/
|
|
dryRun?: boolean;
|
|
/**
|
|
* Flag which indicates whether the dossier template rules have been locked due to a timeout
|
|
*/
|
|
timeoutDetected?: boolean;
|
|
}
|