260928_01_ENH: 신청서 파일 업로드/다운로드 추가
This commit is contained in:
@@ -139,3 +139,25 @@ export type PerformanceFull = PerformanceCompact & {
|
||||
performanceAssignList: PerformanceAssign[];
|
||||
performanceReviewMap: Record<string, PerformanceReview>;
|
||||
};
|
||||
|
||||
// Request Form (공연별 신청서 파일)
|
||||
export const REQUEST_FORM_TYPE = {
|
||||
PUBLIC_OFFERING: 1, // 공모신청서
|
||||
ISSUANCE: 2, // 교부신청서
|
||||
} as const;
|
||||
|
||||
export type RequestFormType = typeof REQUEST_FORM_TYPE[keyof typeof REQUEST_FORM_TYPE];
|
||||
|
||||
/*
|
||||
* performanceDetail에 양식별 파일명이 담기는 key.
|
||||
* 값은 파일명만이며 저장 경로가 아니므로, 다운로드는 반드시 다운로드 API를 호출한다.
|
||||
*/
|
||||
export const REQUEST_FORM_DETAIL_KEY: Record<RequestFormType, string> = {
|
||||
[REQUEST_FORM_TYPE.PUBLIC_OFFERING]: "PublicOfferingRequestForm",
|
||||
[REQUEST_FORM_TYPE.ISSUANCE]: "IssuanceRequestForm",
|
||||
};
|
||||
|
||||
export const REQUEST_FORM_LABEL: Record<RequestFormType, string> = {
|
||||
[REQUEST_FORM_TYPE.PUBLIC_OFFERING]: "공모신청서",
|
||||
[REQUEST_FORM_TYPE.ISSUANCE]: "교부신청서",
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user