forked from jappel/leistungsbilanz-ts
Add external model persistence foundation
This commit is contained in:
parent
d0fc1a7caf
commit
76493b573e
15 changed files with 3207 additions and 8 deletions
10
src/domain/ports/external-model-state.reader.ts
Normal file
10
src/domain/ports/external-model-state.reader.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import type { ExternalModelStateSnapshot } from "../../external-model/domain/external-model-contracts.js";
|
||||
|
||||
export interface ExternalModelStateReadResult {
|
||||
projectExists: boolean;
|
||||
state: ExternalModelStateSnapshot;
|
||||
}
|
||||
|
||||
export interface ExternalModelStateReader {
|
||||
getByProject(projectId: string): ExternalModelStateReadResult;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue