- 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.
10 lines
205 B
JavaScript
10 lines
205 B
JavaScript
// this script will get current time
|
|
|
|
export default function getCurrentTime() {
|
|
return {
|
|
data: {
|
|
datetime: new Date().toISOString(),
|
|
processId: "1234"
|
|
}
|
|
}
|
|
} |