refactor: reorganize imports and update type references across services
- Updated import paths for types and utilities in config-service, menu-service, script-execution-service, script-store-service, and window-service to reflect new structure. - Moved utility functions like debounce and cloneDeep to shared utilities. - Created new runtime and script types files to centralize type definitions. - Removed deprecated task-types and locale messages files. - Updated constants to use shared definitions and added new placeholders for providers. - Enhanced provider type information with additional placeholders for different languages.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
export enum IPC_EVENTS {
|
||||
HOST_API_FETCH = 'hostapi:fetch',
|
||||
EXTERNAL_OPEN = 'external-open',
|
||||
APP_SET_FRAMELESS = 'app:set-frameless',
|
||||
APP_LOAD_PAGE = 'app:load-page',
|
||||
@@ -120,3 +121,7 @@ export enum MESSAGE_ITEM_MENU_IDS {
|
||||
DELETE = 'delete',
|
||||
SELECT = 'select',
|
||||
}
|
||||
|
||||
export const DEFAULT_THEME_MODE = 'system' as const;
|
||||
|
||||
export const DEFAULT_LANGUAGE = 'zh' as const;
|
||||
|
||||
Reference in New Issue
Block a user