{"_id":"@amalgamaco/api-entity-service","_rev":"1-854defdd279fda4c23b345fe79470104","name":"@amalgamaco/api-entity-service","dist-tags":{"latest":"1.3.4"},"versions":{"1.3.3":{"name":"@amalgamaco/api-entity-service","version":"1.3.3","description":"A set of services for handling the communication with a REST API and the creation of the local entities and their relations based on the API responses.","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","lint":"eslint src/ tests/","test":"NODE_ENV=test JEST_JUNIT_OUTPUT_DIR=reports TZ=UTC jest","prepare":"yarn build","prepublishOnly":"yarn test && yarn lint","preversion":"yarn lint","release":"release-it"},"repository":{"type":"git","url":"git+ssh://git@github.com/amalgamaco/api-entity-service.git"},"author":{"name":"Mauro E. Bender","email":"mauro@amalgama.co"},"license":"MIT","bugs":{"url":"https://github.com/amalgamaco/api-entity-service/issues"},"homepage":"https://github.com/amalgamaco/api-entity-service","publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"keywords":["api","entity service"],"devDependencies":{"@babel/cli":"^7.15.7","@babel/core":"^7.15.8","@babel/eslint-parser":"^7.15.8","@babel/preset-env":"^7.15.8","@types/jest":"^27.0.3","@types/lodash.set":"^4.3.7","@typescript-eslint/eslint-plugin":"^5.4.0","@typescript-eslint/parser":"^5.4.0","eslint":"^8.1.0","eslint-config-airbnb-base":"^14.2.1","eslint-import-resolver-typescript":"^2.5.0","eslint-plugin-import":"^2.25.3","eslint-plugin-jest":"^27.1.7","jest":"^27.3.1","jest-junit":"^13.0.0","release-it":"^14.13.1","ts-jest":"^27.0.7","typescript":"^4.5.2"},"jest":{"collectCoverage":true,"coverageDirectory":"<rootDir>/reports/coverage","coverageReporters":["json","lcov","text","html","text-summary","cobertura"],"reporters":["default","jest-junit"],"setupFiles":["<rootDir>/config/setupTests.js"],"testMatch":["<rootDir>/tests/**/?(*.)(spec|test).(js|ts)"],"transform":{"^.+\\.jsx?$":"babel-jest"},"preset":"ts-jest"},"release-it":{"git":{"tagName":"v${version}","requireCleanWorkingDir":false,"requireUpstream":true,"commitMessage":"Release v${version}","changelog":"npx auto-changelog --stdout --commit-limit false --unreleased --issue-url https://github.com/amalgamaco/api-entity-service/issues/{id} --merge-url https://github.com/amalgamaco/api-entity-service/pull/{id} --commit-url https://github.com/amalgamaco/api-entity-service/commit/{id} --template https://raw.githubusercontent.com/release-it/release-it/master/templates/changelog-compact.hbs"},"hooks":{"after:bump":"npx auto-changelog -p"},"github":{"release":true,"releaseName":"Release v${version}"},"npm":{"skipChecks":true}},"dependencies":{"lodash.set":"^4.3.2"},"gitHead":"4f4c2c7a52c8f8ab08f2a718cdbc937a49a53249","_id":"@amalgamaco/api-entity-service@1.3.3","_nodeVersion":"18.14.2","_npmVersion":"9.6.1","dist":{"integrity":"sha512-9AYBKkNOOOVyZ47hTFw4pFHqKdJCd39e14rRVBo/bClpfhVkJ6TbhJnZw9JxqSuMSN0C7d09lDswLwzbRTWnvQ==","shasum":"aa8da27fd3fe3c794689c3e65dbaf3e735ab882c","tarball":"https://registry.npmjs.org/@amalgamaco/api-entity-service/-/api-entity-service-1.3.3.tgz","fileCount":42,"unpackedSize":48293,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCHxulTs1T1RKR41j49mU3dSSwgimUiduhU7lVaNUaiJ4CIDLmLng1wUqu+ebQzuUXXSOEvNbT5f80kkeiyEa7J0ar"}]},"_npmUser":{"name":"sebakz","email":"sebastian.kissling@gmail.com"},"directories":{},"maintainers":[{"name":"sebakz","email":"sebastian.kissling@gmail.com"},{"name":"ezeaguerre","email":"ezeaguerre@gmail.com"},{"name":"damianh97","email":"damianhuaier@gmail.com"},{"name":"maurobender","email":"maurobender@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/api-entity-service_1.3.3_1685990883102_0.6461983715644128"},"_hasShrinkwrap":false},"1.3.4":{"name":"@amalgamaco/api-entity-service","version":"1.3.4","description":"A set of services for handling the communication with a REST API and the creation of the local entities and their relations based on the API responses.","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","lint":"eslint src/ tests/","test":"NODE_ENV=test JEST_JUNIT_OUTPUT_DIR=reports TZ=UTC jest","prepare":"yarn build","prepublishOnly":"yarn test && yarn lint","preversion":"yarn lint","release":"release-it"},"repository":{"type":"git","url":"git+ssh://git@github.com/amalgamaco/api-entity-service.git"},"author":{"name":"Mauro E. Bender","email":"mauro@amalgama.co"},"license":"MIT","bugs":{"url":"https://github.com/amalgamaco/api-entity-service/issues"},"homepage":"https://github.com/amalgamaco/api-entity-service","publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"keywords":["api","entity service"],"devDependencies":{"@babel/cli":"^7.15.7","@babel/core":"^7.15.8","@babel/eslint-parser":"^7.15.8","@babel/preset-env":"^7.15.8","@types/jest":"^27.0.3","@types/lodash.set":"^4.3.7","@typescript-eslint/eslint-plugin":"^5.4.0","@typescript-eslint/parser":"^5.4.0","eslint":"^8.1.0","eslint-config-airbnb-base":"^14.2.1","eslint-import-resolver-typescript":"^2.5.0","eslint-plugin-import":"^2.25.3","eslint-plugin-jest":"^27.1.7","jest":"^27.3.1","jest-junit":"^13.0.0","release-it":"^14.13.1","ts-jest":"^27.0.7","typescript":"^4.5.2"},"jest":{"collectCoverage":true,"coverageDirectory":"<rootDir>/reports/coverage","coverageReporters":["json","lcov","text","html","text-summary","cobertura"],"reporters":["default","jest-junit"],"setupFiles":["<rootDir>/config/setupTests.js"],"testMatch":["<rootDir>/tests/**/?(*.)(spec|test).(js|ts)"],"transform":{"^.+\\.jsx?$":"babel-jest"},"preset":"ts-jest"},"release-it":{"git":{"tagName":"v${version}","requireCleanWorkingDir":false,"requireUpstream":true,"commitMessage":"Release v${version}","changelog":"npx auto-changelog --stdout --commit-limit false --unreleased --issue-url https://github.com/amalgamaco/api-entity-service/issues/{id} --merge-url https://github.com/amalgamaco/api-entity-service/pull/{id} --commit-url https://github.com/amalgamaco/api-entity-service/commit/{id} --template https://raw.githubusercontent.com/release-it/release-it/master/templates/changelog-compact.hbs"},"hooks":{"after:bump":"npx auto-changelog -p"},"github":{"release":true,"releaseName":"Release v${version}"},"npm":{"skipChecks":true}},"dependencies":{"lodash.set":"^4.3.2"},"gitHead":"5e90d9d09c8b904df26fe377487e901b671ad6e3","_id":"@amalgamaco/api-entity-service@1.3.4","_nodeVersion":"18.14.2","_npmVersion":"9.6.1","dist":{"integrity":"sha512-Xiq5bo5Ejy06JGMMz398xh6SxIen83SkuPvnmmEwBmm60QClNGToxsBuTrmaaoJuca4mbYECtG0Pj7PHBMEAhg==","shasum":"c4b1d7ebcdb5286378257be1eb8b5f1baeec4676","tarball":"https://registry.npmjs.org/@amalgamaco/api-entity-service/-/api-entity-service-1.3.4.tgz","fileCount":42,"unpackedSize":48354,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFs0YUVxTeGx/EMZakiHkwN2HbSps8PugxbR1Jp5WkHkAiEA6YXx77ApZ4OTv3vjc7QFo7xOidlOoNAuJQOV1+q2aqE="}]},"_npmUser":{"name":"sebakz","email":"sebastian.kissling@gmail.com"},"directories":{},"maintainers":[{"name":"sebakz","email":"sebastian.kissling@gmail.com"},{"name":"ezeaguerre","email":"ezeaguerre@gmail.com"},{"name":"damianh97","email":"damianhuaier@gmail.com"},{"name":"maurobender","email":"maurobender@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/api-entity-service_1.3.4_1686069754187_0.28881379165239607"},"_hasShrinkwrap":false}},"time":{"created":"2023-06-05T18:48:02.956Z","1.3.3":"2023-06-05T18:48:03.376Z","modified":"2023-06-06T16:42:34.509Z","1.3.4":"2023-06-06T16:42:34.391Z"},"maintainers":[{"name":"sebakz","email":"sebastian.kissling@gmail.com"},{"name":"ezeaguerre","email":"ezeaguerre@gmail.com"},{"name":"damianh97","email":"damianhuaier@gmail.com"},{"name":"maurobender","email":"maurobender@gmail.com"}],"description":"A set of services for handling the communication with a REST API and the creation of the local entities and their relations based on the API responses.","homepage":"https://github.com/amalgamaco/api-entity-service","keywords":["api","entity service"],"repository":{"type":"git","url":"git+ssh://git@github.com/amalgamaco/api-entity-service.git"},"author":{"name":"Mauro E. Bender","email":"mauro@amalgama.co"},"bugs":{"url":"https://github.com/amalgamaco/api-entity-service/issues"},"license":"MIT","readme":"# API Entity Service\n\nA set of services to provide an easy way to interact with a REST API resource and abstract common CRUD operations handling:\n\n- The creation of the requests to the REST API service depending on the called method following REST conventions to decide which path and type of request to use.\n- Parsing the REST API response using the provided attributes mappers.\n- Creating the local entities in their corresponding stores. Taking care of setting up the relations between them correctly.\n\n## Getting Started\n\n### Installation\nRun the following command to add the `ApiEntityService` library to your project:\n\n```bash\nyarn add @amalgamaco/api-entity-service\n```\nor\n```bash\nnpm install @amalgamaco/api-entity-service\n```\n\n### Usage\nFor instructions on how to use this library you can go to the [Usage](./docs/usage.md) section.\n\n## Reference\nFor a more detailed api reference for the provided classes you can go the [Reference](./docs/reference.md) section.\n","readmeFilename":"README.md"}