Skip to content

JSON schema files required while developing google workspace add-ons with alternative runtimes

Notifications You must be signed in to change notification settings

cmxiv/google-workspace-addon-json-schema

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

google-workspace-addon-json-schema

JSON schema files required while developing Google Workspace add-ons with alternative runtimes

These schema files are taken from guide to build Google Workspace add-ons using alternative runtimes and were later modify to correct inconsistencies in the schema.

Example generation using quicktype

mkdir generated
quicktype --just-types --lang typescript -s schema --src RenderActionResponse.schema.json -o generated/RenderAction.ts
quicktype --just-types --lang typescript -s schema --src Card.schema.json -o generated/Card.ts
quicktype --just-types --lang typescript -s schema --src CommonEvent.schema.json -o generated/Event.ts
quicktype --just-types --lang typescript -s schema --src Deployment.schema.json -o generated/Deployment.ts

If you want to use the pre-generated types, you can find them for:

  • Typescript
  • Kotlin (Work in progress)
  • Java (Work in progress)

About

JSON schema files required while developing google workspace add-ons with alternative runtimes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages