( data: any, )
| 208 | } |
| 209 | |
| 210 | const generateCode: (data: any) => Promise<Result<any>> = ( |
| 211 | data: any, |
| 212 | ) => { |
| 213 | const p = (window.MaxKB?.prefix ? window.MaxKB?.prefix : '/admin') + '/api' |
| 214 | return postStream( |
| 215 | `${p}${prefix}/generate_code`, |
| 216 | data, |
| 217 | ) |
| 218 | } |
| 219 | |
| 220 | /** |
| 221 | * 导入工具工作流 |
nothing calls this directly
no test coverage detected