chore(@desktop/general): old unused keycard signal, coming from status-go, removed

This commit is contained in:
Sale Djenic 2023-04-24 09:43:42 +02:00 committed by saledjenic
parent 6fe82ef133
commit 6ca9da5e84
4 changed files with 3 additions and 16 deletions

View File

@ -1,11 +0,0 @@
import json
import base
import signal_type
type KeycardConnectedSignal* = ref object of Signal
started*: string
proc fromEvent*(T: type KeycardConnectedSignal, event: JsonNode): KeycardConnectedSignal =
result = KeycardConnectedSignal()
result.started = event["event"].getStr()

View File

@ -27,7 +27,6 @@ type SignalType* {.pure.} = enum
HistoryRequestCompleted = "history.request.completed"
HistoryRequestFailed = "history.request.failed"
HistoryRequestSuccess = "history.request.success"
KeycardConnected = "keycard.connected"
MailserverAvailable = "mailserver.available"
MailserverChanged = "mailserver.changed"
MailserverNotWorking = "mailserver.not.working"

View File

@ -82,7 +82,6 @@ QtObject:
of SignalType.HistoryRequestSuccess: HistoryRequestSuccessSignal.fromEvent(jsonSignal)
of SignalType.HistoryRequestStarted: HistoryRequestStartedSignal.fromEvent(jsonSignal)
of SignalType.HistoryRequestFailed: HistoryRequestFailedSignal.fromEvent(jsonSignal)
of SignalType.KeycardConnected: KeycardConnectedSignal.fromEvent(jsonSignal)
of SignalType.MailserverAvailable: MailserverAvailableSignal.fromEvent(jsonSignal)
of SignalType.MailserverChanged: MailserverChangedSignal.fromEvent(jsonSignal)
of SignalType.HistoryArchivesProtocolEnabled: HistoryArchivesSignal.historyArchivesProtocolEnabledFromEvent(jsonSignal)

View File

@ -1,9 +1,9 @@
{.used.}
import ./remote_signals/[base, chronicles_logs, community, discovery_summary, envelope, expired, mailserver, messages,
peerstats, signal_type, stats, wallet, whisper_filter, keycard, update_available, status_updates, waku_backed_up_profile,
peerstats, signal_type, stats, wallet, whisper_filter, update_available, status_updates, waku_backed_up_profile,
waku_backed_up_settings, waku_backed_up_keycards, waku_fetching_backup_progress, pairing]
export base, chronicles_logs, community, discovery_summary, envelope, expired, mailserver, messages, peerstats,
signal_type, stats, wallet, whisper_filter, keycard, update_available, status_updates, waku_backed_up_profile,
waku_backed_up_settings, waku_backed_up_keycards, waku_fetching_backup_progress, pairing
signal_type, stats, wallet, whisper_filter, update_available, status_updates, waku_backed_up_profile,
waku_backed_up_settings, waku_backed_up_keycards, waku_fetching_backup_progress, pairing