Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add /bridge/v1/bridge_client_sessions/* endpoints #238

Merged
merged 4 commits into from
Feb 28, 2025

Conversation

mikewuu
Copy link
Contributor

@mikewuu mikewuu commented Feb 27, 2025

Partially addresses https://linear.app/seam/issue/ACS-476/implement-seambridgev1bridge-client-sessions-endpoints-in-fake-seam

  • /seam/bridge/v1/bridge_client_sessions/create
  • /seam/bridge/v1/bridge_client_sessions/get
  • /seam/bridge/v1/bridge_client_sessions/regenerate_pairing_code
  • Auth methods: bridge_client_session and certified_client

@mikewuu mikewuu requested a review from razor-x as a code owner February 27, 2025 12:57
@mikewuu mikewuu requested review from louis-pre and Neiva07 February 27, 2025 12:57
@seambot
Copy link
Contributor

seambot commented Feb 27, 2025

Bundle dist size: 27M

@@ -0,0 +1,16 @@
import { z } from "zod"

export const bridge_client_session = z.object({
Copy link
Member

Choose a reason for hiding this comment

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

We could actually start using the schemas from public types here, e.g., import { schemas } from '@seamapi/types/connect and then schemas.bridge_client_session. It may need to be added to the exported object first.

Don't hold this PR open on that change. More important to ensure we can use this on the bridge project.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@mikewuu mikewuu merged commit d6d5f62 into main Feb 28, 2025
19 of 20 checks passed
@mikewuu mikewuu deleted the bridge-client-session branch February 28, 2025 01:32
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.

3 participants