Selaa lähdekoodia

feat(types): 添加接口相关

lipk 3 vuotta sitten
vanhempi
commit
ab891a80f4
2 muutettua tiedostoa jossa 12 lisäystä ja 0 poistoa
  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;
+  }>;
+}