EQMS-1650: External approvers (#9987)

Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com>
This commit is contained in:
Alexey Zinoviev
2025-10-01 21:16:55 +04:00
committed by GitHub
parent 0f80bfd95f
commit e5b7f9cc1d
38 changed files with 372 additions and 108 deletions
@@ -183,6 +183,7 @@ export const documentsPlugin = plugin(documentsId, {
Approval: '' as IntlString,
Reviewers: '' as IntlString,
Approvers: '' as IntlString,
ExternalApprovers: '' as IntlString,
CoAuthors: '' as IntlString,
ReviewInterval: '' as IntlString,
EffectiveDate: '' as IntlString,
@@ -207,6 +207,7 @@ export interface ControlledDocument extends HierarchyDocument {
requests: CollectionSize<DocumentRequest> // A collection of attached review and approval requests for the document
reviewers: Ref<Employee>[]
approvers: Ref<Employee>[]
externalApprovers: Ref<Employee>[]
coAuthors: Ref<Employee>[]
reviewInterval?: number // A period (in months) after which the released document must be reviewed again
controlledState?: ControlledDocumentState