@posterly/cli 0.1.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.
@@ -0,0 +1,695 @@
1
+ // Generated by scripts/api/generate-platform-manifest.ts. Do not edit by hand.
2
+ export const PLATFORM_MANIFEST = Object.freeze({
3
+ "source": "lib/api-platform-registry.ts",
4
+ "supportedPlatformIds": [
5
+ "instagram",
6
+ "facebook",
7
+ "tiktok",
8
+ "twitter",
9
+ "linkedin",
10
+ "youtube",
11
+ "pinterest",
12
+ "threads",
13
+ "google_business",
14
+ "telegram",
15
+ "bluesky"
16
+ ],
17
+ "plannedPlatformIds": [
18
+ "reddit",
19
+ "wordpress",
20
+ "mastodon",
21
+ "medium",
22
+ "devto",
23
+ "hashnode",
24
+ "discord",
25
+ "slack",
26
+ "skool",
27
+ "whop"
28
+ ],
29
+ "allPlatformIds": [
30
+ "instagram",
31
+ "facebook",
32
+ "tiktok",
33
+ "twitter",
34
+ "linkedin",
35
+ "youtube",
36
+ "pinterest",
37
+ "threads",
38
+ "google_business",
39
+ "telegram",
40
+ "bluesky",
41
+ "reddit",
42
+ "wordpress",
43
+ "mastodon",
44
+ "medium",
45
+ "devto",
46
+ "hashnode",
47
+ "discord",
48
+ "slack",
49
+ "skool",
50
+ "whop"
51
+ ],
52
+ "supportedPlatformInputs": [
53
+ "bluesky",
54
+ "facebook",
55
+ "gmb",
56
+ "google-business",
57
+ "google_business",
58
+ "google_business_profile",
59
+ "instagram",
60
+ "instagram-standalone",
61
+ "linkedin",
62
+ "pinterest",
63
+ "telegram",
64
+ "threads",
65
+ "tiktok",
66
+ "twitter",
67
+ "x",
68
+ "youtube"
69
+ ],
70
+ "allPlatformInputs": [
71
+ "bluesky",
72
+ "devto",
73
+ "discord",
74
+ "facebook",
75
+ "gmb",
76
+ "google-business",
77
+ "google_business",
78
+ "google_business_profile",
79
+ "hashnode",
80
+ "instagram",
81
+ "instagram-standalone",
82
+ "linkedin",
83
+ "mastodon",
84
+ "medium",
85
+ "pinterest",
86
+ "reddit",
87
+ "skool",
88
+ "slack",
89
+ "telegram",
90
+ "threads",
91
+ "tiktok",
92
+ "twitter",
93
+ "whop",
94
+ "wordpress",
95
+ "x",
96
+ "youtube"
97
+ ],
98
+ "platformAliases": {
99
+ "bluesky": "bluesky",
100
+ "devto": "devto",
101
+ "discord": "discord",
102
+ "facebook": "facebook",
103
+ "gmb": "google_business",
104
+ "google_business": "google_business",
105
+ "google_business_profile": "google_business",
106
+ "hashnode": "hashnode",
107
+ "instagram": "instagram",
108
+ "instagram_standalone": "instagram",
109
+ "linkedin": "linkedin",
110
+ "mastodon": "mastodon",
111
+ "medium": "medium",
112
+ "pinterest": "pinterest",
113
+ "reddit": "reddit",
114
+ "skool": "skool",
115
+ "slack": "slack",
116
+ "telegram": "telegram",
117
+ "threads": "threads",
118
+ "tiktok": "tiktok",
119
+ "twitter": "twitter",
120
+ "whop": "whop",
121
+ "wordpress": "wordpress",
122
+ "x": "twitter",
123
+ "youtube": "youtube"
124
+ },
125
+ "helperNames": [
126
+ "linkedin.recent_mentions",
127
+ "pinterest.boards",
128
+ "tiktok.creator_info",
129
+ "x.quota",
130
+ "youtube.playlists"
131
+ ],
132
+ "analyticsPlatformIds": [
133
+ "instagram",
134
+ "linkedin",
135
+ "youtube",
136
+ "pinterest",
137
+ "google_business"
138
+ ],
139
+ "connectTargetIds": [
140
+ "instagram",
141
+ "meta",
142
+ "facebook",
143
+ "youtube",
144
+ "tiktok",
145
+ "linkedin",
146
+ "linkedin_page",
147
+ "threads",
148
+ "google_business",
149
+ "pinterest",
150
+ "twitter",
151
+ "telegram",
152
+ "bluesky",
153
+ "reddit",
154
+ "wordpress",
155
+ "mastodon",
156
+ "medium",
157
+ "devto",
158
+ "hashnode",
159
+ "discord",
160
+ "slack",
161
+ "skool",
162
+ "whop"
163
+ ],
164
+ "connectInputs": [
165
+ "bluesky",
166
+ "devto",
167
+ "discord",
168
+ "facebook",
169
+ "facebook_instagram",
170
+ "facebook_pages",
171
+ "gmb",
172
+ "google-business",
173
+ "google_business",
174
+ "google_business_profile",
175
+ "hashnode",
176
+ "instagram",
177
+ "instagram-standalone",
178
+ "instagram_direct",
179
+ "linkedin",
180
+ "linkedin-company",
181
+ "linkedin-page",
182
+ "linkedin_company",
183
+ "linkedin_page",
184
+ "linkedin_personal",
185
+ "mastodon",
186
+ "medium",
187
+ "meta",
188
+ "meta_business",
189
+ "pinterest",
190
+ "reddit",
191
+ "skool",
192
+ "slack",
193
+ "telegram",
194
+ "threads",
195
+ "tiktok",
196
+ "twitter",
197
+ "whop",
198
+ "wordpress",
199
+ "x",
200
+ "x_twitter",
201
+ "youtube"
202
+ ],
203
+ "connectAliases": {
204
+ "bluesky": "bluesky",
205
+ "devto": "devto",
206
+ "discord": "discord",
207
+ "facebook": "facebook",
208
+ "facebook_instagram": "meta",
209
+ "facebook_pages": "facebook",
210
+ "gmb": "google_business",
211
+ "google_business": "google_business",
212
+ "google_business_profile": "google_business",
213
+ "hashnode": "hashnode",
214
+ "instagram": "instagram",
215
+ "instagram_direct": "instagram",
216
+ "instagram_standalone": "instagram",
217
+ "linkedin": "linkedin",
218
+ "linkedin_company": "linkedin_page",
219
+ "linkedin_page": "linkedin_page",
220
+ "linkedin_personal": "linkedin",
221
+ "mastodon": "mastodon",
222
+ "medium": "medium",
223
+ "meta": "meta",
224
+ "meta_business": "meta",
225
+ "pinterest": "pinterest",
226
+ "reddit": "reddit",
227
+ "skool": "skool",
228
+ "slack": "slack",
229
+ "telegram": "telegram",
230
+ "threads": "threads",
231
+ "tiktok": "tiktok",
232
+ "twitter": "twitter",
233
+ "whop": "whop",
234
+ "wordpress": "wordpress",
235
+ "x": "twitter",
236
+ "x_twitter": "twitter",
237
+ "youtube": "youtube"
238
+ },
239
+ "platforms": [
240
+ {
241
+ "id": "instagram",
242
+ "label": "Instagram",
243
+ "status": "supported",
244
+ "aliases": [
245
+ "instagram-standalone"
246
+ ],
247
+ "postTypes": [
248
+ "image",
249
+ "carousel",
250
+ "reel",
251
+ "story",
252
+ "story_series"
253
+ ],
254
+ "analyticsSupported": true,
255
+ "helpers": []
256
+ },
257
+ {
258
+ "id": "facebook",
259
+ "label": "Facebook",
260
+ "status": "supported",
261
+ "aliases": [],
262
+ "postTypes": [
263
+ "text",
264
+ "image",
265
+ "video",
266
+ "carousel",
267
+ "reel",
268
+ "story",
269
+ "cover_photo"
270
+ ],
271
+ "analyticsSupported": false,
272
+ "helpers": []
273
+ },
274
+ {
275
+ "id": "tiktok",
276
+ "label": "TikTok",
277
+ "status": "supported",
278
+ "aliases": [],
279
+ "postTypes": [
280
+ "video",
281
+ "image"
282
+ ],
283
+ "analyticsSupported": false,
284
+ "helpers": [
285
+ "tiktok.creator_info"
286
+ ]
287
+ },
288
+ {
289
+ "id": "twitter",
290
+ "label": "X",
291
+ "status": "supported",
292
+ "aliases": [
293
+ "x"
294
+ ],
295
+ "postTypes": [
296
+ "text",
297
+ "image",
298
+ "video",
299
+ "carousel",
300
+ "x_thread"
301
+ ],
302
+ "analyticsSupported": false,
303
+ "helpers": [
304
+ "x.quota"
305
+ ]
306
+ },
307
+ {
308
+ "id": "linkedin",
309
+ "label": "LinkedIn",
310
+ "status": "supported",
311
+ "aliases": [],
312
+ "postTypes": [
313
+ "text",
314
+ "image",
315
+ "video",
316
+ "carousel",
317
+ "document"
318
+ ],
319
+ "analyticsSupported": true,
320
+ "helpers": [
321
+ "linkedin.recent_mentions"
322
+ ]
323
+ },
324
+ {
325
+ "id": "youtube",
326
+ "label": "YouTube",
327
+ "status": "supported",
328
+ "aliases": [],
329
+ "postTypes": [
330
+ "video"
331
+ ],
332
+ "analyticsSupported": true,
333
+ "helpers": [
334
+ "youtube.playlists"
335
+ ]
336
+ },
337
+ {
338
+ "id": "pinterest",
339
+ "label": "Pinterest",
340
+ "status": "supported",
341
+ "aliases": [],
342
+ "postTypes": [
343
+ "image",
344
+ "video",
345
+ "carousel"
346
+ ],
347
+ "analyticsSupported": true,
348
+ "helpers": [
349
+ "pinterest.boards"
350
+ ]
351
+ },
352
+ {
353
+ "id": "threads",
354
+ "label": "Threads",
355
+ "status": "supported",
356
+ "aliases": [],
357
+ "postTypes": [
358
+ "text",
359
+ "image",
360
+ "video",
361
+ "carousel",
362
+ "threads_thread"
363
+ ],
364
+ "analyticsSupported": false,
365
+ "helpers": []
366
+ },
367
+ {
368
+ "id": "google_business",
369
+ "label": "Google Business",
370
+ "status": "supported",
371
+ "aliases": [
372
+ "gmb",
373
+ "google-business",
374
+ "google_business_profile"
375
+ ],
376
+ "postTypes": [
377
+ "standard",
378
+ "event",
379
+ "offer"
380
+ ],
381
+ "analyticsSupported": true,
382
+ "helpers": []
383
+ },
384
+ {
385
+ "id": "telegram",
386
+ "label": "Telegram",
387
+ "status": "supported",
388
+ "aliases": [],
389
+ "postTypes": [
390
+ "text",
391
+ "image",
392
+ "video",
393
+ "media_group"
394
+ ],
395
+ "analyticsSupported": false,
396
+ "helpers": []
397
+ },
398
+ {
399
+ "id": "bluesky",
400
+ "label": "Bluesky",
401
+ "status": "supported",
402
+ "aliases": [],
403
+ "postTypes": [
404
+ "text",
405
+ "image",
406
+ "carousel"
407
+ ],
408
+ "analyticsSupported": false,
409
+ "helpers": []
410
+ },
411
+ {
412
+ "id": "reddit",
413
+ "label": "Reddit",
414
+ "status": "planned",
415
+ "aliases": [],
416
+ "postTypes": [],
417
+ "analyticsSupported": false,
418
+ "helpers": []
419
+ },
420
+ {
421
+ "id": "wordpress",
422
+ "label": "WordPress",
423
+ "status": "planned",
424
+ "aliases": [],
425
+ "postTypes": [],
426
+ "analyticsSupported": false,
427
+ "helpers": []
428
+ },
429
+ {
430
+ "id": "mastodon",
431
+ "label": "Mastodon",
432
+ "status": "planned",
433
+ "aliases": [],
434
+ "postTypes": [],
435
+ "analyticsSupported": false,
436
+ "helpers": []
437
+ },
438
+ {
439
+ "id": "medium",
440
+ "label": "Medium",
441
+ "status": "planned",
442
+ "aliases": [],
443
+ "postTypes": [],
444
+ "analyticsSupported": false,
445
+ "helpers": []
446
+ },
447
+ {
448
+ "id": "devto",
449
+ "label": "Dev.to",
450
+ "status": "planned",
451
+ "aliases": [],
452
+ "postTypes": [],
453
+ "analyticsSupported": false,
454
+ "helpers": []
455
+ },
456
+ {
457
+ "id": "hashnode",
458
+ "label": "Hashnode",
459
+ "status": "planned",
460
+ "aliases": [],
461
+ "postTypes": [],
462
+ "analyticsSupported": false,
463
+ "helpers": []
464
+ },
465
+ {
466
+ "id": "discord",
467
+ "label": "Discord",
468
+ "status": "planned",
469
+ "aliases": [],
470
+ "postTypes": [],
471
+ "analyticsSupported": false,
472
+ "helpers": []
473
+ },
474
+ {
475
+ "id": "slack",
476
+ "label": "Slack",
477
+ "status": "planned",
478
+ "aliases": [],
479
+ "postTypes": [],
480
+ "analyticsSupported": false,
481
+ "helpers": []
482
+ },
483
+ {
484
+ "id": "skool",
485
+ "label": "Skool",
486
+ "status": "planned",
487
+ "aliases": [],
488
+ "postTypes": [],
489
+ "analyticsSupported": false,
490
+ "helpers": []
491
+ },
492
+ {
493
+ "id": "whop",
494
+ "label": "Whop",
495
+ "status": "planned",
496
+ "aliases": [],
497
+ "postTypes": [],
498
+ "analyticsSupported": false,
499
+ "helpers": []
500
+ }
501
+ ],
502
+ "connectTargets": [
503
+ {
504
+ "id": "instagram",
505
+ "label": "Instagram",
506
+ "status": "supported",
507
+ "aliases": [
508
+ "instagram-standalone",
509
+ "instagram_direct"
510
+ ],
511
+ "method": "dashboard_oauth"
512
+ },
513
+ {
514
+ "id": "meta",
515
+ "label": "Meta",
516
+ "status": "supported",
517
+ "aliases": [
518
+ "facebook_instagram",
519
+ "meta_business"
520
+ ],
521
+ "method": "dashboard_oauth"
522
+ },
523
+ {
524
+ "id": "facebook",
525
+ "label": "Facebook Pages",
526
+ "status": "supported",
527
+ "aliases": [
528
+ "facebook_pages"
529
+ ],
530
+ "method": "dashboard_oauth"
531
+ },
532
+ {
533
+ "id": "youtube",
534
+ "label": "YouTube",
535
+ "status": "supported",
536
+ "aliases": [],
537
+ "method": "dashboard_oauth"
538
+ },
539
+ {
540
+ "id": "tiktok",
541
+ "label": "TikTok",
542
+ "status": "supported",
543
+ "aliases": [],
544
+ "method": "dashboard_oauth"
545
+ },
546
+ {
547
+ "id": "linkedin",
548
+ "label": "LinkedIn Personal",
549
+ "status": "supported",
550
+ "aliases": [
551
+ "linkedin_personal"
552
+ ],
553
+ "method": "dashboard_oauth"
554
+ },
555
+ {
556
+ "id": "linkedin_page",
557
+ "label": "LinkedIn Page",
558
+ "status": "supported",
559
+ "aliases": [
560
+ "linkedin-page",
561
+ "linkedin_company",
562
+ "linkedin-company"
563
+ ],
564
+ "method": "dashboard_oauth"
565
+ },
566
+ {
567
+ "id": "threads",
568
+ "label": "Threads",
569
+ "status": "supported",
570
+ "aliases": [],
571
+ "method": "dashboard_oauth"
572
+ },
573
+ {
574
+ "id": "google_business",
575
+ "label": "Google Business Profile",
576
+ "status": "supported",
577
+ "aliases": [
578
+ "gmb",
579
+ "google-business",
580
+ "google_business_profile"
581
+ ],
582
+ "method": "dashboard_oauth"
583
+ },
584
+ {
585
+ "id": "pinterest",
586
+ "label": "Pinterest",
587
+ "status": "supported",
588
+ "aliases": [],
589
+ "method": "dashboard_oauth"
590
+ },
591
+ {
592
+ "id": "twitter",
593
+ "label": "X (Twitter)",
594
+ "status": "supported",
595
+ "aliases": [
596
+ "x",
597
+ "x_twitter"
598
+ ],
599
+ "method": "dashboard_oauth"
600
+ },
601
+ {
602
+ "id": "telegram",
603
+ "label": "Telegram",
604
+ "status": "supported",
605
+ "aliases": [],
606
+ "method": "manual_credentials"
607
+ },
608
+ {
609
+ "id": "bluesky",
610
+ "label": "Bluesky",
611
+ "status": "supported",
612
+ "aliases": [],
613
+ "method": "manual_credentials"
614
+ },
615
+ {
616
+ "id": "reddit",
617
+ "label": "Reddit",
618
+ "status": "planned",
619
+ "aliases": [],
620
+ "method": "planned"
621
+ },
622
+ {
623
+ "id": "wordpress",
624
+ "label": "WordPress",
625
+ "status": "planned",
626
+ "aliases": [],
627
+ "method": "planned"
628
+ },
629
+ {
630
+ "id": "mastodon",
631
+ "label": "Mastodon",
632
+ "status": "planned",
633
+ "aliases": [],
634
+ "method": "planned"
635
+ },
636
+ {
637
+ "id": "medium",
638
+ "label": "Medium",
639
+ "status": "planned",
640
+ "aliases": [],
641
+ "method": "planned"
642
+ },
643
+ {
644
+ "id": "devto",
645
+ "label": "Dev.to",
646
+ "status": "planned",
647
+ "aliases": [],
648
+ "method": "planned"
649
+ },
650
+ {
651
+ "id": "hashnode",
652
+ "label": "Hashnode",
653
+ "status": "planned",
654
+ "aliases": [],
655
+ "method": "planned"
656
+ },
657
+ {
658
+ "id": "discord",
659
+ "label": "Discord",
660
+ "status": "planned",
661
+ "aliases": [],
662
+ "method": "planned"
663
+ },
664
+ {
665
+ "id": "slack",
666
+ "label": "Slack",
667
+ "status": "planned",
668
+ "aliases": [],
669
+ "method": "planned"
670
+ },
671
+ {
672
+ "id": "skool",
673
+ "label": "Skool",
674
+ "status": "planned",
675
+ "aliases": [],
676
+ "method": "planned"
677
+ },
678
+ {
679
+ "id": "whop",
680
+ "label": "Whop",
681
+ "status": "planned",
682
+ "aliases": [],
683
+ "method": "planned"
684
+ }
685
+ ]
686
+ });
687
+ export const SUPPORTED_PLATFORM_IDS = Object.freeze(["instagram","facebook","tiktok","twitter","linkedin","youtube","pinterest","threads","google_business","telegram","bluesky"]);
688
+ export const PLANNED_PLATFORM_IDS = Object.freeze(["reddit","wordpress","mastodon","medium","devto","hashnode","discord","slack","skool","whop"]);
689
+ export const ALL_PLATFORM_IDS = Object.freeze(["instagram","facebook","tiktok","twitter","linkedin","youtube","pinterest","threads","google_business","telegram","bluesky","reddit","wordpress","mastodon","medium","devto","hashnode","discord","slack","skool","whop"]);
690
+ export const SUPPORTED_PLATFORM_INPUTS = Object.freeze(["bluesky","facebook","gmb","google-business","google_business","google_business_profile","instagram","instagram-standalone","linkedin","pinterest","telegram","threads","tiktok","twitter","x","youtube"]);
691
+ export const ALL_PLATFORM_INPUTS = Object.freeze(["bluesky","devto","discord","facebook","gmb","google-business","google_business","google_business_profile","hashnode","instagram","instagram-standalone","linkedin","mastodon","medium","pinterest","reddit","skool","slack","telegram","threads","tiktok","twitter","whop","wordpress","x","youtube"]);
692
+ export const PLATFORM_HELPER_NAMES = Object.freeze(["linkedin.recent_mentions","pinterest.boards","tiktok.creator_info","x.quota","youtube.playlists"]);
693
+ export const CONNECT_TARGET_IDS = Object.freeze(["instagram","meta","facebook","youtube","tiktok","linkedin","linkedin_page","threads","google_business","pinterest","twitter","telegram","bluesky","reddit","wordpress","mastodon","medium","devto","hashnode","discord","slack","skool","whop"]);
694
+ export const CONNECT_INPUTS = Object.freeze(["bluesky","devto","discord","facebook","facebook_instagram","facebook_pages","gmb","google-business","google_business","google_business_profile","hashnode","instagram","instagram-standalone","instagram_direct","linkedin","linkedin-company","linkedin-page","linkedin_company","linkedin_page","linkedin_personal","mastodon","medium","meta","meta_business","pinterest","reddit","skool","slack","telegram","threads","tiktok","twitter","whop","wordpress","x","x_twitter","youtube"]);
695
+ export const ANALYTICS_PLATFORM_IDS = Object.freeze(["instagram","linkedin","youtube","pinterest","google_business"]);
package/package.json ADDED
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "@posterly/cli",
3
+ "version": "0.1.0",
4
+ "description": "Command line interface for the posterly API",
5
+ "license": "MIT",
6
+ "type": "module",
7
+ "bin": {
8
+ "posterly": "./bin/posterly.mjs"
9
+ },
10
+ "engines": {
11
+ "node": ">=20"
12
+ }
13
+ }