Last active
May 16, 2019 21:04
-
-
Save chasers/16495c0c338addc525ca24642400e82e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$schema":"http://json.schemastore.org/install", | |
| "workers":[ | |
| { | |
| "src":"./build/worker.js" | |
| } | |
| ], | |
| "hooks":[ | |
| { | |
| "endpoint":"http://dev.chasegranberry.net/webhooks/cloudflare/v1", | |
| "events":[ | |
| "option-change:account", | |
| "oauth-login" | |
| ], | |
| "block":true, | |
| "authenticate":[ | |
| "account" | |
| ], | |
| "failure":{ | |
| "action":"notify", | |
| "message":"There was an error communicating with Logflare." | |
| } | |
| } | |
| ], | |
| "preview":{ | |
| "hide":true | |
| }, | |
| "options":{ | |
| "properties":{ | |
| "account":{ | |
| "title":"Logflare Account", | |
| "type":"object", | |
| "format":"account", | |
| "services":[ | |
| "logflare-dev" | |
| ], | |
| "required":true, | |
| "order":1 | |
| }, | |
| "source":{ | |
| "showIf":{ | |
| "account":{ | |
| "op":"!=", | |
| "value":"" | |
| } | |
| }, | |
| "title":"Source", | |
| "type":"string", | |
| "description":"Which source should we send logs to?", | |
| "order":2, | |
| "required":true, | |
| "enum":[ | |
| "signin" | |
| ], | |
| "enumNames":{ | |
| "signin":"Sign in to select a source" | |
| } | |
| } | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment