3
0
Files
corteza/store/apigw_route.yaml
2021-10-18 12:07:54 +02:00

43 lines
913 B
YAML

import:
- github.com/cortezaproject/corteza-server/system/types
types:
package: types
type: types.ApigwRoute
filterType: types.ApigwRouteFilter
fields:
- { field: ID, sortable: false }
- { field: Endpoint, sortable: true }
- { field: Method, sortable: true }
- { field: Enabled }
- { field: Group }
- { field: Meta, type: "types.ApigwRouteMeta" }
- { field: CreatedBy }
- { field: UpdatedBy }
- { field: DeletedBy }
- { field: CreatedAt, sortable: true }
- { field: UpdatedAt, sortable: true }
- { field: DeletedAt, sortable: true }
lookups:
- fields: [ ID ]
description: |-
searches for route by ID
- fields: [ Endpoint ]
description: |-
searches for route by endpoint
rdbms:
alias: ar
table: apigw_routes
customFilterConverter: true
mapFields:
Group: { column: rel_group }
search:
enablePaging: true
upsert:
enable: false