From c148dc3c22a42658a575de3f09b375f0a34274d8 Mon Sep 17 00:00:00 2001 From: Joshy Orndorff Date: Tue, 10 Mar 2020 08:45:52 -0400 Subject: [PATCH] Add types for Substrate node template --- packages/apps-config/src/api/spec/index.ts | 4 +++- packages/apps-config/src/api/spec/node-template.ts | 8 ++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 packages/apps-config/src/api/spec/node-template.ts diff --git a/packages/apps-config/src/api/spec/index.ts b/packages/apps-config/src/api/spec/index.ts index 8ce56f273be2..879421feafdd 100644 --- a/packages/apps-config/src/api/spec/index.ts +++ b/packages/apps-config/src/api/spec/index.ts @@ -5,9 +5,11 @@ import centrifugeChain from './centrifuge-chain'; import edgeware from './edgeware'; import kulupu from './kulupu'; +import nodeTemplate from './node-template'; export default { 'centrifuge-chain': centrifugeChain, edgeware, - kulupu + kulupu, + 'node-template': nodeTemplate }; diff --git a/packages/apps-config/src/api/spec/node-template.ts b/packages/apps-config/src/api/spec/node-template.ts new file mode 100644 index 000000000000..8167251330f8 --- /dev/null +++ b/packages/apps-config/src/api/spec/node-template.ts @@ -0,0 +1,8 @@ +// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// This software may be modified and distributed under the terms +// of the Apache-2.0 license. See the LICENSE file for details. + +export default { + Address: 'AccountId', + LookupSource: 'AccountId' +};