refactor: construct application layers from supplied sources

This commit is contained in:
Sameh Khamis committed 2026-09-14 14:20:01 -07:00
1 parent cd704d0e9b
commit 8160ac5fe4
53 files changed
+1152 -400

No files matched your search

+2 -2
View File
@@ -1,8 +1,8 @@
import { createApplicationData } from '../app/data.js';
import { createStandaloneCatalog } from './catalog.js';
import { getStandaloneCatalog } from './catalog.js';
export function createStandaloneData(options) {
return createApplicationData({
catalog: createStandaloneCatalog(),
catalog: options?.catalog ?? getStandaloneCatalog(),
...options,
});
}