Reintroduce event types after rebase

This commit is contained in:
maver
2023-07-06 21:29:40 +02:00
parent 6ec249bb30
commit 74a7aa513b
2 changed files with 6 additions and 3 deletions

View File

@@ -257,6 +257,11 @@ export const event_types = {
SETTINGS_UPDATED: 'settings_updated',
GROUP_UPDATED: 'group_updated',
MOVABLE_PANELS_RESET: 'movable_panels_reset',
SETTINGS_LOADED_BEFORE: 'settings_loaded_before',
SETTINGS_LOADED_AFTER: 'settings_loaded_after',
OAI_BEFORE_CHATCOMPLETION: 'oai_before_chatcompletion',
OAI_PRESET_CHANGED: 'oai_preset_changed',
WORLDINFO_SETTINGS_UPDATED: 'worldinfo_settings_updated',
}
export const eventSource = new EventEmitter();
@@ -535,8 +540,6 @@ this
},
};
export const eventSource = new EventEmitter();
// Register configuration migrations
registerPromptManagerMigration();