Public profile
FreeLogic@rabbinatix/public-profile by Rabbinatixupdated Oct 4, 2026
Keeps only the fields that are safe to show: id, name and a normalized email.
An allow-list is safer than removing fields: new private fields stay private. Break Object gives one pin per field it names, Make Object builds the new record.
Shows: Break Object, Make Object.
How to use it
Add it to your logic, then add a Call Function step in any logic and pick Public profile. It belongs to no system, so every system can use it. Or download the TypeScript and call it from your own code.
Inputs
user: Record with id, name, email
Outputs
profile: Record
Previewdrag the steps around; scroll to zoom
Function Entry, Input / output. 0 inputs, 2 outputs. step 1 of 5
Public profile
user
Break Object, Object. 1 input, 3 outputs. step 2 of 5
Break Object
object
id
name
email
To Lower Case, String. 1 input, 1 output. step 3 of 5
To Lower Case
text
result
Make Object, Data. 3 inputs, 1 output. step 4 of 5
Make Object
id
name
email
object
Return, Input / output. 2 inputs, 0 outputs. step 5 of 5
Return
profile
Arrow keys: next or previous step in flow order. Alt with arrows: nearest step in that direction. Enter: open. Shift F10: more actions.
Examplesrun live against the logic · 2/2 pass
| Passed | Example | Input | Output |
|---|---|---|---|
| A user | {"user":{"id":"u1","name":"Ada","email":"Ada@Acme.dev","passwordHash":"x9","role":"admin"}} | {"profile":{"id":"u1","name":"Ada","email":"ada@acme.dev"}} | |
| No email | {"user":{"id":"u2","name":"Bo"}} | {"profile":{"id":"u2","name":"Bo","email":""}} |
Try it
user · Record with id, name, email
Versions
In this package
Public profile (entry)
