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 events for row added and row updated #1101

Merged
merged 3 commits into from
Jul 18, 2024

Commits on Jul 18, 2024

  1. feat: Add events for row added and row updated

    Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
    come-nc authored and juliushaertl committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    007ea40 View commit details
    Browse the repository at this point in the history
  2. feat(Events): webhook compatible Row events with public model

    - implements OCP\EventDispatcher\IWebhookCompatibleEvent
    - add lib/Model/Public/Row as sort of API-like model for Tables Row data
    - change exisiting events to use new abstract row event class
    
    Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
    blizzz authored and juliushaertl committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    2a6a338 View commit details
    Browse the repository at this point in the history
  3. ci(psalm): update psalm to gain a bug fix

    otherwise we would see:
    ERROR: UndefinedClass - lib/Event/AbstractRowEvent.php:12:22 - Class, interface or enum named OCP\EventDispatcher\IWebhookCompatibleEvent does not exist (see https://psalm.dev/019)
    if (interface_exists(\OCP\EventDispatcher\IWebhookCompatibleEvent::class)) {
    
    Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
    blizzz authored and juliushaertl committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    550a106 View commit details
    Browse the repository at this point in the history