@experteam-mx/ngx-services
Version:
Angular common services for Experteam apps
41 lines (40 loc) • 1.19 kB
TypeScript
import { AlphaNumeric, DefaultValueType, Event } from './api-inventories.enum';
import { ActiveLessSymfonyModel, SymfonyModel } from './api.models';
export interface Checkpoint extends ActiveLessSymfonyModel {
code: string;
name: string;
event: Event;
isFinisher: boolean;
}
export interface CheckpointEventReason extends ActiveLessSymfonyModel {
code: string;
name: string;
extraFields: {
[key: string]: string;
};
checkpoint: Checkpoint | null;
}
export interface Incident extends SymfonyModel {
checkpoint: Checkpoint | null;
countryId: string;
event: Event;
name: string;
isFinisher: boolean;
}
export interface IncidentReason extends SymfonyModel {
checkpointEventReason: CheckpointEventReason | null;
description: string;
incident: Incident | null;
isDefaultChecking: boolean;
name: string;
}
export interface IncidentReasonComplement extends SymfonyModel {
alphaNumeric: AlphaNumeric | null;
eventReasonCodeKey: string;
description: string;
defaultValueType: DefaultValueType | null;
incidentReason: IncidentReason;
maxLength: number;
name: string;
readOnly: boolean;
}