From 9fe95da126b8d12c18dc7bae3c113eadf85dfa82 Mon Sep 17 00:00:00 2001 From: Archer <545436317@qq.com> Date: Wed, 2 Apr 2025 17:12:34 +0800 Subject: [PATCH] pro migration (#4388) (#4433) * pro migration * reuse customPdfParseType Co-authored-by: gggaaallleee <91131304+gggaaallleee@users.noreply.github.com> --- packages/global/common/system/types/index.d.ts | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/packages/global/common/system/types/index.d.ts b/packages/global/common/system/types/index.d.ts index eb989da5d..6349226ea 100644 --- a/packages/global/common/system/types/index.d.ts +++ b/packages/global/common/system/types/index.d.ts @@ -118,11 +118,12 @@ export type SystemEnvType = { oneapiUrl?: string; chatApiKey?: string; - customPdfParse?: { - url?: string; - key?: string; - - doc2xKey?: string; - price?: number; // n points/1 page - }; + customPdfParse?: customPdfParseType; +}; + +export type customPdfParseType = { + url?: string; + key?: string; + doc2xKey?: string; + price?: number; };