[PR #795] [MERGED] refactor: ♻️ webhook define all possible event types in module #1102

Closed
opened 2026-02-04 21:50:23 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/plankanban/planka/pull/795
Author: @HannesOberreiter
Created: 6/17/2024
Status: Merged
Merged: 6/18/2024
Merged by: @meltyshev

Base: masterHead: webhook-define-event_types


📝 Commits (1)

  • 57d3c26 refactor: ♻️ webhook define all possible event types in module

📊 Changes

1 file changed (+57 additions, -1 deletions)

View changed files

📝 server/api/helpers/utils/send-webhooks.js (+57 -1)

📄 Description

This pull would re-introduce the local event types for programmatically generation of event types: https://github.com/plankanban/planka/issues/793

It would be even more useful if the module could export the constant so one could access it by invocation. I'm not sure how the sails framework works in that case / one would nicely implement it.

Cheers
Hannes


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/plankanban/planka/pull/795 **Author:** [@HannesOberreiter](https://github.com/HannesOberreiter) **Created:** 6/17/2024 **Status:** ✅ Merged **Merged:** 6/18/2024 **Merged by:** [@meltyshev](https://github.com/meltyshev) **Base:** `master` ← **Head:** `webhook-define-event_types` --- ### 📝 Commits (1) - [`57d3c26`](https://github.com/plankanban/planka/commit/57d3c2655d73951167a3e636d3aebbee46f4ce8b) refactor: :recycle: webhook define all possible event types in module ### 📊 Changes **1 file changed** (+57 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `server/api/helpers/utils/send-webhooks.js` (+57 -1) </details> ### 📄 Description This pull would re-introduce the local event types for programmatically generation of event types: https://github.com/plankanban/planka/issues/793 It would be even more useful if the module could export the constant so one could access it by invocation. I'm not sure how the sails framework works in that case / one would nicely implement it. Cheers Hannes --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-04 21:50:23 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#1102