{"id":21166711,"url":"https://github.com/eiel/flow-interfaces-google-apps-script","last_synced_at":"2025-07-09T17:33:07.703Z","repository":{"id":57238718,"uuid":"102066245","full_name":"eiel/flow-interfaces-google-apps-script","owner":"eiel","description":null,"archived":false,"fork":false,"pushed_at":"2018-05-22T06:37:18.000Z","size":112,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-16T16:48:59.483Z","etag":null,"topics":["flow","gas","google-app-script"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/flow-interfaces-google-apps-script","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eiel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-01T02:42:28.000Z","updated_at":"2023-10-25T14:11:30.000Z","dependencies_parsed_at":"2022-08-26T15:11:53.089Z","dependency_job_id":null,"html_url":"https://github.com/eiel/flow-interfaces-google-apps-script","commit_stats":null,"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eiel%2Fflow-interfaces-google-apps-script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eiel%2Fflow-interfaces-google-apps-script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eiel%2Fflow-interfaces-google-apps-script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eiel%2Fflow-interfaces-google-apps-script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eiel","download_url":"https://codeload.github.com/eiel/flow-interfaces-google-apps-script/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225579030,"owners_count":17491279,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flow","gas","google-app-script"],"created_at":"2024-11-20T14:52:44.604Z","updated_at":"2024-11-20T14:52:45.386Z","avatar_url":"https://github.com/eiel.png","language":"JavaScript","readme":"# flow-interfaces-google-apps-script\n\n[![npm](https://img.shields.io/npm/v/flow-interfaces-google-apps-script.svg)](https://www.npmjs.com/package/flow-interfaces-google-apps-script)\n[![npm](https://img.shields.io/npm/dt/flow-interfaces-google-apps-script.svg)](https://www.npmjs.com/package/flow-interfaces-google-apps-script)\n\n# Usage\n\n## NPM or YARN\n\n```\nnpm install --save-dev flow-interfaces-google-apps-script\n```\n\n## Flow Config\n\nAdd the interfaces to your `.flowconfig`\n\n```\n[libs]\nnode_modules/flow-interfaces-google-apps-script/definitions\n```\n\n# Types\n\nDetailed object types described in the [Google Apps Script docs](https://developers.google.com/apps-script/reference/calendar/) are also available.\n\nThese types are prefixed with gas$, e.g. gas$Event.\n\n# Example\n\n```\n// @flow\nconst res: gas$HTTPResponse = UrlFetchApp.fetch(\"hoge\");\nconst res2: number = res\n```\n\n```\n$ flow\nError: index.js:3\n  3: const res2: number = res\n                          ^^^ gas$HTTPResponse. This type is incompatible with\n  3: const res2: number = res\n                 ^^^^^^ number\n\n\nFound 1 error\n```\n\n# Limited\n\nNot Used MimeType\n\n```\nconst gasMimeType: gas$$Base$Enum$MimeType = ((MimeType: any): gas$Base$Enum$MimeType);\nconst mimeType: gas$Base$MimeType = gasMimeType.ZIP;\n```\n\n# TODO\n\n## Script Services\n\n* [X] Base\n* [X] Cache\n* [X] Charts\n* [X] Content\n* [X] HTML\n* [X] JDBC\n* [X] Lock\n* [X] Mail\n* [X] Optimization\n* [X] Properties\n* [X] Script\n* [X] URL Fetch\n* [X] Utilities\n* [X] XML\n\n\n## G Suite Service\n\n* [X] Calendar\n* [X] Contacts\n* [X] Document\n* [X] Drive\n* [X] Forms\n* [X] Gmail\n* [X] Groups\n* [X] Language\n* [X] Maps\n* [X] Spreadsheet\n\n## Advanced Google Services\n\n* [ ] Admin SDK\n* [ ] AdSense\n* [ ] Analytics\n* [ ] Apps Activity\n* [ ] BigQuery\n* [ ] Calendar\n* [ ] Classroom\n* [ ] Drive\n* [ ] DoubleClick Campaigns\n* [ ] Fusion Tables\n* [ ] Gmail\n* [ ] Google+\n* [ ] Google+ Domains\n* [ ] Mirror\n* [ ] Prediction\n* [ ] Sheets\n* [ ] Shopping Content\n* [ ] Slides\n* [ ] Tasks\n* [ ] Tag Manager\n* [ ] URL Shortener\n* [ ] YouTube\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feiel%2Fflow-interfaces-google-apps-script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feiel%2Fflow-interfaces-google-apps-script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feiel%2Fflow-interfaces-google-apps-script/lists"}