git.delta.rocks / unique-network / refs/commits / dc42d67e1052

difftreelog

fix remove cyclic imports

Daniel Shiposha2022-09-23parent: #6678c1e.patch.diff
in: master

4 files changed

modifiedtests/src/eth/util/playgrounds/types.tsdiffbeforeafterboth
1import {EthUniqueHelper} from './unique.dev';
2
3export interface ContractImports {1export interface ContractImports {
4 solPath: string;2 solPath: string;
16 args: { [key: string]: string }14 args: { [key: string]: string }
17};15};
18
19export type EthUniqueHelperConstructor = new (...args: any[]) => EthUniqueHelper;
2016
modifiedtests/src/eth/util/playgrounds/unique.dev.tsdiffbeforeafterboth
1818
19import {DevUniqueHelper} from '../../../util/playgrounds/unique.dev';19import {DevUniqueHelper} from '../../../util/playgrounds/unique.dev';
2020
21import {ContractImports, CompiledContract, NormalizedEvent, EthUniqueHelperConstructor} from './types';21import {ContractImports, CompiledContract, NormalizedEvent} from './types';
2222
23// Native contracts ABI23// Native contracts ABI
24import collectionHelpersAbi from '../../collectionHelpersAbi.json';24import collectionHelpersAbi from '../../collectionHelpersAbi.json';
modifiedtests/src/util/playgrounds/types.tsdiffbeforeafterboth
2// SPDX-License-Identifier: Apache-2.02// SPDX-License-Identifier: Apache-2.0
33
4import {IKeyringPair} from '@polkadot/types/types';4import {IKeyringPair} from '@polkadot/types/types';
5import {UniqueHelper} from './unique';
65
7export interface IEvent {6export interface IEvent {
8 section: string;7 section: string;
modifiedtests/src/util/playgrounds/unique.tsdiffbeforeafterboth
2772 }2772 }
2773}2773}
2774
2775export type UniqueHelperConstructor = new(...args: any[]) => UniqueHelper;
27742776
2775// eslint-disable-next-line @typescript-eslint/naming-convention2777// eslint-disable-next-line @typescript-eslint/naming-convention
2776function ScheduledUniqueHelper<T extends UniqueHelperConstructor>(Base: T) {2778function ScheduledUniqueHelper<T extends UniqueHelperConstructor>(Base: T) {