File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed
src/components/engagement/workflow Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change
1
+ import { Injectable } from '@nestjs/common' ;
2
+ import { WorkflowFlowchart } from '../../workflow/workflow.flowchart' ;
3
+ import { EngagementWorkflow } from './engagement-workflow' ;
4
+
5
+ @Injectable ( )
6
+ export class EngagementWorkflowFlowchart extends WorkflowFlowchart (
7
+ ( ) => EngagementWorkflow ,
8
+ ) { }
Original file line number Diff line number Diff line change
1
+ import { Granter } from '../../authorization' ;
2
+ import { WorkflowEventGranter } from '../../workflow/workflow.granter' ;
3
+ import { EngagementWorkflowEvent as Event } from './dto' ;
4
+ import { EngagementWorkflow } from './engagement-workflow' ;
5
+
6
+ @Granter ( Event )
7
+ export class EngagementWorkflowEventGranter extends WorkflowEventGranter (
8
+ ( ) => EngagementWorkflow ,
9
+ ) { }
10
+
11
+ declare module '../../authorization/policy/granters' {
12
+ interface GrantersOverride {
13
+ EngagementWorkflowEvent : EngagementWorkflowEventGranter ;
14
+ }
15
+ }
You can’t perform that action at this time.
0 commit comments