@curiovision/gwao-alt-runtimes v0.0.2
GWAO Node.js Types
NOTE: This package is still in development. It is not quite ready for use. There a number of types that still need to be added. Additionally, I'd like to add the Card Framework version number (currently v1) to the import path in order to prepare for the future when Google releases google.apps.card.v2.
This package contains types for the Google Workspace Add-ons for Alternate Runtimes API.
It is based on google.apps.card.v1
To my knowledge, there is no official package for the CardFramework json types yet. This package fills that gap.
Tests
Since this is just a types library, I haven't added a testing framework. Instead, the *.spec.ts
files provide a place to write example assignments using each type. We can then use IDE typechecking/typescript build in order to ensure the given types behave as expected.
In most cases, the assignments in the *.spec.ts
files have been pulled straight from example JSON snippets within the official Google documentation.