VEYNDO
Handbook
docs/component-dependencies.mdView source ↗

English source · 5 min

Component dependencies

Each row is one component of the target architecture. "Uses" counts references to items that another component defines; "Foreign tables" lists tables a component reads or writes directly although another component owns them. Both lists are the remaining hidden dependencies: the required structure check refuses a new one, and a removed one has to be deleted from components.json. The counts come from a text scan and are an estimate, not a compiler result. "Untyped accesses" counts value["key"] reads outside tests; "SQL outside store" counts files that run SQL without being in a store folder; "Runtime SQL" counts queries the compiler does not check (runtime strings and dynamic QueryBuilder queries instead of sqlx::query!/query_as!). All three only fall. "Glob imports" counts files that start with use super::* or use crate::*; the number only falls.

Component Lines of Rust Glob imports Untyped accesses SQL outside store Runtime SQL Tables Uses Foreign tables
core 5954 0 0 0 2 13 none 7
identity 4518 0 0 0 0 13 core (120), inference (2) 4
shop 5923 0 0 0 0 12 catalog (7), core (126), identity (7), inventory (1), pricing (26), shipping (11) 5
catalog 8471 0 0 0 1 11 core (116), identity (10), pricing (23) 6
inventory 719 0 0 0 0 2 catalog (4), core (15), pricing (5) 0
pricing 5236 0 0 0 0 2 core (32), identity (1) 0
shipping 639 0 0 0 0 0 core (11), identity (1), pricing (2) 0
checkout 7396 0 0 0 0 3 b2b (13), catalog (14), core (112), customers (6), identity (2), inventory (2), marketing (13), orders (6), payments (4), pricing (60), shipping (3), shop (94) 4
customers 2871 0 0 0 0 3 core (60), identity (6), marketing (3), pricing (6), shipping (3), shop (10) 2
orders 7396 0 0 0 0 9 b2b (1), catalog (4), core (106), customers (6), identity (8), inventory (1), pricing (3), shipping (2), shop (10) 4
payments 6799 0 0 0 0 7 core (101), identity (4), inventory (3), orders (6), pricing (9), shop (9) 3
marketing 8475 0 4 0 0 8 automation (20), b2b (3), catalog (10), core (131), identity (17), inference (1), pricing (20), shop (29) 3
b2b 4171 0 0 0 0 8 core (69), identity (12), pricing (9), shop (40) 0
pos 2002 0 0 0 0 0 catalog (4), checkout (11), core (31), customers (2), identity (4), intelligence (1), marketing (5), orders (2), payments (2), pricing (6), shop (25) 0
apps 19198 0 0 0 2 22 b2b (3), catalog (7), checkout (8), core (342), identity (45), inference (4), intelligence (3), inventory (2), marketing (9), orders (17), pricing (6), shipping (2), shop (28) 2
automation 1443 8 97 0 0 0 core (2) 0
inference 2667 0 0 0 0 0 core (36) 0
intelligence 17084 0 0 0 16 27 catalog (17), checkout (15), core (280), customers (1), identity (30), inference (10), inventory (1), marketing (19), pricing (27), shipping (3), shop (57) 14
studio 10433 0 0 0 3 4 apps (40), b2b (3), catalog (66), checkout (3), core (178), customers (14), identity (41), inference (4), intelligence (59), marketing (23), orders (35), pos (2), pricing (19), shop (43) 7
protocols 7518 0 0 0 0 0 catalog (1), checkout (2), core (182), host (213), inference (1), intelligence (2), pricing (2), shop (7), apps (3) 0
host 21015 0 0 0 0 1 apps (49), b2b (3), catalog (41), checkout (11), core (1207), customers (2), identity (8), inference (7), intelligence (17), inventory (4), marketing (14), orders (2), payments (11), pricing (40), shipping (15), shop (80), studio (21) 0
connectors 0 0 0 0 0 6 none 0

Cycles

0 pairs of component crates depend on each other (the required check keeps this at zero). 0 pairs of components depend on each other once the server files are counted for the component that will own them; those pairs close when the server files that still hold their logic move into the components.

Most used items across components

From To Item References
host core State 415
host core RequestContext 331
apps core veyndo_core:: 319
intelligence core veyndo_core:: 263
studio core veyndo_core:: 176
host core PortFuture 160
marketing core veyndo_core:: 128
shop core veyndo_core:: 123
catalog core veyndo_core:: 116
checkout core veyndo_core:: 110
identity core veyndo_core:: 108
orders core veyndo_core:: 101
payments core veyndo_core:: 100
checkout shop veyndo_shop:: 94
studio catalog veyndo_catalog:: 66
b2b core veyndo_core:: 66
host core Error 63
checkout pricing veyndo_pricing:: 60
studio intelligence veyndo_intelligence:: 59
customers core veyndo_core:: 58
intelligence shop veyndo_shop:: 57
apps identity veyndo_identity:: 45
studio shop veyndo_shop:: 43
protocols core view 42
host shop StoredCart 42
studio identity veyndo_identity:: 41
studio apps veyndo_app_platform:: 40
b2b shop veyndo_shop:: 40
protocols core RequestContext 39
studio orders veyndo_orders:: 35
host core header 35
protocols host auth:: 32
pos core veyndo_core:: 31
inference core veyndo_core:: 31
intelligence identity veyndo_identity:: 30
marketing shop veyndo_shop:: 29
protocols core Result 28
pricing core veyndo_core:: 28
host core merge 28
apps shop veyndo_shop:: 28

Foreign table access

Component Table Owner Access
apps shop_environments core read
apps tenants core read
catalog b2b_catalog b2b read
catalog knowledge_documents intelligence read
catalog knowledge_relations intelligence read
catalog languages shop read
catalog shop_environments core read
catalog tenants core read
checkout customer_sessions customers read
checkout customers customers read
checkout shop_environments core read
checkout tenants core read
core app_deliveries apps read
core app_schedule_runs apps read
core app_webhook_receipts apps read
core flow_jobs marketing read
core knowledge_receipts intelligence read
core observed_pairs intelligence read
core pair_evidence intelligence read
customers carts checkout read
customers orders orders read
identity app_packages apps read
identity sales_channels marketing read
identity shop_environments core read
identity tenants core read
intelligence app_evidence apps read
intelligence app_packages apps read
intelligence channel_metrics core read
intelligence commerce_settings shop read
intelligence customers customers read
intelligence exposures checkout write
intelligence orders orders read
intelligence payment_attempts payments read
intelligence privacy_consents shop write
intelligence product_reviews catalog read
intelligence products catalog write
intelligence shop_environments core read
intelligence tenants core read
intelligence translation_jobs catalog write
marketing app_packages apps read
marketing commerce_overrides shop read
marketing tasks intelligence read
orders carts checkout write
orders order_downloads catalog read
orders product_assets catalog read
orders sales_channels marketing read
payments app_packages apps read
payments carts checkout read
payments orders orders write
shop company_logos orders write
shop company_overrides orders write
shop sales_channels marketing read
shop shop_environments core read
shop tenants core write
studio carts checkout read
studio customers customers read
studio merchant_users identity read
studio orders orders read
studio payment_attempts payments read
studio sales_channels marketing read
studio shop_environments core write