I recommend using this tool to convert JSON to TS. https://transform.tools/json-to-typescript
I recommend using this tool to convert JSON to TS. https://transform.tools/json-to-typescript
JSON to TypeScript
An online playground to convert JSON to TypeScript

17 Replies
I was thinking about integrating it into the editor. We use json-to-typescript in a few places already
Is it possible auto covent the ts types base on the script input?
And inject the types into the editor. Or inject the types to script content quickly.
script input -> ts types --click button--> script content
We could probably do something of the sort. That's kinda similar to the payload capture of the flow
The capture is useful. That means I did not need to rerun the flow if I dev in next time or refresh the browser.
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
you could use azure ai service. We plan to make that configurable for enterprises that can do that
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Do you actually use windmill in that setup?
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
But I think azure ai is fedramp (not sure though) https://learn.microsoft.com/en-us/azure/azure-government/compliance/azure-services-in-fedramp-auditscope
Azure and other Microsoft cloud services compliance scope - Azure G...
This article tracks FedRAMP and DoD compliance scope for Azure, Dynamics 365, Microsoft 365, and Power Platform cloud services across Azure, Azure Government, and Azure Government Secret cloud environments.
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Yes
How about the script to build the items?
I only want to exec the script when I change to the tab/page after.

I need to query the database to load the items.
Is it possible to add the template by the user?
I use Prisma to query the database.
In Windmill - Serverless Env
Prisma Edge -> Custom Prisam Query Engine Wrapper - Data Proxy -> DB

I could misunderstand you, but are you asking for how to select a script that you as the user has created. if so you need to click on the "Select a script or flow" button.

I want to add the templates here.
