소스 검색

feat(types): 文件迁移

lipk 3 년 전
부모
커밋
4895e1c8a7
3개의 변경된 파일11개의 추가작업 그리고 9개의 파일을 삭제
  1. 0 9
      types/src/interface/api/approvaApi.ts
  2. 10 0
      types/src/interface/api/businessApi.ts
  3. 1 0
      types/src/interface/api/index.ts

+ 0 - 9
types/src/interface/api/approvaApi.ts

@@ -50,12 +50,3 @@ export namespace GetApprovalGetGatherYsProfileByBusinessID {
     copy: boolean;
   };
 }
-
-export namespace PostGetFeeByProcessId {
-  export type Params = {
-    businessID: string;
-    params: IBusinessProcessFeeParam[];
-  };
-
-  export type Response = Record<string, IBusinessProcessFee>;
-}

+ 10 - 0
types/src/interface/api/businessApi.ts

@@ -0,0 +1,10 @@
+import { IBusinessProcessFeeParam, IBusinessProcessFee } from '../business';
+
+export namespace PostGetFeeByProcessId {
+  export type Params = {
+    businessID: string;
+    params: IBusinessProcessFeeParam[];
+  };
+
+  export type Response = Record<string, IBusinessProcessFee>;
+}

+ 1 - 0
types/src/interface/api/index.ts

@@ -1,2 +1,3 @@
 export * from './approvaApi';
 export * from './processApi';
+export * from './businessApi';