261022_05_ENH: 리스트 초기화 범위 세분화 및 설문별 상태이력 초기화 추가

This commit is contained in:
2026-10-22 16:59:04 +09:00
parent f65dacdec1
commit 17ad56939c
4 changed files with 153 additions and 33 deletions

View File

@@ -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;
};