This commit is contained in:
+10
-10
@@ -1,19 +1,19 @@
|
||||
export type ParticipantId = number
|
||||
export type ParticipantId = number;
|
||||
|
||||
export interface Participant {
|
||||
id: ParticipantId
|
||||
name: string
|
||||
id: ParticipantId;
|
||||
name: string;
|
||||
}
|
||||
|
||||
export interface Expense {
|
||||
id: number
|
||||
amountCents: number
|
||||
payerId: ParticipantId
|
||||
participantIds: ParticipantId[]
|
||||
id: number;
|
||||
amountCents: number;
|
||||
payerId: ParticipantId;
|
||||
participantIds: ParticipantId[];
|
||||
}
|
||||
|
||||
export interface Settlement {
|
||||
fromId: ParticipantId
|
||||
toId: ParticipantId
|
||||
amountCents: number
|
||||
fromId: ParticipantId;
|
||||
toId: ParticipantId;
|
||||
amountCents: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user