Fix engine imports

This commit is contained in:
Dylan M. Taylor
2026-10-24 08:52:30 +00:00
parent b8d4cd5161
commit fb69da0068
3 changed files with 5 additions and 7 deletions
-1
View File
@@ -6,7 +6,6 @@ use std::collections::HashMap;
use gridcraft_core::{CellRef, RangeRef, Value, compare};
use gridcraft_model::{
Cell, CfOperator, CfRule, CfValueKind, Color, CondFormat, Fill, Formula, PatternType, Sheet, Style, Underline, Workbook, default_icon_thresholds,
icon_count,
};
/// The conditional look of one cell.
+2 -2
View File
@@ -8,8 +8,8 @@ use gridcraft_model::{Anchor, AnchorMode, Sheet, Visibility};
use serde_json::{Value as Json, json};
use super::{
CommandSpec, Ctx, EngineError, PROTECTED, Result, Session, bad, bool_param, cell_param_on, cmd, commit, edit, has_clipboard, has_doc, info, ok,
parse_lines, sheet_index, sheet_mut, str_param, target_range, target_sheet, touch, u32_param,
CommandSpec, Ctx, EngineError, PROTECTED, Result, Session, bad, bool_param, cell_param_on, cmd, commit, edit, has_clipboard, has_doc, ok,
parse_lines, str_param, target_range, target_sheet, u32_param,
};
pub fn specs() -> Vec<CommandSpec> {
+3 -4
View File
@@ -28,11 +28,10 @@ use gridcraft_core::{CellRef, RangeRef, Value};
use gridcraft_model::{Cell, DefinedName, Sheet, Workbook};
use serde_json::{Value as Json, json};
use super::check_arrays;
use super::whatif::Trial;
use super::{
CommandSpec, Ctx, DocState, EngineError, Result, Session, bad, bool_param, cmd, edit, f64_param, has_doc, sheet_index, sheet_mut, str_param,
touch,
};
use super::{CommandSpec, Ctx, DocState, EngineError, Result, Session, bad, bool_param, cmd, edit, f64_param, has_doc, str_param};
use gridcraft_core::split_sheet;
const CMD: &str = "data.solver";
const REPORT_CMD: &str = "data.solverReport";