KamoCRM

Pin the deprecated-alias exclusion

Testkamo-shared-library
Shipped
9 ஆகஸ்ட், 2026 அன்று 1:45 AM UTC
Author
Kamo
Commit
0f9d2d6

The catalog key is ServiceType's numeric id, and several retired constants deliberately share one with the app that replaced them — DOC_MANAGER with DOCS on 8, AI_CHAT with AI_SUPPORT on 17. Since SERVICE_TYPE is UNIQUE, an alias has no row of its own and resolves onto the live app's, so saving one would rewrite that app's overrides and could withhold it platform-wide. Covers both halves: aliases are absent from resolveAll and refused by save/clear, while a retired constant that owns its id (STORAGE) keeps a normal catalog entry.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing