Merge branch 'main' into #1-account-management

# Conflicts:
#	src/data-source.ts
This commit is contained in:
Julian Krauser 2024-11-21 16:00:22 +01:00
commit 273745f830
66 changed files with 3721 additions and 10 deletions

View 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;
}

View file

@ -0,0 +1,6 @@
export interface CalendarTypeViewModel {
id: number;
type: string;
nscdr: boolean;
color: string;
}

View file

@ -0,0 +1,8 @@
export interface ProtocolViewModel {
id: number;
title: string;
date: Date;
starttime: Date;
endtime: Date;
summary: string;
}

View file

@ -0,0 +1,6 @@
export interface ProtocolAgendaViewModel {
id: number;
topic: string;
context: string;
protocolId: number;
}

View file

@ -0,0 +1,6 @@
export interface ProtocolDecisionViewModel {
id: number;
topic: string;
context: string;
protocolId: number;
}

View file

@ -0,0 +1,7 @@
import { MemberViewModel } from "./member.models";
export interface ProtocolPresenceViewModel {
memberId: number;
member: MemberViewModel;
protocolId: number;
}

View file

@ -0,0 +1,7 @@
export interface ProtocolPrintoutViewModel {
id: number;
title: string;
iteration: number;
createdAt: Date;
protocolId: number;
}

View file

@ -0,0 +1,9 @@
export interface ProtocolVotingViewModel {
id: number;
topic: string;
context: string;
favour: number;
abstain: number;
against: number;
protocolId: number;
}