Interface

PropertyJSON

PropertyJSON

Members

Array.<object> | null

# availableValues

If property has restricted number of values

Properties:
Name Type Description
label string
value string

View Source admin-bro/src/frontend/interfaces/property-json/property-json.interface.ts, line 39

object

# components Optional

All component names overridden by the user in PropertyOptions

Properties:
Name Type Attributes Description
show string <optional>
edit string <optional>
filter string <optional>
list string <optional>

View Source admin-bro/src/frontend/interfaces/property-json/property-json.interface.ts, line 92

object

# custom

Custom parameters passed from the PropertyOptions.custom.

Properties:
Name Type Description
{...} any

View Source admin-bro/src/frontend/interfaces/property-json/property-json.interface.ts, line 102

boolean

# hideLabel

if label above the input should be hidden

View Source admin-bro/src/frontend/interfaces/property-json/property-json.interface.ts, line 125

boolean

# isArray

Indicates if property is an array of properties

View Source admin-bro/src/frontend/interfaces/property-json/property-json.interface.ts, line 81

boolean

# isDisabled

Whether the field should be disabled in edition

View Source admin-bro/src/frontend/interfaces/property-json/property-json.interface.ts, line 115

boolean

# isId

If given property should be treated as a Id field

View Source admin-bro/src/frontend/interfaces/property-json/property-json.interface.ts, line 24

boolean

# isRequired

Whether the field should be marked as required (with a star)

View Source admin-bro/src/frontend/interfaces/property-json/property-json.interface.ts, line 120

boolean

# isTitle

If given property should be treated as a title

View Source admin-bro/src/frontend/interfaces/property-json/property-json.interface.ts, line 19

boolean

# isVirtual

Indicates if given property has been created in AdminBro PropertyOptions and hasn't been returned by the database adapter.

New:
  • in version 3.3

View Source admin-bro/src/frontend/interfaces/property-json/property-json.interface.ts, line 135

string

# path

Path of the actual value inside the record. It is usually the same as propertyPath, with the exception of array values.

New:
  • in version 3.3

View Source admin-bro/src/frontend/interfaces/property-json/property-json.interface.ts, line 58

string

# propertyPath

Property uniq path. For top level properties - the same as name, but for nested properties it is separated with dot notation: nested.property

New:
  • in version 3.3

View Source admin-bro/src/frontend/interfaces/property-json/property-json.interface.ts, line 51

object

# props

Additional props passed to the actual react component

Properties:
Name Type Description
{...} any
New:
  • in version 3.3

View Source admin-bro/src/frontend/interfaces/property-json/property-json.interface.ts, line 108

string | null

# reference

Has a name of a resource to which it is a reference. For instance property userId will have here Users

View Source admin-bro/src/frontend/interfaces/property-json/property-json.interface.ts, line 75

string

# resourceId

Resource to which given property belongs

View Source admin-bro/src/frontend/interfaces/property-json/property-json.interface.ts, line 130

Array.<BasePropertyJSON>

# subProperties

Contain list of all sub properties. This is the case for nested schemas in MongoDB.

View Source admin-bro/src/frontend/interfaces/property-json/property-json.interface.ts, line 86

Type Definitions

Object

# BasePropertyJSON

Property without the path. Defined as Omit<PropertyJSON, 'path'>

Properties:
Name Type Description
... any

properties from PropertyJSON except path

New:
  • in version 3.3

View Source admin-bro/src/frontend/interfaces/property-json/property-json.interface.ts, line 2

SoftwareBrothers

Proudly built and maintained by SoftwareBrothers

Software House with a passion for both JavaScript and TypeScript.

See what we do See what we believe in

Proudly built and maintained by

SoftwareBrothers