Skip to main content

AppBlockComponentView

One component of an app block. A list component carries its items; lists do not nest.

type AppBlockComponentView {
amount: String
currencyCode: String
display: String
items: [AppBlockItemView!]
label: String
max: Int
path: String
ref: AppBlockEntityRefView
text: String
tone: String
type: String!
unit: String
value: Float
variant: String
}

Fields​

AppBlockComponentView.amount ● String scalar​

A money component's amount as a decimal string. Format it with currencyCode.

AppBlockComponentView.currencyCode ● String scalar​

A money component's ISO 4217 currency code.

AppBlockComponentView.display ● String scalar​

An entityRef component's name in ARC (customer name, order number).

AppBlockComponentView.items ● [AppBlockItemView!] list object​

A list component's items.

AppBlockComponentView.label ● String scalar​

A short label.

AppBlockComponentView.max ● Int scalar​

A rating component's highest value.

AppBlockComponentView.path ● String scalar​

An action component's app-proxy path.

AppBlockComponentView.ref ● AppBlockEntityRefView object​

An entityRef component's record.

AppBlockComponentView.text ● String scalar​

A text component's text.

AppBlockComponentView.tone ● String scalar​

default, success, warning or critical.

AppBlockComponentView.type ● String! non-null scalar​

text, number, money, rating, action or entityRef.

AppBlockComponentView.unit ● String scalar​

A number component's unit, e.g. pts.

AppBlockComponentView.value ● Float scalar​

A number or rating component's value.

AppBlockComponentView.variant ● String scalar​

A text component's style: body, heading or caption.

Member Of​

AppBlockView object