Merge branch 'main' into #1-account-management
# Conflicts: # src/data-source.ts
This commit is contained in:
commit
273745f830
66 changed files with 3721 additions and 10 deletions
14
src/viewmodel/admin/calendar.models.ts
Normal file
14
src/viewmodel/admin/calendar.models.ts
Normal file
|
@ -0,0 +1,14 @@
|
|||
import { CalendarTypeViewModel } from "./calendarType.models";
|
||||
|
||||
export interface CalendarViewModel {
|
||||
id: string;
|
||||
starttime: Date;
|
||||
endtime: Date;
|
||||
title: string;
|
||||
content: string;
|
||||
location: string;
|
||||
allDay: boolean;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
type: CalendarTypeViewModel;
|
||||
}
|
6
src/viewmodel/admin/calendarType.models.ts
Normal file
6
src/viewmodel/admin/calendarType.models.ts
Normal file
|
@ -0,0 +1,6 @@
|
|||
export interface CalendarTypeViewModel {
|
||||
id: number;
|
||||
type: string;
|
||||
nscdr: boolean;
|
||||
color: string;
|
||||
}
|
8
src/viewmodel/admin/protocol.models.ts
Normal file
8
src/viewmodel/admin/protocol.models.ts
Normal file
|
@ -0,0 +1,8 @@
|
|||
export interface ProtocolViewModel {
|
||||
id: number;
|
||||
title: string;
|
||||
date: Date;
|
||||
starttime: Date;
|
||||
endtime: Date;
|
||||
summary: string;
|
||||
}
|
6
src/viewmodel/admin/protocolAgenda.models.ts
Normal file
6
src/viewmodel/admin/protocolAgenda.models.ts
Normal file
|
@ -0,0 +1,6 @@
|
|||
export interface ProtocolAgendaViewModel {
|
||||
id: number;
|
||||
topic: string;
|
||||
context: string;
|
||||
protocolId: number;
|
||||
}
|
6
src/viewmodel/admin/protocolDecision.models.ts
Normal file
6
src/viewmodel/admin/protocolDecision.models.ts
Normal file
|
@ -0,0 +1,6 @@
|
|||
export interface ProtocolDecisionViewModel {
|
||||
id: number;
|
||||
topic: string;
|
||||
context: string;
|
||||
protocolId: number;
|
||||
}
|
7
src/viewmodel/admin/protocolPresence.models.ts
Normal file
7
src/viewmodel/admin/protocolPresence.models.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
import { MemberViewModel } from "./member.models";
|
||||
|
||||
export interface ProtocolPresenceViewModel {
|
||||
memberId: number;
|
||||
member: MemberViewModel;
|
||||
protocolId: number;
|
||||
}
|
7
src/viewmodel/admin/protocolPrintout.models.ts
Normal file
7
src/viewmodel/admin/protocolPrintout.models.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
export interface ProtocolPrintoutViewModel {
|
||||
id: number;
|
||||
title: string;
|
||||
iteration: number;
|
||||
createdAt: Date;
|
||||
protocolId: number;
|
||||
}
|
9
src/viewmodel/admin/protocolVoting.models.ts
Normal file
9
src/viewmodel/admin/protocolVoting.models.ts
Normal file
|
@ -0,0 +1,9 @@
|
|||
export interface ProtocolVotingViewModel {
|
||||
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