34 lines
616 B
YAML
34 lines
616 B
YAML
import:
|
|
- github.com/cortezaproject/corteza-server/messaging/types
|
|
|
|
types:
|
|
type: types.Attachment
|
|
|
|
fields:
|
|
- { field: ID }
|
|
- { field: Url }
|
|
- { field: PreviewUrl }
|
|
- { field: Name }
|
|
- { field: Meta }
|
|
- { field: OwnerID }
|
|
- { 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
|
|
enableFilterCheckFunction: false
|
|
customFilterConverter: true
|
|
|
|
rdbms:
|
|
alias: att
|
|
table: messaging_attachment
|