@planoly/planogram-config 1.0.6 → 1.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.
- package/dist/index.cjs +226 -8
- package/dist/index.d.cts +375 -10
- package/dist/index.d.ts +375 -10
- package/dist/index.js +226 -8
- package/package.json +1 -1
- package/postExperienceConfig.json +226 -8
package/dist/index.cjs
CHANGED
|
@@ -27,7 +27,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
27
27
|
|
|
28
28
|
// postExperienceConfig.json
|
|
29
29
|
var postExperienceConfig_default = {
|
|
30
|
-
version: "1.0
|
|
30
|
+
version: "1.1.0",
|
|
31
31
|
platforms: [
|
|
32
32
|
{
|
|
33
33
|
name: "tiktok",
|
|
@@ -35,6 +35,7 @@ var postExperienceConfig_default = {
|
|
|
35
35
|
enabled: true,
|
|
36
36
|
order: 3,
|
|
37
37
|
isBeta: false,
|
|
38
|
+
hidePostTypeSelector: true,
|
|
38
39
|
postTypes: [
|
|
39
40
|
{
|
|
40
41
|
name: "Video Post",
|
|
@@ -44,7 +45,7 @@ var postExperienceConfig_default = {
|
|
|
44
45
|
"video/mp4",
|
|
45
46
|
"video/quicktime"
|
|
46
47
|
],
|
|
47
|
-
allowMultipleAssets:
|
|
48
|
+
allowMultipleAssets: false,
|
|
48
49
|
allowedMultipleAssetMediaTypes: [],
|
|
49
50
|
hasCaptions: true,
|
|
50
51
|
hasTitle: false,
|
|
@@ -74,6 +75,54 @@ var postExperienceConfig_default = {
|
|
|
74
75
|
allowedCoverPhotoTypes: [],
|
|
75
76
|
allowCoverPhotoCanva: false,
|
|
76
77
|
allowCoverPhotoImageCompression: false,
|
|
78
|
+
tiktokOptions: {
|
|
79
|
+
allowPrivacyLevel: false,
|
|
80
|
+
allowBrandedContent: true,
|
|
81
|
+
allowAutoAddMusic: false,
|
|
82
|
+
allowDisableComment: true,
|
|
83
|
+
autoAddMusicTooltip: "Recommended music will be automatically added to photos, you can change the post's music on TikTok after it posts"
|
|
84
|
+
},
|
|
85
|
+
brandContentOptions: [
|
|
86
|
+
{
|
|
87
|
+
name: "Not Promoting A Brand",
|
|
88
|
+
value: "none",
|
|
89
|
+
icon: "vp-icon-user"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
name: "Brand Promotion",
|
|
93
|
+
value: "organic",
|
|
94
|
+
icon: "vp-icon-megaphone",
|
|
95
|
+
tooltip: "Enable if the content is promoting your own brand or business"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
name: "Paid Partnership",
|
|
99
|
+
value: "brand",
|
|
100
|
+
icon: "vp-icon-currency-dollar-circle",
|
|
101
|
+
tooltip: "Enable if the content is a paid partnership to promote a third-party business."
|
|
102
|
+
}
|
|
103
|
+
],
|
|
104
|
+
privacyLevelOptions: [
|
|
105
|
+
{
|
|
106
|
+
name: "Public",
|
|
107
|
+
value: "PUBLIC_TO_EVERYONE",
|
|
108
|
+
icon: "vp-icon-eye"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
name: "Mutuals",
|
|
112
|
+
value: "MUTUAL_FOLLOW_FRIENDS",
|
|
113
|
+
icon: "vp-icon-users"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
name: "Followers",
|
|
117
|
+
value: "FOLLOWER_OF_CREATOR",
|
|
118
|
+
icon: "vp-icon-user"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
name: "Private",
|
|
122
|
+
value: "SELF_ONLY",
|
|
123
|
+
icon: "vp-icon-eye-off"
|
|
124
|
+
}
|
|
125
|
+
],
|
|
77
126
|
validations: [
|
|
78
127
|
{
|
|
79
128
|
type: "numberOfAssets",
|
|
@@ -142,6 +191,175 @@ var postExperienceConfig_default = {
|
|
|
142
191
|
}
|
|
143
192
|
}
|
|
144
193
|
]
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
name: "Photo Carousel",
|
|
197
|
+
allowAutoPost: true,
|
|
198
|
+
allowFirstComment: false,
|
|
199
|
+
allowedMediaTypes: [
|
|
200
|
+
"image/jpeg",
|
|
201
|
+
"image/webp"
|
|
202
|
+
],
|
|
203
|
+
allowMultipleAssets: true,
|
|
204
|
+
allowedMultipleAssetMediaTypes: [
|
|
205
|
+
"image/jpeg",
|
|
206
|
+
"image/webp"
|
|
207
|
+
],
|
|
208
|
+
hasCaptions: true,
|
|
209
|
+
hasTitle: true,
|
|
210
|
+
allowNotifySubscribers: false,
|
|
211
|
+
allowVisibility: false,
|
|
212
|
+
visibilityOptions: [],
|
|
213
|
+
coverPhotoSource: [],
|
|
214
|
+
allowHashtags: true,
|
|
215
|
+
allowSoundUrl: true,
|
|
216
|
+
allowSnipfeed: true,
|
|
217
|
+
allowSoundUrlForAutopost: false,
|
|
218
|
+
allowAddLink: false,
|
|
219
|
+
allowUserTagging: false,
|
|
220
|
+
allowProductTagging: false,
|
|
221
|
+
allowLocationTagging: false,
|
|
222
|
+
allowTagInLinkit: false,
|
|
223
|
+
allowASINTagging: false,
|
|
224
|
+
allowShareToFeed: false,
|
|
225
|
+
allowOptions: true,
|
|
226
|
+
allowCanva: false,
|
|
227
|
+
allowCollaboratorTagging: false,
|
|
228
|
+
canvaDesignType: "TiktokPhotoCarousel",
|
|
229
|
+
allowImageCompression: false,
|
|
230
|
+
allowCoverPhoto: false,
|
|
231
|
+
allowedCoverPhotoTypes: [],
|
|
232
|
+
allowCoverPhotoCanva: false,
|
|
233
|
+
allowCoverPhotoImageCompression: false,
|
|
234
|
+
tiktokOptions: {
|
|
235
|
+
allowPrivacyLevel: true,
|
|
236
|
+
allowBrandedContent: true,
|
|
237
|
+
allowAutoAddMusic: true,
|
|
238
|
+
allowDisableComment: true,
|
|
239
|
+
autoAddMusicTooltip: "Recommended music will be automatically added to photos, you can change the post's music on TikTok after it posts"
|
|
240
|
+
},
|
|
241
|
+
brandContentOptions: [
|
|
242
|
+
{
|
|
243
|
+
name: "Not Promoting A Brand",
|
|
244
|
+
value: "none",
|
|
245
|
+
icon: "vp-icon-user"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
name: "Brand Promotion",
|
|
249
|
+
value: "organic",
|
|
250
|
+
icon: "vp-icon-megaphone",
|
|
251
|
+
tooltip: "Enable if the content is promoting your own brand or business"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
name: "Paid Partnership",
|
|
255
|
+
value: "brand",
|
|
256
|
+
icon: "vp-icon-currency-dollar-circle",
|
|
257
|
+
tooltip: "Enable if the content is a paid partnership to promote a third-party business."
|
|
258
|
+
}
|
|
259
|
+
],
|
|
260
|
+
privacyLevelOptions: [
|
|
261
|
+
{
|
|
262
|
+
name: "Public",
|
|
263
|
+
value: "PUBLIC_TO_EVERYONE",
|
|
264
|
+
icon: "vp-icon-eye"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
name: "Mutuals",
|
|
268
|
+
value: "MUTUAL_FOLLOW_FRIENDS",
|
|
269
|
+
icon: "vp-icon-users"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
name: "Followers",
|
|
273
|
+
value: "FOLLOWER_OF_CREATOR",
|
|
274
|
+
icon: "vp-icon-user"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
name: "Private",
|
|
278
|
+
value: "SELF_ONLY",
|
|
279
|
+
icon: "vp-icon-eye-off"
|
|
280
|
+
}
|
|
281
|
+
],
|
|
282
|
+
validations: [
|
|
283
|
+
{
|
|
284
|
+
type: "numberOfAssets",
|
|
285
|
+
userErrorMessage: "Media ineligible for auto-post. Upload 1 to 35 images to meet TikTok guidelines.",
|
|
286
|
+
errorHelpLink: "https://help.planoly.com/knowledge/auto-posting-to-tiktok-from-planoly",
|
|
287
|
+
parameters: {
|
|
288
|
+
min: 1,
|
|
289
|
+
max: 35
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
type: "autoPostImageSize",
|
|
294
|
+
userErrorMessage: "Media ineligible for auto-post. Your image size must be less than 20MB. Adjust size & re-upload to meet TikTok guidelines.",
|
|
295
|
+
errorHelpLink: "https://help.planoly.com/knowledge",
|
|
296
|
+
parameters: {
|
|
297
|
+
value: 20
|
|
298
|
+
}
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
type: "orientationSpecificMaxDimensions",
|
|
302
|
+
userErrorMessage: "Image resolution is too high. Please use a maximum of 1080x1920 for portrait or 1920x1080 for landscape.",
|
|
303
|
+
parameters: {
|
|
304
|
+
portrait: {
|
|
305
|
+
maxWidth: 1080,
|
|
306
|
+
maxHeight: 1920
|
|
307
|
+
},
|
|
308
|
+
landscape: {
|
|
309
|
+
maxWidth: 1920,
|
|
310
|
+
maxHeight: 1080
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
type: "futureDate",
|
|
316
|
+
userErrorMessage: "Media ineligible for auto-post. Please choose a date and time at least 5 minutes in the future.",
|
|
317
|
+
errorHelpLink: "https://help.planoly.com/knowledge/auto-posting-to-tiktok-from-planoly",
|
|
318
|
+
parameters: {
|
|
319
|
+
value: 5
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
type: "manualPostCaptionLength",
|
|
324
|
+
userErrorMessage: "Caption ineligible for posting. Your caption must be between 1 and 4000 characters. Adjust caption length to meet TikTok guidelines.",
|
|
325
|
+
errorHelpLink: "https://help.planoly.com/knowledge/auto-posting-to-tiktok-from-planoly",
|
|
326
|
+
parameters: {
|
|
327
|
+
min: 0,
|
|
328
|
+
max: 4e3
|
|
329
|
+
}
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
type: "autoPostCaptionLength",
|
|
333
|
+
userErrorMessage: "Caption ineligible for auto-post. Your caption must be between 1 and 4000 characters. Adjust caption length to meet TikTok guidelines.",
|
|
334
|
+
errorHelpLink: "https://help.planoly.com/knowledge/auto-posting-to-tiktok-from-planoly",
|
|
335
|
+
parameters: {
|
|
336
|
+
min: 0,
|
|
337
|
+
max: 4e3
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
type: "titleLength",
|
|
342
|
+
userErrorMessage: "Title ineligible for auto-post. Your title must be between 1 and 90 characters. Adjust title length to meet TikTok guidelines.",
|
|
343
|
+
errorHelpLink: "https://help.planoly.com/knowledge",
|
|
344
|
+
parameters: {
|
|
345
|
+
min: 1,
|
|
346
|
+
max: 90
|
|
347
|
+
}
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
type: "allowedMediaTypes",
|
|
351
|
+
userErrorMessage: "Media ineligible for posting. Image content must be uploaded in .jpeg, .jpg, or .webp format. Adjust your file type and re-upload to meet TikTok guidelines.",
|
|
352
|
+
errorHelpLink: "https://help.planoly.com/knowledge"
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
type: "hashtagLimit",
|
|
356
|
+
userErrorMessage: "Hashtag limit exceeded. Please remove additional hashtags to continue.",
|
|
357
|
+
parameters: {
|
|
358
|
+
min: 0,
|
|
359
|
+
max: 5
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
]
|
|
145
363
|
}
|
|
146
364
|
]
|
|
147
365
|
},
|
|
@@ -254,10 +472,10 @@ var postExperienceConfig_default = {
|
|
|
254
472
|
},
|
|
255
473
|
{
|
|
256
474
|
type: "autoPostVideoMaxDimensions",
|
|
257
|
-
userErrorMessage: "Media ineligible for auto-post.
|
|
475
|
+
userErrorMessage: "Media ineligible for auto-post. Your video exceeds Instagram's resolution limit. Resize it to a maximum of 3840\xD72160 pixels (landscape) or 2160\xD73840 pixels (portrait).",
|
|
258
476
|
errorHelpLink: "https://help.planoly.com/knowledge/auto-post-guidelines-and-limitations",
|
|
259
477
|
parameters: {
|
|
260
|
-
width:
|
|
478
|
+
width: 3840,
|
|
261
479
|
height: 3840
|
|
262
480
|
}
|
|
263
481
|
},
|
|
@@ -459,10 +677,10 @@ var postExperienceConfig_default = {
|
|
|
459
677
|
},
|
|
460
678
|
{
|
|
461
679
|
type: "autoPostVideoMaxDimensions",
|
|
462
|
-
userErrorMessage: "Media ineligible for auto-post.
|
|
680
|
+
userErrorMessage: "Media ineligible for auto-post. Your video exceeds Instagram's resolution limit. Resize it to a maximum of 3840\xD72160 pixels (landscape) or 2160\xD73840 pixels (portrait).",
|
|
463
681
|
errorHelpLink: "https://help.planoly.com/knowledge/auto-post-guidelines-and-limitations",
|
|
464
682
|
parameters: {
|
|
465
|
-
width:
|
|
683
|
+
width: 3840,
|
|
466
684
|
height: 3840
|
|
467
685
|
}
|
|
468
686
|
},
|
|
@@ -627,10 +845,10 @@ var postExperienceConfig_default = {
|
|
|
627
845
|
},
|
|
628
846
|
{
|
|
629
847
|
type: "autoPostVideoMaxDimensions",
|
|
630
|
-
userErrorMessage: "Media ineligible for auto-post.
|
|
848
|
+
userErrorMessage: "Media ineligible for auto-post. Your video exceeds Instagram's resolution limit. Resize it to a maximum of 3840\xD72160 pixels (landscape) or 2160\xD73840 pixels (portrait).",
|
|
631
849
|
errorHelpLink: "https://help.planoly.com/knowledge/auto-post-guidelines-and-limitations",
|
|
632
850
|
parameters: {
|
|
633
|
-
width:
|
|
851
|
+
width: 3840,
|
|
634
852
|
height: 3840
|
|
635
853
|
}
|
|
636
854
|
},
|