2026-04-09 19:40:31 +03:00
|
|
|
export * from './api';
|
2026-05-31 14:08:09 +03:00
|
|
|
export * from './domain';
|
2026-04-15 09:13:22 +03:00
|
|
|
export * from './lib';
|
2026-04-09 19:40:31 +03:00
|
|
|
export * from './ui';
|
2026-05-31 14:08:25 +03:00
|
|
|
|
2026-05-31 20:06:33 +03:00
|
|
|
// Pure model surface (types + constants) is part of the convenient top-level
|
|
|
|
|
// API. Stateful stores are deliberately excluded — see below.
|
|
|
|
|
export * from './model/const/const';
|
|
|
|
|
export * from './model/types';
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Stores (`fontCatalogStore`, `fontLifecycleManager`, `FontsByIdsStore`) are
|
|
|
|
|
* intentionally NOT re-exported here. They instantiate module-level singletons
|
|
|
|
|
* and pull `@tanstack/query-core`, so funneling them through this barrel would
|
|
|
|
|
* make every consumer of `$entities/Font` eager-instantiate stores (and break
|
|
|
|
|
* tree-shaking / test init-order). Import them via the model segment:
|
|
|
|
|
* import { fontCatalogStore } from '$entities/Font/model';
|
|
|
|
|
*/
|
|
|
|
|
|
2026-05-31 14:08:25 +03:00
|
|
|
// `./testing` is intentionally not re-exported: fixtures must not leak into the
|
|
|
|
|
// production public API. Import them via `$entities/Font/testing`.
|