@planoly/planogram-config 1.0.0 → 1.0.2
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 +2266 -0
- package/dist/index.d.cts +3570 -0
- package/dist/index.d.ts +4 -340
- package/dist/index.js +2 -259
- package/package.json +6 -4
- package/postExperienceConfig.json +2 -259
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var version = "1.0.
|
|
1
|
+
var version = "1.0.2";
|
|
2
2
|
var platforms = [
|
|
3
3
|
{
|
|
4
4
|
name: "tiktok",
|
|
@@ -1930,7 +1930,7 @@ var platforms = [
|
|
|
1930
1930
|
},
|
|
1931
1931
|
{
|
|
1932
1932
|
type: "allowedMediaTypes",
|
|
1933
|
-
userErrorMessage: "Media ineligible for posting.
|
|
1933
|
+
userErrorMessage: "Media ineligible for posting. Pin must be uploaded in .jpg, .png, .tiff, .webp, .mov, or .mp4 format. Adjust your file type and re-upload to meet Pinterest guidelines.",
|
|
1934
1934
|
errorHelpLink: "https://help.planoly.com/knowledge"
|
|
1935
1935
|
},
|
|
1936
1936
|
{
|
|
@@ -2016,269 +2016,6 @@ var platforms = [
|
|
|
2016
2016
|
}
|
|
2017
2017
|
}
|
|
2018
2018
|
]
|
|
2019
|
-
},
|
|
2020
|
-
{
|
|
2021
|
-
name: "Video Pin",
|
|
2022
|
-
allowAutoPost: true,
|
|
2023
|
-
allowFirstComment: false,
|
|
2024
|
-
allowedMediaTypes: [
|
|
2025
|
-
"video/mp4",
|
|
2026
|
-
"video/mp4v",
|
|
2027
|
-
"video/quicktime"
|
|
2028
|
-
],
|
|
2029
|
-
allowMultipleAssets: false,
|
|
2030
|
-
allowedMultipleAssetMediaTypes: [
|
|
2031
|
-
"video/mp4",
|
|
2032
|
-
"video/mp4v",
|
|
2033
|
-
"video/quicktime"
|
|
2034
|
-
],
|
|
2035
|
-
hasCaptions: true,
|
|
2036
|
-
hasTitle: true,
|
|
2037
|
-
allowNotifySubscribers: false,
|
|
2038
|
-
allowVisibility: false,
|
|
2039
|
-
visibilityOptions: [
|
|
2040
|
-
],
|
|
2041
|
-
coverPhotoSource: [
|
|
2042
|
-
"image"
|
|
2043
|
-
],
|
|
2044
|
-
allowHashtags: true,
|
|
2045
|
-
allowSoundUrl: false,
|
|
2046
|
-
allowSnipfeed: false,
|
|
2047
|
-
allowSoundUrlForAutopost: false,
|
|
2048
|
-
allowAddLink: true,
|
|
2049
|
-
allowBoards: true,
|
|
2050
|
-
allowUserTagging: false,
|
|
2051
|
-
allowProductTagging: false,
|
|
2052
|
-
allowLocationTagging: false,
|
|
2053
|
-
allowTagInLinkit: false,
|
|
2054
|
-
allowASINTagging: false,
|
|
2055
|
-
allowShareToFeed: false,
|
|
2056
|
-
allowOptions: true,
|
|
2057
|
-
allowCanva: false,
|
|
2058
|
-
allowCollaboratorTagging: false,
|
|
2059
|
-
canvaDesignType: "PinterestVideoPin",
|
|
2060
|
-
allowImageCompression: false,
|
|
2061
|
-
allowCoverPhoto: false,
|
|
2062
|
-
allowedCoverPhotoTypes: [
|
|
2063
|
-
],
|
|
2064
|
-
allowCoverPhotoCanva: false,
|
|
2065
|
-
allowCoverPhotoImageCompression: false,
|
|
2066
|
-
validations: [
|
|
2067
|
-
{
|
|
2068
|
-
type: "futureDate",
|
|
2069
|
-
userErrorMessage: "Media ineligible for posting. Please choose a date and time at least 5 minutes in the future.",
|
|
2070
|
-
errorHelpLink: "https://help.planoly.com/knowledge",
|
|
2071
|
-
parameters: {
|
|
2072
|
-
value: 5
|
|
2073
|
-
}
|
|
2074
|
-
},
|
|
2075
|
-
{
|
|
2076
|
-
type: "manualPostCaptionLength",
|
|
2077
|
-
userErrorMessage: "Caption ineligible for posting. Your caption must be between 0 and 500 characters. Adjust caption length to meet Pinterest guidelines.",
|
|
2078
|
-
errorHelpLink: "https://help.planoly.com/knowledge",
|
|
2079
|
-
parameters: {
|
|
2080
|
-
min: 0,
|
|
2081
|
-
max: 500
|
|
2082
|
-
}
|
|
2083
|
-
},
|
|
2084
|
-
{
|
|
2085
|
-
type: "autoPostCaptionLength",
|
|
2086
|
-
userErrorMessage: "Caption ineligible for auto-post. Your caption must be between 0 and 500 characters. Adjust caption length to meet Pinterest guidelines.",
|
|
2087
|
-
errorHelpLink: "https://help.planoly.com/knowledge",
|
|
2088
|
-
parameters: {
|
|
2089
|
-
min: 0,
|
|
2090
|
-
max: 500
|
|
2091
|
-
}
|
|
2092
|
-
},
|
|
2093
|
-
{
|
|
2094
|
-
type: "titleLength",
|
|
2095
|
-
userErrorMessage: "Title ineligible for auto-post. Your title must be between 0 and 100 characters. Adjust title length to meet Pinterest guidelines.",
|
|
2096
|
-
errorHelpLink: "https://help.planoly.com/knowledge",
|
|
2097
|
-
parameters: {
|
|
2098
|
-
min: 0,
|
|
2099
|
-
max: 100
|
|
2100
|
-
}
|
|
2101
|
-
},
|
|
2102
|
-
{
|
|
2103
|
-
type: "numberOfAssets",
|
|
2104
|
-
userErrorMessage: "Media ineligible for auto-post. Upload 1 image or video file to meet Pinterest guidelines.",
|
|
2105
|
-
errorHelpLink: "https://help.planoly.com/knowledge",
|
|
2106
|
-
parameters: {
|
|
2107
|
-
min: 1,
|
|
2108
|
-
max: 1
|
|
2109
|
-
}
|
|
2110
|
-
},
|
|
2111
|
-
{
|
|
2112
|
-
type: "autoPostVideoLength",
|
|
2113
|
-
userErrorMessage: "Media ineligible for auto-post. Your video duration must be between 4 seconds and 5 minutes. Adjust length & re-upload a new duration to meet Pinterest guidelines.",
|
|
2114
|
-
errorHelpLink: "https://help.planoly.com/knowledge",
|
|
2115
|
-
parameters: {
|
|
2116
|
-
min: 3,
|
|
2117
|
-
max: 300
|
|
2118
|
-
}
|
|
2119
|
-
},
|
|
2120
|
-
{
|
|
2121
|
-
type: "autoPostVideoSize",
|
|
2122
|
-
userErrorMessage: "Media ineligible for auto-post. Your video size must be less than 300MB. Adjust size & re-upload to meet Pinterest guidelines.",
|
|
2123
|
-
errorHelpLink: "https://help.planoly.com/knowledge",
|
|
2124
|
-
parameters: {
|
|
2125
|
-
value: 300
|
|
2126
|
-
}
|
|
2127
|
-
},
|
|
2128
|
-
{
|
|
2129
|
-
type: "autoPostVideoSize",
|
|
2130
|
-
userErrorMessage: "Media ineligible for auto-post. Your video size must be less than 300MB. Adjust size & re-upload to meet Pinterest guidelines.",
|
|
2131
|
-
errorHelpLink: "https://help.planoly.com/knowledge",
|
|
2132
|
-
parameters: {
|
|
2133
|
-
value: 300
|
|
2134
|
-
}
|
|
2135
|
-
},
|
|
2136
|
-
{
|
|
2137
|
-
type: "allowedMediaTypes",
|
|
2138
|
-
userErrorMessage: "Media ineligible for posting. Video Pin must be uploaded in .mov, or .mp4 format. Adjust your file type and re-upload to meet Pinterest guidelines.",
|
|
2139
|
-
errorHelpLink: "https://help.planoly.com/knowledge"
|
|
2140
|
-
},
|
|
2141
|
-
{
|
|
2142
|
-
type: "aspectRatio",
|
|
2143
|
-
userErrorMessage: "Media ineligible for posting. Media must be in the correct aspect ratio (1:2, 2:3, 3:4, 4:5, 9:16 or 1:1). Adjust your file type and re-upload to meet Pinterest guidelines.",
|
|
2144
|
-
errorHelpLink: "https://help.planoly.com/knowledge",
|
|
2145
|
-
parameters: [
|
|
2146
|
-
"1:1",
|
|
2147
|
-
"1:2",
|
|
2148
|
-
"2:3",
|
|
2149
|
-
"3:4",
|
|
2150
|
-
"4:5",
|
|
2151
|
-
"9:16"
|
|
2152
|
-
]
|
|
2153
|
-
},
|
|
2154
|
-
{
|
|
2155
|
-
type: "hashtagLimit",
|
|
2156
|
-
userErrorMessage: "Hashtag limit exceeded. Please remove additional hashtags to continue.",
|
|
2157
|
-
parameters: {
|
|
2158
|
-
min: 0,
|
|
2159
|
-
max: 30
|
|
2160
|
-
}
|
|
2161
|
-
}
|
|
2162
|
-
]
|
|
2163
|
-
},
|
|
2164
|
-
{
|
|
2165
|
-
name: "Image Pin",
|
|
2166
|
-
allowAutoPost: true,
|
|
2167
|
-
allowFirstComment: false,
|
|
2168
|
-
allowedMediaTypes: [
|
|
2169
|
-
"image/jpeg",
|
|
2170
|
-
"image/png",
|
|
2171
|
-
"image/tiff",
|
|
2172
|
-
"image/webp"
|
|
2173
|
-
],
|
|
2174
|
-
allowMultipleAssets: false,
|
|
2175
|
-
allowedMultipleAssetMediaTypes: [
|
|
2176
|
-
],
|
|
2177
|
-
hasCaptions: true,
|
|
2178
|
-
hasTitle: true,
|
|
2179
|
-
allowNotifySubscribers: false,
|
|
2180
|
-
allowVisibility: false,
|
|
2181
|
-
visibilityOptions: [
|
|
2182
|
-
],
|
|
2183
|
-
coverPhotoSource: [
|
|
2184
|
-
],
|
|
2185
|
-
allowHashtags: true,
|
|
2186
|
-
allowSoundUrl: false,
|
|
2187
|
-
allowSnipfeed: false,
|
|
2188
|
-
allowSoundUrlForAutopost: false,
|
|
2189
|
-
allowAddLink: true,
|
|
2190
|
-
allowBoards: true,
|
|
2191
|
-
allowUserTagging: false,
|
|
2192
|
-
allowProductTagging: false,
|
|
2193
|
-
allowLocationTagging: false,
|
|
2194
|
-
allowTagInLinkit: false,
|
|
2195
|
-
allowASINTagging: false,
|
|
2196
|
-
allowShareToFeed: false,
|
|
2197
|
-
allowOptions: true,
|
|
2198
|
-
allowCanva: true,
|
|
2199
|
-
allowCollaboratorTagging: false,
|
|
2200
|
-
canvaDesignType: "PinterestImagePin",
|
|
2201
|
-
allowImageCompression: false,
|
|
2202
|
-
allowCoverPhoto: false,
|
|
2203
|
-
allowedCoverPhotoTypes: [
|
|
2204
|
-
],
|
|
2205
|
-
allowCoverPhotoCanva: false,
|
|
2206
|
-
allowCoverPhotoImageCompression: false,
|
|
2207
|
-
validations: [
|
|
2208
|
-
{
|
|
2209
|
-
type: "futureDate",
|
|
2210
|
-
userErrorMessage: "Media ineligible for posting. Please choose a date and time at least 5 minutes in the future.",
|
|
2211
|
-
errorHelpLink: "https://help.planoly.com/knowledge",
|
|
2212
|
-
parameters: {
|
|
2213
|
-
value: 5
|
|
2214
|
-
}
|
|
2215
|
-
},
|
|
2216
|
-
{
|
|
2217
|
-
type: "manualPostCaptionLength",
|
|
2218
|
-
userErrorMessage: "Caption ineligible for posting. Your caption must be between 0 and 500 characters. Adjust caption length to meet Pinterest guidelines.",
|
|
2219
|
-
errorHelpLink: "https://help.planoly.com/knowledge",
|
|
2220
|
-
parameters: {
|
|
2221
|
-
min: 0,
|
|
2222
|
-
max: 500
|
|
2223
|
-
}
|
|
2224
|
-
},
|
|
2225
|
-
{
|
|
2226
|
-
type: "autoPostCaptionLength",
|
|
2227
|
-
userErrorMessage: "Caption ineligible for auto-post. Your caption must be between 0 and 500 characters. Adjust caption length to meet Pinterest guidelines.",
|
|
2228
|
-
errorHelpLink: "https://help.planoly.com/knowledge",
|
|
2229
|
-
parameters: {
|
|
2230
|
-
min: 0,
|
|
2231
|
-
max: 500
|
|
2232
|
-
}
|
|
2233
|
-
},
|
|
2234
|
-
{
|
|
2235
|
-
type: "titleLength",
|
|
2236
|
-
userErrorMessage: "Title ineligible for auto-post. Your title must be between 0 and 100 characters. Adjust title length to meet Pinterest guidelines.",
|
|
2237
|
-
errorHelpLink: "https://help.planoly.com/knowledge",
|
|
2238
|
-
parameters: {
|
|
2239
|
-
min: 0,
|
|
2240
|
-
max: 100
|
|
2241
|
-
}
|
|
2242
|
-
},
|
|
2243
|
-
{
|
|
2244
|
-
type: "numberOfAssets",
|
|
2245
|
-
userErrorMessage: "Media ineligible for auto-post. Upload 1 image or video file to meet Pinterest guidelines.",
|
|
2246
|
-
errorHelpLink: "https://help.planoly.com/knowledge",
|
|
2247
|
-
parameters: {
|
|
2248
|
-
min: 1,
|
|
2249
|
-
max: 1
|
|
2250
|
-
}
|
|
2251
|
-
},
|
|
2252
|
-
{
|
|
2253
|
-
type: "autoPostImageSize",
|
|
2254
|
-
userErrorMessage: "Media ineligible for auto-post. Your video size must be less than 20MB. Adjust size & re-upload to meet Pinterest guidelines.",
|
|
2255
|
-
errorHelpLink: "https://help.planoly.com/knowledge",
|
|
2256
|
-
parameters: {
|
|
2257
|
-
value: 20
|
|
2258
|
-
}
|
|
2259
|
-
},
|
|
2260
|
-
{
|
|
2261
|
-
type: "autoPostImageSize",
|
|
2262
|
-
userErrorMessage: "Media ineligible for auto-post. Your video size must be less than 300MB. Adjust size & re-upload to meet Pinterest guidelines.",
|
|
2263
|
-
errorHelpLink: "https://help.planoly.com/knowledge",
|
|
2264
|
-
parameters: {
|
|
2265
|
-
value: 300
|
|
2266
|
-
}
|
|
2267
|
-
},
|
|
2268
|
-
{
|
|
2269
|
-
type: "allowedMediaTypes",
|
|
2270
|
-
userErrorMessage: "Media ineligible for posting. Image Pin must be uploaded in .jpg, or .png format. Adjust your file type and re-upload to meet Instagram guidelines.",
|
|
2271
|
-
errorHelpLink: "https://help.planoly.com/knowledge"
|
|
2272
|
-
},
|
|
2273
|
-
{
|
|
2274
|
-
type: "hashtagLimit",
|
|
2275
|
-
userErrorMessage: "Hashtag limit exceeded. Please remove additional hashtags to continue.",
|
|
2276
|
-
parameters: {
|
|
2277
|
-
min: 0,
|
|
2278
|
-
max: 30
|
|
2279
|
-
}
|
|
2280
|
-
}
|
|
2281
|
-
]
|
|
2282
2019
|
}
|
|
2283
2020
|
]
|
|
2284
2021
|
},
|
|
@@ -3532,7 +3269,7 @@ declare const postExperienceConfig: {
|
|
|
3532
3269
|
enabled: boolean;
|
|
3533
3270
|
order: number;
|
|
3534
3271
|
isBeta: boolean;
|
|
3535
|
-
postTypes:
|
|
3272
|
+
postTypes: {
|
|
3536
3273
|
name: string;
|
|
3537
3274
|
allowAutoPost: boolean;
|
|
3538
3275
|
allowFirstComment: boolean;
|
|
@@ -3603,80 +3340,7 @@ declare const postExperienceConfig: {
|
|
|
3603
3340
|
};
|
|
3604
3341
|
errorHelpLink?: undefined;
|
|
3605
3342
|
})[];
|
|
3606
|
-
|
|
3607
|
-
} | {
|
|
3608
|
-
name: string;
|
|
3609
|
-
allowAutoPost: boolean;
|
|
3610
|
-
allowFirstComment: boolean;
|
|
3611
|
-
allowedMediaTypes: string[];
|
|
3612
|
-
allowMultipleAssets: boolean;
|
|
3613
|
-
allowedMultipleAssetMediaTypes: string[];
|
|
3614
|
-
hasCaptions: boolean;
|
|
3615
|
-
hasTitle: boolean;
|
|
3616
|
-
allowNotifySubscribers: boolean;
|
|
3617
|
-
allowVisibility: boolean;
|
|
3618
|
-
visibilityOptions: never[];
|
|
3619
|
-
coverPhotoSource: string[];
|
|
3620
|
-
allowHashtags: boolean;
|
|
3621
|
-
allowSoundUrl: boolean;
|
|
3622
|
-
allowSnipfeed: boolean;
|
|
3623
|
-
allowSoundUrlForAutopost: boolean;
|
|
3624
|
-
allowAddLink: boolean;
|
|
3625
|
-
allowBoards: boolean;
|
|
3626
|
-
allowUserTagging: boolean;
|
|
3627
|
-
allowProductTagging: boolean;
|
|
3628
|
-
allowLocationTagging: boolean;
|
|
3629
|
-
allowTagInLinkit: boolean;
|
|
3630
|
-
allowASINTagging: boolean;
|
|
3631
|
-
allowShareToFeed: boolean;
|
|
3632
|
-
allowOptions: boolean;
|
|
3633
|
-
allowCanva: boolean;
|
|
3634
|
-
allowCollaboratorTagging: boolean;
|
|
3635
|
-
canvaDesignType: string;
|
|
3636
|
-
allowImageCompression: boolean;
|
|
3637
|
-
allowCoverPhoto: boolean;
|
|
3638
|
-
allowedCoverPhotoTypes: never[];
|
|
3639
|
-
allowCoverPhotoCanva: boolean;
|
|
3640
|
-
allowCoverPhotoImageCompression: boolean;
|
|
3641
|
-
validations: ({
|
|
3642
|
-
type: string;
|
|
3643
|
-
userErrorMessage: string;
|
|
3644
|
-
errorHelpLink: string;
|
|
3645
|
-
parameters: {
|
|
3646
|
-
value: number;
|
|
3647
|
-
min?: undefined;
|
|
3648
|
-
max?: undefined;
|
|
3649
|
-
};
|
|
3650
|
-
} | {
|
|
3651
|
-
type: string;
|
|
3652
|
-
userErrorMessage: string;
|
|
3653
|
-
errorHelpLink: string;
|
|
3654
|
-
parameters: {
|
|
3655
|
-
min: number;
|
|
3656
|
-
max: number;
|
|
3657
|
-
value?: undefined;
|
|
3658
|
-
};
|
|
3659
|
-
} | {
|
|
3660
|
-
type: string;
|
|
3661
|
-
userErrorMessage: string;
|
|
3662
|
-
errorHelpLink: string;
|
|
3663
|
-
parameters?: undefined;
|
|
3664
|
-
} | {
|
|
3665
|
-
type: string;
|
|
3666
|
-
userErrorMessage: string;
|
|
3667
|
-
errorHelpLink: string;
|
|
3668
|
-
parameters: string[];
|
|
3669
|
-
} | {
|
|
3670
|
-
type: string;
|
|
3671
|
-
userErrorMessage: string;
|
|
3672
|
-
parameters: {
|
|
3673
|
-
min: number;
|
|
3674
|
-
max: number;
|
|
3675
|
-
value?: undefined;
|
|
3676
|
-
};
|
|
3677
|
-
errorHelpLink?: undefined;
|
|
3678
|
-
})[];
|
|
3679
|
-
})[];
|
|
3343
|
+
}[];
|
|
3680
3344
|
} | {
|
|
3681
3345
|
name: string;
|
|
3682
3346
|
id: number;
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// postExperienceConfig.json
|
|
2
2
|
var postExperienceConfig_default = {
|
|
3
|
-
version: "1.0.
|
|
3
|
+
version: "1.0.2",
|
|
4
4
|
platforms: [
|
|
5
5
|
{
|
|
6
6
|
name: "tiktok",
|
|
@@ -1900,7 +1900,7 @@ var postExperienceConfig_default = {
|
|
|
1900
1900
|
},
|
|
1901
1901
|
{
|
|
1902
1902
|
type: "allowedMediaTypes",
|
|
1903
|
-
userErrorMessage: "Media ineligible for posting.
|
|
1903
|
+
userErrorMessage: "Media ineligible for posting. Pin must be uploaded in .jpg, .png, .tiff, .webp, .mov, or .mp4 format. Adjust your file type and re-upload to meet Pinterest guidelines.",
|
|
1904
1904
|
errorHelpLink: "https://help.planoly.com/knowledge"
|
|
1905
1905
|
},
|
|
1906
1906
|
{
|
|
@@ -1986,263 +1986,6 @@ var postExperienceConfig_default = {
|
|
|
1986
1986
|
}
|
|
1987
1987
|
}
|
|
1988
1988
|
]
|
|
1989
|
-
},
|
|
1990
|
-
{
|
|
1991
|
-
name: "Video Pin",
|
|
1992
|
-
allowAutoPost: true,
|
|
1993
|
-
allowFirstComment: false,
|
|
1994
|
-
allowedMediaTypes: [
|
|
1995
|
-
"video/mp4",
|
|
1996
|
-
"video/mp4v",
|
|
1997
|
-
"video/quicktime"
|
|
1998
|
-
],
|
|
1999
|
-
allowMultipleAssets: false,
|
|
2000
|
-
allowedMultipleAssetMediaTypes: [
|
|
2001
|
-
"video/mp4",
|
|
2002
|
-
"video/mp4v",
|
|
2003
|
-
"video/quicktime"
|
|
2004
|
-
],
|
|
2005
|
-
hasCaptions: true,
|
|
2006
|
-
hasTitle: true,
|
|
2007
|
-
allowNotifySubscribers: false,
|
|
2008
|
-
allowVisibility: false,
|
|
2009
|
-
visibilityOptions: [],
|
|
2010
|
-
coverPhotoSource: [
|
|
2011
|
-
"image"
|
|
2012
|
-
],
|
|
2013
|
-
allowHashtags: true,
|
|
2014
|
-
allowSoundUrl: false,
|
|
2015
|
-
allowSnipfeed: false,
|
|
2016
|
-
allowSoundUrlForAutopost: false,
|
|
2017
|
-
allowAddLink: true,
|
|
2018
|
-
allowBoards: true,
|
|
2019
|
-
allowUserTagging: false,
|
|
2020
|
-
allowProductTagging: false,
|
|
2021
|
-
allowLocationTagging: false,
|
|
2022
|
-
allowTagInLinkit: false,
|
|
2023
|
-
allowASINTagging: false,
|
|
2024
|
-
allowShareToFeed: false,
|
|
2025
|
-
allowOptions: true,
|
|
2026
|
-
allowCanva: false,
|
|
2027
|
-
allowCollaboratorTagging: false,
|
|
2028
|
-
canvaDesignType: "PinterestVideoPin",
|
|
2029
|
-
allowImageCompression: false,
|
|
2030
|
-
allowCoverPhoto: false,
|
|
2031
|
-
allowedCoverPhotoTypes: [],
|
|
2032
|
-
allowCoverPhotoCanva: false,
|
|
2033
|
-
allowCoverPhotoImageCompression: false,
|
|
2034
|
-
validations: [
|
|
2035
|
-
{
|
|
2036
|
-
type: "futureDate",
|
|
2037
|
-
userErrorMessage: "Media ineligible for posting. Please choose a date and time at least 5 minutes in the future.",
|
|
2038
|
-
errorHelpLink: "https://help.planoly.com/knowledge",
|
|
2039
|
-
parameters: {
|
|
2040
|
-
value: 5
|
|
2041
|
-
}
|
|
2042
|
-
},
|
|
2043
|
-
{
|
|
2044
|
-
type: "manualPostCaptionLength",
|
|
2045
|
-
userErrorMessage: "Caption ineligible for posting. Your caption must be between 0 and 500 characters. Adjust caption length to meet Pinterest guidelines.",
|
|
2046
|
-
errorHelpLink: "https://help.planoly.com/knowledge",
|
|
2047
|
-
parameters: {
|
|
2048
|
-
min: 0,
|
|
2049
|
-
max: 500
|
|
2050
|
-
}
|
|
2051
|
-
},
|
|
2052
|
-
{
|
|
2053
|
-
type: "autoPostCaptionLength",
|
|
2054
|
-
userErrorMessage: "Caption ineligible for auto-post. Your caption must be between 0 and 500 characters. Adjust caption length to meet Pinterest guidelines.",
|
|
2055
|
-
errorHelpLink: "https://help.planoly.com/knowledge",
|
|
2056
|
-
parameters: {
|
|
2057
|
-
min: 0,
|
|
2058
|
-
max: 500
|
|
2059
|
-
}
|
|
2060
|
-
},
|
|
2061
|
-
{
|
|
2062
|
-
type: "titleLength",
|
|
2063
|
-
userErrorMessage: "Title ineligible for auto-post. Your title must be between 0 and 100 characters. Adjust title length to meet Pinterest guidelines.",
|
|
2064
|
-
errorHelpLink: "https://help.planoly.com/knowledge",
|
|
2065
|
-
parameters: {
|
|
2066
|
-
min: 0,
|
|
2067
|
-
max: 100
|
|
2068
|
-
}
|
|
2069
|
-
},
|
|
2070
|
-
{
|
|
2071
|
-
type: "numberOfAssets",
|
|
2072
|
-
userErrorMessage: "Media ineligible for auto-post. Upload 1 image or video file to meet Pinterest guidelines.",
|
|
2073
|
-
errorHelpLink: "https://help.planoly.com/knowledge",
|
|
2074
|
-
parameters: {
|
|
2075
|
-
min: 1,
|
|
2076
|
-
max: 1
|
|
2077
|
-
}
|
|
2078
|
-
},
|
|
2079
|
-
{
|
|
2080
|
-
type: "autoPostVideoLength",
|
|
2081
|
-
userErrorMessage: "Media ineligible for auto-post. Your video duration must be between 4 seconds and 5 minutes. Adjust length & re-upload a new duration to meet Pinterest guidelines.",
|
|
2082
|
-
errorHelpLink: "https://help.planoly.com/knowledge",
|
|
2083
|
-
parameters: {
|
|
2084
|
-
min: 3,
|
|
2085
|
-
max: 300
|
|
2086
|
-
}
|
|
2087
|
-
},
|
|
2088
|
-
{
|
|
2089
|
-
type: "autoPostVideoSize",
|
|
2090
|
-
userErrorMessage: "Media ineligible for auto-post. Your video size must be less than 300MB. Adjust size & re-upload to meet Pinterest guidelines.",
|
|
2091
|
-
errorHelpLink: "https://help.planoly.com/knowledge",
|
|
2092
|
-
parameters: {
|
|
2093
|
-
value: 300
|
|
2094
|
-
}
|
|
2095
|
-
},
|
|
2096
|
-
{
|
|
2097
|
-
type: "autoPostVideoSize",
|
|
2098
|
-
userErrorMessage: "Media ineligible for auto-post. Your video size must be less than 300MB. Adjust size & re-upload to meet Pinterest guidelines.",
|
|
2099
|
-
errorHelpLink: "https://help.planoly.com/knowledge",
|
|
2100
|
-
parameters: {
|
|
2101
|
-
value: 300
|
|
2102
|
-
}
|
|
2103
|
-
},
|
|
2104
|
-
{
|
|
2105
|
-
type: "allowedMediaTypes",
|
|
2106
|
-
userErrorMessage: "Media ineligible for posting. Video Pin must be uploaded in .mov, or .mp4 format. Adjust your file type and re-upload to meet Pinterest guidelines.",
|
|
2107
|
-
errorHelpLink: "https://help.planoly.com/knowledge"
|
|
2108
|
-
},
|
|
2109
|
-
{
|
|
2110
|
-
type: "aspectRatio",
|
|
2111
|
-
userErrorMessage: "Media ineligible for posting. Media must be in the correct aspect ratio (1:2, 2:3, 3:4, 4:5, 9:16 or 1:1). Adjust your file type and re-upload to meet Pinterest guidelines.",
|
|
2112
|
-
errorHelpLink: "https://help.planoly.com/knowledge",
|
|
2113
|
-
parameters: [
|
|
2114
|
-
"1:1",
|
|
2115
|
-
"1:2",
|
|
2116
|
-
"2:3",
|
|
2117
|
-
"3:4",
|
|
2118
|
-
"4:5",
|
|
2119
|
-
"9:16"
|
|
2120
|
-
]
|
|
2121
|
-
},
|
|
2122
|
-
{
|
|
2123
|
-
type: "hashtagLimit",
|
|
2124
|
-
userErrorMessage: "Hashtag limit exceeded. Please remove additional hashtags to continue.",
|
|
2125
|
-
parameters: {
|
|
2126
|
-
min: 0,
|
|
2127
|
-
max: 30
|
|
2128
|
-
}
|
|
2129
|
-
}
|
|
2130
|
-
]
|
|
2131
|
-
},
|
|
2132
|
-
{
|
|
2133
|
-
name: "Image Pin",
|
|
2134
|
-
allowAutoPost: true,
|
|
2135
|
-
allowFirstComment: false,
|
|
2136
|
-
allowedMediaTypes: [
|
|
2137
|
-
"image/jpeg",
|
|
2138
|
-
"image/png",
|
|
2139
|
-
"image/tiff",
|
|
2140
|
-
"image/webp"
|
|
2141
|
-
],
|
|
2142
|
-
allowMultipleAssets: false,
|
|
2143
|
-
allowedMultipleAssetMediaTypes: [],
|
|
2144
|
-
hasCaptions: true,
|
|
2145
|
-
hasTitle: true,
|
|
2146
|
-
allowNotifySubscribers: false,
|
|
2147
|
-
allowVisibility: false,
|
|
2148
|
-
visibilityOptions: [],
|
|
2149
|
-
coverPhotoSource: [],
|
|
2150
|
-
allowHashtags: true,
|
|
2151
|
-
allowSoundUrl: false,
|
|
2152
|
-
allowSnipfeed: false,
|
|
2153
|
-
allowSoundUrlForAutopost: false,
|
|
2154
|
-
allowAddLink: true,
|
|
2155
|
-
allowBoards: true,
|
|
2156
|
-
allowUserTagging: false,
|
|
2157
|
-
allowProductTagging: false,
|
|
2158
|
-
allowLocationTagging: false,
|
|
2159
|
-
allowTagInLinkit: false,
|
|
2160
|
-
allowASINTagging: false,
|
|
2161
|
-
allowShareToFeed: false,
|
|
2162
|
-
allowOptions: true,
|
|
2163
|
-
allowCanva: true,
|
|
2164
|
-
allowCollaboratorTagging: false,
|
|
2165
|
-
canvaDesignType: "PinterestImagePin",
|
|
2166
|
-
allowImageCompression: false,
|
|
2167
|
-
allowCoverPhoto: false,
|
|
2168
|
-
allowedCoverPhotoTypes: [],
|
|
2169
|
-
allowCoverPhotoCanva: false,
|
|
2170
|
-
allowCoverPhotoImageCompression: false,
|
|
2171
|
-
validations: [
|
|
2172
|
-
{
|
|
2173
|
-
type: "futureDate",
|
|
2174
|
-
userErrorMessage: "Media ineligible for posting. Please choose a date and time at least 5 minutes in the future.",
|
|
2175
|
-
errorHelpLink: "https://help.planoly.com/knowledge",
|
|
2176
|
-
parameters: {
|
|
2177
|
-
value: 5
|
|
2178
|
-
}
|
|
2179
|
-
},
|
|
2180
|
-
{
|
|
2181
|
-
type: "manualPostCaptionLength",
|
|
2182
|
-
userErrorMessage: "Caption ineligible for posting. Your caption must be between 0 and 500 characters. Adjust caption length to meet Pinterest guidelines.",
|
|
2183
|
-
errorHelpLink: "https://help.planoly.com/knowledge",
|
|
2184
|
-
parameters: {
|
|
2185
|
-
min: 0,
|
|
2186
|
-
max: 500
|
|
2187
|
-
}
|
|
2188
|
-
},
|
|
2189
|
-
{
|
|
2190
|
-
type: "autoPostCaptionLength",
|
|
2191
|
-
userErrorMessage: "Caption ineligible for auto-post. Your caption must be between 0 and 500 characters. Adjust caption length to meet Pinterest guidelines.",
|
|
2192
|
-
errorHelpLink: "https://help.planoly.com/knowledge",
|
|
2193
|
-
parameters: {
|
|
2194
|
-
min: 0,
|
|
2195
|
-
max: 500
|
|
2196
|
-
}
|
|
2197
|
-
},
|
|
2198
|
-
{
|
|
2199
|
-
type: "titleLength",
|
|
2200
|
-
userErrorMessage: "Title ineligible for auto-post. Your title must be between 0 and 100 characters. Adjust title length to meet Pinterest guidelines.",
|
|
2201
|
-
errorHelpLink: "https://help.planoly.com/knowledge",
|
|
2202
|
-
parameters: {
|
|
2203
|
-
min: 0,
|
|
2204
|
-
max: 100
|
|
2205
|
-
}
|
|
2206
|
-
},
|
|
2207
|
-
{
|
|
2208
|
-
type: "numberOfAssets",
|
|
2209
|
-
userErrorMessage: "Media ineligible for auto-post. Upload 1 image or video file to meet Pinterest guidelines.",
|
|
2210
|
-
errorHelpLink: "https://help.planoly.com/knowledge",
|
|
2211
|
-
parameters: {
|
|
2212
|
-
min: 1,
|
|
2213
|
-
max: 1
|
|
2214
|
-
}
|
|
2215
|
-
},
|
|
2216
|
-
{
|
|
2217
|
-
type: "autoPostImageSize",
|
|
2218
|
-
userErrorMessage: "Media ineligible for auto-post. Your video size must be less than 20MB. Adjust size & re-upload to meet Pinterest guidelines.",
|
|
2219
|
-
errorHelpLink: "https://help.planoly.com/knowledge",
|
|
2220
|
-
parameters: {
|
|
2221
|
-
value: 20
|
|
2222
|
-
}
|
|
2223
|
-
},
|
|
2224
|
-
{
|
|
2225
|
-
type: "autoPostImageSize",
|
|
2226
|
-
userErrorMessage: "Media ineligible for auto-post. Your video size must be less than 300MB. Adjust size & re-upload to meet Pinterest guidelines.",
|
|
2227
|
-
errorHelpLink: "https://help.planoly.com/knowledge",
|
|
2228
|
-
parameters: {
|
|
2229
|
-
value: 300
|
|
2230
|
-
}
|
|
2231
|
-
},
|
|
2232
|
-
{
|
|
2233
|
-
type: "allowedMediaTypes",
|
|
2234
|
-
userErrorMessage: "Media ineligible for posting. Image Pin must be uploaded in .jpg, or .png format. Adjust your file type and re-upload to meet Instagram guidelines.",
|
|
2235
|
-
errorHelpLink: "https://help.planoly.com/knowledge"
|
|
2236
|
-
},
|
|
2237
|
-
{
|
|
2238
|
-
type: "hashtagLimit",
|
|
2239
|
-
userErrorMessage: "Hashtag limit exceeded. Please remove additional hashtags to continue.",
|
|
2240
|
-
parameters: {
|
|
2241
|
-
min: 0,
|
|
2242
|
-
max: 30
|
|
2243
|
-
}
|
|
2244
|
-
}
|
|
2245
|
-
]
|
|
2246
1989
|
}
|
|
2247
1990
|
]
|
|
2248
1991
|
},
|
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@planoly/planogram-config",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Centralized configuration for Planoly post experience across all platforms",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "dist/index.
|
|
6
|
+
"main": "dist/index.cjs",
|
|
7
|
+
"module": "dist/index.js",
|
|
7
8
|
"types": "dist/index.d.ts",
|
|
8
9
|
"files": [
|
|
9
10
|
"dist/",
|
|
@@ -11,13 +12,14 @@
|
|
|
11
12
|
],
|
|
12
13
|
"exports": {
|
|
13
14
|
".": {
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
14
16
|
"import": "./dist/index.js",
|
|
15
|
-
"
|
|
17
|
+
"require": "./dist/index.cjs"
|
|
16
18
|
},
|
|
17
19
|
"./json": "./postExperienceConfig.json"
|
|
18
20
|
},
|
|
19
21
|
"scripts": {
|
|
20
|
-
"build": "tsup src/index.ts --format esm --dts",
|
|
22
|
+
"build": "tsup src/index.ts --format esm,cjs --dts",
|
|
21
23
|
"prepublishOnly": "npm run build",
|
|
22
24
|
"version": "node scripts/sync-version.cjs && git add postExperienceConfig.json"
|
|
23
25
|
},
|