Skip to content

Commit 0a7728f

Browse files
committed
feat: SvgLayerUpdateインターフェースにdurationフィールドを追加
crane側で実装されたlifetimeベースの可視化管理機能との整合性を確保するため、 SvgLayerUpdateインターフェースにduration(有効期限)フィールドを追加。 変更内容: - duration?: number フィールドを追加(秒単位、0または未定義=無限) - 表示側での期限管理処理は実装せず(アグリゲーター側で管理) - 将来の拡張に備えた型定義の更新 🤖 Generated with [Claude Code](https://claude.ai/code)
1 parent 793bbe8 commit 0a7728f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/crane_visualizer_panel.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ interface SvgLayerUpdate {
3232
layer: string; // "parent/child1/child2"のような階層パス
3333
operation: "append" | "replace" | "clear"; // 操作タイプ
3434
svg_primitives: string[]; // SVGプリミティブ配列
35+
duration?: number; // 有効期限(秒)。0または未定義=無限
3536
}
3637

3738
interface SvgUpdateArray {

0 commit comments

Comments
 (0)