fixed linting

This commit is contained in:
niels
2022-10-30 11:21:46 +01:00
parent d212cc13b2
commit 424f0b04e4
2 changed files with 77 additions and 85 deletions

View File

@@ -1,24 +1,19 @@
{ {
"arch": [ "arch": ["aarch64", "amd64"],
"aarch64", "codenotary": "alexandrep.github@gmail.com",
"amd64" "description": "Automatically login and redeem promotional free games from the Epic Games Store",
], "image": "ghcr.io/alexbelgium/epicgamesfree-{arch}",
"codenotary": "alexandrep.github@gmail.com", "init": false,
"description": "Automatically login and redeem promotional free games from the Epic Games Store", "map": ["config:rw"],
"image": "ghcr.io/alexbelgium/epicgamesfree-{arch}", "name": "Epic Games Free",
"init": false, "ports": {
"map": [ "3000/tcp": 3000
"config:rw" },
], "ports_description": {
"name": "Epic Games Free", "3000/tcp": "web interface"
"ports": { },
"3000/tcp": 3000 "slug": "epicgamesfree",
}, "url": "https://github.com/alexbelgium/hassio-addons",
"ports_description": { "version": "ee3dff4b29757e28282cada9bcb3e8f84f1c3041-2022-10-23",
"3000/tcp": "web interface" "webui": "[PROTO:ssl]://[HOST]:[PORT:3000]"
},
"slug": "epicgamesfree",
"url": "https://github.com/alexbelgium/hassio-addons",
"version": "ee3dff4b29757e28282cada9bcb3e8f84f1c3041-2022-10-23",
"webui": "[PROTO:ssl]://[HOST]:[PORT:3000]"
} }

View File

@@ -1,65 +1,62 @@
{ {
"runOnStartup": true, "runOnStartup": true,
"cronSchedule": "5 16 * * *", "cronSchedule": "5 16 * * *",
"logLevel": "info", "logLevel": "info",
"webPortalConfig": { "webPortalConfig": {
"baseUrl": "https://epic.exmaple.com", "baseUrl": "https://localhost:3000"
}, },
"accounts": [ "accounts": [
{ {
"email": "example@gmail.com", "email": "example@gmail.com",
"password": "abc1234", "password": "abc1234",
"totp": "EMNCF83ULU3K3PXPJBSWY3DPEHPK3PXPJWY3DPEHPK3YI69R39NE" "totp": "EMNCF83ULU3K3PXPJBSWY3DPEHPK3PXPJWY3DPEHPK3YI69R39NE"
}, }
], ],
"notifiers": [ "notifiers": [
// You may configure as many of any notifier as needed {
// Here are some examples of each type "type": "email",
{ "smtpHost": "smtp.gmail.com",
"type": "email", "smtpPort": 587,
"smtpHost": "smtp.gmail.com", "emailSenderAddress": "hello@gmail.com",
"smtpPort": 587, "emailSenderName": "Epic Games Captchas",
"emailSenderAddress": "hello@gmail.com", "emailRecipientAddress": "hello@gmail.com",
"emailSenderName": "Epic Games Captchas", "secure": false,
"emailRecipientAddress": "hello@gmail.com", "auth": {
"secure": false, "user": "hello@gmail.com",
"auth": { "pass": "abc123"
"user": "hello@gmail.com", }
"pass": "abc123", },
}, {
}, "type": "discord",
{ "webhookUrl": "https://discord.com/api/webhooks/123456789123456789/A-abcdefghijklmn-abcdefghijklmnopqrst12345678-abcdefghijklmnop123456",
"type": "discord", "mentionedUsers": ["914360712086843432"],
"webhookUrl": "https://discord.com/api/webhooks/123456789123456789/A-abcdefghijklmn-abcdefghijklmnopqrst12345678-abcdefghijklmnop123456", "mentionedRoles": ["734548250895319070"]
// Optional list of users or roles to mention },
"mentionedUsers": ["914360712086843432"], {
"mentionedRoles": ["734548250895319070"], "type": "telegram",
}, "token": "644739147:AAGMPo-Jz3mKRnHRTnrPEDi7jUF1vqNOD5k",
{ "chatId": "-987654321"
"type": "telegram", },
"token": "644739147:AAGMPo-Jz3mKRnHRTnrPEDi7jUF1vqNOD5k", {
"chatId": "-987654321", "type": "apprise",
}, "apiUrl": "http://192.168.1.2:8000",
{ "urls": "mailto://user:pass@gmail.com"
"type": "apprise", },
"apiUrl": "http://192.168.1.2:8000", {
"urls": "mailto://user:pass@gmail.com", "type": "pushover",
}, "token": "a172fyyl9gw99p2xi16tq8hnib48p2",
{ "userKey": "uvgidym7l5ggpwu2r8i1oy6diaapll"
"type": "pushover", },
"token": "a172fyyl9gw99p2xi16tq8hnib48p2", {
"userKey": "uvgidym7l5ggpwu2r8i1oy6diaapll", "type": "gotify",
}, "apiUrl": "https://gotify.net",
{ "token": "SnL-wAvmfo_QT"
"type": "gotify", },
"apiUrl": "https://gotify.net", {
"token": "SnL-wAvmfo_QT", "type": "homeassistant",
}, "instance": "https://homeassistant.example.com",
{ "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c",
"type": "homeassistant", "notifyservice": "mobile_app_smartphone_name"
"instance": "https://homeassistant.example.com", }
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", ]
"notifyservice": "mobile_app_smartphone_name",
},
],
} }