@synap-core/workspace-templates 0.11.0 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -723,6 +723,13 @@ interface RemoteEntry {
723
723
  * never "unknown-so-hide".
724
724
  */
725
725
  isPrivate?: boolean;
726
+ /**
727
+ * The minimum subscription tier required to INSTALL this package (`solo` | `pro`
728
+ * | `team` | `enterprise`); `null`/absent ⇒ ungated. DISPLAY only here — the real
729
+ * install floor is the pod's `assertPackageTierAccess`. Kept a bare `string` so
730
+ * this pure/shared door stays enum-agnostic (like `category`).
731
+ */
732
+ requiredTier?: string | null;
726
733
  /**
727
734
  * Lightweight computed summary of the row's sub-objects (cells), carried on the
728
735
  * LIST projection so a surface can surface a matching sub-item without the full
@@ -789,6 +796,8 @@ interface CpPackageRow {
789
796
  icon?: string | null;
790
797
  /** Present only on `/mine` rows. `false` ⇒ private. Browse rows omit it. */
791
798
  isPublic?: boolean;
799
+ /** The package's `required_tier` gate (`solo`|`pro`|…); `null`/absent ⇒ ungated. */
800
+ requiredTier?: string | null;
792
801
  /**
793
802
  * Computed sub-object summary from `GET /api/packages` / `/mine` (query-time,
794
803
  * not a stored column). Carries `key + name` per cell; never the cell code.
@@ -819,6 +828,12 @@ interface CatalogEntryBase {
819
828
  icon?: string | null;
820
829
  /** `true` ⇒ not publicly listed (internal bundled template, or private CP row). */
821
830
  isPrivate: boolean;
831
+ /**
832
+ * Minimum install tier (`solo`|`pro`|…); `null` ⇒ ungated. Bundled templates are
833
+ * always `null` (they ship in-client, never gated). DISPLAY only — a surface
834
+ * shows a "requires <tier>" badge; the real floor is the pod's install check.
835
+ */
836
+ requiredTier?: string | null;
822
837
  /**
823
838
  * The entry's sub-object summary (cells). Always present (defaults to `[]`) so a
824
839
  * consumer can match sub-items uniformly. Bundled workspace templates carry no