{"_id":"@bbcstudios/select-movida-queries","_rev":"3-7a1f5178203f654bd8d06eebf9a59dd1","name":"@bbcstudios/select-movida-queries","dist-tags":{"latest":"1.2.0"},"versions":{"1.1.0":{"name":"@bbcstudios/select-movida-queries","version":"1.1.0","author":{"name":"BBC Studios Syndication Team"},"license":"ISC","_id":"@bbcstudios/select-movida-queries@1.1.0","maintainers":[{"name":"mephillips","email":"marian.phillips@bbc.com"},{"name":"gigabates","email":"hello@grahambates.com"}],"homepage":"https://bitbucket.org/bbcworldwide/select-movida-queries#readme","bugs":{"url":"https://bitbucket.org/bbcworldwide/select-movida-queries/issues"},"dist":{"shasum":"021a9d998a5fb854304854e03b7050ac1e9bf826","tarball":"https://registry.npmjs.org/@bbcstudios/select-movida-queries/-/select-movida-queries-1.1.0.tgz","fileCount":7,"integrity":"sha512-7peT7fDDSl5ffhyUTArk6XUvtXT9fqtybn4Gw2ND+3bfl2oxgrCNJDiyON0WeSV3+OkA7znNumeWX55LL7zWTw==","signatures":[{"sig":"MEUCIQDdYApwldUETzc45jhJTyRe25+lmngy+OkIxW8UYS2c+gIgdzxSQC+b2b4EziLeVLJkM96PfkG2L+F22JJMm5epnj4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6297},"main":"dist/src/index.js","gitHead":"73ab615f6c19fbd0363209967a51ebe62df75634","scripts":{"lint":"eslint . --ext .ts","test":"mocha tests/**/*.spec.ts  --timeout 60000","build":"tsc -p . --declaration","check":"npm run lint && npm run type-check && npm run test","watch":"npm run build -- --watch","lint-fix":"eslint . --ext .ts --fix","type-check":"npm run build -- --noEmit"},"_npmUser":{"name":"mephillips","email":"marian.phillips@bbc.com"},"repository":{"url":"git+ssh://git@bitbucket.org/bbcworldwide/select-movida-queries.git","type":"git"},"_npmVersion":"6.14.18","description":"Module to make specific queries to Movida API regarding BBC Select products","directories":{},"_nodeVersion":"14.21.3","dependencies":{"dotenv":"^16.3.1","@bbcstudios/movida-client":"^2.2.1"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2","sinon":"^9.0.0","eslint":"^8.14.0","ts-node":"^10.9.1","prettier":"^2.6.2","sinon-chai":"^3.5.0","typescript":"^4.9.5","@types/chai":"^4.3.5","@types/node":"^18.15.5","@types/mocha":"^10.0.1","@types/sinon":"^10.0.15","@types/lodash":"^4.14.182","@types/sinon-chai":"^3.2.9","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","@typescript-eslint/parser":"^5.22.0","@typescript-eslint/eslint-plugin":"^5.22.0"},"_npmOperationalInternal":{"tmp":"tmp/select-movida-queries_1.1.0_1690465364841_0.7100356540246846","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@bbcstudios/select-movida-queries","version":"1.2.0","author":{"name":"BBC Studios Syndication Team"},"license":"ISC","_id":"@bbcstudios/select-movida-queries@1.2.0","maintainers":[{"name":"mephillips","email":"marian.phillips@bbc.com"},{"name":"gigabates","email":"hello@grahambates.com"}],"homepage":"https://bitbucket.org/bbcworldwide/select-movida-queries#readme","bugs":{"url":"https://bitbucket.org/bbcworldwide/select-movida-queries/issues"},"dist":{"shasum":"5e775fa9ddbc02f256c55035f2e368875cce11a1","tarball":"https://registry.npmjs.org/@bbcstudios/select-movida-queries/-/select-movida-queries-1.2.0.tgz","fileCount":7,"integrity":"sha512-gQsf+ZhFMo0jraeRY3k8BDHkyPVe1/1CXxo6yOjAPkWoqfL2iidcNe4pNBz14+Kqv7RLP8DBmfioyvgKtCy7SA==","signatures":[{"sig":"MEUCIFF961SxbCx4oNKUGwyN3ZRGoxAyZHXHEHocaXBVrafnAiEA7C23yg7gFaa6QRP7ghQBZuUqL9vedfcyk2OwZhbnDp8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6520},"main":"dist/src/index.js","gitHead":"507b2443ddd58a212962fd2841928b9e67645e0e","scripts":{"lint":"eslint . --ext .ts","test":"mocha tests/**/*.spec.ts  --timeout 60000","build":"tsc -p . --declaration","check":"npm run lint && npm run type-check && npm run test","watch":"npm run build -- --watch","lint-fix":"eslint . --ext .ts --fix","type-check":"npm run build -- --noEmit"},"_npmUser":{"name":"mephillips","email":"marian.phillips@bbc.com"},"repository":{"url":"git+ssh://git@bitbucket.org/bbcworldwide/select-movida-queries.git","type":"git"},"_npmVersion":"6.14.18","description":"Module to make specific queries to Movida API regarding BBC Select products","directories":{},"_nodeVersion":"14.21.3","dependencies":{"dotenv":"^16.3.1","@bbcstudios/movida-client":"^2.2.1"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2","sinon":"^9.0.0","eslint":"^8.14.0","ts-node":"^10.9.1","prettier":"^2.6.2","sinon-chai":"^3.5.0","typescript":"^4.9.5","@types/chai":"^4.3.5","@types/node":"^18.15.5","@types/mocha":"^10.0.1","@types/sinon":"^10.0.15","@types/lodash":"^4.14.182","@types/sinon-chai":"^3.2.9","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","@typescript-eslint/parser":"^5.22.0","@typescript-eslint/eslint-plugin":"^5.22.0"},"_npmOperationalInternal":{"tmp":"tmp/select-movida-queries_1.2.0_1692704604434_0.10617632587422876","host":"s3://npm-registry-packages"}}},"time":{"created":"2023-07-27T13:42:44.791Z","modified":"2025-10-07T09:34:30.732Z","1.1.0":"2023-07-27T13:42:45.009Z","1.2.0":"2023-08-22T11:43:24.636Z"},"bugs":{"url":"https://bitbucket.org/bbcworldwide/select-movida-queries/issues"},"author":{"name":"BBC Studios Syndication Team"},"license":"ISC","homepage":"https://bitbucket.org/bbcworldwide/select-movida-queries#readme","repository":{"url":"git+ssh://git@bitbucket.org/bbcworldwide/select-movida-queries.git","type":"git"},"description":"Module to make specific queries to Movida API regarding BBC Select products","maintainers":[{"email":"hello@grahambates.com","name":"gigabates"},{"email":"marian.phillips@bbc.com","name":"mephillips"},{"email":"leon@lscross.co.uk","name":"leoncross"}],"readme":"# select-movida-queries\n\n## Overview\n\nThis is a module to make specific queries to Movida API for BBC Studios Syndication. Currently, the project holds only one class/query (in FeatureTrailerChecker). However, the intention is to add further specific Movida queries in the future if required.\n\nFeatureTrailerChecker contains the 'check' method. This will take the parameter of a Movida title id for a promo and verifies whether it is linked to an Amazon Feature. The method returns a boolean value as well as a titles id if the trailer is linked to an Amazon Feature. This check has to be used many times across the syndication pipeline and thus has been put in this separate module.  \n\n## Development\n\nTo be able to work on this module in development, first run the following commands on your CLI:\n\n```\nnvm use 14\n```\n\n```\nnpm install\n```\n\nThen check all tests are working as expected: \n```\nnpm test\n```\n\n## Installation\n\n```\nnpm install @bbcstudios/select-movida-queries\n```\n\n## Dependencies\n\nThis module uses movida-client to make queries to Movida API. ","readmeFilename":"README.md"}