Are there Typescript definitions for the raw JSON schema when building a Google App Script using a cloud function, as described here: https://developers.google.com/workspace/add-ons/alternate-runtimes-quickstart
I see @types/google-apps-script but that doesn't seem to define the expected JSON schema (i assume when printJSON() is ultimately called)
Alternatively, is there a way to import the App Script library, so I can call printJSON() myself and use their framework?
{
"action": {
"navigations": [
{
"pushCard": {
"header": {
"title": "Cats!"
},
"sections": [
{
"widgets": [
{
"textParagraph": {
"text": "Your random cat:"
}
},
{
"image": {
"imageUrl": "https://cataas.com/cat"
}
}
]
}
]
}
}
]
}
};