valadas / Eraware_Dnn_Templates

Dnn templates
Other
19 stars 7 forks source link

Improve typings for API calls in the persona bar module template #744

Open valadas opened 2 months ago

valadas commented 2 months ago

The persona bar has functions to send API calls and display a progress on top while waiting on the response. This is nice and looks like the other PB modules but is not type. Generics were created to be able to describe the expected success responses but that is not as great as what we have with NSwag generator of typescript clients. It would be nice to figure out a way to combine both things somehow and at the same time bet better completions for localization.