Skip to content

chore(design-client): type parseThemeFromDesign response#387

Open
serge-sedelnikov wants to merge 3 commits into
mainfrom
ER-4987-update-journey-config-to-use-lambda-invoke-with-internal-auth-tokens
Open

chore(design-client): type parseThemeFromDesign response#387
serge-sedelnikov wants to merge 3 commits into
mainfrom
ER-4987-update-journey-config-to-use-lambda-invoke-with-internal-auth-tokens

Conversation

@serge-sedelnikov
Copy link
Copy Markdown

Summary

  • Bump @epilot/design-client to 0.5.4
  • Replace the untyped type: object response of the parseThemeFromDesign endpoint with a new ParseThemeFromDesignResp schema
  • New schema exposes theme (Theme) and design (ItemMetada + DesignItem + Custom_Style + Journey) so consumers get strong typing for the parsed result

Notes

  • The branch name and commit message reference ER-4987 / entity-client, but the actual diff is scoped to design-client only. Happy to rename / amend if reviewers prefer.

Test Plan

  • Confirm clients/design-client/src/openapi.d.ts regenerates cleanly from the updated openapi.json
  • Verify downstream consumers of parseThemeFromDesign pick up the typed ParseThemeFromDesignResp instead of any/object
  • CI passes

sergeysedelnikov and others added 2 commits May 12, 2026 16:29
Co-authored-by: Claude <noreply@anthropic.com>
…y-config-to-use-lambda-invoke-with-internal-auth-tokens
Co-authored-by: Claude <noreply@anthropic.com>
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.

2 participants