@postrun/js 2.4.0 → 2.5.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/dist/index.cjs +15 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +14 -1
- package/dist/index.d.ts +14 -1
- package/dist/index.js +15 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -6064,6 +6064,20 @@ function tiktokPrivacyLabel(value) {
|
|
|
6064
6064
|
}
|
|
6065
6065
|
}
|
|
6066
6066
|
|
|
6067
|
+
// src/linkedin.ts
|
|
6068
|
+
function linkedinPollDurationLabel(value) {
|
|
6069
|
+
switch (value) {
|
|
6070
|
+
case "ONE_DAY":
|
|
6071
|
+
return "1 day left";
|
|
6072
|
+
case "THREE_DAYS":
|
|
6073
|
+
return "3 days left";
|
|
6074
|
+
case "SEVEN_DAYS":
|
|
6075
|
+
return "1 week left";
|
|
6076
|
+
case "FOURTEEN_DAYS":
|
|
6077
|
+
return "2 weeks left";
|
|
6078
|
+
}
|
|
6079
|
+
}
|
|
6080
|
+
|
|
6067
6081
|
// src/tiktok-options.ts
|
|
6068
6082
|
var TIKTOK_CAPTION_MAX = { video: 2200, photo: 4e3 };
|
|
6069
6083
|
function captionMaxFor(postType) {
|
|
@@ -6446,6 +6460,7 @@ exports.interactionValueKey = interactionValueKey;
|
|
|
6446
6460
|
exports.isInteractionForbidden = isInteractionForbidden;
|
|
6447
6461
|
exports.isPostPlatform = isPostPlatform;
|
|
6448
6462
|
exports.isPublished = isPublished;
|
|
6463
|
+
exports.linkedinPollDurationLabel = linkedinPollDurationLabel;
|
|
6449
6464
|
exports.logsGet = logsGet;
|
|
6450
6465
|
exports.logsList = logsList;
|
|
6451
6466
|
exports.mediaCreate = mediaCreate;
|