Idea detail
napi_module_barrel
reqlan rq/development/core.rq:21
Summary
per stack
`crates/reqlan-napi/src/lib.rs` is a barrel: it only declares modules and re-exports the napi items. Logic lives in one module per binding surface.
Modules: `scan.rs` ( scanWorkspace task, createBase ), `analysis.rs` ( NativeAnalysisRuntime ), `sql_db.rs` ( NativeSqlDb ), `workspace_index.rs` ( NativeWorkspaceIndex ), `source.rs` ( parse / extract / local-symbolic source helpers ), `planner.rs` ( barrel / move / delete plan ), `util.rs` ( shared error mappers, wire-JSON helpers ).
Invariants: the JS surface and generated napi `.d.ts` do not change; modules stay flat in `src/` so `rq:...` comment paths keep `../../../reqlan rq` depth; `rq:` doc comments move with their items; `@implementation` refs in reqlan rq point at the module that holds the item, not the barrel.
New analysis bindings must follow rope: engine item in `reqlan-analytical`, `analysis.rs` binding, AnalysisApi facade, and cross-referenced tests.
Navigation
Attributes
Ancestor context
No ancestor chain recorded.
Outbound references
Inbound references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Unresolved references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Local graph
Initialising graph…