RusticiSoftware / scormcloud-api-v2-client-javascript

Swagger Generated Java Script Client for SCORM Cloud API v2
Apache License 2.0
10 stars 4 forks source link

Compatibility of `scormcloud-api-v2-client-javascript` with TypeScript and Workaround for Incompatibility #13

Open manikantj06 opened 1 year ago

manikantj06 commented 1 year ago

Issue Description:

I am currently working on a project that involves uploading SCORM (Sharable Content Object Reference Model) files to the SCORM Cloud platform. To achieve this functionality, I have decided to use the 'scormcloud-api-v2-client-javascript' package as it seems to offer the necessary features. This works with JavaScript However, before proceeding further, I am uncertain about the package's compatibility with TypeScript.

Please assist me in clarifying the compatibility concerns and providing a viable workaround if required. Thank you!

mjschuetze102 commented 1 year ago

I'm uncertain about the package's compatibility with TypeScript also. But, we generated this library with the use of swagger-codegen, meaning that it can be generated for any language the project supports. There are several TypeScript libraries that are available for generation. I'll refer you to #12 for more information regarding generating a TypeScript library

We don't currently have any plans to support more than the 6 languages we currently offer libraries for. But we did choose swagger-codegen to allow people using different languages the ability to generate their own that will act the same way

Hopefully the workaround in the other Issue works for you. Let me know if you have any other questions