-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #96 from friggframework/ironclad-and-slack-updates
Ironclad and slack updates
- Loading branch information
Showing
7 changed files
with
47 additions
and
79 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,6 @@ | ||
const AuthFields = { | ||
jsonSchema: { | ||
type: 'object', | ||
required: ['clientId', 'clientSecret'], | ||
properties: { | ||
clientId: { | ||
type: 'string', | ||
title: 'Client ID', | ||
}, | ||
clientSecret: { | ||
type: 'string', | ||
title: 'Client Secret', | ||
}, | ||
}, | ||
}, | ||
uiSchema: { | ||
clientId: { | ||
'ui:help': | ||
'Your Client ID can be found under App Credentials on the Basic Information page for your App.', | ||
'ui:placeholder': 'Client ID...', | ||
}, | ||
clientSecret: { | ||
'ui:widget': 'password', | ||
'ui:help': | ||
'Your Client Secret can be found in under App Credentials on the Basic Information page for your App.', | ||
'ui:placeholder': 'Client Secret...', | ||
}, | ||
}, | ||
jsonSchema: {}, | ||
uiSchema: {}, | ||
}; | ||
|
||
const ConfigFields = { | ||
jsonSchema: { | ||
type: 'object', | ||
required: ['channel'], | ||
properties: { | ||
channel: { | ||
type: 'string', | ||
title: 'Post to Channel:', | ||
enum: [ | ||
'#legal', // Call slack api for channels and add here | ||
'#random', | ||
], | ||
}, | ||
}, | ||
}, | ||
uiSchema: { | ||
channel: { | ||
'ui:widget': 'select', | ||
'ui:placeholder': 'Choose a #channel', | ||
}, | ||
}, | ||
}; | ||
|
||
module.exports = { AuthFields, ConfigFields }; | ||
module.exports = { AuthFields }; |
This file contains 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
This file contains 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
This file contains 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