diff --git a/packages/apps-config/src/api/spec/subsocial.ts b/packages/apps-config/src/api/spec/subsocial.ts index ce8dbb557b..b44890f765 100644 --- a/packages/apps-config/src/api/spec/subsocial.ts +++ b/packages/apps-config/src/api/spec/subsocial.ts @@ -1,6 +1,9 @@ // Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 -import { types } from '@subsocial/types/substrate'; +// We only load the definitions here explicitly - if we try to go via +// import { types } from '@subsocial/types/substrate'; +// we end up with multiple version of types/API +import definitions from '@subsocial/types/substrate/interfaces/subsocial/definitions'; -export default { types }; +export default definitions;