mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 10:53:59 +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,22 +1,14 @@
|
||||
import { createAwarenessLayer } from '../layers/awareness/index.js';
|
||||
import { createApplicationAwareness } from '../app/layers/militaryAwareness.js';
|
||||
import flights from './flights.js';
|
||||
import military from './militaryFlights.js';
|
||||
import vessels from './aisLiveVessels.js';
|
||||
import installations from './militaryInstallations.js';
|
||||
import * as navigation from '../navigationPolicy.js';
|
||||
import * as geometry from '../celestialRing.js';
|
||||
import * as render from '../renderGovernor.js';
|
||||
|
||||
const layer = createAwarenessLayer({
|
||||
services: {
|
||||
flights,
|
||||
military,
|
||||
vessels,
|
||||
installations,
|
||||
navigation,
|
||||
geometry,
|
||||
render,
|
||||
},
|
||||
const layer = createApplicationAwareness({
|
||||
flights,
|
||||
military,
|
||||
vessels,
|
||||
installations,
|
||||
});
|
||||
export const contextTargetFlyToAllowed = layer.contextTargetFlyToAllowed;
|
||||
export const awarenessClearMatchesSubject = layer.awarenessClearMatchesSubject;
|
||||
|
||||
Reference in new issue
Block a user