PortalSiteComponent
One component of a site.
Fields
Name of the component, used as <ui:name>; a site component overrides a bundled one of the same name.
The component's props, in authored order.
The component's slots, in authored order.
The component's DataXML template.
The component's CSS, or null when it has none.
The component's server Lua, or null when it has none; its exports are the component's events.
The profile the component's server Lua runs under; PURE when it has none.
Possible values (2)
PUREThe component's server Lua runs under the pure profile: the language only, no ctx.
PRIVILEGEDThe component's server Lua runs with the normal profile's capabilities.
Referenced by (1)
Exact type SDL
"""One component of a site."""
type PortalSiteComponent {
"""
Name of the component, used as `<ui:name>`; a site component overrides a bundled one of the same name.
"""
name: String!
"""The component's props, in authored order."""
props: [PortalSiteComponentProp!]!
"""The component's slots, in authored order."""
slots: [PortalSiteComponentSlot!]!
"""The component's DataXML template."""
template: String!
"""The component's CSS, or null when it has none."""
style: String
"""
The component's server Lua, or null when it has none; its exports are the component's events.
"""
server: String
"""
The profile the component's server Lua runs under; PURE when it has none.
"""
security: PortalComponentSecurity!
}