tsv2-library 1.1.0-dev-alpha.46 → 1.1.0-dev-alpha.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -32,7 +32,7 @@ declare const _default: {
|
|
|
32
32
|
getAssetNameDetail: (id: string) => Promise<AxiosResponse<any, any, {}>>;
|
|
33
33
|
getAssetNameList: (params: GetAssetNameListQueryParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
34
34
|
getAssetsByAssetName: (id: string, params?: Partial<Record<string, unknown>> | undefined) => Promise<AxiosResponse<any, any, {}>>;
|
|
35
|
-
|
|
35
|
+
postUnpairedAssetName: (params: GetAssetNameListQueryParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
36
36
|
getAssetNameDropdown: () => Promise<AxiosResponse<GetAssetNameDropdownResponse, any, {}>>;
|
|
37
37
|
getOptions: (params: AssetNameOptionsQueryParams) => Promise<AxiosResponse<any, any, {}>>;
|
|
38
38
|
postAssetNameList: (params?: GetAssetNameListQueryParams | undefined) => Promise<AxiosResponse<any, any, {}>>;
|
package/dist/tsv2-library.es.js
CHANGED
|
@@ -13515,8 +13515,9 @@ const getAssetsByAssetName = (id, params) => {
|
|
|
13515
13515
|
const getAssetNameList = (params) => {
|
|
13516
13516
|
return API$g({ params }).get("/");
|
|
13517
13517
|
};
|
|
13518
|
-
const
|
|
13519
|
-
|
|
13518
|
+
const postUnpairedAssetName = (params) => {
|
|
13519
|
+
const body = buildBodyParams(params);
|
|
13520
|
+
return API$g().post("/unpaired/list", body);
|
|
13520
13521
|
};
|
|
13521
13522
|
const getOptions = (params) => {
|
|
13522
13523
|
return API$g({ params }).get("/options");
|
|
@@ -13532,7 +13533,7 @@ const AssetNameServices = {
|
|
|
13532
13533
|
getAssetNameDetail,
|
|
13533
13534
|
getAssetNameList,
|
|
13534
13535
|
getAssetsByAssetName,
|
|
13535
|
-
|
|
13536
|
+
postUnpairedAssetName,
|
|
13536
13537
|
getAssetNameDropdown,
|
|
13537
13538
|
getOptions,
|
|
13538
13539
|
postAssetNameList
|
|
@@ -63016,7 +63017,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
63016
63017
|
params.excludeKey = props.excludedKey ? JSON.stringify(props.excludedKey) : void 0;
|
|
63017
63018
|
params.excludeId = props.excludeId ? JSON.stringify(props.excludeId) : void 0;
|
|
63018
63019
|
params.excludeInitialGroup = props.excludeInitialGroup ? JSON.stringify(props.excludeInitialGroup) : void 0;
|
|
63019
|
-
const { data: data30 } = props.unpaired ? await AssetNameServices.
|
|
63020
|
+
const { data: data30 } = props.unpaired ? await AssetNameServices.postUnpairedAssetName(params) : await AssetNameServices.getAssetNameList(params);
|
|
63020
63021
|
if (props.unpaired) {
|
|
63021
63022
|
filterOption.value.nameOptions = (_c = (_b = data30.data) == null ? void 0 : _b.data) == null ? void 0 : _c.map(
|
|
63022
63023
|
(d) => {
|