Skip to content

Type Alias: MarketplaceScope

@kortexya/reasoninglayer


@kortexya/reasoninglayer / MarketplaceScope

MarketplaceScope = "tenant" | "system_wide"

Defined in: src/types/marketplace.ts:21

The install scope a marketplace request targets.

Serialized untagged as a plain lowercase string ("tenant" / "system_wide"). The wire values are preserved verbatim — they are data, not identifiers.

  • "tenant" — a per-tenant install. The scope always resolves to the authenticated principal’s own tenant; a request body never names a foreign tenant.
  • "system_wide" — a platform-wide install (platform_admin only). A system-wide enabled plugin is consulted on every tenant’s proofs.
const scope: MarketplaceScope = 'system_wide';