@getlatedev/node 0.1.12 → 0.1.13
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 +6 -0
- package/dist/index.d.ts +6 -0
- package/package.json +1 -1
- package/src/generated/types.gen.ts +6 -0
package/dist/index.d.mts
CHANGED
|
@@ -1002,6 +1002,9 @@ type PlatformTarget = {
|
|
|
1002
1002
|
*/
|
|
1003
1003
|
platform?: string;
|
|
1004
1004
|
accountId?: (string | SocialAccount);
|
|
1005
|
+
/**
|
|
1006
|
+
* Platform-specific text override. When set, this content is used instead of the top-level post content for this platform. Useful for tailoring captions per platform (e.g. keeping tweets under 280 characters).
|
|
1007
|
+
*/
|
|
1005
1008
|
customContent?: string;
|
|
1006
1009
|
customMedia?: Array<MediaItem>;
|
|
1007
1010
|
/**
|
|
@@ -2508,6 +2511,9 @@ type CreatePostData = {
|
|
|
2508
2511
|
platforms?: Array<{
|
|
2509
2512
|
platform?: string;
|
|
2510
2513
|
accountId?: string;
|
|
2514
|
+
/**
|
|
2515
|
+
* Platform-specific text override. When set, this content is used instead of the top-level post content for this platform. Useful for tailoring captions per platform (e.g. keeping tweets under 280 characters).
|
|
2516
|
+
*/
|
|
2511
2517
|
customContent?: string;
|
|
2512
2518
|
customMedia?: Array<{
|
|
2513
2519
|
type?: 'image' | 'video' | 'gif' | 'document';
|
package/dist/index.d.ts
CHANGED
|
@@ -1002,6 +1002,9 @@ type PlatformTarget = {
|
|
|
1002
1002
|
*/
|
|
1003
1003
|
platform?: string;
|
|
1004
1004
|
accountId?: (string | SocialAccount);
|
|
1005
|
+
/**
|
|
1006
|
+
* Platform-specific text override. When set, this content is used instead of the top-level post content for this platform. Useful for tailoring captions per platform (e.g. keeping tweets under 280 characters).
|
|
1007
|
+
*/
|
|
1005
1008
|
customContent?: string;
|
|
1006
1009
|
customMedia?: Array<MediaItem>;
|
|
1007
1010
|
/**
|
|
@@ -2508,6 +2511,9 @@ type CreatePostData = {
|
|
|
2508
2511
|
platforms?: Array<{
|
|
2509
2512
|
platform?: string;
|
|
2510
2513
|
accountId?: string;
|
|
2514
|
+
/**
|
|
2515
|
+
* Platform-specific text override. When set, this content is used instead of the top-level post content for this platform. Useful for tailoring captions per platform (e.g. keeping tweets under 280 characters).
|
|
2516
|
+
*/
|
|
2511
2517
|
customContent?: string;
|
|
2512
2518
|
customMedia?: Array<{
|
|
2513
2519
|
type?: 'image' | 'video' | 'gif' | 'document';
|
package/package.json
CHANGED
|
@@ -665,6 +665,9 @@ export type PlatformTarget = {
|
|
|
665
665
|
*/
|
|
666
666
|
platform?: string;
|
|
667
667
|
accountId?: (string | SocialAccount);
|
|
668
|
+
/**
|
|
669
|
+
* Platform-specific text override. When set, this content is used instead of the top-level post content for this platform. Useful for tailoring captions per platform (e.g. keeping tweets under 280 characters).
|
|
670
|
+
*/
|
|
668
671
|
customContent?: string;
|
|
669
672
|
customMedia?: Array<MediaItem>;
|
|
670
673
|
/**
|
|
@@ -2302,6 +2305,9 @@ export type CreatePostData = {
|
|
|
2302
2305
|
platforms?: Array<{
|
|
2303
2306
|
platform?: string;
|
|
2304
2307
|
accountId?: string;
|
|
2308
|
+
/**
|
|
2309
|
+
* Platform-specific text override. When set, this content is used instead of the top-level post content for this platform. Useful for tailoring captions per platform (e.g. keeping tweets under 280 characters).
|
|
2310
|
+
*/
|
|
2305
2311
|
customContent?: string;
|
|
2306
2312
|
customMedia?: Array<{
|
|
2307
2313
|
type?: 'image' | 'video' | 'gif' | 'document';
|