mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-23 11:31:57 +03:00
Add GitHub channel provider (#424)
Signed-off-by: Alexander Platov <sas_lord@mail.ru>
This commit is contained in:
parent
08442dde8e
commit
b3c0db92c3
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -107,6 +107,12 @@ export function createModel (builder: Builder): void {
|
||||
placeholder: '@appleseed'
|
||||
}, contact.channelProvider.Twitter)
|
||||
|
||||
builder.createDoc(contact.class.ChannelProvider, core.space.Model, {
|
||||
label: 'GitHub' as IntlString,
|
||||
icon: contact.icon.GitHub,
|
||||
placeholder: '@appleseed'
|
||||
}, contact.channelProvider.GitHub)
|
||||
|
||||
builder.createDoc(core.class.Space, core.space.Model, {
|
||||
name: 'Employees',
|
||||
description: 'Employees',
|
||||
|
@ -121,7 +121,8 @@ export default plugin(contactId, {
|
||||
Phone: '' as Ref<ChannelProvider>,
|
||||
LinkedIn: '' as Ref<ChannelProvider>,
|
||||
Twitter: '' as Ref<ChannelProvider>,
|
||||
Telegram: '' as Ref<ChannelProvider>
|
||||
Telegram: '' as Ref<ChannelProvider>,
|
||||
GitHub: '' as Ref<ChannelProvider>
|
||||
},
|
||||
icon: {
|
||||
Phone: '' as Asset,
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user