@fytkit/sdk 3.0.0 → 3.1.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/CHANGELOG.md CHANGED
@@ -4,6 +4,14 @@ All notable changes to `@fytkit/sdk` are documented in this file.
4
4
  Format: [Keep a Changelog 1.1.0](https://keepachangelog.com/en/1.1.0/).
5
5
  Versioning: [Semantic Versioning 2.0.0](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [3.1.0](https://github.com/cbarlow1993/fytkit-web/compare/@fytkit/sdk@3.0.0...@fytkit/sdk@3.1.0) (2026-08-14)
8
+
9
+
10
+ ### Features
11
+
12
+ * **api:** resolve header image URLs for recipes and nutrition plans ([#188](https://github.com/cbarlow1993/fytkit-web/issues/188)) ([46bd8bd](https://github.com/cbarlow1993/fytkit-web/commit/46bd8bd8b153d4a74c32db93d1c6e171f62f6976))
13
+ * **programs:** trainer-uploadable cover image, image URLs in the SDK ([#174](https://github.com/cbarlow1993/fytkit-web/issues/174)) ([249d54e](https://github.com/cbarlow1993/fytkit-web/commit/249d54e70a5353798e01da0a87c49c5a6e8d8bd6))
14
+
7
15
  ## [3.0.0](https://github.com/cbarlow1993/fytkit-web/compare/@fytkit/sdk@2.0.0...@fytkit/sdk@3.0.0) (2026-08-13)
8
16
 
9
17
 
package/dist/index.d.ts CHANGED
@@ -835,6 +835,7 @@ declare const publicRouter: {
835
835
  }>;
836
836
  videoAssetId: ZodNullable<ZodString>;
837
837
  headerImageId: ZodNullable<ZodString>;
838
+ headerImageUrl: ZodNullable<ZodString>;
838
839
  createdAt: ZodDate;
839
840
  }, $strip>>;
840
841
  meta: ZodObject< {
@@ -880,6 +881,7 @@ declare const publicRouter: {
880
881
  }>;
881
882
  videoAssetId: ZodNullable<ZodString>;
882
883
  headerImageId: ZodNullable<ZodString>;
884
+ headerImageUrl: ZodNullable<ZodString>;
883
885
  createdAt: ZodDate;
884
886
  blocks: ZodArray<ZodObject< {
885
887
  id: ZodString;
@@ -982,6 +984,7 @@ declare const publicRouter: {
982
984
  }>;
983
985
  videoAssetId: ZodNullable<ZodString>;
984
986
  headerImageId: ZodNullable<ZodString>;
987
+ headerImageUrl: ZodNullable<ZodString>;
985
988
  createdAt: ZodDate;
986
989
  }, $strip>>;
987
990
  allWorkoutsNextCursor: ZodNullable<ZodString>;
@@ -1017,6 +1020,7 @@ declare const publicRouter: {
1017
1020
  }>;
1018
1021
  videoAssetId: ZodNullable<ZodString>;
1019
1022
  headerImageId: ZodNullable<ZodString>;
1023
+ headerImageUrl: ZodNullable<ZodString>;
1020
1024
  createdAt: ZodDate;
1021
1025
  }, $strip>>;
1022
1026
  nextCursor: ZodNullable<ZodString>;
@@ -1072,6 +1076,7 @@ declare const publicRouter: {
1072
1076
  }>;
1073
1077
  publishedAt: ZodNullable<ZodDate>;
1074
1078
  headerImageId: ZodNullable<ZodString>;
1079
+ headerImageUrl: ZodNullable<ZodString>;
1075
1080
  durationWeeks: ZodNumber;
1076
1081
  householdSize: ZodNumber;
1077
1082
  tags: ZodArray<ZodString>;
@@ -1113,6 +1118,7 @@ declare const publicRouter: {
1113
1118
  }>;
1114
1119
  publishedAt: ZodNullable<ZodDate>;
1115
1120
  headerImageId: ZodNullable<ZodString>;
1121
+ headerImageUrl: ZodNullable<ZodString>;
1116
1122
  durationWeeks: ZodNumber;
1117
1123
  householdSize: ZodNumber;
1118
1124
  tags: ZodArray<ZodString>;
@@ -1170,6 +1176,7 @@ declare const publicRouter: {
1170
1176
  }>;
1171
1177
  publishedAt: ZodNullable<ZodDate>;
1172
1178
  headerImageId: ZodNullable<ZodString>;
1179
+ headerImageUrl: ZodNullable<ZodString>;
1173
1180
  createdAt: ZodDate;
1174
1181
  }, $strip>>;
1175
1182
  }, $strip>>;
@@ -1591,6 +1598,7 @@ declare const publicRouter: {
1591
1598
  }>;
1592
1599
  publishedAt: ZodNullable<ZodDate>;
1593
1600
  headerImageId: ZodNullable<ZodString>;
1601
+ headerImageUrl: ZodNullable<ZodString>;
1594
1602
  createdAt: ZodDate;
1595
1603
  }, $strip>>;
1596
1604
  meta: ZodObject< {
@@ -1636,6 +1644,7 @@ declare const publicRouter: {
1636
1644
  }>;
1637
1645
  publishedAt: ZodNullable<ZodDate>;
1638
1646
  headerImageId: ZodNullable<ZodString>;
1647
+ headerImageUrl: ZodNullable<ZodString>;
1639
1648
  createdAt: ZodDate;
1640
1649
  ingredients: ZodArray<ZodObject< {
1641
1650
  id: ZodString;
@@ -1772,6 +1781,7 @@ declare const publicRouter: {
1772
1781
  advanced: "advanced";
1773
1782
  }>>;
1774
1783
  coverImageId: ZodNullable<ZodString>;
1784
+ coverImageUrl: ZodNullable<ZodString>;
1775
1785
  publishedAt: ZodNullable<ZodString>;
1776
1786
  createdAt: ZodString;
1777
1787
  }, $strip>>;
@@ -1811,6 +1821,7 @@ declare const publicRouter: {
1811
1821
  advanced: "advanced";
1812
1822
  }>>;
1813
1823
  coverImageId: ZodNullable<ZodString>;
1824
+ coverImageUrl: ZodNullable<ZodString>;
1814
1825
  publishedAt: ZodNullable<ZodString>;
1815
1826
  createdAt: ZodString;
1816
1827
  goals: ZodArray<ZodObject< {
@@ -1871,6 +1882,7 @@ declare const publicRouter: {
1871
1882
  }>;
1872
1883
  videoAssetId: ZodNullable<ZodString>;
1873
1884
  headerImageId: ZodNullable<ZodString>;
1885
+ headerImageUrl: ZodNullable<ZodString>;
1874
1886
  blocks: ZodArray<ZodObject< {
1875
1887
  id: ZodString;
1876
1888
  title: ZodString;
@@ -1930,6 +1942,7 @@ declare const publicRouter: {
1930
1942
  }>;
1931
1943
  videoAssetId: ZodNullable<ZodString>;
1932
1944
  headerImageId: ZodNullable<ZodString>;
1945
+ headerImageUrl: ZodNullable<ZodString>;
1933
1946
  blocks: ZodArray<ZodObject< {
1934
1947
  id: ZodString;
1935
1948
  title: ZodString;
@@ -2002,6 +2015,7 @@ declare const publicRouter: {
2002
2015
  }>;
2003
2016
  videoAssetId: ZodNullable<ZodString>;
2004
2017
  headerImageId: ZodNullable<ZodString>;
2018
+ headerImageUrl: ZodNullable<ZodString>;
2005
2019
  blocks: ZodArray<ZodObject< {
2006
2020
  id: ZodString;
2007
2021
  title: ZodString;
@@ -2092,6 +2106,7 @@ declare const publicRouter: {
2092
2106
  advanced: "advanced";
2093
2107
  }>>;
2094
2108
  coverImageId: ZodNullable<ZodString>;
2109
+ coverImageUrl: ZodNullable<ZodString>;
2095
2110
  publishedAt: ZodNullable<ZodString>;
2096
2111
  createdAt: ZodString;
2097
2112
  }, $strip>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fytkit/sdk",
3
- "version": "3.0.0",
3
+ "version": "3.1.0",
4
4
  "description": "Vanilla TypeScript SDK for fytkit's public API",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",