mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-15 00:21:09 -07:00
24 lines
537 B
TypeScript
24 lines
537 B
TypeScript
/**
|
|
* @license
|
|
* Copyright 2025 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
import { EventEmitter } from 'node:events';
|
|
|
|
export enum AppEvent {
|
|
OpenDebugConsole = 'open-debug-console',
|
|
Flicker = 'flicker',
|
|
SelectionWarning = 'selection-warning',
|
|
PasteTimeout = 'paste-timeout',
|
|
}
|
|
|
|
export interface AppEvents {
|
|
[AppEvent.OpenDebugConsole]: never[];
|
|
[AppEvent.Flicker]: never[];
|
|
[AppEvent.SelectionWarning]: never[];
|
|
[AppEvent.PasteTimeout]: never[];
|
|
}
|
|
|
|
export const appEvents = new EventEmitter<AppEvents>();
|