naystack 1.8.14 → 1.8.15
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.
|
@@ -20,6 +20,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// src/socials/index.ts
|
|
21
21
|
var socials_exports = {};
|
|
22
22
|
__export(socials_exports, {
|
|
23
|
+
MetaMediaType: () => MetaMediaType,
|
|
23
24
|
canPublishToInstagram: () => canPublishToInstagram,
|
|
24
25
|
createInstagramPost: () => createInstagramPost,
|
|
25
26
|
createThread: () => createThread,
|
|
@@ -227,6 +228,13 @@ function createPublisher(platform) {
|
|
|
227
228
|
};
|
|
228
229
|
}
|
|
229
230
|
|
|
231
|
+
// src/socials/meta/types.ts
|
|
232
|
+
var MetaMediaType = /* @__PURE__ */ ((MetaMediaType2) => {
|
|
233
|
+
MetaMediaType2["Photo"] = "photo";
|
|
234
|
+
MetaMediaType2["Video"] = "video";
|
|
235
|
+
return MetaMediaType2;
|
|
236
|
+
})(MetaMediaType || {});
|
|
237
|
+
|
|
230
238
|
// src/socials/instagram/setters.ts
|
|
231
239
|
var publisher = createPublisher({
|
|
232
240
|
name: "Instagram",
|
|
@@ -464,6 +472,7 @@ var setupThreadsWebhook = (options) => {
|
|
|
464
472
|
};
|
|
465
473
|
// Annotate the CommonJS export names for ESM import in node:
|
|
466
474
|
0 && (module.exports = {
|
|
475
|
+
MetaMediaType,
|
|
467
476
|
canPublishToInstagram,
|
|
468
477
|
createInstagramPost,
|
|
469
478
|
createThread,
|
|
@@ -185,6 +185,13 @@ function createPublisher(platform) {
|
|
|
185
185
|
};
|
|
186
186
|
}
|
|
187
187
|
|
|
188
|
+
// src/socials/meta/types.ts
|
|
189
|
+
var MetaMediaType = /* @__PURE__ */ ((MetaMediaType2) => {
|
|
190
|
+
MetaMediaType2["Photo"] = "photo";
|
|
191
|
+
MetaMediaType2["Video"] = "video";
|
|
192
|
+
return MetaMediaType2;
|
|
193
|
+
})(MetaMediaType || {});
|
|
194
|
+
|
|
188
195
|
// src/socials/instagram/setters.ts
|
|
189
196
|
var publisher = createPublisher({
|
|
190
197
|
name: "Instagram",
|
|
@@ -421,6 +428,7 @@ var setupThreadsWebhook = (options) => {
|
|
|
421
428
|
};
|
|
422
429
|
};
|
|
423
430
|
export {
|
|
431
|
+
MetaMediaType,
|
|
424
432
|
canPublishToInstagram,
|
|
425
433
|
createInstagramPost,
|
|
426
434
|
createThread,
|