- Access nuclent registry
- Please follow Github Package
-
apps/simple-action-script: Sample code to make action script for action metadata script This action will make request to https://jsonplaceholder.typicode.com and handle body payload:- path: string/optional path to request, default:
users - method: string/optional request method, default:
get - body: string/optional request body, default:
null - headers: object/optional request headers, default
{}
- path: string/optional path to request, default:
-
apps/simple-data-source: Sample code to make external data source script This script is for handlingusershttps://jsonplaceholder.typicode.com as external source with all source action- get list users
- get user by id
- create new user
- update user by id
- delete user by id
- Run
yarn gen:app --name=<your-app-name> - Sync config for those files from source
simple-action-scriptorsimple-data-sourceto your new app- profile.json
- tsconfig.spec.json
- Run
yarn nx build <project-name>Ex: yarn nx build simple-data-source - The bundled code can be locate in
dist/apps/<project-name>/main.jsPlease copy all scripts inside that file and put it to script section in nFlow action-meta/data-source UI-builder
- Run
yarn nx test <project-name>Ex: yarn nx test simple-data-source