{"_id":"@arc-core-components/content-source_author-api-v4","_rev":"17-5007482bec6c4b8d7fff4383274e56b8","time":{"0.1.0-beta.1":"2018-11-09T23:40:43.959Z","created":"2018-11-09T23:42:38.691Z","0.1.0-beta.2":"2018-11-09T23:42:39.053Z","modified":"2022-09-26T12:46:43.767Z","0.1.0-beta.3":"2018-11-17T00:35:18.135Z"},"name":"@arc-core-components/content-source_author-api-v4","dist-tags":{"beta":"0.1.0-beta.3","latest":"0.1.0-beta.2"},"versions":{"0.1.0-beta.2":{"name":"@arc-core-components/content-source_author-api-v4","version":"0.1.0-beta.2","description":"Content source rendering a single author from the Author API","main":"build/index.js","scripts":{"start":"webpack --watch","build":"webpack","test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"ISC","devDependencies":{"@babel/core":"^7.1.2","@babel/preset-env":"^7.1.0","@babel/preset-react":"^7.0.0","babel-loader":"^8.0.4","react":"^16.5.2","webpack":"^4.20.2","webpack-cli":"^3.1.0"},"gitHead":"c8e07fdcd8469b055298e648fd7dc87646f77e78","_id":"@arc-core-components/content-source_author-api-v4@0.1.0-beta.2","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},"dist":{"integrity":"sha512-odp6EKIow8XUmigHEY3RZtct6FPF64X1JDf35OfE4Icx56Wjlw98RpzBOR/MVDdQVrqi0x7OnBCZOni6HmuwjQ==","shasum":"1ae3a82912816e36a3ef7cd215e527cde81f3870","tarball":"https://registry.npmjs.org/@arc-core-components/content-source_author-api-v4/-/content-source_author-api-v4-0.1.0-beta.2.tgz","fileCount":5,"unpackedSize":4513,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5htvCRA9TVsSAnZWagAAqqcP/1PCr3ACOKkDDnvJS3Jb\n+aWn1R3SpibAweTqOIjfjLHgTfzgKcb6vRLm8NnZrHJUbBEJb0054hQTVRo4\nz8zkbgaNv5sLd2lE3ddXz1QYbv78FYRNKttor3NMOrQedEFvWW8wukof0aeV\ny32kBs27NQDrMQYxPc1cEoq6fezPw7fWCSZX+Yj8Nc5gxc994XSc4YDI0Uc5\nseIBEZQj+35QpR7KfmGfl8JRdsceBDqWKlMDWR46D92yMsEyg2BO3KfNggGD\nrPWKhNtCEpvMGpWeFURX1utSttc7A9OGm46HJWQ3pWPuAl9T1LIyCACjOxiY\nGDr1zW1vxFJugy7bGXrxPSsRWIn0LXfo9L2FImrAiN/KNtqzzohyy5b/aWAv\noOeBO5tmSn8iWGr6OfUNIoJRTVB32skf/nyRK2OnYEtCV61QaXlDmfpj6Okh\n1bI71/bCzL2zjr9thso5izxEPjKS0Hhm/nNLbEZ5K7C5n6pKvBlZa6Jkzc+O\nCYHCB895suNBXb4ZN/+mjv7GdF5TN7fcrvs59Foy9PZHa4yPF+wwrgXUjKV2\nCOcPGQvLakqoKeXe5Dh7z5CYdrryascc6PlI7zRnPiBljB/ov+trH15X0uON\nnlc3k3Crp3dXetgBhY4tY2hxFU09jr6wpNM5ZKweLLZF+0IwEcmnn/Ho0V3W\nB36n\r\n=pAZM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIArM7d9+EU5uThzUF6Uq9mFhELppw08AYISAuBAXozXaAiA3i8uB829pQYNvGGxObIxKIxtPJ9pcJTZNMk8gn6WI4A=="}]},"maintainers":[{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"bear.bibeault","email":"bear.bibeault@gmail.com"},{"name":"danielkim1","email":"danielkim1@protonmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"foxdoubt","email":"danielwdewald@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"yonm","email":"ymaalo@protonmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/content-source_author-api-v4_0.1.0-beta.2_1541806958861_0.9360795683421173"},"_hasShrinkwrap":false},"0.1.0-beta.3":{"name":"@arc-core-components/content-source_author-api-v4","version":"0.1.0-beta.3","description":"Content source rendering a single author from the Author API","main":"build/index.js","scripts":{"dev":"microbundle --watch","build":"microbundle","lint":"xo --fix","test":"jest --coverage","pre-release":"npm run build && npm publish --tag beta","release":"npm run build && npm publish"},"author":{"name":"Matt Nelson"},"license":"ISC","devDependencies":{"@babel/core":"^7.1.6","@babel/preset-env":"^7.1.6","babel-core":"^7.0.0-bridge.0","eslint-config-airbnb-base":"^13.1.0","eslint-plugin-jest":"^22.0.0","husky":"^1.1.4","jest":"^23.6.0","microbundle":"^0.7.0","xo":"^0.23.0"},"husky":{"hooks":{"pre-push":"npm test && npm run lint","pre-commit":"npm test && npm run lint"}},"babel":{"presets":["@babel/preset-env"]},"xo":{"extends":["airbnb-base","plugin:jest/recommended"],"envs":["browser","commonjs","es6","node"],"rules":{"arrow-body-style":["error","always"],"import/no-extraneous-dependencies":["error",{"devDependencies":true}],"unicorn/filename-case":"off"}},"jest":{"coverageThreshold":{"global":{"branches":100,"functions":100,"lines":100,"statements":100}}},"readme":"# Content Source: Author API v4 endpoint\n\nThis the Arc Core Component representing a content source that hooks into the Author API portion of the Arc Suite.\n\nThe most important part is the pattern, which defines the endpoint that PageBuilder Fusion uses to look up content.\n\nThis Core Component takes advantage of PageBuilder Fusion's ability to use CONTENT_BASE to define the credentials for an Author API, ensuring that no private secrets are exposed.\n\nThis content source should be used with the content-schema_author-v4 core component.\n\n## Pattern:\n\n`/author/v1/?slug=${slug}`\n\n## Parameters:\n\nThis content source takes one parameter: a slug, typically the author's first and last name attached by a dash. Example: `ben-bradlee`. \n\n## Getting started\n\nThis Core Component must be used within a Fusion project.\n\n1. Add this schema as a dependency of the repo.\n  `npm install @arc-core-components/content-source_author-api-v4`\n1. Create a file of your desired content source name within the `/content/sources` folder. For this content source, the suggested name is `author-api-v4.js`\n  1. This is the name you should use when referencing this content source in any content config within a custom field.\n1. Paste the following into `author-api-v4.js`:\n  ```\n    import source from '@arc-core-components/content-source_author-api-v4'\n\n    export default source\n  ```\n\n## What does this content source return?\n\nThis will return a JSON object representing a single author from the Author API. It can be used to provide global content to an Author page, useful for rendering features that display information about the author.","readmeFilename":"README.md","gitHead":"2478ffa877b2f4afbe04a00049dc1d8d37c7ffe4","_id":"@arc-core-components/content-source_author-api-v4@0.1.0-beta.3","_npmVersion":"6.4.1","_nodeVersion":"11.0.0","_npmUser":{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},"dist":{"integrity":"sha512-uhpCxWCynwza4l/u0wVI98wTUcB+unJoUACtvdhz5PbnxxPVYvHNw5tF+G/WlY+VMMUVKj5+KMbuN/i37LFCmg==","shasum":"72df65dbc28df424037e2d5313e2ecf5b88ca8e0","tarball":"https://registry.npmjs.org/@arc-core-components/content-source_author-api-v4/-/content-source_author-api-v4-0.1.0-beta.3.tgz","fileCount":10,"unpackedSize":6252,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb72JGCRA9TVsSAnZWagAAafcP+wTwecZp0QsV3gA8VR+w\nJ2+zYTHeyAh3XnX/UXqr6qaTidrJPg7tgXw4HLyPMmmfe4I3Hmu9KuZSKkXx\nTts350c4vC2Bx3YSKti1/KjLbOggYP/09OfF5oIKrbD0vuwqH5dFnYG0tRZs\ngMe+z5eJIi2RwXmp170bRTz2iSxa9PQA1JmMEnC1KZYlm+aypItHKa84wI/7\nWC7KL6T8AucIjbyEZAWm1ygfGTFrNpjuOQM02pYiLUtBrIXZOj0RmDsL+DF9\nWfOnmjw/nMKu7OX/LxXcWTTB5o9if3y48e5ZrNF/DtZhcDVRs+gy1gxUuJV0\nLEoiZFmw/qbdV+0Jn6xH5QBTz0OGuxCDvlSX11RfVIVT6I9UqsQTZWO/mhm3\nLzTIqx3RF84ld80oDX32oPdlbq/8Ag7hdQI+5N0ddGapBiSrMzeffQV7TkC8\ndQcWQbt4pDrWXIxddjUTWIsc+sAY23uoeYGJH/aOML3Z7fCGTmtCsWXNqIwJ\nC+gDmJmTWUiLYwrHgC33e8f2dAzDDVgPdcC16kANEnT/aBOSWMZ1eRygewUU\ni4o/+lTbmHd3ZWYdwe9iLC6P4bql0watRBD3kQ3UcGnJ7x/K8Wd7eDLkT6Aa\n22o0Kn2LAczJsSdlDvsL0TQ5ooW4un8D3m8/rkD9NXFxag2djJr7Hgy4I8BN\nZawQ\r\n=QSiK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA/RflzF0q2E1XmQipXeDy4Zofdorrhikp4DZ+CrjVgsAiEAkp1idm6e03mrGQW999MukwDos85oSz+oPVRWhDAPMFc="}]},"maintainers":[{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"bear.bibeault","email":"bear.bibeault@gmail.com"},{"name":"danielkim1","email":"danielkim1@protonmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"foxdoubt","email":"danielwdewald@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"yonm","email":"ymaalo@protonmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/content-source_author-api-v4_0.1.0-beta.3_1542414917980_0.583460038698884"},"_hasShrinkwrap":false}},"maintainers":[{"email":"maddoxnelson@gmail.com","name":"maddoxnelson"},{"email":"amyerz@gmail.com","name":"amyerz"},{"email":"danielkim1@protonmail.com","name":"danielkim1"},{"email":"jadendreamer13@gmail.com","name":"design1online"},{"email":"julie.bacon@washpost.com","name":"juliebacon"},{"email":"ymaalo@protonmail.com","name":"yonm"},{"email":"danweaver06@gmail.com","name":"dan-weaver"},{"email":"imaus10@gmail.com","name":"imaus10"},{"email":"w@wyatt.page","name":"wyattjohnston"},{"email":"wbcook007@gmail.com","name":"npmwbcook"},{"email":"victor.cojocaru@washpost.com","name":"npmcojocaruv"},{"email":"robin.giannattasio@washpost.com","name":"robin.giannattasio"},{"email":"merwan.rodriguez@washpost.com","name":"arcsubs"},{"email":"cheng-hsin.weng@washpost.com","name":"chenghsinw"},{"email":"styonsk@gmail.com","name":"styonsk"}],"description":"Content source rendering a single author from the Author API","license":"ISC","readme":"","readmeFilename":""}