forked from polkadot-js/apps
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.ts
More file actions
23 lines (21 loc) · 743 Bytes
/
index.ts
File metadata and controls
23 lines (21 loc) · 743 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2017-2020 @polkadot/apps-config authors & contributors
// SPDX-License-Identifier: Apache-2.0
// overrides based on the actual software node type, valid values are one of -
// polkadot, substrate, beachball
const identityNodes: Record<string, string> = [
['centrifuge chain', 'polkadot'],
['edgeware-node', 'substrate'],
['joystream-node', 'beachball'],
['node-template', 'substrate'],
['parity-polkadot', 'polkadot'],
['phala-substrate-node', 'substrate'],
['polkadot-js', 'polkadot'],
['subsocial-node', 'substrate'],
['substrate-node', 'substrate']
].reduce((icons, [spec, icon]): Record<string, string> => ({
...icons,
[spec.toLowerCase().replace(/-/g, ' ')]: icon
}), {});
export {
identityNodes
};