forest-express-sequelize 8.4.7 → 8.4.8
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/.husky/commit-msg +4 -0
- package/.husky/pre-commit +4 -0
- package/CHANGELOG.md +7 -0
- package/package.json +3 -2
- package/types/index.d.ts +1 -0
- package/husky.config.js +0 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [8.4.8](https://github.com/ForestAdmin/forest-express-sequelize/compare/v8.4.7...v8.4.8) (2021-11-30)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* add searchFields type in the collection options ([#875](https://github.com/ForestAdmin/forest-express-sequelize/issues/875)) ([8a9a84a](https://github.com/ForestAdmin/forest-express-sequelize/commit/8a9a84a263741fc3ed1814eb954dec6ca8bb5626))
|
|
7
|
+
|
|
1
8
|
## [8.4.7](https://github.com/ForestAdmin/forest-express-sequelize/compare/v8.4.6...v8.4.7) (2021-10-25)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "forest-express-sequelize",
|
|
3
3
|
"description": "Official Express/Sequelize Liana for Forest",
|
|
4
|
-
"version": "8.4.
|
|
4
|
+
"version": "8.4.8",
|
|
5
5
|
"author": "Sandro Munda <sandro@munda.me>",
|
|
6
6
|
"contributors": [
|
|
7
7
|
"Arnaud Besnier <arnaudibesnier@gmail.com>",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"eslint-plugin-import": "2.18.2",
|
|
58
58
|
"eslint-plugin-jest": "23.0.4",
|
|
59
59
|
"eslint-plugin-sonarjs": "0.5.0",
|
|
60
|
-
"husky": "
|
|
60
|
+
"husky": "7.0.4",
|
|
61
61
|
"jest": "26.6.3",
|
|
62
62
|
"jest-extended": "0.11.5",
|
|
63
63
|
"mysql2": "2.1.0",
|
|
@@ -76,6 +76,7 @@
|
|
|
76
76
|
"build": "babel src --out-dir dist",
|
|
77
77
|
"build:watch": "onchange 'src/**/*.js' 'node_modules/forest-express/dist/*' --no-exclude -i -- babel --source-maps inline --out-dir dist src",
|
|
78
78
|
"lint": "./node_modules/eslint/bin/eslint.js .eslint-bin src test types/index.d.ts",
|
|
79
|
+
"prepare": "husky install",
|
|
79
80
|
"test": "jest",
|
|
80
81
|
"test:coverage": "jest --coverage"
|
|
81
82
|
}
|
package/types/index.d.ts
CHANGED
|
@@ -321,6 +321,7 @@ export interface CollectionOptions {
|
|
|
321
321
|
fields?: SmartFieldOptions[];
|
|
322
322
|
actions?: SmartActionOptions[];
|
|
323
323
|
segments?: SmartSegmentOptions[];
|
|
324
|
+
searchFields?: string[];
|
|
324
325
|
}
|
|
325
326
|
|
|
326
327
|
export function collection(name: string, options: CollectionOptions): void;
|