From f8fc02e175f93466cd7693eb6e549c45362e785b Mon Sep 17 00:00:00 2001 From: joonhoekim <26rote@gmail.com> Date: Fri, 26 Sep 2025 14:13:20 +0900 Subject: (김준회) POS 및 구매 피드백 처리 - 요구사항 28.(0.1) 24번 행 (prItem번호 별도 표기) - pos nfs 경로에서 가져오도록 수정개발 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pos/types.ts | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'lib/pos/types.ts') diff --git a/lib/pos/types.ts b/lib/pos/types.ts index eb75c94b..2a1c6076 100644 --- a/lib/pos/types.ts +++ b/lib/pos/types.ts @@ -59,6 +59,25 @@ export interface DownloadPosFileParams { relativePath: string; } +/** + * NFS 마운트를 통한 파일 접근 파라미터 + */ +export interface AccessNfsFileParams { + /** + * POS API에서 반환된 상대 경로 + */ + relativePath: string; +} + +export interface AccessNfsFileResult { + success: boolean; + fileName?: string; + fileBuffer?: Buffer; + mimeType?: string; + fullPath?: string; + error?: string; +} + export interface DownloadPosFileResult { success: boolean; fileName?: string; @@ -85,3 +104,6 @@ export interface PosFileSyncResult { export const POS_SOAP_SEGMENT = '/Documentum/PlmFileBroker.asmx'; export const POS_SOAP_BASE_URL = process.env.POS_SOAP_ENDPOINT || 'http://60.100.99.122:7700'; export const POS_SOAP_ENDPOINT = `${POS_SOAP_BASE_URL}${POS_SOAP_SEGMENT}`; + +// NFS 마운트 관련 설정 +export const DOCUMENTUM_NFS_PATH = process.env.DOCUMENTUM_NFS || '/mnt/nfs-documentum/'; -- cgit v1.2.3