(embedId: string, { filterIds, keyword, names, unitIds, linkId, all, searchEmail }: ILoadOrSearchArg)
| 351 | } |
| 352 | |
| 353 | export function loadOrSearchEmbed(embedId: string, { filterIds, keyword, names, unitIds, linkId, all, searchEmail }: ILoadOrSearchArg) { |
| 354 | return axios.get(urlcat(Url.LOAD_OR_SEARCH_EMBED, { embedId }), { |
| 355 | baseURL: nestBaseURL, |
| 356 | params: { |
| 357 | filterIds, |
| 358 | keyword, |
| 359 | names, |
| 360 | unitIds, |
| 361 | linkId, |
| 362 | all, |
| 363 | searchEmail, |
| 364 | type: getCustomConfig().NEXT_PUBLIC_UNIT_SEARCH_TYPE |
| 365 | }, |
| 366 | }); |
| 367 | } |
| 368 | |
| 369 | /** |
| 370 | * Search unit(folder/file) info |
nothing calls this directly
no test coverage detected