38 lines
916 B
YAML
38 lines
916 B
YAML
import:
|
|
- github.com/cortezaproject/corteza-server/system/types
|
|
|
|
fields:
|
|
- { field: ID }
|
|
- { field: Handle, sortable: true }
|
|
- { field: Meta, type: '*ReportMeta' }
|
|
- { field: Scenarios, type: 'ReportScenarioSet' }
|
|
- { field: Sources, type: 'ReportDataSourceSet' }
|
|
- { field: Blocks, type: 'ReportBlockSet' }
|
|
- { field: OwnedBy }
|
|
- { field: CreatedBy }
|
|
- { field: UpdatedBy }
|
|
- { field: DeletedBy }
|
|
- { field: CreatedAt, sortable: true }
|
|
- { field: UpdatedAt, sortable: true }
|
|
- { field: DeletedAt, sortable: true }
|
|
|
|
lookups:
|
|
- fields: [ ID ]
|
|
description: |-
|
|
searches for report by ID
|
|
|
|
It returns report even if deleted
|
|
|
|
- fields: [ Handle ]
|
|
uniqueConstraintCheck: true
|
|
filter: { DeletedAt: nil }
|
|
description: |-
|
|
searches for report by Handle
|
|
|
|
It returns report even if deleted
|
|
|
|
rdbms:
|
|
alias: rp
|
|
table: reports
|
|
customFilterConverter: true
|