Skip to content

Commit b53af78

Browse files
committed
doc: add js docs for consequence action
1 parent 62a43fb commit b53af78

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/Common/Policy.Types.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,17 @@ export interface ProcessPluginDataReturnType {
6767
}
6868

6969
export enum ConsequenceAction {
70+
/**
71+
* This is used if the policy is enforced immediately.
72+
*/
7073
BLOCK = 'BLOCK',
74+
/**
75+
* This is used if the policy will be enforced after a certain timestamp.
76+
*/
7177
ALLOW_UNTIL_TIME = 'ALLOW_UNTIL_TIME',
78+
/**
79+
* This is used if the policy is not enforced yet (just to show waring).
80+
*/
7281
ALLOW_FOREVER = 'ALLOW_FOREVER',
7382
}
7483

0 commit comments

Comments
 (0)