Address PR review comments

- Remove unused deps @backstage/filter-predicates and zod-validation-error
  from catalog-model
- Deduplicate defaultCatalogEntityModel by re-exporting from the single
  source in model/defaultCatalogEntityModel.ts
- Fix typos: "Retuns"/"epxressed", "Obviopusly", "recorsively"
- Use domain-prefixed layer ID for scaffolder template model

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Fredrik Adelöw <freben@spotify.com>
This commit is contained in:
Fredrik Adelöw
2026-04-14 13:41:22 +02:00
parent 85ed75ee93
commit 445aefd4b9
7 changed files with 6 additions and 40 deletions
@@ -23,7 +23,7 @@ import schema from './Template.v1beta3.schema.json';
* @alpha
*/
export const templateModelLayer = createCatalogModelLayer({
layerId: 'Template',
layerId: 'scaffolder.backstage.io/kind-template',
builder: model => {
model.addKind({
group: 'scaffolder.backstage.io',