{"_id":"@boxcc/strapi-plugin-preview-content","_rev":"4-0494a6240d76b077e9c92d9a935076ec","name":"@boxcc/strapi-plugin-preview-content","dist-tags":{"latest":"1.3.5"},"versions":{"1.3.2":{"name":"@boxcc/strapi-plugin-preview-content","version":"1.3.2","description":"Preview your content with custom URL.","main":"admin/main/index.js","strapi":{"name":"Preview Content","icon":"link","description":"Preview your content with custom URL."},"repository":{"type":"git","url":"git+https://github.com/danestves/strapi-plugin-preview-content.git"},"scripts":{"build":"tsc","prepublishOnly":"yarn build","release:major":"changelog -M && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version major && git push origin && git push origin --tags","release:minor":"changelog -m && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version minor && git push origin && git push origin --tags","release:patch":"changelog -p && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version patch && git push origin && git push origin --tags"},"dependencies":{"strapi-helper-plugin":"^3.6.3","strapi-utils":"^3.6.3"},"author":{"name":"Daniel Esteves","email":"estevesd8@gmail.com","url":"https://danestves.com"},"maintainers":[{"name":"boxcc","email":"lmfmcbo@gmail.com"}],"engines":{"node":">=10.16.0 <=14.x.x","npm":">=6.0.0"},"license":"MIT","devDependencies":{"@types/koa":"^2.13.3","@types/lodash":"^4.14.170","@types/node":"^15.6.2","generate-changelog":"^1.8.0","typescript":"^4.3.2"},"gitHead":"37117418115fa4a57b70339d5096ab0d530a616f","bugs":{"url":"https://github.com/danestves/strapi-plugin-preview-content/issues"},"homepage":"https://github.com/danestves/strapi-plugin-preview-content#readme","_id":"@boxcc/strapi-plugin-preview-content@1.3.2","_nodeVersion":"14.17.3","_npmVersion":"6.14.13","dist":{"integrity":"sha512-NbTMc1NQb9/kqC2vdlhPqGnTvijDCsdUxA4+N4nCx9jDD7LYror9WvtFWuJAHDPksaLAEGTlSO5wyk/Un1rGAQ==","shasum":"77795f373d2bb15fc6481a97d2c68280ccf39b97","tarball":"https://registry.npmjs.org/@boxcc/strapi-plugin-preview-content/-/strapi-plugin-preview-content-1.3.2.tgz","fileCount":127,"unpackedSize":167190,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiC4CsCRA9TVsSAnZWagAA54MP/RhJNfCd6qMo90GLQwcy\nCSi1ipVGDXpyF8ZlwhoxF/cVEVpAlBz3RGBYRT+DpfqSM4BN5xrv3vqKfDxT\nIAZmp0PUH3FqLpDGKx+C/FVvpMNSY4oqY64pWMvKuF0Hmyl45IGUaXcTs9nc\n4WneTCztfGeoWe2ptb57XgHYnlWwyHgZ+9enLIykwpSSweYfXtDBt8ZF/pJW\nWCbsnlMWIm3O8oxD1jAWyc6/VkGibISKe+43L5sKYIopl5LvRgYj+VhYfr1I\nSimOTNSaJ8pA3n1YwQUeH6y2nYBbGGj8Ri/hFwn707hCtzIUXQAIe2qmaMpo\nAR+cbHroR1ZP4Gml1FSP5x0Q3zXrumh1XTLClI5jA4Yhj5ZyhSuGISYlZ6ws\nPkMEHy80p6/ulJG65evX//QJjSRu8sadx20+fVd6dIOaRifNYop6R/s63djJ\nPiz6Y5aIdS6jK74Z5Aq4ETvSItE+2EEal0WyUcyEgWuQ8nKLfbwYsfCWcExS\nrqm7FhBuWAga9HeoK4s8k/TUL7mxYyLZzXmM73Ys/pdj+Xvh/hJRQlW9M0Pw\ntYg2D/0Q1KF0c0qAzNcBGF9lwxFtBm6Orr6cTWEzl6hUYELM3/925wUfGdPC\nogfTwIjxWhDT06M9cDtI5k7pC2u271P3RIi8wQ+yGpeC3sP1jLNLfv518nZD\neFQm\r\n=ZCZ7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGCes/oyY3vAYChqTkLIM+ohpkLKrblINrYm8T6h3Fm6AiEAt1cI5qFM6XATddVXhcXceAj6ZUeRhJaMWKWdUde8kPQ="}]},"_npmUser":{"name":"boxcc","email":"lmfmcbo@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strapi-plugin-preview-content_1.3.2_1644921004416_0.6894428126161309"},"_hasShrinkwrap":false},"1.3.3":{"name":"@boxcc/strapi-plugin-preview-content","version":"1.3.3","description":"Preview your content with custom URL.","main":"admin/main/index.js","strapi":{"name":"Preview Content","icon":"link","description":"Preview your content with custom URL."},"repository":{"type":"git","url":"https://github.com/danestves/strapi-plugin-preview-content.git"},"scripts":{"build":"tsc","prepublishOnly":"yarn build","release:major":"changelog -M && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version major && git push origin && git push origin --tags","release:minor":"changelog -m && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version minor && git push origin && git push origin --tags","release:patch":"changelog -p && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version patch && git push origin && git push origin --tags"},"dependencies":{"strapi-helper-plugin":"^3.6.3","strapi-utils":"^3.6.3"},"author":{"name":"Daniel Esteves","email":"estevesd8@gmail.com","url":"https://danestves.com"},"maintainers":[{"name":"boxcc","email":"lmfmcbo@gmail.com"}],"engines":{"node":">=10.16.0 <=14.x.x","npm":">=6.0.0"},"license":"MIT","devDependencies":{"@types/koa":"^2.13.3","@types/lodash":"^4.14.170","@types/node":"^15.6.2","generate-changelog":"^1.8.0","typescript":"^4.3.2"},"licenseText":"Copyright (c) 2020 Daniel Esteves &amp; Strapi Solutions.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"@boxcc/strapi-plugin-preview-content@1.3.3","dist":{"shasum":"cb5288e7bf9d2be434a09f83056c2dc6b62e4e9b","integrity":"sha512-3/D1270/HRs2AefMisZe3jUg5FKfcnSi3X1TpA5McIBn+VYwHIflUPXGYaveTkj8EiXKLYkwjJXngfREWhwHUA==","tarball":"https://registry.npmjs.org/@boxcc/strapi-plugin-preview-content/-/strapi-plugin-preview-content-1.3.3.tgz","fileCount":146,"unpackedSize":167190,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiC4HYCRA9TVsSAnZWagAAF68QAJLlSRH2PIwrPt+nFFHH\n6NCbs5bVo7jpnm0YdK0X2YECqFTmYYAUM5hLLu6mAuAs9/Oa+uLdioScla2T\nfiTkb//LuLbuKqmzCbgl9ju18sm+G+ABrP+fVjCVbF/0E4bGc1ENvYUxShkU\nog4uc5qSh0Rh6Zmc/653vqdlhKns0jOzqveqNPxpxfStCdWr+T7IWiW+Qmqd\ntvKO4R2Sa/gvCjfFXnW9yLCIqNMZBOW8pDtRkPjyMQ14M5vXGjuQxr8NDgFM\niz9Uo+BCsCrvozFhQK87m1EVUJwgYxjcjnRBOpYH3erbZ9EK/mL79+OQeoEU\nSeonRVLyaR69sVWQFwN0yKAK00WpGWGnc4uCrLhW3o5x9XooKPDBYJl26m7B\nYOVyiOEyZDrg/CBbX2b0DwWl7sMt4AqYo4YycK2h+dlurCbV5mqXludJvSBN\nuqj9c41l5xgS2v2isgzY6xhlQRpF6wnw2fvbY1eBgZZHPXrD5Psw38ny/Ho2\nyTxOpwlMImeYdkO79WjxIJPigTE+jUcRV65q6MjX23PrFs6Vu2BXl09fF5Da\nKMwwiCXRRtVeCCRpZFEGgjc16r1c6lPhQKyHSI5u5EPVs6NeFtaKsr+r3XwX\nYALWszRp2MphX9T0RjdYPNkEZ71yjSVC6FhQXq25H/VlEEIQwWBaeCtjmDt5\n0D8n\r\n=l/KO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF0z19kXHKFccJtPsGVDTgjxY0mrNMQlxTW4HpG+Aij5AiAtciO2++C9ER+2A8kjjSEc66/x6m59lZq+8ZpKrwaO/A=="}]},"_npmUser":{"name":"boxcc","email":"lmfmcbo@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strapi-plugin-preview-content_1.3.3_1644921304519_0.5435629581433916"},"_hasShrinkwrap":false},"1.3.4":{"name":"@boxcc/strapi-plugin-preview-content","version":"1.3.4","description":"Preview your content with custom URL.","main":"admin/main/index.js","strapi":{"name":"Preview Content","icon":"link","description":"Preview your content with custom URL."},"repository":{"type":"git","url":"https://github.com/danestves/strapi-plugin-preview-content.git"},"scripts":{"build":"tsc","prepublishOnly":"yarn build","release:major":"changelog -M && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version major && git push origin && git push origin --tags","release:minor":"changelog -m && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version minor && git push origin && git push origin --tags","release:patch":"changelog -p && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version patch && git push origin && git push origin --tags"},"dependencies":{"strapi-helper-plugin":"^3.6.3","strapi-utils":"^3.6.3"},"author":{"name":"Daniel Esteves","email":"estevesd8@gmail.com","url":"https://danestves.com"},"maintainers":[{"name":"boxcc","email":"lmfmcbo@gmail.com"}],"engines":{"node":">=10.16.0 <=14.x.x","npm":">=6.0.0"},"license":"MIT","devDependencies":{"@types/koa":"^2.13.3","@types/lodash":"^4.14.170","@types/node":"^15.6.2","generate-changelog":"^1.8.0","typescript":"^4.3.2"},"licenseText":"Copyright (c) 2020 Daniel Esteves &amp; Strapi Solutions.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"@boxcc/strapi-plugin-preview-content@1.3.4","dist":{"shasum":"fb38b28e5ab042e1e6bda657ca27c9d4fd2e3931","integrity":"sha512-Gl9pC0Fogj60puIDLGXpJi3PwmCGAz6For2fXhmvdp5aBZNWsBL/SqBtIBl2WTyKty/+e9fq5KNqFE8CbwwlDg==","tarball":"https://registry.npmjs.org/@boxcc/strapi-plugin-preview-content/-/strapi-plugin-preview-content-1.3.4.tgz","fileCount":146,"unpackedSize":168986,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiDFOgCRA9TVsSAnZWagAAfqEQAIBX4HZRGO2nCMzRrNjv\n9f4EzGiUsBy12YDeB0LtPTsC0GdiiJ74EB6dXSozUkXsVilDXthqwPS6WyaH\nAsouEk7k+Q8v2Fzmk4PVnI070km2dYRmuYISafk/zKfp1vjDMqZM6eYmaGK3\nbI7FpYIV4vgfVxBi9sugg44uPcYumZCzMBeH/drhxVKKwQ0S57qMuQKzaV6x\nOlYoqqb8jnO+AOwlimDgTu2tbsI2KwjS02jAfcb6yOOqI8oNEqgolq+1YQuc\n20JHmJI7rufaedPiHenjgVnVpm+BQmkSZ25NYDprtZ4MT/NUAdBtvXB6g3si\nmnihKQzj4QpMhPqAkBlLSmnDWOPjJbxup7RNdbeh7VN5I4IQJceKWV7wzaNd\nzUn3inAl7Jow7/BzQ7ifBn3lwQ/fQB5NaCd1Fej6hxIx2ANNeVOfUgSmBDUG\nqRv0GiVzF1rEAhuAHxZiXuWabgMHhfaWKIB5fjmzzxbNFGRLcC6riH7nXF29\nCEo0z927NvNXu/yWnKhW32DJaAMjnAsG+w9Lm/Arq34Z9RQwOcIQSew8rHL7\n2zAcAOc3b+FSHCenuWqpedSRuUWm/1cb+2BXWV/NypQKEerjDHN6A7PTuWSk\nvUcNRiC8KUaJwJK/bJinrlJbhsSeiqtANQzPCuiuL4lhAcpr6z3vWSJx2mSE\ndhVx\r\n=6ZAs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFnmBq1mSJ8dOYjJjrbL4gnUl4Ab/ubCrEdcW8ZdrTu5AiEAq99QoUak3neaDXwHeCMhdLixF+g4oUuyXabykqeQEqo="}]},"_npmUser":{"name":"boxcc","email":"lmfmcbo@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strapi-plugin-preview-content_1.3.4_1644975008456_0.9903435826078295"},"_hasShrinkwrap":false},"1.3.5":{"name":"@boxcc/strapi-plugin-preview-content","version":"1.3.5","description":"Preview your content with custom URL.","main":"admin/main/index.js","strapi":{"name":"Preview Content","icon":"link","description":"Preview your content with custom URL."},"repository":{"type":"git","url":"https://github.com/danestves/strapi-plugin-preview-content.git"},"scripts":{"build":"tsc","prepublishOnly":"yarn build","release:major":"changelog -M && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version major && git push origin && git push origin --tags","release:minor":"changelog -m && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version minor && git push origin && git push origin --tags","release:patch":"changelog -p && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version patch && git push origin && git push origin --tags"},"dependencies":{"strapi-helper-plugin":"^3.6.3","strapi-utils":"^3.6.3"},"author":{"name":"Daniel Esteves","email":"estevesd8@gmail.com","url":"https://danestves.com"},"maintainers":[{"name":"boxcc","email":"lmfmcbo@gmail.com"}],"engines":{"node":">=10.16.0 <=14.x.x","npm":">=6.0.0"},"license":"MIT","devDependencies":{"@types/koa":"^2.13.3","@types/lodash":"^4.14.170","@types/node":"^15.6.2","generate-changelog":"^1.8.0","typescript":"^4.3.2"},"licenseText":"Copyright (c) 2020 Daniel Esteves &amp; Strapi Solutions.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"@boxcc/strapi-plugin-preview-content@1.3.5","dist":{"shasum":"13b6e84eb0f29fcb08ae991a041458885c71edae","integrity":"sha512-o6ygaLJsP1B4/xjQu8ZQt/bW4bco3AhaLF6j6KODbyWhBrcxRJQuwNJxi8vkzIg4khqDcQuipcxtvZ7oHgiFBg==","tarball":"https://registry.npmjs.org/@boxcc/strapi-plugin-preview-content/-/strapi-plugin-preview-content-1.3.5.tgz","fileCount":146,"unpackedSize":168994,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiDFZbCRA9TVsSAnZWagAA55wP/RXp4tqJw+p7CvkEyDpo\nPoJAPheC2hjTaMtzCRwIFS4Kx3SS1ZF8JdpHFKjaUK5btqy7pD8AfsYtvuDM\nR9yRLaJbsj+pvJKHBi+smtiu0hTDia01p1m9Mk+HpFPzhUHRszSynpzp3QCk\nsjmnIcRkPewVFL2oycTmS5KAKRpb0JMkMj35pr72mQclpAyCTfGrrH/bqkWg\nXj6VTXB0HA1rIxCYa6Spfi3+nljbig46MIyU7epUxOl8j33MK8JlxlBYVjS7\nJIC5BF9AyQEzxO5lRhR11TuIgxB46xnPJ5h/tuBMQxrS1JCfoNIhiBFh+5vg\nrtiXUGiT6GRGp/pfS7+kBNUqhJyIVi6xrioMeOYYMCo6OQYFN/NkhbFaGOzx\njqHRoAYOwgckfFrQ7QcTODfk3btcU1BMnoZDpqSUxBDDz2BuRrOq79Ljea9+\nijF7V3qNKOvPxcsCEEzkZToaZrTg0ZXlGWvMV9qKGoTxo0lo2nc8jkimEDt8\n5QWtP0asD/Cl6u2Bp3+rm+VOZ1EuCZTfv1IZcBx57G2cHmtFWcpEeCsDLkc2\n27Zm17lsulgiDyqAFu2gef1Xq6Hu1K3uSzVDVyV4WbADiCuosgm7xlxwyRM1\ng9BO1coLxik7jaR8LaZapXFEYkUHKJzFsURCtd9MhbeAbAT+BXXXiQa05qvG\njxlQ\r\n=a7hE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGjLFuPYAsrr3kFww2/LXPEd30ZqgB5u4IifQApwDm8NAiAmZ+cgMX+FCeO4syRwfLObeLWwdK3zE7npKEpD9ZYr9g=="}]},"_npmUser":{"name":"boxcc","email":"lmfmcbo@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strapi-plugin-preview-content_1.3.5_1644975707451_0.38257913496982754"},"_hasShrinkwrap":false}},"time":{"created":"2022-02-15T10:30:04.356Z","1.3.2":"2022-02-15T10:30:04.561Z","modified":"2022-04-04T20:17:47.446Z","1.3.3":"2022-02-15T10:35:04.702Z","1.3.4":"2022-02-16T01:30:08.644Z","1.3.5":"2022-02-16T01:41:47.631Z"},"maintainers":[{"name":"boxcc","email":"lmfmcbo@gmail.com"}],"description":"Preview your content with custom URL.","repository":{"type":"git","url":"https://github.com/danestves/strapi-plugin-preview-content.git"},"author":{"name":"Daniel Esteves","email":"estevesd8@gmail.com","url":"https://danestves.com"},"license":"MIT","readme":"## Strapi - Preview Content Plugin\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\n[![All Contributors](https://img.shields.io/badge/all_contributors-3-orange.svg?style=flat-square)](#contributors-)\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\n\n<p align=\"center\">\n  <a href=\"https://www.npmjs.org/package/strapi-plugin-preview-content\">\n    <img src=\"https://img.shields.io/npm/v/strapi-plugin-preview-content/latest.svg\" alt=\"NPM Version\" />\n  </a>\n  <a href=\"https://www.npmjs.org/package/strapi-plugin-preview-content\">\n    <img src=\"https://img.shields.io/npm/dm/strapi-plugin-preview-content.svg\" alt=\"Monthly download on NPM\" />\n  </a>\n</p>\n\n> **This plugin has been inspired by [VirtusLab](https://github.com/VirtusLab/) - [strapi-molecules/strapi-plugin-preview](https://github.com/VirtusLab/strapi-molecules/tree/master/packages/strapi-plugin-preview)**\n\nA plugin for [Strapi Headless CMS](https://github.com/strapi/strapi) that provides content preview to integrate with any frontend:\n\nThis is what the plugin looks like when editing content:\n\n<img src=\"https://github.com/danestves/strapi-plugin-preview-content/blob/main/public/assets/example1.png?raw=true\" alt=\"Example of buttons in edit Content Type\" />\n\nThis is what the plugin looks like when we are in list view:\n\n<img src=\"https://github.com/danestves/strapi-plugin-preview-content/blob/main/public/assets/example2.png?raw=true\" alt=\"Example of buttons in list view\" />\n\n### 🖐 Requirements\n\nComplete installation requirements are exact same as for Strapi itself and can be found in the documentation under <a href=\"https://strapi.io/documentation/developer-docs/latest/setup-deployment-guides/installation/cli.html#step-1-make-sure-requirements-are-met\">Installation Requirements</a>.\n\n**Supported Strapi versions**:\n\n- Strapi v3.6.x only version v1.0.0\n- Strapi v3.4.x only version v0.2.76\n\n**We recommend always using the latest version of Strapi to start your new projects**.\n\n### ⏳ Installation\n\n```bash\n# npm\nnpm install strapi-plugin-preview-content\n\n# yarn\nyarn add strapi-plugin-preview-content\n```\n\n### 📁 Copy required files\n\nInside `strapi-files` we have a list of folders with the Strapi version, enter to the version that correspond with your installation, and you will see this files\n\n<img src=\"https://github.com/danestves/strapi-plugin-preview-content/blob/main/public/assets/folder.png?raw=true\" alt=\"Example of buttons in list view\" />\n\nCopy the folder named `content-manager` inside your `<project-root>/extensions` folder\n\n### 👍 Active content type as previewable\n\nTo enable content type to be previewable and see preview, or clone entry, you've to add option previewable to true in a configuration json file (`*.settings.json`):\n\n```diff\n{\n  \"pluginOptions\": {\n+    \"preview-content\": {\n+      \"previewable\": true\n+    }\n  }\n}\n```\n\n### 🚀 Run your project\n\nAfter successful installation you've to build a fresh package that includes plugin UI. To archive that simply use:\n\n```bash\n# npm\nnpm run build && npm run develop\n\n# yarn\nyarn build && yarn develop\n```\n\n### ✏️ Usage\n\nGo to Settings > Preview Content\n\n<img src=\"https://github.com/danestves/strapi-plugin-preview-content/blob/main/public/assets/settings.png?raw=true\" alt=\"Preview Content Settings\" />\n\n#### Base url\n\nHere you can configure the base url of your frontend. This is a seperate field because it will be different depending on whether your project is running locally (e.g. `http://localhost:3000`) oder in production (e.g. `https://your-site.com`).\n\n#### Default preview url\n\nThis is the default preview url the plugin uses for when your content type doesn't have its own url defined. For the default preview url there are three parameters provided by this plugin:\n\n| Parameter       | Description                       |\n|-----------------|-----------------------------------|\n| `:baseUrl`      | See section above for explanation |\n| `:contentType`  | The content type to query         |\n| `:id`           | The id of content to query        | \n\nFor example in NextJS you can make use of [serverless functions](https://nextjs.org/docs/api-routes/introduction) to make an URL like this:\n\n`:baseUrl/api/preview/:contentType/:id`\n\nWith your base url being `http://localhost:3000`, for example.\n\nAnd put the logic there to render content.\n\n#### Custom preview url\n\nYou can also provide a custom url per content type in its `*.settings.json`. To do so, add this line to its options:\n\n```diff\n{\n  \"pluginOptions\": {\n    \"preview-content\": {\n      \"previewable\": true,\n+      \"url\": \":baseUrl/your-path/:contentType/:id?a-custom-param=true\"\n    }\n  }\n}\n```\n\nHere you can see how the base url comes in handy: You cannot change the model in production, but you can change the base url in the settings.\n\n#### Adding data to the url\n\nTo tell the plugin to allow injection of an entry's data add the following to your model's `*.settings.json`:\n\n```diff\n{\n  \"pluginOptions\": {\n    \"preview-content\": {\n      \"previewable\": true,\n+      \"url\": \":baseUrl/your-path/:contentType/<%= slug %>?a-custom-param=<%= title %>\",\n+      \"usesValuesInUrl\": true\n    }\n  }\n}\n```\n\nThe plugin will now replace `<%= slug %>` and `<%= title %>` with the correct values. What you put in the brackets (`<%=` `%>`) has to be a name of the an attribute.\nThe syntax used here is [lodash's template syntax](https://lodash.com/docs/4.17.15#template).\n\n### ✨ Features\n\n### 🛠 API\n\nThere are some functions that make all of this posible\n\n| function        | route                           | method | description                                                   | notes                                                                          |\n| --------------- | ------------------------------- | ------ | ------------------------------------------------------------- | ------------------------------------------------------------------------------ |\n| `isPreviewable` | `/is-previewable/:contentType`  | `GET`  | Get if preview services is active in the current current type |                                                                                |\n| `findOne`       | `/:contentType/:id`             | `GET`  | Find a content type by id                                     | You may want to active this route as public to make request from your frontend |\n| `getPreviewUrl` | `/preview-url/:contentType/:id` | `GET`  | Get preview url of content type                               |                                                                                |\n\n## Contributing\n\nFeel free to fork and make a Pull Request to this plugin project. All the input is warmly welcome! To learn how, head [here](/CONTRIBUTING.md).\n\n## Community support\n\nFor general help using Strapi, please refer to [the official Strapi documentation](https://strapi.io/documentation/). For additional help, you can use one of these channels to ask a question:\n\n- [Slack](http://slack.strapi.io) We're present on official Strapi slack workspace. Look for @danestves and DM.\n- [GitHub](https://github.com/danestves/strapi-plugin-preview-content/issues) (Bug reports, Contributions, Questions and Discussions)\n\n## License\n\n[MIT License](LICENSE.md) Copyright (c) 2020 [Daniel Esteves](https://danestves.com/) &amp; [Strapi Solutions](https://strapi.io/).\n\n## Contributors ✨\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/polcode-dzielonka\"><img src=\"https://avatars.githubusercontent.com/u/70939074?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>polcode-dzielonka</b></sub></a><br /><a href=\"https://github.com/danestves/strapi-plugin-preview-content/commits?author=polcode-dzielonka\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/pr0gr8mm3r\"><img src=\"https://avatars.githubusercontent.com/u/37022952?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>p_0g_8mm3_</b></sub></a><br /><a href=\"https://github.com/danestves/strapi-plugin-preview-content/commits?author=pr0gr8mm3r\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://ahmedrafik.me\"><img src=\"https://avatars.githubusercontent.com/u/25823409?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Ahmed Rafik Ibrahim</b></sub></a><br /><a href=\"https://github.com/danestves/strapi-plugin-preview-content/commits?author=armaaar\" title=\"Code\">💻</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n","readmeFilename":"README.md"}