Move api-derive to correct location (#4343)
* Move api-derive to correct location * Adjust (linting ok) * No composite * ApiDerive split * Adjust * Still WIP, getting closer * It lints * derive build issues sorted * It builds :) * Add system_health to mock * api-augment usage * Cleanups * Adjust paths * linting * Some <'s * Revert <>'s * linting * ordering * Augmentation tweaks * yarn.lock * export
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
// Copyright 2017-2021 @polkadot/api-contract authors & contributors
|
||||
// Copyright 2017-2021 @polkadot/api-augment authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import '@polkadot/types/augment';
|
||||
import './consts';
|
||||
import './errors';
|
||||
import './events';
|
||||
import './query';
|
||||
import './rpc';
|
||||
import './tx';
|
||||
// trigger in the same way as we do externally
|
||||
import '@polkadot/api-augment/augment';
|
||||
|
||||
export { packageInfo } from './packageInfo';
|
||||
|
||||
// Important: we do the exports here via the full package name
|
||||
export * from '@polkadot/api-augment/consts';
|
||||
export * from '@polkadot/api-augment/errors';
|
||||
export * from '@polkadot/api-augment/events';
|
||||
export * from '@polkadot/api-augment/query';
|
||||
export * from '@polkadot/api-augment/tx';
|
||||
|
||||
Reference in New Issue
Block a user