260723_01_ENH: 설문 URL 치환시 모든 헤더 정보에 대해서 치환 가능하게 수정

This commit is contained in:
2026-07-23 16:03:33 +09:00
parent 2dd5b88c6f
commit a7af497542
16 changed files with 36 additions and 200 deletions

View File

@@ -1,8 +1,13 @@
import { ListHeaderAssignConst, ListHeaderConst } from "@/const/listConst";
import { CONTACT_INTERVIEWER_ROLE, FIELD_INTERVIEWER_ROLE } from "@/const/userConst";
import { ListIsUse, type ListFilter, type listHeader } from "@/types/list";
import { ListIsUse, type ListFilter, type listHeader, type ListHeaderAssignType } from "@/types/list";
import {isExternalManager, isFieldWorkUser, isInternalManager, isManager} from "@/utils/userRole";
export const isAssignHeaderType = (value: number): value is ListHeaderAssignType =>
value === ListHeaderAssignConst.OUTSOURCE ||
value === ListHeaderAssignConst.CONTACT_INTERVIEWER ||
value === ListHeaderAssignConst.FIELD_INTERVIEWER;
type ListAccessUser = {
userRole?: number | null;
userId?: string | null;