mirror of
https://github.com/penpot/penpot.git
synced 2025-06-02 04:31:37 +02:00
Reorganize repo code.
This commit is contained in:
parent
299c2bf06c
commit
cad95c67a5
11 changed files with 63 additions and 38 deletions
|
@ -7,16 +7,17 @@
|
|||
(ns uxbox.repo
|
||||
"A main interface for access to remote resources."
|
||||
(:refer-clojure :exclude [do])
|
||||
(:require [uxbox.repo.core :refer (-do)]
|
||||
(:require [uxbox.repo.core :refer (request)]
|
||||
[uxbox.repo.auth]
|
||||
[uxbox.repo.users]
|
||||
[uxbox.repo.projects]
|
||||
[uxbox.repo.pages]
|
||||
[beicon.core :as rx]))
|
||||
|
||||
(defn do
|
||||
(defn req
|
||||
"Perform a side effectfull action accesing
|
||||
remote resources."
|
||||
([type]
|
||||
(-do type nil))
|
||||
(request type nil))
|
||||
([type data]
|
||||
(-do type data)))
|
||||
(request type data)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue