Skip to content

feat(file-versions): #53151 add VersionCreatedEvent event #53746

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

provokateurin
Copy link
Member

  • Resolves: #

Summary

Unforked version of #53154

Checklist

Signed-off-by: Borja Domínguez Vázquez <bdominguez@virtualwareco.com>
@provokateurin provokateurin added this to the Nextcloud 32 milestone Jul 1, 2025
@provokateurin provokateurin requested a review from a team as a code owner July 1, 2025 10:59
@provokateurin provokateurin requested review from artonge and removed request for a team July 1, 2025 10:59
@provokateurin provokateurin added enhancement 3. to review Waiting for reviews labels Jul 1, 2025
/**
* Event dispatched after a successful creation of a version
*/
class VersionCreatedEvent extends Event {
Copy link
Contributor

Choose a reason for hiding this comment

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

Should it not also include the IVersion? (or VersionEntity)

Copy link
Member Author

Choose a reason for hiding this comment

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

True, that also makes more sense to return from the createVersionEntity method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants