feat: implement database setup, logging, and workflow management
- Added database configuration and migration setup using Knex. - Implemented a logging system with Pino, including log persistence and flushing. - Created a server runner with Fastify, integrating authentication and various API routes. - Introduced a script sandbox for executing user-defined scripts with restricted access. - Established initial workflows and scripts for manual and cron triggers. - Included documentation for API endpoints and workflows.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
name: manual trigger
|
||||
scripts:
|
||||
- get-current-time.js
|
||||
- script: jsonata.js
|
||||
config:
|
||||
expression: '{"data": {"message": datetime & " " & processId}}'
|
||||
- ntfy.js
|
||||
triggers:
|
||||
- type: HTTP
|
||||
method: POST
|
||||
path: /mt
|
||||
|
||||
Reference in New Issue
Block a user