TemplateScope
Who a template is offered to.
Who a template is offered to. "global" is every org; the two org forms name
an explicit audience — { org } is the one-org shorthand for { orgs: [org] }.
The org set is the audience, never the template’s identity: a key is one template however many orgs hold it, so adding or reordering orgs can neither mint a second template nor orphan the existing one.
Import from @homepages/template-kit.
Signature
Section titled “Signature”export type TemplateScope = "global" | { readonly org: string;} | { readonly orgs: readonly string[];};See also
Section titled “See also”canvascomposeCanvasescomposePagescomposeSectionsdefineTemplateorgsForScopepagevisibilityForScopeAuthoredCanvasAuthoredTemplateComposeEntryDefineTemplateCommonPageOptionsRoutedPageSectionInstanceHandleSiteInstanceSlotRefUnroutedPageAuthoredPageComposedCanvasComposedCanvasesComposedPageComposedPagesDefineTemplateInput