Decouple runtime domain services
This commit is contained in:
parent
0cedeaa959
commit
c1be85e408
9 changed files with 103 additions and 35 deletions
|
|
@ -59,12 +59,12 @@ function createService() {
|
|||
const service = new ProjectDeviceSyncService({
|
||||
projectDeviceRepository: {
|
||||
async findById() {
|
||||
return projectDevice() as never;
|
||||
return projectDevice();
|
||||
},
|
||||
},
|
||||
deviceRowRepository: {
|
||||
async listLinkedByProjectDevice() {
|
||||
return rows as never;
|
||||
return rows;
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue