Merge branch 'feature/H-2483' into 'master'

feature/H-2483

See merge request hrbox-public/api!27
This commit was merged in pull request #27.
This commit is contained in:
2025-09-03 08:16:00 +00:00
+38 -1
View File
@@ -1888,7 +1888,7 @@ paths:
$ref: '#/components/schemas/dashboardWidget'
updIdeas:
# description: Company feed - New ideas
$ref: '#/components/schemas/dashboardWidget'
$ref: '#/components/schemas/dashboardIdeaWidget'
updAchievements:
# description: Company feed - New achievements achieved by users
$ref: '#/components/schemas/dashboardWidget'
@@ -7398,6 +7398,43 @@ components:
xml:
name: item
dashboardIdeaWidget:
allOf:
- $ref: '#/components/schemas/dashboardWidget'
- type: object
properties:
items:
type: array
items:
$ref: '#/components/schemas/updIdeaWidgetItem'
- type: object
properties:
data:
type: object
properties:
mostRecent:
type: array
description: Топ самых популярный идей по количеству голосов
items:
$ref: '#/components/schemas/updIdeaWidgetItem'
notView:
type: array
description: Идеи которые еще не были просмотрены пользователем
items:
$ref: '#/components/schemas/updIdeaWidgetItem'
updIdeaWidgetItem:
allOf:
- $ref: '#/components/schemas/dashboardWidgetItem'
- type: object
properties:
data:
type: object
properties:
countVoted:
type: integer
description: Количество пользователей проголосовавших за идею
feedback:
type: object
properties: