question

Jan Vacek avatar image
Jan Vacek asked

Azure Functions where to get Models for creating one for Typescript

Hello, where I can find every method and every Object(Model) for being able to replicate them for Typescript?

You are forcing us to use undocumented thing, no Typescript SDK, no nothing.

At least please send me the C# models so I can write my own in Typescript, because you dont want us to use cloudscript. If you would, you would provide SDKs first before you marked old cloudscript as legacy

CloudScript
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
JayZuo avatar image
JayZuo answered

As I've said in your previous question: Azure functions Typescript types (interfaces) - Playfab Community, we should use PlayFab NodeJS SDK in Azure Function. The NodeJS SDK has built-in TypeScript support with all interfaces defined already.

Currently, we only lack the interfaces for Function Execution Context. Our documentation and sample are writing with C# and you can find them at PlayFab CloudScript using Azure Functions Context Models - PlayFab | Microsoft Docs. It would be easy to write the TypeScript one by referring to the C# code.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.