@interware/content-generator 0.2.1 → 0.2.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/server/index.js +2 -20
- package/dist/server/index.mjs +2 -20
- package/package.json +1 -1
package/dist/server/index.js
CHANGED
|
@@ -3158,29 +3158,11 @@ ${hashtags}`
|
|
|
3158
3158
|
},
|
|
3159
3159
|
shareMediaCategory: "ARTICLE",
|
|
3160
3160
|
media: [
|
|
3161
|
-
// Imagen del artículo
|
|
3162
|
-
...article.image ? [
|
|
3163
|
-
{
|
|
3164
|
-
status: "READY",
|
|
3165
|
-
description: {
|
|
3166
|
-
text: article.descripcion
|
|
3167
|
-
},
|
|
3168
|
-
media: `https://api.interware.com.mx${article.image.formats.small.url}`,
|
|
3169
|
-
title: {
|
|
3170
|
-
text: article.titulo
|
|
3171
|
-
}
|
|
3172
|
-
}
|
|
3173
|
-
] : [],
|
|
3174
|
-
// URL del artículo
|
|
3175
3161
|
{
|
|
3176
3162
|
status: "READY",
|
|
3177
3163
|
originalUrl: `https://interware.com.mx/blog/${article.slug}`,
|
|
3178
|
-
title: {
|
|
3179
|
-
|
|
3180
|
-
},
|
|
3181
|
-
description: {
|
|
3182
|
-
text: article.descripcion
|
|
3183
|
-
}
|
|
3164
|
+
title: { text: article.titulo },
|
|
3165
|
+
description: { text: article.descripcion }
|
|
3184
3166
|
}
|
|
3185
3167
|
]
|
|
3186
3168
|
}
|
package/dist/server/index.mjs
CHANGED
|
@@ -3157,29 +3157,11 @@ ${hashtags}`
|
|
|
3157
3157
|
},
|
|
3158
3158
|
shareMediaCategory: "ARTICLE",
|
|
3159
3159
|
media: [
|
|
3160
|
-
// Imagen del artículo
|
|
3161
|
-
...article.image ? [
|
|
3162
|
-
{
|
|
3163
|
-
status: "READY",
|
|
3164
|
-
description: {
|
|
3165
|
-
text: article.descripcion
|
|
3166
|
-
},
|
|
3167
|
-
media: `https://api.interware.com.mx${article.image.formats.small.url}`,
|
|
3168
|
-
title: {
|
|
3169
|
-
text: article.titulo
|
|
3170
|
-
}
|
|
3171
|
-
}
|
|
3172
|
-
] : [],
|
|
3173
|
-
// URL del artículo
|
|
3174
3160
|
{
|
|
3175
3161
|
status: "READY",
|
|
3176
3162
|
originalUrl: `https://interware.com.mx/blog/${article.slug}`,
|
|
3177
|
-
title: {
|
|
3178
|
-
|
|
3179
|
-
},
|
|
3180
|
-
description: {
|
|
3181
|
-
text: article.descripcion
|
|
3182
|
-
}
|
|
3163
|
+
title: { text: article.titulo },
|
|
3164
|
+
description: { text: article.descripcion }
|
|
3183
3165
|
}
|
|
3184
3166
|
]
|
|
3185
3167
|
}
|
package/package.json
CHANGED