Skip to content

[LOCKLITE-82] Create a vault with members in API#151

Merged
vbetsch merged 3 commits intodevelopfrom
api/feat/82-post-add-members
Aug 22, 2025
Merged

[LOCKLITE-82] Create a vault with members in API#151
vbetsch merged 3 commits intodevelopfrom
api/feat/82-post-add-members

Conversation

@vbetsch
Copy link
Owner

@vbetsch vbetsch commented Aug 22, 2025

No description provided.

@vbetsch vbetsch requested a review from Copilot August 22, 2025 15:31
@vbetsch vbetsch self-assigned this Aug 22, 2025
@vbetsch vbetsch added the api About endpoints and services label Aug 22, 2025
@vercel
Copy link

vercel bot commented Aug 22, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
locklite Ready Ready Preview Comment Aug 22, 2025 3:31pm

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR implements the ability to create vaults with members directly through the API, allowing users to specify vault members by email address during vault creation rather than adding them separately afterwards.

  • Adds support for including members in vault creation payload
  • Implements database transaction to create vault and add members atomically
  • Updates return types to include member information in the response

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
create-vault.payload.dto.ts Adds OpenAPI documentation for the new members array parameter
create-vault.data.dto.ts Updates response schema to return vault with members instead of just vault
vaults.repository.ts Implements new method to create vault with members by email in a single transaction
create-vault-with-members-by-email.record.ts Defines new record type for vault creation with member emails
create-vault.usecase.ts Updates use case to handle member emails and use new repository method
route.ts Updates API endpoint to handle new response format with members

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@vbetsch vbetsch merged commit 75de052 into develop Aug 22, 2025
6 checks passed
@vbetsch vbetsch deleted the api/feat/82-post-add-members branch August 22, 2025 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api About endpoints and services

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants