Hello, I am writing cloudscript with Typescript definitions provided by you (some PlayFab employee created it on github), but what about azure functions, are there any definitions to download and use for writing fully-typed typescript code?
Hello, I am writing cloudscript with Typescript definitions provided by you (some PlayFab employee created it on github), but what about azure functions, are there any definitions to download and use for writing fully-typed typescript code?
Azure Function has built-in TypeScript support, see JavaScript developer reference for Azure Functions. We can use PlayFab NodeJS SDK in Azure Function more easily than Legacy CloudScript. The NodeJS SDK has all interfaces defined already.
However, if you mean to the interface of CloudScript context models, currently, we only build the C# ones as PlayFab CloudScript using Azure Functions Context Models - PlayFab | Microsoft Docs. You can build the TypeScript ones for them by yourself as per CloudScript using Azure Functions helper class.
@Jay Zuo, and what about this? https://github.com/PlayFab/SdkTestingCloudScript/blob/master/Scripts/typings/PlayFab/CloudScript.d.ts
Is it usable with azure functions? What are the differences?
9 People are following this question.