UNPKG

@wmfs/tymly-pg-plugin

Version:

Replace Tymly's out-the-box memory storage with PostgreSQL

35 lines (34 loc) 691 B
{ "Comment": "Do some basic CRUD things.", "StartAt": "Upserting", "version": "1.0", "States": { "Upserting": { "Type": "Task", "InputPath": "$", "Resource": "module:upserting", "ResourceConfig": { "modelId": "people" }, "Next": "FindingById" }, "FindingById": { "Type": "Task", "InputPath": "$.employeeNo", "Resource": "module:findingById", "ResourceConfig": { "modelId": "people" }, "ResultPath": "$.foundHomer", "End": true } }, "restrictions": [ { "roleId": "$everyone", "allows": [ "*" ] } ] }