@adminforth/quick-filters 2.0.1 → 2.0.2

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.
Files changed (3) hide show
  1. package/build.log +1 -1
  2. package/package.json +1 -1
  3. package/types.ts +3 -3
package/build.log CHANGED
@@ -10,5 +10,5 @@ custom/UniversalSearchInput.vue
10
10
  custom/tsconfig.json
11
11
  custom/types.ts
12
12
 
13
- sent 5,219 bytes received 115 bytes 10,668.00 bytes/sec
13
+ sent 5,213 bytes received 115 bytes 10,656.00 bytes/sec
14
14
  total size is 4,786 speedup is 0.90
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/quick-filters",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",
package/types.ts CHANGED
@@ -1,13 +1,13 @@
1
- import { Filters, type IAdminForthSingleFilter } from "adminforth"
1
+ import { Filters, type IAdminForthSingleFilter, type IAdminForthAndOrFilter } from "adminforth"
2
2
  interface IFilter {
3
3
  name: string;
4
4
  icon?: string;
5
5
  enum?: {
6
6
  label: string;
7
7
  icon?: string;
8
- filters: () => IAdminForthSingleFilter | Promise<IAdminForthSingleFilter>;
8
+ filters: () => IAdminForthSingleFilter | IAdminForthAndOrFilter | Promise<IAdminForthSingleFilter | IAdminForthAndOrFilter>;
9
9
  }[];
10
- searchInput?: (searchVal: string) => IAdminForthSingleFilter | Promise<IAdminForthSingleFilter>;
10
+ searchInput?: (searchVal: string) => IAdminForthSingleFilter | IAdminForthAndOrFilter | Promise<IAdminForthSingleFilter | IAdminForthAndOrFilter>;
11
11
  }
12
12
  export interface PluginOptions {
13
13
  filters: IFilter[]