src/app/workspace-admin/workspace.interfaces.ts
Properties |
bookletname |
bookletname:
|
Type : string
|
code |
code:
|
Type : string
|
groupname |
groupname:
|
Type : string
|
laststate |
laststate:
|
Type : string
|
loginname |
loginname:
|
Type : string
|
responses |
responses:
|
Type : string
|
responses_ts |
responses_ts:
|
Type : number
|
responsetype |
responsetype:
|
Type : string
|
restorepoint |
restorepoint:
|
Type : string
|
restorepoint_ts |
restorepoint_ts:
|
Type : number
|
unitname |
unitname:
|
Type : string
|
export const IQBFileTypes = ['Testtakers', 'Booklet', 'SysCheck', 'Resource', 'Unit'] as const;
export type IQBFileType = (typeof IQBFileTypes)[number];
export interface IQBFile {
name: string;
size: number;
modificationTime: string;
type: IQBFileType;
isChecked: boolean;
report: {
error: string[];
warning: string[];
info: string[];
},
info: {
[key: string]: string|number;
}
}
export type GetFileResponseData = {
[type in IQBFileType]: IQBFile[]
};
export interface UnitResponse {
groupname: string;
loginname: string;
code: string;
bookletname: string;
unitname: string;
responses: string;
restorepoint: string;
responsetype: string;
responses_ts: number;
restorepoint_ts: number;
laststate: string;
}
export interface MonitorData {
groupname: string;
loginsPrepared: number;
personsPrepared: number;
bookletsPrepared: number;
bookletsStarted: number;
bookletsLocked: number;
laststart: Date;
laststartStr: string;
}
export interface ResultData {
groupname: string;
bookletsStarted: number;
num_units_min: number;
num_units_max: number;
num_units_mean: number;
lastchange: number;
}
export interface LogData {
groupname: string;
loginname: string;
code: string;
bookletname: string;
unitname: string;
timestamp: number;
logentry: string;
}
export interface ReviewData {
groupname: string;
loginname: string;
code: string;
bookletname: string;
unitname: string;
priority: number;
categories: string;
reviewtime: Date;
entry: string;
}
export interface SysCheckStatistics {
id: string;
label: string;
count: number;
details: string[];
}