tsv2-library 1.1.0-dev-alpha.45 → 1.1.0-dev-alpha.46

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tsv2-library",
3
3
  "author": "fixedassetv2-fe",
4
- "version": "1.1.0-dev-alpha.45",
4
+ "version": "1.1.0-dev-alpha.46",
5
5
  "license": "ISC",
6
6
  "homepage": "https://github.com/fixedassetv2-fe/tsv2-library#readme",
7
7
  "repository": {
@@ -1,5 +1,6 @@
1
1
  import { DefineComponent, Slot } from 'vue';
2
2
  import { FilterOption } from '@/types/filterOption.type';
3
+ import { FilterField } from '@/types/filterField.type';
3
4
 
4
5
  export interface DialogSelectAssetFilterModels {
5
6
  assetName?: string[];
@@ -261,6 +262,12 @@ export interface DialogSelectAssetProps {
261
262
  * @param params this is required
262
263
  */
263
264
  fetchFunction?: (params: QueryParams) => Promise<FetchResponse | undefined>;
265
+ /**
266
+ * The function to fetch filter options for AssetFilters.
267
+ *
268
+ * Overrides the default handleFetchOptions when provided.
269
+ */
270
+ fetchOptionFunction?: FilterField<QueryParams>['fetchOptionFn'];
264
271
  }
265
272
 
266
273
  /**