{"_id":"@curiovision/gwao-nodejs","_rev":"6-16522cd46b8e01073de87373fd681521","time":{"created":"2023-07-27T02:38:54.951Z","0.0.1":"2023-06-20T16:22:01.575Z","modified":"2023-09-15T17:50:16.732Z","1.2.0":"2023-07-27T02:38:55.233Z","1.2.1":"2023-07-27T04:39:49.133Z","1.3.0":"2023-08-30T20:42:58.834Z","1.4.0":"2023-09-15T17:50:16.537Z"},"name":"@curiovision/gwao-nodejs","dist-tags":{"latest":"1.4.0"},"versions":{"1.2.0":{"name":"@curiovision/gwao-nodejs","version":"1.2.0","description":"Node.js TypeScript types library for Google Workspace Add-Ons for Alternate Runtimes.","main":"build/index.js","types":"build/index.d.ts","scripts":{"build":"rimraf ./build && tsc","lint":"eslint .","format:check":"prettier --check .","format:write":"prettier --write .","prepare":"husky install","prepublishOnly":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/CurioVision/gwao-nodejs.git"},"keywords":["node","typescript","google workspace"],"author":{"name":"Jay Tavares","email":"jay@curiovision.com"},"license":"MIT","bugs":{"url":"https://github.com/CurioVision/gwao-nodejs/issues"},"homepage":"https://github.com/CurioVision/gwao-nodejs#readme","devDependencies":{"@typescript-eslint/eslint-plugin":"^5.60.0","@typescript-eslint/parser":"^5.60.0","eslint":"^8.43.0","husky":"^8.0.0","prettier":"^2.8.8","pretty-quick":"^3.1.3","rimraf":"^5.0.1","typescript":"^5.1.3"},"gitHead":"5011f0d805b86ebc33ae035b0413b6b4b686aaa0","_id":"@curiovision/gwao-nodejs@1.2.0","_nodeVersion":"16.14.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-5Rda2kSfYezUPYGwFzNDAt89f6IL3alpk1q4Afpf8ZilWeRjC/g8i5XPUCqnV+r4z+tNapt9l7WwpSV+jIkyvg==","shasum":"be512864102a5898ea91c20ac02f8f24e1cb3982","tarball":"https://registry.npmjs.org/@curiovision/gwao-nodejs/-/gwao-nodejs-1.2.0.tgz","fileCount":102,"unpackedSize":74025,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBy4ZS7LX0iyD1+fM9/cpBhwEkH5EYJi5WDAFcFp+ZvMAiEAk56eIWrzWcBMtovVtbEypLI0GdYnFCgybL1487XuALk="}]},"_npmUser":{"name":"cvj","email":"jay@curiovision.com"},"directories":{},"maintainers":[{"name":"cvj","email":"jay@curiovision.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gwao-nodejs_1.2.0_1690425535087_0.7241764809504003"},"_hasShrinkwrap":false},"1.2.1":{"name":"@curiovision/gwao-nodejs","version":"1.2.1","description":"Node.js TypeScript types library for Google Workspace Add-Ons for Alternate Runtimes.","main":"build/index.js","types":"build/index.d.ts","scripts":{"build":"rimraf ./build && tsc","lint":"eslint .","format:check":"prettier --check .","format:write":"prettier --write .","prepare":"husky install","prepublishOnly":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/CurioVision/gwao-nodejs.git"},"keywords":["node","typescript","google workspace"],"author":{"name":"Jay Tavares","email":"jay@curiovision.com"},"license":"MIT","bugs":{"url":"https://github.com/CurioVision/gwao-nodejs/issues"},"homepage":"https://github.com/CurioVision/gwao-nodejs#readme","devDependencies":{"@typescript-eslint/eslint-plugin":"^5.60.0","@typescript-eslint/parser":"^5.60.0","eslint":"^8.43.0","husky":"^8.0.0","prettier":"^2.8.8","pretty-quick":"^3.1.3","rimraf":"^5.0.1","typescript":"^5.1.3"},"gitHead":"80e76c8e5c5078d97641e54d457eeed90491e885","_id":"@curiovision/gwao-nodejs@1.2.1","_nodeVersion":"16.20.1","_npmVersion":"8.19.4","dist":{"integrity":"sha512-ETO9GyT6FW5qNn7q8OA7Hb7D/qQdkoeRtyoOqz6ijWGMpij3eqo4WHZw9515UUgVEefuoAIq6zhahMbNnca5Wg==","shasum":"77ea0e5e54d686e36b821f4da95c3bdf2948ec96","tarball":"https://registry.npmjs.org/@curiovision/gwao-nodejs/-/gwao-nodejs-1.2.1.tgz","fileCount":103,"unpackedSize":75299,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCZOicybhg+Mw+KfTT123/ht1dJivQQoYHN21GRe1t31gIhAIJWPuiq2pzKBRJW7tWXXZQ4X0AUVXm510DCvTRtET1n"}]},"_npmUser":{"name":"cvj","email":"jay@curiovision.com"},"directories":{},"maintainers":[{"name":"cvj","email":"jay@curiovision.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gwao-nodejs_1.2.1_1690432788968_0.18218169128350503"},"_hasShrinkwrap":false},"1.3.0":{"name":"@curiovision/gwao-nodejs","version":"1.3.0","description":"Node.js TypeScript types library for Google Workspace Add-Ons for Alternate Runtimes.","main":"build/index.js","types":"build/index.d.ts","scripts":{"build":"rimraf ./build && tsc","build:watch":"rimraf ./build && tsc --watch","build:prod":"rimraf ./build && tsc -p tsconfig.prod.json","lint":"eslint .","format:check":"prettier --check .","format:write":"prettier --write .","prepare":"husky install","prepublishOnly":"npm run build:prod"},"repository":{"type":"git","url":"git+https://github.com/CurioVision/gwao-nodejs.git"},"keywords":["node","typescript","google workspace"],"author":{"name":"Jay Tavares","email":"jay@curiovision.com"},"license":"MIT","bugs":{"url":"https://github.com/CurioVision/gwao-nodejs/issues"},"homepage":"https://github.com/CurioVision/gwao-nodejs#readme","devDependencies":{"@typescript-eslint/eslint-plugin":"^5.60.0","@typescript-eslint/parser":"^5.60.0","eslint":"^8.43.0","husky":"^8.0.0","prettier":"^2.8.8","pretty-quick":"^3.1.3","rimraf":"^5.0.1","typescript":"^5.1.3"},"gitHead":"383d9cca81a5bde2e84090e7afa11ee9766107b4","_id":"@curiovision/gwao-nodejs@1.3.0","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-Bgo751hQ2buFih7j+P1P6ACNNJn/c8Eku3zfUpokSrRtp/IHlElflDbmEKL3onrYTpGsWscgEV6TKn0lTu87Sw==","shasum":"b05ffea3903943547a1c301d65baf084822b2ceb","tarball":"https://registry.npmjs.org/@curiovision/gwao-nodejs/-/gwao-nodejs-1.3.0.tgz","fileCount":67,"unpackedSize":43860,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHvYi5hUKX0EGlhm0pw1xyiCC0CsOE+gEj8yfaNxq2piAiBm5UV2LhytheA1WXDPAcZIKRxCwtmZA0zXfDwn7ZE6ig=="}]},"_npmUser":{"name":"cvj","email":"jay@curiovision.com"},"directories":{},"maintainers":[{"name":"cvj","email":"jay@curiovision.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gwao-nodejs_1.3.0_1693428178649_0.22329100018512382"},"_hasShrinkwrap":false},"1.4.0":{"name":"@curiovision/gwao-nodejs","version":"1.4.0","description":"Node.js TypeScript types library for Google Workspace Add-Ons for Alternate Runtimes.","main":"build/index.js","types":"build/index.d.ts","scripts":{"build":"rimraf ./build && tsc","build:watch":"rimraf ./build && tsc --watch","build:prod":"rimraf ./build && tsc -p tsconfig.prod.json","lint":"eslint .","format:check":"prettier --check .","format:write":"prettier --write .","prepare":"husky install","prepublishOnly":"npm run build:prod"},"repository":{"type":"git","url":"git+https://github.com/CurioVision/gwao-nodejs.git"},"keywords":["node","typescript","google workspace"],"author":{"name":"Jay Tavares","email":"jay@curiovision.com"},"license":"MIT","bugs":{"url":"https://github.com/CurioVision/gwao-nodejs/issues"},"homepage":"https://github.com/CurioVision/gwao-nodejs#readme","devDependencies":{"@typescript-eslint/eslint-plugin":"^5.60.0","@typescript-eslint/parser":"^5.60.0","eslint":"^8.43.0","husky":"^8.0.0","prettier":"^2.8.8","pretty-quick":"^3.1.3","rimraf":"^5.0.1","typescript":"^5.1.3"},"gitHead":"399157535d8e4d12f2e6cac9c12a8d104a497599","_id":"@curiovision/gwao-nodejs@1.4.0","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-Yrb47dobEL6TczB3bP7Ek6+8DWq9pNIb3h/a5rpzT9U55WgbNP2Kz/ci8k5+exFHzDhM57Szpz9CuZFgzd8Z5A==","shasum":"130b55916850020db183e02a1481f8dc756c8491","tarball":"https://registry.npmjs.org/@curiovision/gwao-nodejs/-/gwao-nodejs-1.4.0.tgz","fileCount":83,"unpackedSize":62410,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWGEXe3v+5Mw+12TFvk/IAsMcjyN2RVgehPNYJebJAvwIhAIggq7qZwsNYvTDXVcmX6LaO+4UAmR1QOKKEtcgUUp+j"}]},"_npmUser":{"name":"cvj","email":"jay@curiovision.com"},"directories":{},"maintainers":[{"name":"cvj","email":"jay@curiovision.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gwao-nodejs_1.4.0_1694800216321_0.3850896381041444"},"_hasShrinkwrap":false}},"maintainers":[{"name":"cvj","email":"jay@curiovision.com"}],"description":"Node.js TypeScript types library for Google Workspace Add-Ons for Alternate Runtimes.","homepage":"https://github.com/CurioVision/gwao-nodejs#readme","keywords":["node","typescript","google workspace"],"repository":{"type":"git","url":"git+https://github.com/CurioVision/gwao-nodejs.git"},"author":{"name":"Jay Tavares","email":"jay@curiovision.com"},"bugs":{"url":"https://github.com/CurioVision/gwao-nodejs/issues"},"license":"MIT","readme":"# GWAO Node.js Types\n\n[![npm version](https://badge.fury.io/js/@curiovision%2Fgwao-nodejs.svg)](https://badge.fury.io/js/@curiovision%2Fgwao-nodejs)\n\n---\n\nThis package contains TypeScript types for the Google Workspace Add-ons for Alternate Runtimes API. To my knowledge, there is no official package for the Google Workspace Add-ons for Alternate Runtimes API. This package fills that gap.\n\nThere are two main types of exports:\n\n- Cards (see [RenderActions](./src/cards/v1/RenderActions.ts))\n  - Based on [google.apps.card.v1](https://developers.google.com/workspace/add-ons/reference/rpc/google.apps.card.v1#index)\n- Events (see [EventObject](./src/events/EventObject.ts))\n  - Based on [_Google Workspace Add-ons for Alternate Runtimes_ Event JSON Schemas](https://developers.google.com/workspace/add-ons/guides/alternate-runtimes#json_event_objects)\n\nTODO: Organize exports to delineate Cards vs Event exports (bonus, also delineate v1 cards in anticipation of a v2 from Google.)\n\n## Development\n\n### Building\n\nTo build, run `npm run build`. You can also run `npm run build:watch` to automatically rebuild the code whenever changes are made.\n\n### Tests\n\nSince 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.\n\nIn most cases, the assignments in the `*.spec.ts` files have been pulled straight from example JSON snippets within the official Google documentation.\n\n### Publishing to NPM\n\nThis repository is setup with a Github Action to automatically publish to NPM for every tagged release. To use it, run:\n\n1. `npm version [minor|patch]`\n2. `git push`\n3. `git push --tags`\n","readmeFilename":"README.md"}