@homespunapps/core 1.6.55 → 1.6.56

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.
Files changed (2) hide show
  1. package/dist/client.d.ts +12 -0
  2. package/package.json +1 -1
package/dist/client.d.ts CHANGED
@@ -1803,7 +1803,19 @@ export interface PublisherProfile {
1803
1803
  claimed_at: string | null;
1804
1804
  created_at: string;
1805
1805
  first_published_at: string | null;
1806
+ /**
1807
+ * Templates of this publisher that are LIVE right now: approved, not
1808
+ * superseded by a newer version, and not withdrawn. A template republished
1809
+ * several times counts once, and withdrawing one lowers the count.
1810
+ */
1806
1811
  approved_template_count: number;
1812
+ /**
1813
+ * Ratings across ALL of this publisher's template lines, including ones since
1814
+ * withdrawn - a rating is attached to the `<handle>/<slug>` line rather than
1815
+ * to a single version, so it is not shed by taking a template down. Divide
1816
+ * `rating_sum` by `rating_count` for the average; `rating_count` is 0 when
1817
+ * nobody has rated anything yet.
1818
+ */
1807
1819
  rating_count: number;
1808
1820
  rating_sum: number;
1809
1821
  trust_level: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@homespunapps/core",
3
- "version": "1.6.55",
3
+ "version": "1.6.56",
4
4
  "description": "Homespun relay client: typed HTTP + WebSocket operations against a Homespun relay. Framework-free.",
5
5
  "license": "MIT",
6
6
  "type": "module",