同步分离状态 TypeScript 类型

加入 root_extractable 并将树字段统一为 trees
This commit is contained in:
2026-09-09 15:03:48 +08:00
parent df3a172bc9
commit f349350d60
3 changed files with 11 additions and 1 deletions
@@ -1,6 +1,5 @@
use super::model::SeparationNode;
use base64::Engine as _;
use image::GenericImage;
use std::path::Path;
use std::path::PathBuf;
@@ -0,0 +1,6 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { BoundNode } from "./BoundNode";
import type { ProblematicNode } from "./ProblematicNode";
import type { SeparationTree } from "./SeparationTree";
export type SeparationState = { schema_version: string, trees: Array<SeparationTree>, bound: Array<BoundNode>, problematic_nodes: Array<ProblematicNode>, };
@@ -0,0 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { SeparationNode } from "./SeparationNode";
import type { UIDesignImageId } from "./UIDesignImageId";
export type SeparationTree = { src_ui_design: UIDesignImageId, root: SeparationNode, root_extractable: boolean, };