feat: add content query (MIN-61)
Objective:
Add connect search content query.
What has been done:
- Added content reducers, thunks, slice, and types files in the redux folder
- Added tests for reducers and thinks
- Added
getContentsStringWithQuery
func with test - Added fixtures
Additionally:
- added husky config file called
pre-commit
(We check now: linter, prettier, ts types and jest's tests before committing) - deleted
precommit
file with old husky config - replaced type
ZodError<TResponse>
toZodError
inuseApiQuery
file - created an apiPath file containing all APIs call
Edited by mateuszmiko