mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-11-23 00:56:10 +00:00
feat: configure sketchbook location without restart
Closes #1764 Closes #796 Closes #569 Closes #655 Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
This commit is contained in:
@@ -2,7 +2,7 @@ import type { JsonRpcServer } from '@theia/core/lib/common/messaging/proxy-facto
|
||||
import type {
|
||||
AttachedBoardsChangeEvent,
|
||||
BoardsPackage,
|
||||
Config,
|
||||
ConfigState,
|
||||
ProgressMessage,
|
||||
Sketch,
|
||||
IndexType,
|
||||
@@ -39,6 +39,11 @@ export interface IndexUpdateDidFailParams extends IndexUpdateParams {
|
||||
}
|
||||
|
||||
export interface NotificationServiceClient {
|
||||
// The cached state of the core client. Libraries, examples, etc. has been updated.
|
||||
// This can happen without an index update. For example, changing the `directories.user` location.
|
||||
// An index update always implicitly involves a re-initialization without notifying via this method.
|
||||
notifyDidReinitialize(): void;
|
||||
|
||||
// Index
|
||||
notifyIndexUpdateWillStart(params: IndexUpdateWillStartParams): void;
|
||||
notifyIndexUpdateDidProgress(progressMessage: ProgressMessage): void;
|
||||
@@ -50,7 +55,7 @@ export interface NotificationServiceClient {
|
||||
notifyDaemonDidStop(): void;
|
||||
|
||||
// CLI config
|
||||
notifyConfigDidChange(event: { config: Config | undefined }): void;
|
||||
notifyConfigDidChange(event: ConfigState): void;
|
||||
|
||||
// Platforms
|
||||
notifyPlatformDidInstall(event: { item: BoardsPackage }): void;
|
||||
|
||||
Reference in New Issue
Block a user