/dts-google-apps-script-advanced

d.ts files generator for Advanced Services of Google Apps Script

Primary LanguageTypeScriptMIT LicenseMIT

dts-google-apps-script-advanced

d.ts files generator for Advanced Services of Google Apps Script.

Inspire from motemen/dts-google-apps-script.

How To Generate

Require Node.js.

# Parse an API json file
$ node ./dist/index.js parse ./definitions/youtube_v3.json

# Write API json files to destinations
$ node ./dist/index.js convert -o /path/to/export/directory definitions/*.json

How To Download (gas-advanced-service-definition-for-autocomplete).json

  1. Open editor of Google Apps Script.
  2. Enable Advanced Service you want to download in menu.
  3. Browser download it.
  4. Trim first line (it is broken JSON!).

This issue explain the way more detail.

License

MIT