src/shared/model/Settings.ts
Properties |
canTutorExcuseStudents |
canTutorExcuseStudents:
|
Type : boolean
|
defaultTeamSize |
defaultTeamSize:
|
Type : number
|
excludeStudentsByStatus |
excludeStudentsByStatus:
|
Type : boolean
|
gradingFilename |
gradingFilename:
|
Type : string
|
Filename for gradings for teams / students without extension. |
mailingConfig |
mailingConfig:
|
Type : IMailingSettings
|
Optional |
tutorialGradingFilename |
tutorialGradingFilename:
|
Type : string
|
Filename for file for gradings of all team of a tutorial without extension. |
export interface IMailingAuthConfiguration {
user: string;
pass: string;
}
export interface IMailingSettings {
from: string;
host: string;
port: number;
subject: string;
auth: IMailingAuthConfiguration;
}
export interface IClientSettings {
defaultTeamSize: number;
canTutorExcuseStudents: boolean;
excludeStudentsByStatus: boolean;
/** Filename for gradings for teams / students __without__ extension. */
gradingFilename: string;
/** Filename for file for gradings of all team of a tutorial __without__ extension. */
tutorialGradingFilename: string;
mailingConfig?: IMailingSettings;
}
export type IChangeSettingsDTO = {
[K in keyof IClientSettings]: IClientSettings[K];
};