UNPKG

yanzhen-design-vue

Version:

24 lines (23 loc) 788 B
import { provideApiConfig } from "@yanzhen-lowcode/core"; import { getApiSymbol, OtherTables } from "../constants/apis.mjs"; const otherTablesApis = getApiSymbol(); function provideOtherTableBizObjectParamsApi(props) { const _api = provideApiConfig(props); const getBizObjectParams = (options) => { return _api == null ? void 0 : _api.value.request(options ?? {}, otherTablesApis[OtherTables.BIZ_OBJECT_PARAMS]); }; const getSearchRelBizObjectDataListV3 = (options) => { return _api == null ? void 0 : _api.value.request( options ?? {}, otherTablesApis[OtherTables.SEARCH_REL_BIZ_OBJECT_DATA_LIST_V3] ); }; return { getBizObjectParams, getSearchRelBizObjectDataListV3 }; } export { otherTablesApis, provideOtherTableBizObjectParamsApi };