@freelog/tools-lib 0.1.161 → 0.1.162

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.
@@ -383,10 +383,7 @@ interface GetAttrsInfoByKeyParamsType {
383
383
  }
384
384
  export declare function getAttrsInfoByKey({ ...params }: GetAttrsInfoByKeyParamsType): Promise<any>;
385
385
  interface GenerateResourceNamesParamsType {
386
- data: {
387
- name: string;
388
- num: number;
389
- }[];
386
+ resourceNames: string[];
390
387
  }
391
- export declare function generateResourceNames({ data }: GenerateResourceNamesParamsType): Promise<any>;
388
+ export declare function generateResourceNames({ resourceNames }: GenerateResourceNamesParamsType): Promise<any>;
392
389
  export {};
@@ -1957,11 +1957,13 @@ function getAttrsInfoByKey(_ref24) {
1957
1957
  });
1958
1958
  }
1959
1959
  function generateResourceNames(_ref25) {
1960
- var data = _ref25.data;
1960
+ var resourceNames = _ref25.resourceNames;
1961
1961
  return FUtil.Request({
1962
1962
  method: 'POST',
1963
1963
  url: "/v2/resources/generateResourceNames",
1964
- data: data
1964
+ data: {
1965
+ resourceNames: resourceNames
1966
+ }
1965
1967
  });
1966
1968
  }
1967
1969