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:
@@ -3,7 +3,7 @@ import logManager from '@electron/service/logger'
|
||||
import configManager from '@electron/service/config-service'
|
||||
import path from 'node:path'
|
||||
import { app } from 'electron'
|
||||
import { runtimeLocaleMessages, type RuntimeMessageTree } from '@runtime/locales/messages'
|
||||
import { runtimeLocaleMessages, type RuntimeMessageTree } from '@electron/locales/messages'
|
||||
|
||||
const messages: Record<string, RuntimeMessageTree> = runtimeLocaleMessages
|
||||
|
||||
|
||||
Reference in New Issue
Block a user