260723_01_ENH: 설문 URL 치환시 모든 헤더 정보에 대해서 치환 가능하게 수정
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user