mirror of
https://github.com/penpot/penpot.git
synced 2025-05-30 02:06:10 +02:00
Split project and page repository functions in different namespaces.
This commit is contained in:
parent
124366cbce
commit
6fdc0c0fd6
4 changed files with 58 additions and 34 deletions
|
@ -7,15 +7,16 @@
|
|||
(ns uxbox.repo
|
||||
"A main interface for access to remote resources."
|
||||
(:refer-clojure :exclude [do])
|
||||
(:require [uxbox.repo.core :as urc]
|
||||
(:require [uxbox.repo.core :refer (-do)]
|
||||
[uxbox.repo.auth]
|
||||
[uxbox.repo.projects]
|
||||
[uxbox.repo.pages]
|
||||
[beicon.core :as rx]))
|
||||
|
||||
(defn do
|
||||
"Perform a side effectfull action accesing
|
||||
remote resources."
|
||||
([type]
|
||||
(urc/-do type nil))
|
||||
(-do type nil))
|
||||
([type data]
|
||||
(urc/-do type data)))
|
||||
(-do type data)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue