← All types
Ob Object

PortalLibraryComponent

One bundled component.

Fields

name

String!Non-null

Name of the component, used as <ui:name>.

source

String!Non-null

The component's .portal text, the input to "Copy to site" (importPortalPartSource with kind COMPONENT).

part

JSON!Non-null

The component in the portal_component model's shape, with its name: what importPortalPartSource returns as part for source. Its contract holds the props and slots.

Referenced by (1)
Exact type SDL
"""One bundled component."""
type PortalLibraryComponent {
  """Name of the component, used as `<ui:name>`."""
  name: String!
  """
  The component's `.portal` text, the input to "Copy to site" (`importPortalPartSource` with kind COMPONENT).
  """
  source: String!
  """
  The component in the `portal_component` model's shape, with its `name`: what `importPortalPartSource` returns as `part` for `source`. Its `contract` holds the props and slots.
  """
  part: JSON!
}