Interface

ResourceJSON

ResourceJSON

Members

Array.<ActionJSON>

# actions

All actions - whether they are available or not.

View Source admin-bro/src/backend/decorators/resource-json.interface.ts, line 43

Array.<PropertyJSON>

# editProperties

Properties which should be visible on the edit view

View Source admin-bro/src/backend/decorators/resource-json.interface.ts, line 53

Array.<PropertyJSON>

# filterProperties

Properties which should be visible on the filter

View Source admin-bro/src/backend/decorators/resource-json.interface.ts, line 63

string | null

# href

url to a resource list action. If null - resource should not be seen in the sidebar.

View Source admin-bro/src/backend/decorators/resource-json.interface.ts, line 21

Array.<PropertyJSON>

# listProperties

Properties which should be visible on the list

View Source admin-bro/src/backend/decorators/resource-json.interface.ts, line 48

object | null

# parent

Resource parent - visible on the sidebar

Properties:
Name Type Description
name string

Parent name

icon string

Parent icon

View Source admin-bro/src/backend/decorators/resource-json.interface.ts, line 26

Array.<ActionJSON>

# resourceActions

Actions available for entire resource with type: resource

View Source admin-bro/src/backend/decorators/resource-json.interface.ts, line 38

Array.<PropertyJSON>

# showProperties

Properties which should be visible on the show view

View Source admin-bro/src/backend/decorators/resource-json.interface.ts, line 58

PropertyJSON

# titleProperty

Property which should be treated as a Main property

View Source admin-bro/src/backend/decorators/resource-json.interface.ts, line 33