From 9848d97b561d0af39ba4bdef8cb2c22bf64c1ed1 Mon Sep 17 00:00:00 2001 From: Joshy Orndorff Date: Tue, 10 Mar 2020 12:13:18 -0400 Subject: [PATCH] Add types for Substrate node template (#2364) --- 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 8ce56f273b..879421feaf 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 0000000000..8167251330 --- /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' +};