/
passwords_private.cljs
49 lines (32 loc) · 1.96 KB
/
passwords_private.cljs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
(ns chromex.app.passwords-private (:require-macros [chromex.app.passwords-private :refer [gen-wrap]])
(:require [chromex.core]))
; -- functions --------------------------------------------------------------------------------------------------------------
(defn remove-saved-password* [config index]
(gen-wrap :function ::remove-saved-password config index))
(defn remove-password-exception* [config index]
(gen-wrap :function ::remove-password-exception config index))
(defn undo-remove-saved-password-or-exception* [config]
(gen-wrap :function ::undo-remove-saved-password-or-exception config))
(defn request-plaintext-password* [config index]
(gen-wrap :function ::request-plaintext-password config index))
(defn get-saved-password-list* [config]
(gen-wrap :function ::get-saved-password-list config))
(defn get-password-exception-list* [config]
(gen-wrap :function ::get-password-exception-list config))
(defn import-passwords* [config]
(gen-wrap :function ::import-passwords config))
(defn export-passwords* [config]
(gen-wrap :function ::export-passwords config))
(defn request-export-progress-status* [config]
(gen-wrap :function ::request-export-progress-status config))
(defn cancel-export-passwords* [config]
(gen-wrap :function ::cancel-export-passwords config))
; -- events -----------------------------------------------------------------------------------------------------------------
(defn on-saved-passwords-list-changed* [config channel & args]
(gen-wrap :event ::on-saved-passwords-list-changed config channel args))
(defn on-password-exceptions-list-changed* [config channel & args]
(gen-wrap :event ::on-password-exceptions-list-changed config channel args))
(defn on-plaintext-password-retrieved* [config channel & args]
(gen-wrap :event ::on-plaintext-password-retrieved config channel args))
(defn on-passwords-file-export-progress* [config channel & args]
(gen-wrap :event ::on-passwords-file-export-progress config channel args))