{"_id":"@byu-oit/admissions-report-class","_rev":"11-822d1810863d890fcd5b78365be83c74","name":"@byu-oit/admissions-report-class","dist-tags":{"latest":"0.0.4"},"versions":{"0.0.1":{"name":"@byu-oit/admissions-report-class","version":"0.0.1","author":{"name":"Brigham Young University - Office of Information Technology"},"license":"Apache-2.0","_id":"@byu-oit/admissions-report-class@0.0.1","maintainers":[{"name":"yoshutch","email":"scott_hutchings@byu.edu"},{"name":"lehinpm","email":"lehi_alcantara@byu.edu"},{"name":"oscea","email":"it@byu.edu"},{"name":"stuft2","email":"spencer.tuft@gmail.com"},{"name":"pauldeden","email":"byu-oit-npmjs@byu.edu"},{"name":"mhailstone","email":"matthew.hailstone@gmail.com"},{"name":"gi60s","email":"james.speirs@gmail.com"},{"name":"arasmus8","email":"arasmus8@gmail.com"},{"name":"garygsc","email":"garygsc@gmail.com"},{"name":"martingarn","email":"martin_garn@byu.edu"},{"name":"snelg","email":"github@snelg.com"},{"name":"mzroth","email":"mark_roth@byu.edu"},{"name":"byu-oit-bot","email":"npm-aaaaamoularhpuhbr2i4pnykyi@byu-oit.slack.com"}],"homepage":"https://github.com/byu-oit/admissions-report-class","bugs":{"url":"https://github.com/byu-oit/admissions-report-class/issues"},"dist":{"shasum":"f3ae06764e0d3d09dc192a81bd195748a9e09256","tarball":"https://registry.npmjs.org/@byu-oit/admissions-report-class/-/admissions-report-class-0.0.1.tgz","fileCount":4,"integrity":"sha512-w4XW4wR4+RK84lQ81KcwJ486bVNkaRGHd/nHibuByvXxLMdu9g5wZhMIGQ8Qb2ZgMfbHv6Grn54x8Gv++nLz/w==","signatures":[{"sig":"MEQCIAylrP7RnXnjV7DfAC5C7yZj2vhqSrwBPLqKlKT32AjrAiAQsa221XYl1yk4ZZB0KYJxbTti479gDEACmMtO3BfHGQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5670,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNNqEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqPJA/9HPUAcXe9/yLTFeXc7vpvpqH2fasl88p9IOaOJFrAQX4k2MdA\r\n/yakjoDMOS1U+6ma4qSBcH3XAplcSNqNl6VKsJOEsPdutNLskwS//QfSVBe1\r\nBa95cSzF0oV+selcMdB59H88Zz7vILGoFd+ZG19i5cspVB++9ERTDKHMTGwf\r\n3/WIimQfTtJVkrx68+u5dYha/AbplXdrBk95MwzllTUASzVnfVxmT6cxYA35\r\nFbKQh5INbHnJcJ5Re5LFXlBMRMwu2v0hw9OlvEWi61JF5O0A5ZFfn//TJsjX\r\nTOxwGB0VHTYscKpUD3p9oRoWG2XEDn4Iid+N/KbLTX82j/psgECJew0c1H+4\r\nBByqbHGOFSlIZeBH/Bg8+VwrynAEi9GGtrZ2nClTzLqHlGRgVgH3NFVBQY0T\r\nKkxw4xpUF1i1kxvwkQWGkyH2b0KVhVffWeEwMFXGBiTMJ4d/DtYp6GeLlP7k\r\nchqr6GxCIwMGq1tjTA1AXbOEMk8PB03ZwweEJOp12QKUv8JrRWjrf7UnwQek\r\nGfMJtDH4vzpCJzwuGETqzmzg3eNs+Zh+hBYNc9eXDkzK1DpwuOUDmNvVOGbp\r\nnlPKQWYaYpDH+hIRXYy29KOsRgxB7VVv+kaStKcKE+kJxYoOIXBkh+UDSXN9\r\nBxaW9JoakU5dKcP5I+AbFlKKuv7ppZSDvP8=\r\n=9nfH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"2036967eb573eea09c32528e46ba4ee88734b1be","scripts":{"lint":"npx standard","build":"rimraf dist types && tsc","lint:fix":"npx standard --fix"},"_npmUser":{"name":"byu-oit-bot","email":"npm-aaaaamoularhpuhbr2i4pnykyi@byu-oit.slack.com"},"repository":{"url":"git+https://github.com/byu-oit/admissions-report-class.git","type":"git"},"_npmVersion":"8.15.0","description":"Two class definitions used to help format the code in various report handlers","directories":{},"_nodeVersion":"16.17.0","dependencies":{},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/admissions-report-class_0.0.1_1664408195950_0.5149470907305451","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"@byu-oit/admissions-report-class","version":"0.0.2","author":{"name":"Brigham Young University - Office of Information Technology"},"license":"Apache-2.0","_id":"@byu-oit/admissions-report-class@0.0.2","maintainers":[{"name":"yoshutch","email":"scott_hutchings@byu.edu"},{"name":"lehinpm","email":"lehi_alcantara@byu.edu"},{"name":"oscea","email":"it@byu.edu"},{"name":"stuft2","email":"spencer.tuft@gmail.com"},{"name":"pauldeden","email":"byu-oit-npmjs@byu.edu"},{"name":"mhailstone","email":"matthew.hailstone@gmail.com"},{"name":"gi60s","email":"james.speirs@gmail.com"},{"name":"arasmus8","email":"arasmus8@gmail.com"},{"name":"garygsc","email":"garygsc@gmail.com"},{"name":"martingarn","email":"martin_garn@byu.edu"},{"name":"snelg","email":"github@snelg.com"},{"name":"mzroth","email":"mark_roth@byu.edu"},{"name":"byu-oit-bot","email":"npm-aaaaamoularhpuhbr2i4pnykyi@byu-oit.slack.com"}],"homepage":"https://github.com/byu-oit/admissions-report-class","bugs":{"url":"https://github.com/byu-oit/admissions-report-class/issues"},"dist":{"shasum":"b2b5ac5a43d60f869602939d6485179dd9d24880","tarball":"https://registry.npmjs.org/@byu-oit/admissions-report-class/-/admissions-report-class-0.0.2.tgz","fileCount":4,"integrity":"sha512-UuU0jv+ZfvVEfkWjZhPV3iJn79Paa5kPUZ8KafmjMiX7Lsv698CrYdsw/6DkVspihhkwJOXSDblU0OYyeoGenQ==","signatures":[{"sig":"MEUCIEECG+gfCuWtbRXwH3ToShMvak/fv5PdMS9f7aMImlS8AiEAxN9wMtHfsaj4AtCwwVc+a9yxfzZ0ZhYS1Tt/ZppsBR8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6123,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNiq4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmquoQ//X/PxoYTthsumuLQ6z+xoLI+jSR1Dt0y9OSZJmwc40+Fgsvb8\r\njJzU0f+j9ZCQzPR3KBKB7VcxSSczxpEUz7Mps8VGrxS1Q4UwPLypn7nW6Sbs\r\nMHdTnMjxgoXh1qcv/spXtazdXqQfOad36HMTpm2WWXfLmM4dSrjVx5bowxOj\r\n/tqtQo3vOVSjEs7H9+QFUaDCtMIjE+Y0lLfT+Hj+6mpRBYzvd9yoymC6G5rD\r\nNE+dRIk2wiLc49GWaCaSZmaUJs61tLi79qilMPrbf4L3hEj4LcDYExC4I0d0\r\n2b3SXLyUWPzOGHxqznxQhouHrPefVapvQdHR9clsfVXhORKGMXiDp8Riid5Z\r\nEfB08Dkq1BIZqw326sfzGrJMVQ8yzzcFKq1iMJsrmqgB4esdW12g+z91Iwyx\r\ngzVUEhXNYTxP/HiiflD+n+J0Z2jfcaMU5WwI7D+5bPlmXHw2SXItyq6ADrp7\r\n56cuNMDj9AOw7hMDBFr506ygWg1YoVSh9axJCJqY10WgJmmk/DoUo70rPHPc\r\nUTtxrSE4anJdAvc2escuBOUhAwMvO0emOF5QAhXLerGUgNWJn7hKM4fi3Jty\r\nr+jX0YBXl16jA4BlONX1CVOepOD5yziXSfy35wNo5Q+gFWYvbfIBnJ29HKN5\r\nIXYIG5UV5kx9XYkcutrQAGOsbBvyIanmRm8=\r\n=8NmP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"32de9fbb89bed1e60b8f440636b73970b8974219","scripts":{"lint":"npx standard","build":"rimraf dist types && tsc","lint:fix":"npx standard --fix"},"_npmUser":{"name":"byu-oit-bot","email":"npm-aaaaamoularhpuhbr2i4pnykyi@byu-oit.slack.com"},"repository":{"url":"git+https://github.com/byu-oit/admissions-report-class.git","type":"git"},"_npmVersion":"8.15.0","description":"Two class definitions used to help format the code in various report handlers","directories":{},"_nodeVersion":"16.17.0","dependencies":{},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/admissions-report-class_0.0.2_1664494264544_0.01002328293674748","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"@byu-oit/admissions-report-class","version":"0.0.3","author":{"name":"Brigham Young University - Office of Information Technology"},"license":"Apache-2.0","_id":"@byu-oit/admissions-report-class@0.0.3","maintainers":[{"name":"yoshutch","email":"scott_hutchings@byu.edu"},{"name":"lehinpm","email":"lehi_alcantara@byu.edu"},{"name":"oscea","email":"it@byu.edu"},{"name":"stuft2","email":"spencer.tuft@gmail.com"},{"name":"pauldeden","email":"byu-oit-npmjs@byu.edu"},{"name":"mhailstone","email":"matthew.hailstone@gmail.com"},{"name":"gi60s","email":"james.speirs@gmail.com"},{"name":"arasmus8","email":"arasmus8@gmail.com"},{"name":"garygsc","email":"garygsc@gmail.com"},{"name":"martingarn","email":"martin_garn@byu.edu"},{"name":"snelg","email":"github@snelg.com"},{"name":"mzroth","email":"mark_roth@byu.edu"},{"name":"byu-oit-bot","email":"byu-oit-npm@byu.edu"}],"homepage":"https://github.com/byu-oit/admissions-report-class","bugs":{"url":"https://github.com/byu-oit/admissions-report-class/issues"},"dist":{"shasum":"009d15a7233b606bb02c220a1ac06fef67258dc2","tarball":"https://registry.npmjs.org/@byu-oit/admissions-report-class/-/admissions-report-class-0.0.3.tgz","fileCount":4,"integrity":"sha512-ezK3zsjwv8XY3GT/7t1FpTD2sten624N3qkjUXJAZ4J7a4jn9M2MSlARvrsomkahwxJHiyh3Xsem0sEyiehsXA==","signatures":[{"sig":"MEYCIQCzhZvG5BTzH7kO/ABfAs1nD9WWuOppqdd2qrdUVdcMBgIhAO8r8vXNVIpxPE9pO0d5a4UfYJ5A8v3GmQX0eFJYoGM4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9344,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjarNiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoDkw/+OqNQz5ApIhHlNitgEb96lCveyrxKZRUiL2m3COxTu4o8A33j\r\nEqstlN4Oknz76EbpYodzz3PUy/+Et94OPbwAvr2J2Lf+a6u2suOmx0Lu3Kln\r\nWZFsjrk5JXP0LpQTrOadzrzILnClKaO3brsmpXRAYP4/TPlUQUGJOBFMjquZ\r\n21lE1iQVP4PiYV1e2FZWh1LHcIaBzNISZ++KYrUDx5bXdwiWBUWA2pJK5d0z\r\nQlluJyuc9RMk0usfYa6qpLPar48SXU9wmSBanM6Cku/gnAZLb7zcmRxLe5lH\r\nSN2SnoPumU3eDLF/hWp2enx1nA7BoWSmfe3Sz39OgZJZBSpTLq3eQlCVAvCk\r\n+KO1viJIH8FJTu+FDneqskHKN3LE4wkKo5tj76OXtp0ENJcGQAEzRsg5jwJp\r\namjdkMeF0hwh1bujVg9vSGmQs+LcoSPVoxXHuOdYoAqD78meq2v1VgkpteN7\r\n2bgPFp4QkvWeltROfsstyZF+EE94Ocb2ORza9JUAMh+IVPVncpA6GgWfLRq5\r\n9AXmIP+dFaO5n3WprnwWv8OVYY7CXmpyLEHFiVwbFJhqlAaxAhkPji3eDZrV\r\nTrZYe/PlvcTq+H50DYKk4fmHWMZBHeEfraBcDwzWbYwgabhvZz1CvqEcmUs1\r\n64ukJRrCP7lewGpeEE1alOtrb80F69Im9tA=\r\n=uFjJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"7089a600f4f6de501df95d09da57d0acc3573244","scripts":{"lint":"npx standard","lint:fix":"npx standard --fix"},"_npmUser":{"name":"byu-oit-bot","email":"byu-oit-npm@byu.edu"},"repository":{"url":"git+https://github.com/byu-oit/admissions-report-class.git","type":"git"},"_npmVersion":"8.19.2","description":"Two class definitions used to help format the code in various report handlers","directories":{},"_nodeVersion":"16.18.0","dependencies":{},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/admissions-report-class_0.0.3_1667937122106_0.20915563171581808","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"@byu-oit/admissions-report-class","version":"0.0.4","author":{"name":"Brigham Young University - Office of Information Technology"},"license":"Apache-2.0","_id":"@byu-oit/admissions-report-class@0.0.4","maintainers":[{"name":"yoshutch","email":"scott_hutchings@byu.edu"},{"name":"lehinpm","email":"lehi_alcantara@byu.edu"},{"name":"oscea","email":"it@byu.edu"},{"name":"stuft2","email":"stuft2@protonmail.com"},{"name":"pauldeden","email":"byu-oit-npmjs@byu.edu"},{"name":"mhailstone","email":"matthew.hailstone@gmail.com"},{"name":"gi60s","email":"james.speirs@gmail.com"},{"name":"arasmus8","email":"arasmus8@gmail.com"},{"name":"garygsc","email":"garygsc@gmail.com"},{"name":"martingarn","email":"martin_garn@byu.edu"},{"name":"snelg","email":"github@snelg.com"},{"name":"mzroth","email":"mark_roth@byu.edu"},{"name":"byu-oit-bot","email":"byu-oit-npm@byu.edu"}],"homepage":"https://github.com/byu-oit/admissions-report-class","bugs":{"url":"https://github.com/byu-oit/admissions-report-class/issues"},"dist":{"shasum":"ff6d6c6ed91556d2dcb784c102d9d9a680e03a9d","tarball":"https://registry.npmjs.org/@byu-oit/admissions-report-class/-/admissions-report-class-0.0.4.tgz","fileCount":4,"integrity":"sha512-HWh8p1hh7aClMYX1NGwYLUaE4rYSvqGU/9ibEZK5X9ubZcWv2vg9ZOYIH7k1lXbpHXh91bpdkY69ND0SxTxsbg==","signatures":[{"sig":"MEQCIDW9n7djjbw5YnvHnDq/lGJ3M7ROlA5166tUSlAU9GKyAiAiv2F8GpFdFj8CbK5YRbcJc3R2ibY6o7wmucg023bkPQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9346,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjoNn7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoQng/+I9z1fRulG63Hoe/FQakZQEWkNxyM3gojewYy5VfBcNhCFITf\r\noLfzwZb1bhgxrUn6dNmow0+nbR+0E4FCbwM5Nmof/uozOXcbsdt/07VN1o9d\r\nCPaBVNZhqU3Iq9qRgnZ82gFhBUNoepZydu/WlJWRnhRY34tpUc+Q/249aeTL\r\n2kmj2+TnkqLaHEPsWY2YII4vOrFgBNAqc0+is1Hnrqjp2vlX1CHPJhry20gB\r\niRDa+2sOpQs7NIu6NcbsDepQ3J/fGKfMJJbWvTVe05WjZZn+3+xjCqdyT6ze\r\nImCouLOUdnoMZk/wPj81f7w0XPe6XVV4oWmRo7shit8jfJa84bAX08Gxu2zL\r\nP/TQVdRqxDNv5phv3SpCfYZd7KGGYFmxqu+F5iJ2XH0/kvNNTTXnqoWT3mm5\r\nSOR/Q9H+JiUp7A/21sFY6lOIpV2aBdLroRvRz4FBppMwVYNbYPYDPzMTGCpB\r\n6FMf0LirCxy/SYJm5y3xmfQoZst78PTbYvE1bihAG12zUKb5U/C2ZERU+A8E\r\nQYLMUO/qq5blYeFU6UYw52QIpIt6Ebx+h2NLZdeyjgXsumGdhDTnZaDe0mVK\r\n4gqjSVg1ttJd83nmJ88DlKL1798KEn0ekHpByif5VyuZtFoFey4WdctD7DP4\r\n0LoO40PRtHCwmzOUOvOoyM1at9gf/YR+Y0E=\r\n=IgTb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"2135d21f613b424c45e8d5d83291efee227ed52d","scripts":{"lint":"npx standard","lint:fix":"npx standard --fix"},"_npmUser":{"name":"byu-oit-bot","email":"byu-oit-npm@byu.edu"},"repository":{"url":"git+https://github.com/byu-oit/admissions-report-class.git","type":"git"},"_npmVersion":"8.19.2","description":"Two class definitions used to help format the code in various report handlers","directories":{},"_nodeVersion":"16.18.1","dependencies":{},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/admissions-report-class_0.0.4_1671485947117_0.03577687342771507","host":"s3://npm-registry-packages"}}},"time":{"created":"2022-09-28T23:36:35.898Z","modified":"2026-07-06T18:16:26.610Z","0.0.1":"2022-09-28T23:36:36.122Z","0.0.2":"2022-09-29T23:31:04.761Z","0.0.3":"2022-11-08T19:52:02.298Z","0.0.4":"2022-12-19T21:39:07.263Z"},"bugs":{"url":"https://github.com/byu-oit/admissions-report-class/issues"},"author":{"name":"Brigham Young University - Office of Information Technology"},"license":"Apache-2.0","homepage":"https://github.com/byu-oit/admissions-report-class","repository":{"url":"git+https://github.com/byu-oit/admissions-report-class.git","type":"git"},"description":"Two class definitions used to help format the code in various report handlers","maintainers":[{"email":"scott_hutchings@byu.edu","name":"yoshutch"},{"email":"lehi_alcantara@byu.edu","name":"lehinpm"},{"email":"it@byu.edu","name":"oscea"},{"email":"stuft2@protonmail.com","name":"stuft2"},{"email":"matthew.hailstone@gmail.com","name":"mhailstone"},{"email":"arasmus8@gmail.com","name":"arasmus8"},{"email":"garygsc@gmail.com","name":"garygsc"},{"email":"github@snelg.com","name":"snelg"},{"email":"danielduraesm@gmail.com","name":"gholl0"},{"email":"developertools@byu.edu","name":"byu-oit-bot"},{"email":"micah.weatherhead@gmail.com","name":"mjweather"},{"email":"jvisker@byu.edu","name":"jvisker"}],"readme":"# @byu-oit/admissions-report-class\nTwo class definitions used to help format metadata in various report handlers\n\n## Installation\n\n```shell\nnpm install @byu-oit/admissions-report-class\n```\n\n## Usage\n```javascript\nconst { Report } = require('@byu-oit/admissions-report-class')\n// ...\nexports.getMetaData = () => {\n  return new Report('pathwayFieldSupportMissionaries')\n    .description('Field Support Missionaries Contacts')\n    .longDescription('Student contact information for field support missionaries.')\n    .category('reports')\n    .institutions('PW')\n    .contentTypes('text/csv')\n    .parameters('admitPeriod')\n    .column('Application ID', '/detail-new/:value', 'link_app')\n    .column('Pathway ID')\n    .column('First Name', '', 'sort')\n    .column('Surname', '', 'sort')\n    .column('Phone Number')\n    .column('Email Address')\n    .column('Applicant Type', '', 'sort', 'filter')\n    .column('Certificate Selected', '', 'sort', 'filter')\n    .column('Application Start Date', '', 'sort', 'timestamp')\n    .column('Application Submit Date', '', 'sort', 'timestamp')\n    .column('Application Complete Date', '', 'sort', 'timestamp')\n    .column('Admit Decision Date', '', 'sort', 'timestamp')\n    .column('Admit Decision Details', '', 'sort', 'filter')\n    .column('Application Status', '', 'sort', 'filter')\n    .column('Admit Period', '', 'sort', 'filter')\n    .column('Endorsement Status')\n    .column('Transcripts')\n    .column('Application Status Progress')\n    .toJSON() // needed in some cases\n}\n```\n\n## Notes\n- The return value for 'institutions' is variablized, and will only be returned in the JSON if\nthere is at least one value\n- In the member functions that accept a list of values, the `(...values)` syntax is used so\npass in elements one at a time as separate parameters and not as a list/array\n(e.g. `.institutions('PW', 'BYUH', 'BYUI')` not `.institutions(['PW', 'BYUH', 'BYUI'])`)\n- Columns in the report class, when transformed to JSON, will be auto assigned an ordinal value\nbased on the order they are added to the class. The first value will be 1, the second 2, etc.\n- Be careful to use the member functions that accept multiple parameters (e.g. contentTypes() instead of contentType()). \nThe former will accept multiple parameters, the latter will only accept one. If you try to add multiple parameters\nto a function that only accepts one, it won't throw an error, but it will only use the first parameter. which is\nprobably not what you want. You can pass only one parameter into a function that accepts multiple parameters with\nno problems, so it's safe to use the plural version of the function even if you only have one parameter to pass in.","readmeFilename":"README.md"}