{"_id":"@alexandreamormino/plugin-entity-manager-common","_rev":"5-8e54e4c6e51eff54919ec12a616e1e27","name":"@alexandreamormino/plugin-entity-manager-common","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.0":{"name":"@alexandreamormino/plugin-entity-manager-common","version":"1.0.0","keywords":["backstage","backstage-plugin","entity-manager","common","schemas"],"author":{"name":"Alexandre Amormino"},"license":"Apache-2.0","_id":"@alexandreamormino/plugin-entity-manager-common@1.0.0","maintainers":[{"name":"alexandreamormino","email":"xandeamormino@gmail.com"}],"homepage":"https://github.com/alexandreamormino/backstage-entity-manager#readme","bugs":{"url":"https://github.com/alexandreamormino/backstage-entity-manager/issues"},"dist":{"shasum":"63552b43f76c684e49e47643bef032adf80d48b3","tarball":"https://registry.npmjs.org/@alexandreamormino/plugin-entity-manager-common/-/plugin-entity-manager-common-1.0.0.tgz","fileCount":62,"integrity":"sha512-ncOUmjfKrTVRDz5+cjzguwu9AQbkZC1HFMwfeAOsRADrh0pnOri2OYd+MF0l/sF+kMqBQNMbpHGYs3xPOlkx5A==","signatures":[{"sig":"MEUCIGh0j80MrZqc4T8BhTSs4pt80nwsgo6WrISqqZVnLohMAiEA/ezkvhm8FWHd00ScYQZaNoAolKBFSdSXLu6DnuqiBqA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":101202},"main":"src/index.ts","types":"src/index.ts","scripts":{"lint":"backstage-cli package lint","test":"backstage-cli package test","build":"backstage-cli package build","clean":"backstage-cli package clean","prepack":"backstage-cli package prepack","postpack":"backstage-cli package postpack"},"_npmUser":{"name":"alexandreamormino","email":"xandeamormino@gmail.com"},"backstage":{"role":"common-library"},"repository":{"url":"https://github.com/alexandreamormino/backstage-entity-manager.git","type":"git","directory":"plugins/entity-manager-common"},"description":"Common types, schemas, and utilities for Entity Manager plugins","directories":{},"sideEffects":false,"dependencies":{"ajv":"^8.12.0","zod":"^3.22.4","yaml":"^2.8.0","ajv-formats":"^2.1.1","@backstage/config":"^1.1.2","@backstage/catalog-model":"^1.7.5","@backstage/plugin-permission-common":"^0.9.2"},"publishConfig":{"main":"dist/index.esm.js","types":"dist/index.d.ts","access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@backstage/cli":"^0.33.1","@testing-library/jest-dom":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/plugin-entity-manager-common_1.0.0_1777134789041_0.07225470489689045","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@alexandreamormino/plugin-entity-manager-common","version":"1.0.1","keywords":["backstage","backstage-plugin","entity-manager","common","schemas"],"author":{"name":"Alexandre Amormino"},"license":"Apache-2.0","_id":"@alexandreamormino/plugin-entity-manager-common@1.0.1","maintainers":[{"name":"alexandreamormino","email":"xandeamormino@gmail.com"}],"homepage":"https://github.com/alexandreamormino/backstage-entity-manager#readme","bugs":{"url":"https://github.com/alexandreamormino/backstage-entity-manager/issues"},"dist":{"shasum":"04b5a6a56314800ee9e917e97998a349e0fc8e82","tarball":"https://registry.npmjs.org/@alexandreamormino/plugin-entity-manager-common/-/plugin-entity-manager-common-1.0.1.tgz","fileCount":62,"integrity":"sha512-VondgM9cs3zbBrUd0FsfDbQq+0GNeJw2lixwmb0byrl9wYo1ivvL+9eO804zZ4Lad24W257ns0nHj59BeGA+Pg==","signatures":[{"sig":"MEUCIQDjOQKuLZbajDfg7fTFkLX6lB+sZYKKAKhy+NsrFnEtcgIgbxrleNPwNyA296icijbOiQZ+8cSjsqpWcvob8hnb3Ng=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":101202},"main":"src/index.ts","types":"src/index.ts","scripts":{"lint":"backstage-cli package lint","test":"backstage-cli package test","build":"backstage-cli package build","clean":"backstage-cli package clean","prepack":"backstage-cli package prepack","postpack":"backstage-cli package postpack"},"_npmUser":{"name":"alexandreamormino","email":"xandeamormino@gmail.com"},"backstage":{"role":"common-library"},"repository":{"url":"https://github.com/alexandreamormino/backstage-entity-manager.git","type":"git","directory":"plugins/entity-manager-common"},"description":"Common types, schemas, and utilities for Entity Manager plugins","directories":{},"sideEffects":false,"dependencies":{"ajv":"^8.12.0","zod":"^3.22.4","yaml":"^2.8.0","ajv-formats":"^2.1.1","@backstage/config":"^1.1.2","@backstage/catalog-model":"^1.7.5","@backstage/plugin-permission-common":"^0.9.2"},"publishConfig":{"main":"dist/index.esm.js","types":"dist/index.d.ts","access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@backstage/cli":"^0.33.1","@testing-library/jest-dom":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/plugin-entity-manager-common_1.0.1_1777136015499_0.7478644688459788","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@alexandreamormino/plugin-entity-manager-common","version":"1.0.2","keywords":["backstage","backstage-plugin","entity-manager","common","schemas"],"author":{"name":"Alexandre Amormino"},"license":"Apache-2.0","_id":"@alexandreamormino/plugin-entity-manager-common@1.0.2","maintainers":[{"name":"alexandreamormino","email":"xandeamormino@gmail.com"}],"homepage":"https://github.com/alexandreamormino/backstage-entity-manager#readme","bugs":{"url":"https://github.com/alexandreamormino/backstage-entity-manager/issues"},"dist":{"shasum":"4cb96d5a635278c13d4ef701f0597faff1471584","tarball":"https://registry.npmjs.org/@alexandreamormino/plugin-entity-manager-common/-/plugin-entity-manager-common-1.0.2.tgz","fileCount":11,"integrity":"sha512-+EcZwvnwujRgJ4ltcfZGyjHzkICr44ZvECmKyUOXs7+302XJZNaxrBa7LVyhf7Ekgd8VFF0lMHX8cBApzrh1Ew==","signatures":[{"sig":"MEUCIGXSmjQ1J3/SwwbnZjFpyoTJ12x9mHKfMpZTeMRBSZULAiEAipQQp+rYUCGM0DqrxwYYrnpkfs6ZMq6YjwZZxmeAjiU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":95038},"main":"src/index.ts","types":"src/index.ts","gitHead":"427368bedc12b7b7592c1dafb68eda4db966cd71","scripts":{"lint":"backstage-cli package lint","test":"backstage-cli package test","build":"backstage-cli package build","clean":"backstage-cli package clean","prepack":"backstage-cli package prepack","postpack":"backstage-cli package postpack"},"_npmUser":{"name":"alexandreamormino","email":"xandeamormino@gmail.com"},"backstage":{"role":"common-library"},"repository":{"url":"git+https://github.com/alexandreamormino/backstage-entity-manager.git","type":"git","directory":"plugins/entity-manager-common"},"_npmVersion":"10.8.2","description":"Common types, schemas, and utilities for Entity Manager plugins","directories":{},"sideEffects":false,"_nodeVersion":"20.19.5","dependencies":{"ajv":"^8.12.0","zod":"^3.22.4","yaml":"^2.8.0","ajv-formats":"^2.1.1","@backstage/config":"^1.1.2","@backstage/catalog-model":"^1.7.5","@backstage/plugin-permission-common":"^0.9.2"},"publishConfig":{"main":"dist/index.esm.js","types":"dist/index.d.ts","access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@backstage/cli":"^0.33.1","@testing-library/jest-dom":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/plugin-entity-manager-common_1.0.2_1782613555134_0.08032197166707","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@alexandreamormino/plugin-entity-manager-common","version":"1.0.3","keywords":["backstage","backstage-plugin","entity-manager","common","schemas"],"author":{"name":"Alexandre Amormino"},"license":"Apache-2.0","_id":"@alexandreamormino/plugin-entity-manager-common@1.0.3","maintainers":[{"name":"alexandreamormino","email":"xandeamormino@gmail.com"}],"homepage":"https://github.com/alexandreamormino/backstage-entity-manager#readme","bugs":{"url":"https://github.com/alexandreamormino/backstage-entity-manager/issues"},"dist":{"shasum":"ab18a452f122c8ee976851f3ff392e08d1f5ec91","tarball":"https://registry.npmjs.org/@alexandreamormino/plugin-entity-manager-common/-/plugin-entity-manager-common-1.0.3.tgz","fileCount":11,"integrity":"sha512-nv7dz6ueOmQo9Bw8OKShIN9sVSwxtMDPdn/kyhU+zrijuZV+feDpBBRqN01kiZ15MJhtoRsyyNvCldaZIRgkFQ==","signatures":[{"sig":"MEYCIQDp00Ul/0IlrAZJYU5ZB/6JtuDUdW469pTQIdB/eRj/uAIhAM2sR/rVBcc+YdvQceOZdWqUFnEA97selU4B7tCxVPi9","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":95038},"main":"src/index.ts","types":"src/index.ts","gitHead":"427368bedc12b7b7592c1dafb68eda4db966cd71","scripts":{"lint":"backstage-cli package lint","test":"backstage-cli package test","build":"backstage-cli package build","clean":"backstage-cli package clean","prepack":"backstage-cli package prepack","postpack":"backstage-cli package postpack"},"_npmUser":{"name":"alexandreamormino","email":"xandeamormino@gmail.com"},"backstage":{"role":"common-library"},"repository":{"url":"git+https://github.com/alexandreamormino/backstage-entity-manager.git","type":"git","directory":"plugins/entity-manager-common"},"_npmVersion":"10.8.2","description":"Common types, schemas, and utilities for Entity Manager plugins","directories":{},"sideEffects":false,"_nodeVersion":"20.19.5","dependencies":{"ajv":"^8.12.0","zod":"^3.22.4","yaml":"^2.8.0","ajv-formats":"^2.1.1","@backstage/config":"^1.1.2","@backstage/catalog-model":"^1.7.5","@backstage/plugin-permission-common":"^0.9.2"},"publishConfig":{"main":"dist/index.esm.js","types":"dist/index.d.ts","access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@backstage/cli":"^0.33.1","@testing-library/jest-dom":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/plugin-entity-manager-common_1.0.3_1782664384609_0.15284981440270085","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@alexandreamormino/plugin-entity-manager-common","version":"1.0.4","description":"Common types, schemas, and utilities for Entity Manager plugins","license":"Apache-2.0","author":{"name":"Alexandre Amormino"},"homepage":"https://github.com/alexandreamormino/backstage-entity-manager#readme","repository":{"type":"git","url":"git+https://github.com/alexandreamormino/backstage-entity-manager.git","directory":"plugins/entity-manager-common"},"bugs":{"url":"https://github.com/alexandreamormino/backstage-entity-manager/issues"},"keywords":["backstage","backstage-plugin","entity-manager","common","schemas"],"main":"src/index.ts","types":"src/index.ts","publishConfig":{"access":"public","main":"dist/index.esm.js","types":"dist/index.d.ts"},"backstage":{"role":"common-library"},"sideEffects":false,"scripts":{"build":"backstage-cli package build","lint":"backstage-cli package lint","test":"backstage-cli package test","clean":"backstage-cli package clean","prepack":"backstage-cli package prepack","postpack":"backstage-cli package postpack"},"dependencies":{"@backstage/catalog-model":"^1.7.5","@backstage/config":"^1.1.2","@backstage/plugin-permission-common":"^0.9.2","ajv":"^8.12.0","ajv-formats":"^2.1.1","yaml":"^2.8.0","zod":"^3.22.4"},"devDependencies":{"@backstage/cli":"^0.33.1","@testing-library/jest-dom":"^6.0.0"},"_id":"@alexandreamormino/plugin-entity-manager-common@1.0.4","gitHead":"427368bedc12b7b7592c1dafb68eda4db966cd71","_nodeVersion":"20.19.5","_npmVersion":"10.8.2","dist":{"integrity":"sha512-Asf/a4iYvuCQo/Fa9G/THLrgoRzFCveFXAtFjDOVfTKjRje0DeSFO/CTqlyBDsCm00xG7xmiIslzfOy1P6LXYg==","shasum":"c8c8876f5c97b91238ea746de02b7bcc62397b1d","tarball":"https://registry.npmjs.org/@alexandreamormino/plugin-entity-manager-common/-/plugin-entity-manager-common-1.0.4.tgz","fileCount":11,"unpackedSize":95038,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDK3+4YgRPFP260+eaJUkdG1Pcg17Ny7imrPKSUIcY9EAIgAOVuBH9xnIGV2znaSfN+C46zlWBtFYHOprTpAR9h+4k="}]},"_npmUser":{"name":"alexandreamormino","email":"xandeamormino@gmail.com"},"directories":{},"maintainers":[{"name":"alexandreamormino","email":"xandeamormino@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-entity-manager-common_1.0.4_1782671264103_0.9793287402033872"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-25T16:33:08.957Z","modified":"2026-06-28T18:27:44.323Z","1.0.0":"2026-04-25T16:33:09.194Z","1.0.1":"2026-04-25T16:53:35.622Z","1.0.2":"2026-06-28T02:25:55.274Z","1.0.3":"2026-06-28T16:33:04.753Z","1.0.4":"2026-06-28T18:27:44.220Z"},"bugs":{"url":"https://github.com/alexandreamormino/backstage-entity-manager/issues"},"author":{"name":"Alexandre Amormino"},"license":"Apache-2.0","homepage":"https://github.com/alexandreamormino/backstage-entity-manager#readme","keywords":["backstage","backstage-plugin","entity-manager","common","schemas"],"repository":{"type":"git","url":"git+https://github.com/alexandreamormino/backstage-entity-manager.git","directory":"plugins/entity-manager-common"},"description":"Common types, schemas, and utilities for Entity Manager plugins","maintainers":[{"name":"alexandreamormino","email":"xandeamormino@gmail.com"}],"readme":"# Entity Manager Common Library\n\nShared types, schemas, utilities, and permissions for Entity Manager plugins.\n\n## Permissions\n\n```typescript\nimport {\n  entityManagerCreatePermission,\n  entityManagerReadPermission,\n  entityManagerUpdatePermission,\n  entityManagerDeletePermission,\n  entityManagerListPermission,\n  entityManagerPermissions, // array of all five\n} from '@alexandreamormino/plugin-entity-manager-common';\n```\n\nPermission names: `entity.manager.entity.{create,read,update,delete,list}`\n\n## Schema validation\n\n```typescript\nimport { SchemaLoader } from '@alexandreamormino/plugin-entity-manager-common';\n\nconst loader = new SchemaLoader(schemas, logger);\nconst result = loader.validate(entity);\n\nif (!result.valid) {\n  console.log(result.errors);\n}\n```\n\n## Built-in schemas\n\nJSON schemas for `Component`, `API`, `Resource`, and `System` are bundled and used by default. You can override any of them with custom schemas via `app-config.yaml`.\n\n```typescript\nimport {\n  componentSchema,\n  apiSchema,\n  resourceSchema,\n  systemSchema,\n} from '@alexandreamormino/plugin-entity-manager-common';\n```\n\n## YAML utilities\n\n```typescript\nimport { parseYamlEntity, entityToYaml } from '@alexandreamormino/plugin-entity-manager-common';\n```\n\n## Development\n\n```bash\nyarn workspace @alexandreamormino/plugin-entity-manager-common build\nyarn workspace @alexandreamormino/plugin-entity-manager-common test\n```\n","readmeFilename":"README.md"}