chore: fix nim import warnings
This commit is contained in:
parent
1bcfd9df14
commit
60b6390581
|
@ -1,8 +1,5 @@
|
||||||
import # std libs
|
import # std libs
|
||||||
sugar, sequtils, times, strutils
|
strutils
|
||||||
|
|
||||||
import
|
|
||||||
stew/faux_closures
|
|
||||||
|
|
||||||
import # status-desktop libs
|
import # status-desktop libs
|
||||||
../../status/chat/chat as status_chat, ./views/communities,
|
../../status/chat/chat as status_chat, ./views/communities,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import NimQml, Tables, json, sequtils, chronicles, times, re, sugar, strutils, os, strformat, algorithm
|
import NimQml, Tables, json, sequtils, chronicles, strutils, os, strformat
|
||||||
import ../../status/[status, mailservers]
|
import ../../status/[status]
|
||||||
import ../../status/constants
|
import ../../status/constants
|
||||||
import ../../status/utils as status_utils
|
import ../../status/utils as status_utils
|
||||||
import ../../status/chat as status_chat
|
import ../../status/chat as status_chat
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
import NimQml, Tables
|
import NimQml, Tables
|
||||||
import ../../../status/chat/[chat, message]
|
import ../../../status/chat/[chat]
|
||||||
import ../../../status/status
|
import ../../../status/status
|
||||||
import ../../../status/ens
|
|
||||||
import ../../../status/accounts
|
import ../../../status/accounts
|
||||||
import strutils
|
import strutils
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,10 @@
|
||||||
import NimQml, Tables, json, sequtils, chronicles, times, re, sugar, strutils, os, strformat, algorithm
|
import NimQml, Tables, json, sequtils, chronicles, strutils
|
||||||
|
|
||||||
import ../../../status/[status, contacts, types]
|
import ../../../status/[status, contacts]
|
||||||
import ../../../status/signals/types as signal_types
|
|
||||||
import ../../../status/ens as status_ens
|
import ../../../status/ens as status_ens
|
||||||
import ../../../status/chat as status_chat
|
import ../../../status/chat as status_chat
|
||||||
import ../../../status/chat/[chat, message]
|
import ../../../status/chat/[chat]
|
||||||
import ../../../status/tasks/[qt, task_runner_impl]
|
import ../../../status/tasks/[task_runner_impl]
|
||||||
|
|
||||||
import communities, chat_item, channels_list, communities, community_list
|
import communities, chat_item, channels_list, communities, community_list
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,6 @@ import ../../../status/chat/chat
|
||||||
import ./community_list
|
import ./community_list
|
||||||
import ./community_item
|
import ./community_item
|
||||||
import ./community_membership_request_list
|
import ./community_membership_request_list
|
||||||
import ./channels_list
|
|
||||||
import ../../utils/image_utils
|
import ../../utils/image_utils
|
||||||
import ../../../status/signals/types as signal_types
|
import ../../../status/signals/types as signal_types
|
||||||
import ../../../status/types
|
import ../../../status/types
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import NimQml, Tables, json, sequtils, chronicles, times, re, sugar, strutils, os, strformat, algorithm
|
import NimQml, json, sequtils, chronicles, re, strutils
|
||||||
|
|
||||||
logScope:
|
logScope:
|
||||||
topics = "formatinput-view"
|
topics = "formatinput-view"
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import NimQml, Tables, sets, json, sugar, re
|
import NimQml, Tables, json, re
|
||||||
import ../../../status/status
|
import ../../../status/status
|
||||||
import ../../../status/accounts
|
import ../../../status/accounts
|
||||||
import ../../../status/chat
|
import ../../../status/chat
|
||||||
import ../../../status/chat/[message,stickers]
|
import ../../../status/chat/[message]
|
||||||
import ../../../status/profile/profile
|
import ../../../status/profile/profile
|
||||||
import ../../../status/ens
|
import ../../../status/ens
|
||||||
import strformat, strutils, sequtils
|
import strformat, strutils, sequtils
|
||||||
|
|
|
@ -5,7 +5,7 @@ import ../../../status/chat
|
||||||
import ../../../status/chat/[message,stickers]
|
import ../../../status/chat/[message,stickers]
|
||||||
import ../../../status/profile/profile
|
import ../../../status/profile/profile
|
||||||
import ../../../status/ens
|
import ../../../status/ens
|
||||||
import strformat, strutils
|
import strutils
|
||||||
import message_format
|
import message_format
|
||||||
|
|
||||||
type
|
type
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import NimQml
|
import NimQml
|
||||||
import Tables
|
import Tables
|
||||||
import json, sequtils, sugar
|
import json, sequtils
|
||||||
import ../../../status/settings
|
import ../../../status/settings
|
||||||
import ../../../status/types
|
import ../../../status/types
|
||||||
import ../../../status/status
|
import ../../../status/status
|
||||||
|
|
|
@ -1,13 +1,12 @@
|
||||||
import atomics, strformat, strutils, sequtils, json, std/wrapnils, parseUtils, tables, chronicles, web3/[ethtypes, conversions], stint
|
import atomics, strutils, sequtils, json, tables, chronicles, web3/[ethtypes, conversions], stint
|
||||||
from sugar import `=>`, `->`
|
|
||||||
import NimQml, json, sequtils, chronicles, strutils, strformat, json
|
import NimQml, json, sequtils, chronicles, strutils, strformat, json
|
||||||
|
|
||||||
import
|
import
|
||||||
../../../status/[status, settings, wallet, tokens],
|
../../../status/[status, wallet, tokens],
|
||||||
../../../status/tokens as status_tokens,
|
../../../status/tokens as status_tokens,
|
||||||
../../../status/tasks/[qt, task_runner_impl]
|
../../../status/tasks/[qt, task_runner_impl]
|
||||||
|
|
||||||
import account_list, account_item, transaction_list, accounts, asset_list, token_list, transactions, history
|
import account_item, accounts, transactions, history
|
||||||
|
|
||||||
logScope:
|
logScope:
|
||||||
topics = "balance-view"
|
topics = "balance-view"
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
import atomics, strformat, strutils, sequtils, json, std/wrapnils, parseUtils, tables, chronicles, web3/[ethtypes, conversions], stint
|
import sequtils, json, chronicles, web3/[ethtypes, conversions], stint
|
||||||
import NimQml, json, sequtils, chronicles, strutils, strformat, json
|
import NimQml, json, sequtils, chronicles, strutils, json
|
||||||
|
|
||||||
import ../../../status/[status, settings, wallet, tokens, types]
|
import ../../../status/[status, settings, wallet, types]
|
||||||
|
|
||||||
import account_list, account_item, transaction_list, accounts, asset_list, token_list
|
import account_list, account_item, accounts
|
||||||
|
|
||||||
logScope:
|
logScope:
|
||||||
topics = "ens-view"
|
topics = "ens-view"
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
import atomics, strformat, strutils, sequtils, json, std/wrapnils, parseUtils, tables, chronicles, web3/[ethtypes, conversions], stint
|
import atomics, strformat, strutils, sequtils, json, std/wrapnils, parseUtils, chronicles, web3/[ethtypes, conversions], stint
|
||||||
import NimQml, json, sequtils, chronicles, strutils, strformat, json
|
import NimQml, json, sequtils, chronicles, strutils, strformat, json
|
||||||
|
|
||||||
import
|
import
|
||||||
../../../status/[status, settings, wallet, tokens, utils, types],
|
../../../status/[status, wallet, utils, types],
|
||||||
../../../status/tasks/[qt, task_runner_impl]
|
../../../status/tasks/[qt, task_runner_impl]
|
||||||
|
|
||||||
import account_list, account_item, transaction_list, accounts
|
import account_item
|
||||||
|
|
||||||
const ZERO_ADDRESS* = "0x0000000000000000000000000000000000000000"
|
const ZERO_ADDRESS* = "0x0000000000000000000000000000000000000000"
|
||||||
|
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
import algorithm, atomics, strformat, strutils, sequtils, json, std/wrapnils, parseUtils, tables, chronicles, web3/[ethtypes, conversions], stint, sugar
|
import algorithm, atomics, strutils, sequtils, json, tables, chronicles, web3/[ethtypes, conversions], stint, sugar
|
||||||
from sugar import `=>`, `->`
|
from sugar import `=>`, `->`
|
||||||
import NimQml, json, sequtils, chronicles, strutils, strformat, json
|
import NimQml, json, sequtils, chronicles, strutils, json
|
||||||
|
|
||||||
import
|
import
|
||||||
../../../status/[status, settings, wallet, tokens, types, utils],
|
../../../status/[status, wallet, types, utils],
|
||||||
../../../status/wallet as status_wallet,
|
../../../status/wallet as status_wallet,
|
||||||
../../../status/tasks/[qt, task_runner_impl]
|
../../../status/tasks/[qt, task_runner_impl]
|
||||||
|
|
||||||
import account_list, account_item, transaction_list, accounts, asset_list, token_list, transactions
|
import account_list, account_item, transaction_list, accounts, transactions
|
||||||
|
|
||||||
logScope:
|
logScope:
|
||||||
topics = "history-view"
|
topics = "history-view"
|
||||||
|
|
|
@ -1,11 +1,7 @@
|
||||||
import json, json_serialization
|
import json
|
||||||
|
|
||||||
import
|
|
||||||
sugar, sequtils, strutils, atomics
|
|
||||||
|
|
||||||
import libstatus/browser as status_browser
|
import libstatus/browser as status_browser
|
||||||
import ../eventemitter
|
import ../eventemitter
|
||||||
import signals/types
|
|
||||||
|
|
||||||
#TODO: temporary?
|
#TODO: temporary?
|
||||||
import types as LibStatusTypes
|
import types as LibStatusTypes
|
||||||
|
|
|
@ -1,10 +1,8 @@
|
||||||
import json, strutils, sequtils, tables, chronicles, times, sugar
|
import json, strutils, sequtils, tables, chronicles, times, sugar
|
||||||
import libstatus/chat as status_chat
|
import libstatus/chat as status_chat
|
||||||
import libstatus/mailservers as status_mailservers
|
|
||||||
import libstatus/chatCommands as status_chat_commands
|
import libstatus/chatCommands as status_chat_commands
|
||||||
import types
|
import types
|
||||||
import utils as status_utils
|
import utils as status_utils
|
||||||
import libstatus/contacts as status_contacts
|
|
||||||
import stickers
|
import stickers
|
||||||
import ../eventemitter
|
import ../eventemitter
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import json, strmisc, atomics
|
import json, strmisc, atomics
|
||||||
import core, ../utils, ../types, settings
|
import core, ../utils, ../types
|
||||||
from ../profile/profile import Profile
|
from ../profile/profile import Profile
|
||||||
|
|
||||||
var
|
var
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import json, times
|
import json
|
||||||
import core, ../utils
|
import core, ../utils
|
||||||
|
|
||||||
proc ping*(mailservers: seq[string], timeoutMs: int): string =
|
proc ping*(mailservers: seq[string], timeoutMs: int): string =
|
||||||
|
|
|
@ -1,11 +1,7 @@
|
||||||
import json, json_serialization
|
import json
|
||||||
|
|
||||||
import
|
|
||||||
sugar, sequtils, strutils, atomics
|
|
||||||
|
|
||||||
import libstatus/mailservers as status_mailservers
|
import libstatus/mailservers as status_mailservers
|
||||||
import ../eventemitter
|
import ../eventemitter
|
||||||
import signals/types
|
|
||||||
|
|
||||||
#TODO: temporary?
|
#TODO: temporary?
|
||||||
import types as LibStatusTypes
|
import types as LibStatusTypes
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import ens, chat/stickers, wallet, settings, permissions
|
import ens, wallet, permissions
|
||||||
import ../eventemitter
|
import ../eventemitter
|
||||||
import types
|
import types
|
||||||
import libstatus/accounts
|
import libstatus/accounts
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import json, random, strutils, sequtils, sugar, chronicles, tables
|
import json, random, strutils, sequtils, sugar, chronicles
|
||||||
import json_serialization
|
import json_serialization
|
||||||
import ../utils
|
import ../utils
|
||||||
import ../libstatus/accounts as status_accounts
|
import ../libstatus/accounts as status_accounts
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
import
|
import
|
||||||
algorithm, chronos, chronicles, json, math, os, random, sequtils, sets, sugar,
|
algorithm, chronos, chronicles, json, math, os, random, sequtils, sets,
|
||||||
tables
|
tables
|
||||||
from times import cpuTime
|
from times import cpuTime
|
||||||
|
|
||||||
import
|
import
|
||||||
../../../libstatus/settings as status_settings,
|
../../../libstatus/settings as status_settings,
|
||||||
../../../libstatus/mailservers as status_mailservers,
|
../../../libstatus/mailservers as status_mailservers,
|
||||||
../../../libstatus/core as status_core, ../../../libstatus/chat as status_chat,
|
../../../libstatus/core as status_core,
|
||||||
../../../types, ../../../fleet,
|
../../../types, ../../../fleet,
|
||||||
./events as mailserver_events
|
./events as mailserver_events
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue