34 lines
583 B
YAML
34 lines
583 B
YAML
import:
|
|
- github.com/cortezaproject/corteza-server/system/types
|
|
|
|
types:
|
|
base: Attachment
|
|
|
|
fields:
|
|
- { field: ID }
|
|
- { field: OwnerID }
|
|
- { field: Kind }
|
|
- { field: Url }
|
|
- { field: PreviewUrl }
|
|
- { field: Name }
|
|
- { field: Meta }
|
|
- { field: CreatedAt }
|
|
- { field: UpdatedAt }
|
|
- { field: DeletedAt }
|
|
|
|
lookups:
|
|
- fields: [ ID ]
|
|
description: |-
|
|
searches for attachment by its ID
|
|
|
|
It returns attachment even if deleted
|
|
|
|
search:
|
|
enableSorting: false
|
|
enablePaging: false
|
|
|
|
rdbms:
|
|
alias: att
|
|
table: attachments
|
|
customFilterConverter: true
|