diff --git a/source/Model/Behavior.ts b/source/Model/Behavior.ts index 9dac877..f25a612 100644 --- a/source/Model/Behavior.ts +++ b/source/Model/Behavior.ts @@ -6,6 +6,11 @@ import type { Model } from "./Model"; import type { Range } from "./Range"; import type { Label } from "./Label"; +type IObjectParamCacheType = { + picker: P; + objects: Q; +} + /** * 参数类型 */ @@ -16,12 +21,10 @@ type IMapBasicParamTypeKeyToType = { } type IMapObjectParamTypeKeyToType = { - "R"?: Range; - "G"?: Group; - "GR"?: Group | Range; - "LR"?: Label | Range; - "LG"?: Label | Group; - "LGR"?: Label | Group | Range; + "R": IObjectParamCacheType; + "G": IObjectParamCacheType; + "LR": IObjectParamCacheType