Skip to content

Commit

Permalink
Add multiple recipes (#444)
Browse files Browse the repository at this point in the history
  • Loading branch information
SpecialAro authored Oct 19, 2023
1 parent 41bbfad commit 5438c46
Show file tree
Hide file tree
Showing 40 changed files with 503 additions and 0 deletions.
19 changes: 19 additions & 0 deletions recipes/badoo/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions recipes/badoo/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = Ferdium => Ferdium;
9 changes: 9 additions & 0 deletions recipes/badoo/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"id": "badoo",
"name": "Badoo",
"version": "1.0.0",
"license": "MIT",
"config": {
"serviceURL": "https://badoo.com"
}
}
16 changes: 16 additions & 0 deletions recipes/badoo/webview.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : { default: obj };
}

const _path = _interopRequireDefault(require('path'));

module.exports = Ferdium => {
// TODO: If your SNAME service has unread messages, uncomment these lines to implement the logic for updating the badges
// const getMessages = () => {
// // TODO: Insert your notification-finding code here
// Ferdium.setBadge(0, 0);
// };
// Ferdium.loop(getMessages);

Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
};
23 changes: 23 additions & 0 deletions recipes/conceptboard/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions recipes/conceptboard/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = Ferdium => Ferdium;
9 changes: 9 additions & 0 deletions recipes/conceptboard/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"id": "conceptboard",
"name": "Conceptboard",
"version": "1.0.0",
"license": "MIT",
"config": {
"serviceURL": "https://app.conceptboard.com/"
}
}
16 changes: 16 additions & 0 deletions recipes/conceptboard/webview.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : { default: obj };
}

const _path = _interopRequireDefault(require('path'));

module.exports = Ferdium => {
// TODO: If your SNAME service has unread messages, uncomment these lines to implement the logic for updating the badges
// const getMessages = () => {
// // TODO: Insert your notification-finding code here
// Ferdium.setBadge(0, 0);
// };
// Ferdium.loop(getMessages);

Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
};
10 changes: 10 additions & 0 deletions recipes/infomaniak-calendar/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions recipes/infomaniak-calendar/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = Ferdium => Ferdium;
9 changes: 9 additions & 0 deletions recipes/infomaniak-calendar/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"id": "infomaniak-calendar",
"name": "Infomaniak Calendar",
"version": "1.0.0",
"license": "MIT",
"config": {
"serviceURL": "https://calendar.infomaniak.com"
}
}
16 changes: 16 additions & 0 deletions recipes/infomaniak-calendar/webview.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : { default: obj };
}

const _path = _interopRequireDefault(require('path'));

module.exports = Ferdium => {
// TODO: If your SNAME service has unread messages, uncomment these lines to implement the logic for updating the badges
// const getMessages = () => {
// // TODO: Insert your notification-finding code here
// Ferdium.setBadge(0, 0);
// };
// Ferdium.loop(getMessages);

Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
};
36 changes: 36 additions & 0 deletions recipes/invoice-ninja/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions recipes/invoice-ninja/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = Ferdium => Ferdium;
9 changes: 9 additions & 0 deletions recipes/invoice-ninja/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"id": "invoice-ninja",
"name": "Invoice Ninja",
"version": "1.0.0",
"license": "MIT",
"config": {
"serviceURL": "https://invoicing.co/#/"
}
}
16 changes: 16 additions & 0 deletions recipes/invoice-ninja/webview.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : { default: obj };
}

const _path = _interopRequireDefault(require('path'));

module.exports = Ferdium => {
// TODO: If your SNAME service has unread messages, uncomment these lines to implement the logic for updating the badges
// const getMessages = () => {
// // TODO: Insert your notification-finding code here
// Ferdium.setBadge(0, 0);
// };
// Ferdium.loop(getMessages);

Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
};
Loading

0 comments on commit 5438c46

Please sign in to comment.