mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
refactor: construct application layers from supplied sources
This commit is contained in:
1 parent
cd704d0e9b
commit
8160ac5fe4
53 files changed
+1152
-400
No files matched your search
@@ -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,
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user