ag-toolkit 0.1.1 → 0.1.3
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useSearchFilter: <T extends
|
|
1
|
+
export declare const useSearchFilter: <T extends object>(items: T[], searchTerm: string, searchableFields: (keyof T)[]) => T[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ag-toolkit",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Shared library for agbd and agrb",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -22,7 +22,8 @@
|
|
|
22
22
|
"dev": "tsc --watch",
|
|
23
23
|
"test": "biome check .",
|
|
24
24
|
"lint": "biome check . --write",
|
|
25
|
-
"ci": "biome ci ."
|
|
25
|
+
"ci": "biome ci .",
|
|
26
|
+
"prepublishOnly": "npm run build"
|
|
26
27
|
},
|
|
27
28
|
"files": [
|
|
28
29
|
"dist"
|