MCPcopy Create free account
hub / github.com/apitable/apitable / loadOrSearchEmbed

Function loadOrSearchEmbed

packages/core/src/modules/shared/api/api.ts:353–367  ·  view source on GitHub ↗
(embedId: string, { filterIds, keyword, names, unitIds, linkId, all, searchEmail }: ILoadOrSearchArg)

Source from the content-addressed store, hash-verified

351}
352
353export 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

Callers

nothing calls this directly

Calls 2

getCustomConfigFunction · 0.90
getMethod · 0.65

Tested by

no test coverage detected