visibilityForScope
The catalog.template.visibility value this scope publishes as — the scope CLASS only.
The catalog.template.visibility value this scope publishes as — the scope
CLASS only. Which orgs hold an org-scoped template lives in its grant set
(orgsForScope) and never in this string, which is what keeps the template’s
row identity stable while its audience moves.
Import from @homepages/template-kit.
Signature
Section titled “Signature”function visibilityForScope(scope: TemplateScope): "global" | "org"Parameters
Section titled “Parameters”| Name | Type | Required | Description |
|---|---|---|---|
scope |
TemplateScope |
required |
Returns
Section titled “Returns”"global" | "org"
See also
Section titled “See also”canvascomposeCanvasescomposePagescomposeSectionsdefineTemplateorgsForScopepageAuthoredCanvasAuthoredTemplateComposeEntryDefineTemplateCommonPageOptionsRoutedPageSectionInstanceHandleSiteInstanceSlotRefUnroutedPageAuthoredPageComposedCanvasComposedCanvasesComposedPageComposedPagesDefineTemplateInputTemplateScope