File

src/shared/model/Settings.ts

Index

Properties

Properties

canTutorExcuseStudents
canTutorExcuseStudents: boolean
Type : boolean
defaultTeamSize
defaultTeamSize: number
Type : number
excludeStudentsByStatus
excludeStudentsByStatus: boolean
Type : boolean
gradingFilename
gradingFilename: string
Type : string

Filename for gradings for teams / students without extension.

mailingConfig
mailingConfig: IMailingSettings
Type : IMailingSettings
Optional
tutorialGradingFilename
tutorialGradingFilename: string
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];
};

results matching ""

    No results matching ""