feat(frontend): add IC transactions to unified list util #7284
Annotations
10 errors
Test:
src/frontend/src/lib/utils/transactions.utils.ts#L63
Type '{ symbol: string; network: { id: symbol & BRAND<"NetworkId">; env: "mainnet" | "testnet"; name: string; icon?: string | undefined; iconBW?: string | undefined; buy?: AtLeastOne<{ onramperId?: OnramperNetworkId | undefined; }> | undefined; }; ... 8 more ...; oisyName?: { ...; } | undefined; }' is missing the following properties from type '(AnyTransactionUi & { token: { symbol: string; network: { id: symbol & BRAND<"NetworkId">; env: "mainnet" | "testnet"; name: string; icon?: string | undefined; iconBW?: string | undefined; buy?: AtLeastOne<...> | undefined; }; ... 8 more ...; oisyName?: { ...; } | undefined; }; component: ComponentType; })[]': length, pop, push, concat, and 35 more.
|
Test:
src/frontend/src/lib/utils/transactions.utils.ts#L63
Argument of type '(acc: AllTransactionsUi, token: { symbol: string; network: { id: symbol & BRAND<"NetworkId">; env: "mainnet" | "testnet"; name: string; icon?: string | undefined; iconBW?: string | undefined; buy?: AtLeastOne<...> | undefined; }; ... 8 more ...; oisyName?: { ...; } | undefined; }) => ((AnyTransactionUi & { ...; }) |...' is not assignable to parameter of type '(previousValue: AllTransactionsUi, currentValue: { symbol: string; network: { id: symbol & BRAND<"NetworkId">; env: "mainnet" | "testnet"; name: string; icon?: string | undefined; iconBW?: string | undefined; buy?: AtLeastOne<...> | undefined; }; ... 8 more ...; oisyName?: { ...; } | undefined; }, currentIndex: numb...'.
|
Test:
src/frontend/src/lib/utils/transactions.utils.ts#L108
'$icTransactions' is possibly 'undefined'.
|
Test:
src/frontend/src/lib/utils/transactions.utils.ts#L110
Type 'IcTransactionUi' is missing the following properties from type 'CertifiedData<IcTransactionUi>': data, certified
|
Test:
src/frontend/src/lib/utils/transactions.utils.ts#L112
Cannot find name '$btcStatusesStore'. Did you mean '$btcStatuses'?
|
Test:
src/frontend/src/lib/utils/transactions.utils.ts#L112
Cannot find name '$token'. Did you mean 'token'?
|
Test:
src/frontend/src/tests/lib/utils/transactions.utils.spec.ts#L123
Argument of type '{ $ethTransactions: {}; $ckEthMinterInfo: {}; $ethAddress: undefined; tokens: { symbol: string; network: { id: symbol & BRAND<"NetworkId">; env: "mainnet" | "testnet"; name: string; icon?: string | undefined; iconBW?: string | undefined; buy?: AtLeastOne<...> | undefined; }; ... 8 more ...; oisyName?: { ...; } | und...' is not assignable to parameter of type '{ tokens: { symbol: string; network: { id: symbol & BRAND<"NetworkId">; env: "mainnet" | "testnet"; name: string; icon?: string | undefined; iconBW?: string | undefined; buy?: AtLeastOne<{ ...; }> | undefined; }; ... 8 more ...; oisyName?: { ...; } | undefined; }[]; ... 5 more ...; $btcStatuses: CertifiedStoreData<....'.
|
Test:
src/frontend/src/tests/lib/utils/transactions.utils.spec.ts#L134
Argument of type '{ $ethTransactions: {}; $ckEthMinterInfo: {}; $ethAddress: undefined; tokens: { symbol: string; network: { id: symbol & BRAND<"NetworkId">; env: "mainnet" | "testnet"; name: string; icon?: string | undefined; iconBW?: string | undefined; buy?: AtLeastOne<...> | undefined; }; ... 8 more ...; oisyName?: { ...; } | und...' is not assignable to parameter of type '{ tokens: { symbol: string; network: { id: symbol & BRAND<"NetworkId">; env: "mainnet" | "testnet"; name: string; icon?: string | undefined; iconBW?: string | undefined; buy?: AtLeastOne<{ ...; }> | undefined; }; ... 8 more ...; oisyName?: { ...; } | undefined; }[]; ... 5 more ...; $btcStatuses: CertifiedStoreData<....'.
|
Test:
src/frontend/src/tests/lib/utils/transactions.utils.spec.ts#L144
Argument of type '{ $ethTransactions: {}; $ckEthMinterInfo: {}; $ethAddress: undefined; tokens: { symbol: string; network: { id: symbol & BRAND<"NetworkId">; env: "mainnet" | "testnet"; name: string; icon?: string | undefined; iconBW?: string | undefined; buy?: AtLeastOne<...> | undefined; }; ... 8 more ...; oisyName?: { ...; } | und...' is not assignable to parameter of type '{ tokens: { symbol: string; network: { id: symbol & BRAND<"NetworkId">; env: "mainnet" | "testnet"; name: string; icon?: string | undefined; iconBW?: string | undefined; buy?: AtLeastOne<{ ...; }> | undefined; }; ... 8 more ...; oisyName?: { ...; } | undefined; }[]; ... 5 more ...; $btcStatuses: CertifiedStoreData<....'.
|
Test:
src/frontend/src/tests/lib/utils/transactions.utils.spec.ts#L160
Argument of type '{ $btcTransactions: undefined; $ckEthMinterInfo: {}; $ethAddress: undefined; tokens: RequiredTokenWithLinkedData[]; $ethTransactions: EthTransactionsData; }' is not assignable to parameter of type '{ tokens: { symbol: string; network: { id: symbol & BRAND<"NetworkId">; env: "mainnet" | "testnet"; name: string; icon?: string | undefined; iconBW?: string | undefined; buy?: AtLeastOne<{ ...; }> | undefined; }; ... 8 more ...; oisyName?: { ...; } | undefined; }[]; ... 5 more ...; $btcStatuses: CertifiedStoreData<....'.
|
Loading