suppa-mcp-2 1.4.1 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/httpClient.js +44 -13
- package/dist/server.js +19 -11
- package/dist/tools/entity.js +58 -5
- package/dist/tools/v1Fields.js +0 -0
- package/package.json +1 -1
- package/skills/suppa-entity-code/SKILL.md +22 -6
- package/skills/suppa-entity-code/references/v1-mapping.md +18 -6
- package/skills/suppa-entity-code/scripts/validate-suppa-schema.mjs +1626 -1550
- package/skills/suppa-entity-code/templates/tabular-part.template.ts +1 -0
|
@@ -34,6 +34,7 @@ import { __ParentEntity__ } from './__parent-entity__.entity';
|
|
|
34
34
|
@Entity({
|
|
35
35
|
name: '__EntityName__', // = class name; table + createSeed() key
|
|
36
36
|
title: { en: '__EntityName__', uk: '__Українська назва__' },
|
|
37
|
+
key: '__entity-stable-key__', // survives renames — a rename stays a rename
|
|
37
38
|
type: 'tabular-part', // 1/3 — makes this a tabular part of __ParentEntity__
|
|
38
39
|
relationEntityName: '__ParentEntity__', // 2/3 — the PARENT's @Entity() name, not the class name if they differ
|
|
39
40
|
importKeyFields: ['owner', '__businessKeyField__'], // owner FIRST — see references/tabular-parts.md
|