新增应用样式 agent 工具
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
import { create } from "zustand";
|
||||
|
||||
import type { DefaultLayerStyleId, StyleConfig } from "@components/olmap/core/Controls/styleEditorTypes";
|
||||
|
||||
/* ------------------------------------------------------------------ */
|
||||
/* Chat Tool Action Store */
|
||||
/* Decouples chat tool calls from map/panel execution. */
|
||||
@@ -39,6 +41,12 @@ export type ChatToolAction =
|
||||
type: "render_junctions";
|
||||
renderRef: string;
|
||||
sessionId?: string;
|
||||
}
|
||||
| {
|
||||
type: "apply_layer_style";
|
||||
layerId: DefaultLayerStyleId;
|
||||
resetToDefault: boolean;
|
||||
styleConfig?: Partial<StyleConfig>;
|
||||
};
|
||||
|
||||
interface ChatToolState {
|
||||
|
||||
Reference in New Issue
Block a user