src/app/core/ngxs/actions/inteview.actions.ts
Properties |
constructor(id: number, interview: Partial
|
|||||||||
Parameters :
|
Public id |
Type : number
|
Public interview |
Type : Partial<Interview>
|
Static Readonly type |
Type : string
|
Default value : '[Interview] Update Interview'
|
import { Interview } from '../../data/models/interview.model';
import { FacCrit } from '../../data/models/faccrit.model';
import { Answer } from '../../data/models/answer.model';
export class AddInterview {
static readonly type = '[AuditOverview] Add Interview';
constructor(public interview: Interview, public interviewScope: FacCrit[]) {}
}
export class UpdateInterview {
static readonly type = '[Interview] Update Interview';
constructor(public id: number, public interview: Partial<Interview>) {}
}
export class UpdateAnswer {
static readonly type = '[Interview] Update Answer';
constructor(public answer: Answer) {}
}