Commit Graph

4 Commits

Author SHA1 Message Date
greebo
af175d88dd refactor(api): unify typed error contract across draft pricing and publish flows
standardize typed error responses across draft, pricing and publish endpoints

reduce contract drift between related flows
keep client-side handling more predictable and consistent
2026-03-19 19:54:42 +03:00
greebo
d060828256 feat(backend): prevent duplicate draft sector and group bindings
reject duplicate sector and group bindings within draft mutations

harden draft structure consistency at the backend layer
prevent conflicting bindings before they reach publish flow
2026-03-19 19:29:00 +03:00
greebo
62550d5cb5 feat(backend): add stale draft guards and reference validation for draft mutations
add stale draft protection for mutation flows

validate referenced entities before applying draft changes
reduce invalid draft writes caused by stale state and broken references

keep mutation behavior explicit and version-aware
2026-03-19 19:25:44 +03:00
greebo
c91c5abf15 Implement display artifacts, pricing integrity, draft base and publish preview bundle 2026-03-19 17:58:17 +03:00