Skip to content

chore(cleanup): widget phase 2 (delta + epsilon from deep audit)#178

Merged
yasithdev merged 1 commit into
devfrom
phase2-delta-epsilon
May 28, 2026
Merged

chore(cleanup): widget phase 2 (delta + epsilon from deep audit)#178
yasithdev merged 1 commit into
devfrom
phase2-delta-epsilon

Conversation

@yasithdev
Copy link
Copy Markdown
Member

@yasithdev yasithdev commented May 28, 2026

Closes #179

Summary

Phase 2 of the deep DRY/YAGNI audit (.claude/plans/2026-05-27-deep-dry-yagni-audit.md) — schema sync from Marketrix-ai/api#541.

The API schema change tightens 7 status fields from z.string()z.enum(...). The widget SDK is a byte-equal mirror; widget had no consumer code that needed adjusting.

Test plan

  • npx tsc --noEmit clean
  • npm run lint (0 errors)
  • npm run build (vite build) clean
  • npx vitest run — 200/200 passing

Depends on Marketrix-ai/api#541 (must merge first).

🤖 Generated with Claude Code

Sync src/sdk/schema.ts to the upstream api/schema.ts (byte-equal mirror).
The schema change tightens 7 status fields from z.string() to z.enum(...);
widget had no consumer code that needed adjusting.
@yasithdev yasithdev requested a review from a team May 28, 2026 01:20
@yasithdev yasithdev merged commit b32c750 into dev May 28, 2026
4 checks passed
@yasithdev yasithdev deleted the phase2-delta-epsilon branch May 28, 2026 01:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore(cleanup): widget phase 2 (delta + epsilon from deep audit)

1 participant