Преглед изворни кода

feat(types): 添加接口相关

lipk пре 3 година
родитељ
комит
ab891a80f4
2 измењених фајлова са 12 додато и 0 уклоњено
  1. 1 0
      types/src/interface/api/index.ts
  2. 11 0
      types/src/interface/api/processApi.ts

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

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

+ 11 - 0
types/src/interface/api/processApi.ts

@@ -0,0 +1,11 @@
+export namespace PostGetProcessListByTemplateId {
+  export type Params = {
+    businessID: string;
+    templateID: string[];
+  };
+
+  export type Body = Array<{
+    templateId: string;
+    referenceProcessId: string;
+  }>;
+}