From a412aad89176dffa802d1df4bc888cbb354e6614 Mon Sep 17 00:00:00 2001 From: Maitre_Oda Date: Sat, 28 Aug 2021 15:38:56 +0200 Subject: New recipe: aws (amazon web services) (#643) Co-authored-by: Vijay Raghavan Aravamudhan --- recipes/amazon-web-services/LICENSE | 21 ++++++++++++++++++++ recipes/amazon-web-services/README.md | 2 ++ recipes/amazon-web-services/icon.svg | 34 ++++++++++++++++++++++++++++++++ recipes/amazon-web-services/index.js | 2 ++ recipes/amazon-web-services/package.json | 12 +++++++++++ recipes/amazon-web-services/service.css | 1 + recipes/amazon-web-services/webview.js | 14 +++++++++++++ 7 files changed, 86 insertions(+) create mode 100644 recipes/amazon-web-services/LICENSE create mode 100644 recipes/amazon-web-services/README.md create mode 100644 recipes/amazon-web-services/icon.svg create mode 100644 recipes/amazon-web-services/index.js create mode 100644 recipes/amazon-web-services/package.json create mode 100644 recipes/amazon-web-services/service.css create mode 100644 recipes/amazon-web-services/webview.js (limited to 'recipes') diff --git a/recipes/amazon-web-services/LICENSE b/recipes/amazon-web-services/LICENSE new file mode 100644 index 0000000..99d6f23 --- /dev/null +++ b/recipes/amazon-web-services/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2020 Vijay Raghavan Aravamudhan + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/recipes/amazon-web-services/README.md b/recipes/amazon-web-services/README.md new file mode 100644 index 0000000..6bf701e --- /dev/null +++ b/recipes/amazon-web-services/README.md @@ -0,0 +1,2 @@ +# amazon-web-services for Ferdi +This is a Ferdi recipe for amazon-web-services diff --git a/recipes/amazon-web-services/icon.svg b/recipes/amazon-web-services/icon.svg new file mode 100644 index 0000000..9cb5ea1 --- /dev/null +++ b/recipes/amazon-web-services/icon.svg @@ -0,0 +1,34 @@ + + + + + + + diff --git a/recipes/amazon-web-services/index.js b/recipes/amazon-web-services/index.js new file mode 100644 index 0000000..d0e2779 --- /dev/null +++ b/recipes/amazon-web-services/index.js @@ -0,0 +1,2 @@ +module.exports = Ferdi => class AmazonWebServices extends Ferdi { +}; diff --git a/recipes/amazon-web-services/package.json b/recipes/amazon-web-services/package.json new file mode 100644 index 0000000..f0203e5 --- /dev/null +++ b/recipes/amazon-web-services/package.json @@ -0,0 +1,12 @@ +{ + "id": "amazon-web-services", + "name": "Amazon Web Services", + "version": "1.0.0", + "license": "MIT", + "aliases": [ + "aws" + ], + "config": { + "serviceURL": "https://aws.amazon.com/" + } +} diff --git a/recipes/amazon-web-services/service.css b/recipes/amazon-web-services/service.css new file mode 100644 index 0000000..38dcab0 --- /dev/null +++ b/recipes/amazon-web-services/service.css @@ -0,0 +1 @@ +/* Insert custom styles you want to insert here */ \ No newline at end of file diff --git a/recipes/amazon-web-services/webview.js b/recipes/amazon-web-services/webview.js new file mode 100644 index 0000000..6deb036 --- /dev/null +++ b/recipes/amazon-web-services/webview.js @@ -0,0 +1,14 @@ +var _path = _interopRequireDefault(require('path')); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +module.exports = Ferdi => { + // TODO: If your amazon-web-services service has unread messages, uncomment these lines to implement the logic for updating the badges + // const getMessages = function getMessages() { + // // TODO: Insert your notification-finding code here + // Ferdi.setBadge(0, 0); + // }; + // Ferdi.loop(getMessages); + + Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); +}; -- cgit v1.2.3-54-g00ecf