Add GitHub channel provider (#424)

Signed-off-by: Alexander Platov <sas_lord@mail.ru>
This commit is contained in:
Alexander Platov 2021-11-29 16:49:37 +03:00 committed by GitHub
parent 08442dde8e
commit b3c0db92c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 1250 additions and 1099 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -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',

View File

@ -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