-
Notifications
You must be signed in to change notification settings - Fork 132
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 #727 from finos/717-recommended-channels
717 Add a recommended set of user channels to the Standard
- Loading branch information
Showing
5 changed files
with
181 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
/** | ||
* SPDX-License-Identifier: Apache-2.0 | ||
* Copyright FINOS FDC3 contributors - see NOTICE file | ||
*/ | ||
|
||
import { DisplayMetadata } from './DisplayMetadata'; | ||
|
||
/** Interface representing the data fields of a user channel, without the functions. */ | ||
interface UserChannelTemplate { | ||
readonly id: string; | ||
readonly type: 'user'; | ||
readonly displayMetadata?: DisplayMetadata; | ||
} | ||
|
||
const recommendedChannels: Array<UserChannelTemplate> = [ | ||
{ | ||
id: 'fdc3.channel.1', | ||
type: 'user', | ||
displayMetadata: { | ||
name: 'Channel 1', | ||
color: 'red', | ||
glyph: '1', | ||
}, | ||
}, | ||
{ | ||
id: 'fdc3.channel.2', | ||
type: 'user', | ||
displayMetadata: { | ||
name: 'Channel 2', | ||
color: 'orange', | ||
glyph: '2', | ||
}, | ||
}, | ||
{ | ||
id: 'fdc3.channel.3', | ||
type: 'user', | ||
displayMetadata: { | ||
name: 'Channel 3', | ||
color: 'yellow', | ||
glyph: '3', | ||
}, | ||
}, | ||
{ | ||
id: 'fdc3.channel.4', | ||
type: 'user', | ||
displayMetadata: { | ||
name: 'Channel 4', | ||
color: 'green', | ||
glyph: '4', | ||
}, | ||
}, | ||
{ | ||
id: 'fdc3.channel.5', | ||
type: 'user', | ||
displayMetadata: { | ||
name: 'Channel 5', | ||
color: 'cyan', | ||
glyph: '5', | ||
}, | ||
}, | ||
{ | ||
id: 'fdc3.channel.6', | ||
type: 'user', | ||
displayMetadata: { | ||
name: 'Channel 6', | ||
color: 'blue', | ||
glyph: '6', | ||
}, | ||
}, | ||
{ | ||
id: 'fdc3.channel.7', | ||
type: 'user', | ||
displayMetadata: { | ||
name: 'Channel 7', | ||
color: 'magenta', | ||
glyph: '7', | ||
}, | ||
}, | ||
{ | ||
id: 'fdc3.channel.8', | ||
type: 'user', | ||
displayMetadata: { | ||
name: 'Channel 8', | ||
color: 'purple', | ||
glyph: '8', | ||
}, | ||
}, | ||
]; | ||
|
||
export default recommendedChannels; |
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 |
---|---|---|
|
@@ -9,3 +9,4 @@ authorFBID: 661277173 | |
This should be truncated. | ||
<!--truncate--> | ||
This line should never render in XML. | ||
|