fix: Shared pkgs importeren
This commit is contained in:
parent
b6e07d28df
commit
9470a4ddf9
95 changed files with 160 additions and 142 deletions
16
common/src/interfaces/answer.ts
Normal file
16
common/src/interfaces/answer.ts
Normal file
|
@ -0,0 +1,16 @@
|
|||
import { UserDTO } from './user';
|
||||
import { QuestionDTO, QuestionId } from './question';
|
||||
|
||||
export interface AnswerDTO {
|
||||
author: UserDTO;
|
||||
toQuestion: QuestionDTO;
|
||||
sequenceNumber: number;
|
||||
timestamp: string;
|
||||
content: string;
|
||||
}
|
||||
|
||||
export interface AnswerId {
|
||||
author: string;
|
||||
toQuestion: QuestionId;
|
||||
sequenceNumber: number;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue