Merge branch 'main' into #3-calendar
# Conflicts: # package-lock.json # src/main.css # src/router/authGuards.ts # src/types/permissionTypes.ts
This commit is contained in:
commit
8074dbf5c4
38 changed files with 2228 additions and 66 deletions
22
src/viewmodels/admin/protocol.models.ts
Normal file
22
src/viewmodels/admin/protocol.models.ts
Normal file
|
@ -0,0 +1,22 @@
|
|||
export interface ProtocolViewModel {
|
||||
id: number;
|
||||
title: string;
|
||||
date: Date;
|
||||
starttime: Date;
|
||||
endtime: Date;
|
||||
summary: string;
|
||||
}
|
||||
|
||||
export interface CreateProtocolViewModel {
|
||||
title: string;
|
||||
date: Date;
|
||||
}
|
||||
|
||||
export interface SyncProtocolViewModel {
|
||||
id: number;
|
||||
title: string;
|
||||
date: Date;
|
||||
starttime: Date;
|
||||
endtime: Date;
|
||||
summary: string;
|
||||
}
|
12
src/viewmodels/admin/protocolAgenda.models.ts
Normal file
12
src/viewmodels/admin/protocolAgenda.models.ts
Normal file
|
@ -0,0 +1,12 @@
|
|||
export interface ProtocolAgendaViewModel {
|
||||
id: number;
|
||||
topic: string;
|
||||
context: string;
|
||||
protocolId: number;
|
||||
}
|
||||
|
||||
export interface SyncProtocolAgendaViewModel {
|
||||
id?: number;
|
||||
topic: string;
|
||||
context: string;
|
||||
}
|
12
src/viewmodels/admin/protocolDecision.models.ts
Normal file
12
src/viewmodels/admin/protocolDecision.models.ts
Normal file
|
@ -0,0 +1,12 @@
|
|||
export interface ProtocolDecisionViewModel {
|
||||
id: number;
|
||||
topic: string;
|
||||
context: string;
|
||||
protocolId: number;
|
||||
}
|
||||
|
||||
export interface SyncProtocolDecisionViewModel {
|
||||
id?: number;
|
||||
topic: string;
|
||||
context: string;
|
||||
}
|
11
src/viewmodels/admin/protocolPresence.models.ts
Normal file
11
src/viewmodels/admin/protocolPresence.models.ts
Normal file
|
@ -0,0 +1,11 @@
|
|||
import type { MemberViewModel } from "./member.models";
|
||||
|
||||
export interface ProtocolPresenceViewModel {
|
||||
memberId: number;
|
||||
member: MemberViewModel;
|
||||
protocolId: number;
|
||||
}
|
||||
|
||||
export interface SyncProtocolPresenceViewModel {
|
||||
memberIds: Array<number>;
|
||||
}
|
7
src/viewmodels/admin/protocolPrintout.models.ts
Normal file
7
src/viewmodels/admin/protocolPrintout.models.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
export interface ProtocolPrintoutViewModel {
|
||||
id: number;
|
||||
title: string;
|
||||
iteration: number;
|
||||
createdAt: Date;
|
||||
protocolId: number;
|
||||
}
|
19
src/viewmodels/admin/protocolVoting.models.ts
Normal file
19
src/viewmodels/admin/protocolVoting.models.ts
Normal file
|
@ -0,0 +1,19 @@
|
|||
export interface ProtocolVotingViewModel {
|
||||
id: number;
|
||||
topic: string;
|
||||
context: string;
|
||||
favour: number;
|
||||
abstain: number;
|
||||
against: number;
|
||||
protocolId: number;
|
||||
}
|
||||
|
||||
export interface SyncProtocolVotingViewModel {
|
||||
id?: number;
|
||||
topic: string;
|
||||
context: string;
|
||||
favour: number;
|
||||
abstain: number;
|
||||
against: number;
|
||||
protocolId: number;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue