feat: доработка виджета идей
This commit is contained in:
+38
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user