Extend search stats to fully populate search menu

Refs: #856
This commit is contained in:
eikek
2021-10-05 13:50:31 +02:00
parent e961a5ac10
commit 813797756c
8 changed files with 167 additions and 8 deletions

View File

@ -5305,6 +5305,10 @@ components:
- tagCategoryCloud
- fieldStats
- folderStats
- corrOrgStats
- corrPersStats
- concPersStats
- concEquipStats
properties:
count:
type: integer
@ -5321,6 +5325,23 @@ components:
type: array
items:
$ref: "#/components/schemas/FolderStats"
corrOrgStats:
type: array
items:
$ref: "#/components/schemas/IdRefStats"
corrPersStats:
type: array
items:
$ref: "#/components/schemas/IdRefStats"
concPersStats:
type: array
items:
$ref: "#/components/schemas/IdRefStats"
concEquipStats:
type: array
items:
$ref: "#/components/schemas/IdRefStats"
ItemInsights:
description: |
Information about the items in docspell.
@ -5454,6 +5475,19 @@ components:
type: integer
format: int32
IdRefStats:
description: |
Counting some objects that have an id and a name.
required:
- ref
- count
properties:
ref:
$ref: "#/components/schemas/IdName"
count:
type: integer
format: int32
AttachmentMeta:
description: |
Extracted meta data of an attachment.