Skip to content

refactor(api): allows banner profile saving in the new format#531

Draft
DarianM wants to merge 11 commits intomainfrom
api_get_profile
Draft

refactor(api): allows banner profile saving in the new format#531
DarianM wants to merge 11 commits intomainfrom
api_get_profile

Conversation

@DarianM
Copy link
Member

@DarianM DarianM commented Jan 27, 2026

Closes #511

@github-actions
Copy link

github-actions bot commented Jan 27, 2026

Deployment results

Worker Alias URL Outcome
API - fa7f38eb success
CDN - f11d1642 success
App - 6a1422b1 success

Logs #21912168249

@DarianM DarianM requested a review from sidvishnoi January 27, 2026 12:13
Comment on lines +51 to +52
const legacy =
await storage.getLegacyJson<ConfigVersions>(walletAddress)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to handle non-404 errors similar to above here as well?

return TOOLS.includes(type as Tool)
}

/** @legacy - no longer used */
Copy link
Member

@sidvishnoi sidvishnoi Jan 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can be removed if no longer used?

const DEV_CDN_URL = 'http://localhost:5173'
const DEV_FRONTEND_URL = 'http://localhost:3000/tools/' // contains trailing slash and pathname.
const DEV_AWS_PREFIX = '20250717-dev'
const DEV_AWS_PREFIX = '20260126-dev'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't forget to set on in Actions variables as well.

@sidvishnoi sidvishnoi marked this pull request as draft January 28, 2026 10:41
@DarianM DarianM changed the title refactor(api): allows profile saving in the new format refactor(api): allows banner profile saving in the new format Jan 29, 2026
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.

refactor: Enable API to save data in new format - Phase 3

2 participants