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", "name": "Twitch",
"key": "twitch", "key": "twitch",
"slug": "twitch",
"iconUrl": "https://automatisch.io/apps/twitch.png", "iconUrl": "https://automatisch.io/apps/twitch.png",
"docUrl": "https://automatisch.io/docs/twitch", "docUrl": "https://automatisch.io/docs/twitch",
"primaryColor": "6441a5", "primaryColor": "6441a5",
@@ -12,6 +13,7 @@
"required": true, "required": true,
"readOnly": true, "readOnly": true,
"value": "http://localhost:3000/sample", "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.", "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", "docUrl": "https://automatisch.io/docs/twitch#oauth-redirect-url",
"clickToCopy": true "clickToCopy": true
@@ -23,6 +25,7 @@
"required": true, "required": true,
"readOnly": false, "readOnly": false,
"value": null, "value": null,
"placeholder": null,
"description": null, "description": null,
"docUrl": "https://automatisch.io/docs/twitch#consumer-key", "docUrl": "https://automatisch.io/docs/twitch#consumer-key",
"clickToCopy": false "clickToCopy": false
@@ -34,6 +37,7 @@
"required": true, "required": true,
"readOnly": false, "readOnly": false,
"value": null, "value": null,
"placeholder": null,
"description": null, "description": null,
"docUrl": "https://automatisch.io/docs/twitch#consumer-secret", "docUrl": "https://automatisch.io/docs/twitch#consumer-secret",
"clickToCopy": false "clickToCopy": false

View File

@@ -1,6 +1,7 @@
{ {
"name": "Twitter", "name": "Twitter",
"key": "twitter", "key": "twitter",
"slug": "twitter",
"iconUrl": "https://automatisch.io/apps/twitter.png", "iconUrl": "https://automatisch.io/apps/twitter.png",
"docUrl": "https://automatisch.io/docs/twitter", "docUrl": "https://automatisch.io/docs/twitter",
"primaryColor": "2DAAE1", "primaryColor": "2DAAE1",
@@ -12,6 +13,7 @@
"required": true, "required": true,
"readOnly": true, "readOnly": true,
"value": "http://localhost:3000/sample", "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.", "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", "docUrl": "https://automatisch.io/docs/twitter#oauth-redirect-url",
"clickToCopy": true "clickToCopy": true
@@ -23,6 +25,7 @@
"required": true, "required": true,
"readOnly": false, "readOnly": false,
"value": null, "value": null,
"placeholder": null,
"description": "It's the value you can remember later on while changing connection settings.", "description": "It's the value you can remember later on while changing connection settings.",
"docUrl": "https://automatisch.io/docs/twitter#display-name", "docUrl": "https://automatisch.io/docs/twitter#display-name",
"clickToCopy": false "clickToCopy": false
@@ -34,6 +37,7 @@
"required": true, "required": true,
"readOnly": false, "readOnly": false,
"value": null, "value": null,
"placeholder": null,
"description": null, "description": null,
"docUrl": "https://automatisch.io/docs/twitter#consumer-key", "docUrl": "https://automatisch.io/docs/twitter#consumer-key",
"clickToCopy": false "clickToCopy": false
@@ -45,6 +49,7 @@
"required": true, "required": true,
"readOnly": false, "readOnly": false,
"value": null, "value": null,
"placeholder": null,
"description": null, "description": null,
"docUrl": "https://automatisch.io/docs/twitter#consumer-secret", "docUrl": "https://automatisch.io/docs/twitter#consumer-secret",
"clickToCopy": false "clickToCopy": false

View File

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