chore: Add slug and placeholder fields to apps

This commit is contained in:
Faruk AYDIN
2021-10-13 11:45:13 +02:00
committed by Ali BARIN
parent f50c09ed37
commit c62c44b17e
3 changed files with 10 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
{
"name": "Twitch",
"key": "twitch",
"slug": "twitch",
"iconUrl": "https://automatisch.io/apps/twitch.png",
"docUrl": "https://automatisch.io/docs/twitch",
"primaryColor": "6441a5",
@@ -12,6 +13,7 @@
"required": true,
"readOnly": true,
"value": "http://localhost:3000/sample",
"placeholder": null,
"description": "When asked to input an OAuth callback or redirect URL in Twitch OAuth, enter the URL above.",
"docUrl": "https://automatisch.io/docs/twitch#oauth-redirect-url",
"clickToCopy": true
@@ -23,6 +25,7 @@
"required": true,
"readOnly": false,
"value": null,
"placeholder": null,
"description": null,
"docUrl": "https://automatisch.io/docs/twitch#consumer-key",
"clickToCopy": false
@@ -34,6 +37,7 @@
"required": true,
"readOnly": false,
"value": null,
"placeholder": null,
"description": null,
"docUrl": "https://automatisch.io/docs/twitch#consumer-secret",
"clickToCopy": false

View File

@@ -1,6 +1,7 @@
{
"name": "Twitter",
"key": "twitter",
"slug": "twitter",
"iconUrl": "https://automatisch.io/apps/twitter.png",
"docUrl": "https://automatisch.io/docs/twitter",
"primaryColor": "2DAAE1",
@@ -12,6 +13,7 @@
"required": true,
"readOnly": true,
"value": "http://localhost:3000/sample",
"placeholder": null,
"description": "When asked to input an OAuth callback or redirect URL in Twitter OAuth, enter the URL above.",
"docUrl": "https://automatisch.io/docs/twitter#oauth-redirect-url",
"clickToCopy": true
@@ -23,6 +25,7 @@
"required": true,
"readOnly": false,
"value": null,
"placeholder": null,
"description": "It's the value you can remember later on while changing connection settings.",
"docUrl": "https://automatisch.io/docs/twitter#display-name",
"clickToCopy": false
@@ -34,6 +37,7 @@
"required": true,
"readOnly": false,
"value": null,
"placeholder": null,
"description": null,
"docUrl": "https://automatisch.io/docs/twitter#consumer-key",
"clickToCopy": false
@@ -45,6 +49,7 @@
"required": true,
"readOnly": false,
"value": null,
"placeholder": null,
"description": null,
"docUrl": "https://automatisch.io/docs/twitter#consumer-secret",
"clickToCopy": false

View File

@@ -6,6 +6,7 @@ const appType = new GraphQLObjectType({
fields: {
name: { type: GraphQLString },
key: { type: GraphQLString },
slug: { type: GraphQLString },
iconUrl: { type: GraphQLString },
docUrl: { type: GraphQLString },
primaryColor: { type: GraphQLString },