Skip to content

Commit

Permalink
refactor: Moved A32NX Clock to fbw-common and add A380X clock (#8491)
Browse files Browse the repository at this point in the history
  • Loading branch information
markszutor committed Feb 18, 2024
1 parent f39ef46 commit 32b38b5
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 20 deletions.
7 changes: 4 additions & 3 deletions hsim-a21n-common/src/systems/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"@fmgc/*": ["../../../build-a321neo/src/systems/fmgc/src/*"],
"@shared/*": ["../../../build-a321neo/src/systems/shared/src/*"],
"@typings/*": ["../typings/*"],
"@flybywiresim/fbw-sdk": ["./index.ts"]
"@flybywiresim/fbw-sdk": ["../../../fbw-common/src/systems/index.ts"],
"@flybywiresim/clock": ["../../../fbw-common/src/systems/instruments/src/Clock/index.ts"],
}
}
}
},
}
7 changes: 4 additions & 3 deletions hsim-a318-common/src/systems/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"@fmgc/*": ["../../../build-a318ceo/src/systems/fmgc/src/*"],
"@shared/*": ["../../../build-a318ceo/src/systems/shared/src/*"],
"@typings/*": ["../typings/*"],
"@flybywiresim/fbw-sdk": ["./index.ts"]
"@flybywiresim/fbw-sdk": ["../../../fbw-common/src/systems/index.ts"],
"@flybywiresim/clock": ["../../../fbw-common/src/systems/instruments/src/Clock/index.ts"],
}
}
}
},
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { EventBus, FSComponent, HEventPublisher } from '@microsoft/msfs-sdk';
import { ClockSimvarPublisher } from './shared/ClockSimvarPublisher';
import { ClockRoot } from './Clock';
import { ClockRoot, ClockSimvarPublisher } from '@flybywiresim/clock';

// eslint-disable-next-line camelcase
class A32NX_Clock extends BaseInstrument {
Expand Down
7 changes: 4 additions & 3 deletions hsim-a319-common/src/systems/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"@fmgc/*": ["../../../build-a319ceo/src/systems/fmgc/src/*"],
"@shared/*": ["../../../build-a319ceo/src/systems/shared/src/*"],
"@typings/*": ["../typings/*"],
"@flybywiresim/fbw-sdk": ["./index.ts"]
"@flybywiresim/fbw-sdk": ["../../../fbw-common/src/systems/index.ts"],
"@flybywiresim/clock": ["../../../fbw-common/src/systems/instruments/src/Clock/index.ts"],
}
}
}
},
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { EventBus, FSComponent, HEventPublisher } from '@microsoft/msfs-sdk';
import { ClockSimvarPublisher } from './shared/ClockSimvarPublisher';
import { ClockRoot } from './Clock';
import { ClockRoot, ClockSimvarPublisher } from '@flybywiresim/clock';

// eslint-disable-next-line camelcase
class A32NX_Clock extends BaseInstrument {
Expand Down
7 changes: 4 additions & 3 deletions hsim-a320-common/src/systems/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"@fmgc/*": ["../../../build-a320ceo/src/systems/fmgc/src/*"],
"@shared/*": ["../../../build-a320ceo/src/systems/shared/src/*"],
"@typings/*": ["../typings/*"],
"@flybywiresim/fbw-sdk": ["./index.ts"]
"@flybywiresim/fbw-sdk": ["../../../fbw-common/src/systems/index.ts"],
"@flybywiresim/clock": ["../../../fbw-common/src/systems/instruments/src/Clock/index.ts"],
}
}
}
},
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { EventBus, FSComponent, HEventPublisher } from '@microsoft/msfs-sdk';
import { ClockSimvarPublisher } from './shared/ClockSimvarPublisher';
import { ClockRoot } from './Clock';
import { ClockRoot, ClockSimvarPublisher } from '@flybywiresim/clock';

// eslint-disable-next-line camelcase
class A32NX_Clock extends BaseInstrument {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { EventBus, FSComponent, HEventPublisher } from '@microsoft/msfs-sdk';
import { ClockSimvarPublisher } from './shared/ClockSimvarPublisher';
import { ClockRoot } from './Clock';
import { ClockRoot, ClockSimvarPublisher } from '@flybywiresim/clock';

// eslint-disable-next-line camelcase
class A32NX_Clock extends BaseInstrument {
Expand Down

0 comments on commit 32b38b5

Please sign in to comment.