07d044f4d6
The byId font fetch was a verb-oriented capability with a single consumer driven by a feature need (materializing comparison picks). That shape belongs at the feature layer, not on the entity. Move: - entities/Font/model/store/batchFontStore -> features/FetchFontsByIds/model/store/fontsByIdsStore - Class BatchFontStore -> FontsByIdsStore entities/Font retains the transport primitives (fetchFontsByIds, seedFontCache) and the keyspace (fontKeys); the feature wraps them in the reactive store. comparisonStore now imports FontsByIdsStore from the new feature. The proxy API is imported via direct path so vi.spyOn on the source module still observes the call.
2 lines
43 B
TypeScript
2 lines
43 B
TypeScript
export { FontsByIdsStore } from './model';
|