mirror of
https://github.com/storytold/figcraft.git
synced 2026-11-01 22:36:51 -06:00
refactor(engine): simplify asset and code generation helpers
This commit is contained in:
@@ -7,12 +7,12 @@
|
||||
//! capped) and never fetched or opened by the engine. A link added without a name is named after
|
||||
//! its URL (no page title is looked up).
|
||||
|
||||
use figcraft_doc::*;
|
||||
use figcraft_doc::{DevResource, Document, NodeId, NodeKind};
|
||||
use serde_json::{Value, json};
|
||||
|
||||
use crate::cmd::CommandSpec;
|
||||
use crate::components::{inside_instance, variant_set};
|
||||
use crate::params::*;
|
||||
use crate::params::{get, req_index, targets};
|
||||
use crate::{Result, Session, bad, spec};
|
||||
|
||||
/// Most dev resources on one layer.
|
||||
|
||||
Reference in New Issue
Block a user