Values that are passed into a require method.

Example


B.queries.byFID['allPeople'].require().forms
.byFID['name'].require({
fields: ['firstName', 'lastName', 'photo'],
name: 'nameForm',
writable: true
});```

Hierarchy

  • RequireParams

Properties

fields?: string | string[]

Which fields to show up in the inspector. If this is set to 'all', then it will require all fields.

It is not strictly necessary to put any fields here, but omitting them will result in a bare dependecy tree.

name?: string

Name to bind to global space. If this is blank, it will try to bind its FID instead.

writable?: boolean

When false, the fields show readonly in the inspector.

Generated using TypeDoc