feat(trello): add trello integration (#1380)

This commit is contained in:
Rıdvan Akca
2023-10-24 16:13:08 +03:00
committed by GitHub
parent 627184f124
commit ee90422f56
15 changed files with 155 additions and 3 deletions

View File

@@ -0,0 +1,34 @@
import generateAuthUrl from './generate-auth-url';
import verifyCredentials from './verify-credentials';
import isStillVerified from './is-still-verified';
export default {
fields: [
{
key: 'oAuthRedirectUrl',
label: 'OAuth Redirect URL',
type: 'string' as const,
required: true,
readOnly: true,
value: '{WEB_APP_URL}/app/trello/connections/add',
placeholder: null,
description: '',
clickToCopy: true,
},
{
key: 'apiKey',
label: 'API Key',
type: 'string' as const,
required: true,
readOnly: false,
value: null,
placeholder: null,
description: 'API Key for your Trello account',
clickToCopy: false,
},
],
generateAuthUrl,
verifyCredentials,
isStillVerified,
};