@zernio/node 0.2.147 → 0.2.148
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.mts +24 -1
- package/dist/index.d.ts +24 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +24 -1
package/dist/index.d.mts
CHANGED
|
@@ -1822,7 +1822,7 @@ type ErrorResponse = {
|
|
|
1822
1822
|
};
|
|
1823
1823
|
};
|
|
1824
1824
|
/**
|
|
1825
|
-
* Feed posts support up to 10 images (no mixed video+image). Stories require single media (24h, no captions). Reels require single vertical video (9:16, 3-60s). Geo-restriction is a hard visibility restriction: users outside the specified countries cannot see the post. Not supported for stories.
|
|
1825
|
+
* Feed posts support up to 10 images (no mixed video+image). Stories require single media (24h, no captions). Reels require single vertical video (9:16, 3-60s). Carousel posts (carouselCards) render a 2-5 card multi-link post, images only, mutually exclusive with story/reel. Geo-restriction is a hard visibility restriction: users outside the specified countries cannot see the post. Not supported for stories.
|
|
1826
1826
|
*
|
|
1827
1827
|
*/
|
|
1828
1828
|
type FacebookPlatformData = {
|
|
@@ -1847,6 +1847,29 @@ type FacebookPlatformData = {
|
|
|
1847
1847
|
*/
|
|
1848
1848
|
pageId?: string;
|
|
1849
1849
|
geoRestriction?: GeoRestriction;
|
|
1850
|
+
/**
|
|
1851
|
+
* Renders the post as a multi-link carousel (organic Page post). When set, mediaItems must be provided with the same length and all items must be images (no videos). Each cards[i] adds the click-through link and headline for the image at mediaItems[i]. Mutually exclusive with contentType=story|reel. Facebook display truncates name at ~35 chars and description at ~30 chars; longer strings are accepted but get truncated on render.
|
|
1852
|
+
*
|
|
1853
|
+
*/
|
|
1854
|
+
carouselCards?: Array<{
|
|
1855
|
+
/**
|
|
1856
|
+
* Per-card click destination (required).
|
|
1857
|
+
*/
|
|
1858
|
+
link: string;
|
|
1859
|
+
/**
|
|
1860
|
+
* Per-card headline (optional, ~35-char display).
|
|
1861
|
+
*/
|
|
1862
|
+
name?: string;
|
|
1863
|
+
/**
|
|
1864
|
+
* Per-card subhead (optional, ~30-char display).
|
|
1865
|
+
*/
|
|
1866
|
+
description?: string;
|
|
1867
|
+
}>;
|
|
1868
|
+
/**
|
|
1869
|
+
* Optional top-level "See more" destination shown on the carousel end card. Defaults to the first card's link when omitted. Only used together with carouselCards.
|
|
1870
|
+
*
|
|
1871
|
+
*/
|
|
1872
|
+
carouselLink?: string;
|
|
1850
1873
|
};
|
|
1851
1874
|
/**
|
|
1852
1875
|
* Set to 'story' for Page Stories (24h ephemeral) or 'reel' for Reels (short vertical video). Defaults to feed post if omitted.
|
package/dist/index.d.ts
CHANGED
|
@@ -1822,7 +1822,7 @@ type ErrorResponse = {
|
|
|
1822
1822
|
};
|
|
1823
1823
|
};
|
|
1824
1824
|
/**
|
|
1825
|
-
* Feed posts support up to 10 images (no mixed video+image). Stories require single media (24h, no captions). Reels require single vertical video (9:16, 3-60s). Geo-restriction is a hard visibility restriction: users outside the specified countries cannot see the post. Not supported for stories.
|
|
1825
|
+
* Feed posts support up to 10 images (no mixed video+image). Stories require single media (24h, no captions). Reels require single vertical video (9:16, 3-60s). Carousel posts (carouselCards) render a 2-5 card multi-link post, images only, mutually exclusive with story/reel. Geo-restriction is a hard visibility restriction: users outside the specified countries cannot see the post. Not supported for stories.
|
|
1826
1826
|
*
|
|
1827
1827
|
*/
|
|
1828
1828
|
type FacebookPlatformData = {
|
|
@@ -1847,6 +1847,29 @@ type FacebookPlatformData = {
|
|
|
1847
1847
|
*/
|
|
1848
1848
|
pageId?: string;
|
|
1849
1849
|
geoRestriction?: GeoRestriction;
|
|
1850
|
+
/**
|
|
1851
|
+
* Renders the post as a multi-link carousel (organic Page post). When set, mediaItems must be provided with the same length and all items must be images (no videos). Each cards[i] adds the click-through link and headline for the image at mediaItems[i]. Mutually exclusive with contentType=story|reel. Facebook display truncates name at ~35 chars and description at ~30 chars; longer strings are accepted but get truncated on render.
|
|
1852
|
+
*
|
|
1853
|
+
*/
|
|
1854
|
+
carouselCards?: Array<{
|
|
1855
|
+
/**
|
|
1856
|
+
* Per-card click destination (required).
|
|
1857
|
+
*/
|
|
1858
|
+
link: string;
|
|
1859
|
+
/**
|
|
1860
|
+
* Per-card headline (optional, ~35-char display).
|
|
1861
|
+
*/
|
|
1862
|
+
name?: string;
|
|
1863
|
+
/**
|
|
1864
|
+
* Per-card subhead (optional, ~30-char display).
|
|
1865
|
+
*/
|
|
1866
|
+
description?: string;
|
|
1867
|
+
}>;
|
|
1868
|
+
/**
|
|
1869
|
+
* Optional top-level "See more" destination shown on the carousel end card. Defaults to the first card's link when omitted. Only used together with carouselCards.
|
|
1870
|
+
*
|
|
1871
|
+
*/
|
|
1872
|
+
carouselLink?: string;
|
|
1850
1873
|
};
|
|
1851
1874
|
/**
|
|
1852
1875
|
* Set to 'story' for Page Stories (24h ephemeral) or 'reel' for Reels (short vertical video). Defaults to feed post if omitted.
|
package/package.json
CHANGED
|
@@ -1227,7 +1227,7 @@ export type ErrorResponse = {
|
|
|
1227
1227
|
};
|
|
1228
1228
|
|
|
1229
1229
|
/**
|
|
1230
|
-
* Feed posts support up to 10 images (no mixed video+image). Stories require single media (24h, no captions). Reels require single vertical video (9:16, 3-60s). Geo-restriction is a hard visibility restriction: users outside the specified countries cannot see the post. Not supported for stories.
|
|
1230
|
+
* Feed posts support up to 10 images (no mixed video+image). Stories require single media (24h, no captions). Reels require single vertical video (9:16, 3-60s). Carousel posts (carouselCards) render a 2-5 card multi-link post, images only, mutually exclusive with story/reel. Geo-restriction is a hard visibility restriction: users outside the specified countries cannot see the post. Not supported for stories.
|
|
1231
1231
|
*
|
|
1232
1232
|
*/
|
|
1233
1233
|
export type FacebookPlatformData = {
|
|
@@ -1252,6 +1252,29 @@ export type FacebookPlatformData = {
|
|
|
1252
1252
|
*/
|
|
1253
1253
|
pageId?: string;
|
|
1254
1254
|
geoRestriction?: GeoRestriction;
|
|
1255
|
+
/**
|
|
1256
|
+
* Renders the post as a multi-link carousel (organic Page post). When set, mediaItems must be provided with the same length and all items must be images (no videos). Each cards[i] adds the click-through link and headline for the image at mediaItems[i]. Mutually exclusive with contentType=story|reel. Facebook display truncates name at ~35 chars and description at ~30 chars; longer strings are accepted but get truncated on render.
|
|
1257
|
+
*
|
|
1258
|
+
*/
|
|
1259
|
+
carouselCards?: Array<{
|
|
1260
|
+
/**
|
|
1261
|
+
* Per-card click destination (required).
|
|
1262
|
+
*/
|
|
1263
|
+
link: string;
|
|
1264
|
+
/**
|
|
1265
|
+
* Per-card headline (optional, ~35-char display).
|
|
1266
|
+
*/
|
|
1267
|
+
name?: string;
|
|
1268
|
+
/**
|
|
1269
|
+
* Per-card subhead (optional, ~30-char display).
|
|
1270
|
+
*/
|
|
1271
|
+
description?: string;
|
|
1272
|
+
}>;
|
|
1273
|
+
/**
|
|
1274
|
+
* Optional top-level "See more" destination shown on the carousel end card. Defaults to the first card's link when omitted. Only used together with carouselCards.
|
|
1275
|
+
*
|
|
1276
|
+
*/
|
|
1277
|
+
carouselLink?: string;
|
|
1255
1278
|
};
|
|
1256
1279
|
|
|
1257
1280
|
/**
|