Skip to content

Commit

Permalink
Samstag 13:15
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Hornburger committed Jun 15, 2024
1 parent dcae390 commit 8305382
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 4 deletions.
33 changes: 30 additions & 3 deletions src/datenstrukturen/abnahmestruktur_server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,28 @@ interface IAbnahmenstruktur {
Unterlagen: string;
Maengelstatus: string;
Abnahmeverweigerung: boolean;
Absprachen: string;
Absprachen: boolean;
Absprachentext: string;
Kuendigungsmaengel: boolean;
Maengelbeseitigungdatumstempel: number;
Maengelbeseitigungdatumstring: string;
MaengelpunkteIDListe: string[];
GesendetZeitstempel: number;
GesendetZeitstring: string;
FileID: string;
Filename: string;
Betreff: string;
Nachricht: string;
Empfaengerliste?: {
Name: string;
Firma: string;
Email: string;
}[];
CcEmpfaengerliste?: {
Name: string;
Firma: string;
Email: string;
}[];
};

const Abnahmeneshema = new mongoose.Schema({
Expand Down Expand Up @@ -69,12 +86,22 @@ const Abnahmeneshema = new mongoose.Schema({

Maengelstatus: {type: String, required: false, default: null},
Abnahmeverweigerung: {type: Boolean, required: false, default: false},
Absprachen: {type: String, required: false, default: null},
Absprachen: {type: Boolean, required: false, default: false},
Absprachentext: {type: String, required: false, default: null},
Kuendigungsmaengel: {type: Boolean, required: false, default: false},
Maengelbeseitigungdatumstempel: {type: Number, required: false, default: null},
Maengelbeseitigungdatumstring: {type: String, required: false, default: null},

MaengelpunkteIDListe: {type: [String], required: false, default: []},
GesendetZeitstempel: {type: Number, required: false, default: null},
GesendetZeitstring: {type: String, required: false, default: null},

FileID: {type: String, required: false, default: null},
Filename: {type: String, required: false, default: null},

Betreff: {type: String, required: false, default: null},
Nachricht: {type: String, required: false, default: null},

MaengelpunkteIDListe: {type: [String], required: false, default: []},

Verfasser: Verfassershema,
});
Expand Down
2 changes: 2 additions & 0 deletions src/datenstrukturen/projektestruktur_server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ interface IProjektestruktur {
BautagebuchFolderID: string;
BaustellenLOPFolderID: string;
RechnungListefolderID: string;
AbnahmenfolderID: string;
LastLOPEintragnummer: number;

Folderliste: IFolderstruktur[];
Expand Down Expand Up @@ -119,6 +120,7 @@ const Projekteshema = new mongoose.Schema({
BaustellenLOPFolderID: {type: String, required: false},
BilderFolderID: {type: String, required: false},
RechnungListefolderID: {type: String, required: false},
AbnahmenfolderID: {type: String, required: false},

Folderliste: [Foldershema]

Expand Down
5 changes: 4 additions & 1 deletion src/datenstrukturen/teamsfilesstruktur_server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ interface ITeamsfilesstruktur {
Planspaltenindex: number;
BauteilID: string;
GeschossID: string;
Imagewidth: number;
Imageheight: number;

Beschreibung: string;
Bezeichnung: string;
Expand Down Expand Up @@ -84,6 +86,8 @@ const Teamsfileshema = new mongoose.Schema({
GeschossID: {type: String, required: false},
Planzeilenindex: {type: Number, required: false},
Planspaltenindex: {type: Number, required: false},
Imagewidth: {type: Number, required: false},
Imageheight: {type: Number, required: false},
Verfasser: Verfassershema,
Planbereichliste: [Planbereichshema],
Planteilbereichliste: [Planteilbereichshema]
Expand All @@ -93,4 +97,3 @@ export { ITeamsfilesstruktur, Teamsfileshema };




0 comments on commit 8305382

Please sign in to comment.