🔧 fix(__main__.py): add 'store' parameter to update_settings function to enable/disable store feature
✨ feat(__main__.py): add 'store' option to the run command to enable/disable store feature 🔧 fix(store.py): add check_if_store_is_enabled endpoint to check if store feature is enabled ✨ feat(store.py): add get_tags endpoint to retrieve tags from the store 🔧 fix(base.py): add STORE setting to enable/disable store feature 🔧 fix(schema.py): rename 'likes_count' field to 'liked_by_count' in ComponentResponse and ListComponentResponse 🔧 fix(service.py): change default sorting in query_components function to sort by 'count(liked_by)' ✅ test(test_store.py): update sort parameter in test_search_components to 'count(liked_by)'
This commit is contained in:
parent
785e8a6436
commit
d664131e6c
6 changed files with 57 additions and 14 deletions
|
|
@ -48,7 +48,7 @@ def test_search_components(mock_httpx: Mock, client):
|
|||
"filter[name][_like]": "test",
|
||||
"page": 1,
|
||||
"limit": 5,
|
||||
"sort": "likes",
|
||||
"sort": "count(liked_by)",
|
||||
},
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue