Skip to content

Commit

Permalink
Update plugins/wazuh-core/common/services/initialization/constants.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Guido Modarelli <[email protected]>
  • Loading branch information
Desvelao and guidomodarelli authored Nov 28, 2024
1 parent bff0b53 commit c01b2aa
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions plugins/wazuh-core/common/services/initialization/constants.ts
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;

0 comments on commit c01b2aa

Please sign in to comment.