-
Notifications
You must be signed in to change notification settings - Fork 198
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update plugins/wazuh-core/common/services/initialization/constants.ts
Co-authored-by: Guido Modarelli <[email protected]>
- Loading branch information
1 parent
bff0b53
commit c01b2aa
Showing
1 changed file
with
16 additions
and
9 deletions.
There are no files selected for viewing
25 changes: 16 additions & 9 deletions
25
plugins/wazuh-core/common/services/initialization/constants.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,16 @@ | ||
export const INITIALIZATION_TASK_RUN_STATUS_NOT_STARTED = 'not_started'; | ||
export const INITIALIZATION_TASK_RUN_STATUS_RUNNING = 'running'; | ||
export const INITIALIZATION_TASK_RUN_STATUS_FINISHED = 'finished'; | ||
export const INITIALIZATION_TASK_RUN_RESULT_NULL = null; | ||
export const INITIALIZATION_TASK_RUN_RESULT_SUCCESS = 'success'; | ||
export const INITIALIZATION_TASK_RUN_RESULT_FAIL = 'fail'; | ||
|
||
export const INITIALIZATION_TASK_CONTEXT_INTERNAL = 'internal'; | ||
export const INITIALIZATION_TASK_CONTEXT_USER = 'user'; | ||
export const INITIALIZATION_TASK = { | ||
RUN_STATUS: { | ||
NOT_STARTED: 'not_started', | ||
RUNNING: 'running', | ||
FINISHED: 'finished', | ||
}, | ||
RUN_RESULT: { | ||
NULL: null, | ||
SUCCESS: 'success', | ||
FAIL: 'fail', | ||
}, | ||
CONTEXT: { | ||
INTERNAL: 'internal', | ||
USER: 'user', | ||
}, | ||
} as const; |