-
Notifications
You must be signed in to change notification settings - Fork 465
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: improve on-events script logs (#3049)
<!-- Describe the problem and your solution --> - each scripts has its own logs operation - can filter by `Type = Events`  <!-- Issue ticket number and link (if applicable) --> https://linear.app/nango/issue/NAN-2219/on-events-script-follow-up <!-- Testing instructions (skip if just adding/editing providers) --> ### How to tests: 1. Set `on-events` scripts in your nango.yaml ``` on-events: post-connection-creation: - setup pre-connection-deletion: - cleanup ``` 2. run `nango generate` and modify the scripts 3. run `nango deploy dev` 4. Go to the dashboard and create/delete a connection for the integration you added the scripts into 5. Check the logs
- Loading branch information
Showing
7 changed files
with
62 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,7 @@ const validation = z | |
'all', | ||
'action', | ||
'sync', | ||
'events', | ||
'sync:init', | ||
'sync:cancel', | ||
'sync:pause', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters