@zernio/node 0.2.72 → 0.2.73
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 +14 -1
- package/dist/index.d.ts +14 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +14 -1
package/dist/index.d.mts
CHANGED
|
@@ -2389,7 +2389,7 @@ type RecyclingState = {
|
|
|
2389
2389
|
lastRecycledAt?: string;
|
|
2390
2390
|
};
|
|
2391
2391
|
/**
|
|
2392
|
-
* Posts are either link (with URL/media) or self (text-only). Use forceSelf to override. Subreddit defaults to the account's configured one. Some subreddits require a flair.
|
|
2392
|
+
* Posts are either link (with URL/media), native video (via nativeVideo), or self (text-only). Use forceSelf to override. Subreddit defaults to the account's configured one. Some subreddits require a flair.
|
|
2393
2393
|
*/
|
|
2394
2394
|
type RedditPlatformData = {
|
|
2395
2395
|
/**
|
|
@@ -2412,6 +2412,19 @@ type RedditPlatformData = {
|
|
|
2412
2412
|
* Flair ID for the post. Required by some subreddits. Use GET /v1/accounts/{id}/reddit-flairs?subreddit=name to list flairs.
|
|
2413
2413
|
*/
|
|
2414
2414
|
flairId?: string;
|
|
2415
|
+
/**
|
|
2416
|
+
* Controls Reddit's native video upload flow. When true (default for video mediaItems), the video is uploaded to Reddit's CDN and submitted with kind=video so it renders as an embedded Reddit video player. Reddit transcodes server-side (1080p/30fps cap). Set to false to fall back to a legacy link post. If the subreddit blocks video posts, the upload falls back to a link post automatically.
|
|
2417
|
+
*
|
|
2418
|
+
*/
|
|
2419
|
+
nativeVideo?: boolean;
|
|
2420
|
+
/**
|
|
2421
|
+
* When true (and nativeVideo is active), submits the video as a silent videogif (kind=videogif). Use for short looping clips without audio.
|
|
2422
|
+
*/
|
|
2423
|
+
videogif?: boolean;
|
|
2424
|
+
/**
|
|
2425
|
+
* Optional poster/thumbnail image URL for native video posts. If omitted, the first frame of the video is extracted and used automatically.
|
|
2426
|
+
*/
|
|
2427
|
+
videoPosterUrl?: string;
|
|
2415
2428
|
};
|
|
2416
2429
|
/**
|
|
2417
2430
|
* A normalized Reddit post returned by the feed and search endpoints
|
package/dist/index.d.ts
CHANGED
|
@@ -2389,7 +2389,7 @@ type RecyclingState = {
|
|
|
2389
2389
|
lastRecycledAt?: string;
|
|
2390
2390
|
};
|
|
2391
2391
|
/**
|
|
2392
|
-
* Posts are either link (with URL/media) or self (text-only). Use forceSelf to override. Subreddit defaults to the account's configured one. Some subreddits require a flair.
|
|
2392
|
+
* Posts are either link (with URL/media), native video (via nativeVideo), or self (text-only). Use forceSelf to override. Subreddit defaults to the account's configured one. Some subreddits require a flair.
|
|
2393
2393
|
*/
|
|
2394
2394
|
type RedditPlatformData = {
|
|
2395
2395
|
/**
|
|
@@ -2412,6 +2412,19 @@ type RedditPlatformData = {
|
|
|
2412
2412
|
* Flair ID for the post. Required by some subreddits. Use GET /v1/accounts/{id}/reddit-flairs?subreddit=name to list flairs.
|
|
2413
2413
|
*/
|
|
2414
2414
|
flairId?: string;
|
|
2415
|
+
/**
|
|
2416
|
+
* Controls Reddit's native video upload flow. When true (default for video mediaItems), the video is uploaded to Reddit's CDN and submitted with kind=video so it renders as an embedded Reddit video player. Reddit transcodes server-side (1080p/30fps cap). Set to false to fall back to a legacy link post. If the subreddit blocks video posts, the upload falls back to a link post automatically.
|
|
2417
|
+
*
|
|
2418
|
+
*/
|
|
2419
|
+
nativeVideo?: boolean;
|
|
2420
|
+
/**
|
|
2421
|
+
* When true (and nativeVideo is active), submits the video as a silent videogif (kind=videogif). Use for short looping clips without audio.
|
|
2422
|
+
*/
|
|
2423
|
+
videogif?: boolean;
|
|
2424
|
+
/**
|
|
2425
|
+
* Optional poster/thumbnail image URL for native video posts. If omitted, the first frame of the video is extracted and used automatically.
|
|
2426
|
+
*/
|
|
2427
|
+
videoPosterUrl?: string;
|
|
2415
2428
|
};
|
|
2416
2429
|
/**
|
|
2417
2430
|
* A normalized Reddit post returned by the feed and search endpoints
|
package/package.json
CHANGED
|
@@ -1899,7 +1899,7 @@ export type RecyclingState = {
|
|
|
1899
1899
|
};
|
|
1900
1900
|
|
|
1901
1901
|
/**
|
|
1902
|
-
* Posts are either link (with URL/media) or self (text-only). Use forceSelf to override. Subreddit defaults to the account's configured one. Some subreddits require a flair.
|
|
1902
|
+
* Posts are either link (with URL/media), native video (via nativeVideo), or self (text-only). Use forceSelf to override. Subreddit defaults to the account's configured one. Some subreddits require a flair.
|
|
1903
1903
|
*/
|
|
1904
1904
|
export type RedditPlatformData = {
|
|
1905
1905
|
/**
|
|
@@ -1922,6 +1922,19 @@ export type RedditPlatformData = {
|
|
|
1922
1922
|
* Flair ID for the post. Required by some subreddits. Use GET /v1/accounts/{id}/reddit-flairs?subreddit=name to list flairs.
|
|
1923
1923
|
*/
|
|
1924
1924
|
flairId?: string;
|
|
1925
|
+
/**
|
|
1926
|
+
* Controls Reddit's native video upload flow. When true (default for video mediaItems), the video is uploaded to Reddit's CDN and submitted with kind=video so it renders as an embedded Reddit video player. Reddit transcodes server-side (1080p/30fps cap). Set to false to fall back to a legacy link post. If the subreddit blocks video posts, the upload falls back to a link post automatically.
|
|
1927
|
+
*
|
|
1928
|
+
*/
|
|
1929
|
+
nativeVideo?: boolean;
|
|
1930
|
+
/**
|
|
1931
|
+
* When true (and nativeVideo is active), submits the video as a silent videogif (kind=videogif). Use for short looping clips without audio.
|
|
1932
|
+
*/
|
|
1933
|
+
videogif?: boolean;
|
|
1934
|
+
/**
|
|
1935
|
+
* Optional poster/thumbnail image URL for native video posts. If omitted, the first frame of the video is extracted and used automatically.
|
|
1936
|
+
*/
|
|
1937
|
+
videoPosterUrl?: string;
|
|
1925
1938
|
};
|
|
1926
1939
|
|
|
1927
1940
|
/**
|