261022_05_ENH: 리스트 초기화 범위 세분화 및 설문별 상태이력 초기화 추가
This commit is contained in:
@@ -36,11 +36,6 @@ export enum ListUploadMode {
|
||||
ADD_AND_CHANGE = 1,
|
||||
}
|
||||
|
||||
export enum ListResetMode {
|
||||
ALL = 0,
|
||||
HIST = 1,
|
||||
}
|
||||
|
||||
export enum ListEventHistoryBase {
|
||||
ALL = 1,
|
||||
LATEST = 2,
|
||||
@@ -90,7 +85,12 @@ export type ListDownloadPayload = {
|
||||
historyOrder?: ListEventHistoryOrder;
|
||||
};
|
||||
|
||||
export type ListResetScope = 'result-and-history' | 'list-only';
|
||||
export type ListResetSelection = {
|
||||
resetList: boolean;
|
||||
resetContactHistory: boolean;
|
||||
resetInterviewHistory: boolean;
|
||||
resetSurveyIds: number[];
|
||||
};
|
||||
|
||||
export type ListFilterCondition = {
|
||||
operator: ListFilterOperator;
|
||||
@@ -353,8 +353,7 @@ export type ProjectFieldworkAssignSummary = {
|
||||
assignees: FieldworkAssignSummaryItem[];
|
||||
};
|
||||
|
||||
export type ListResetRequest = {
|
||||
resetMode: ListResetMode;
|
||||
export type ListResetRequest = ListResetSelection & {
|
||||
listFilter: ListFilter;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user