0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-26 08:29:42 -05:00
penpot/src/uxbox/repo.cljs

21 lines
644 B
Clojure

;; This Source Code Form is subject to the terms of the Mozilla Public
;; License, v. 2.0. If a copy of the MPL was not distributed with this
;; file, You can obtain one at http://mozilla.org/MPL/2.0/.
;;
;; Copyright (c) 2016 Andrey Antukh <niwi@niwi.nz>
(ns uxbox.repo
"A main interface for access to remote resources."
(:refer-clojure :exclude [do])
(:require [uxbox.repo.core :as urc]
[uxbox.repo.auth]
[uxbox.repo.projects]
[beicon.core :as rx]))
(defn do
"Perform a side effectfull action accesing
remote resources."
([type]
(urc/-do type nil))
([type data]
(urc/-do type data)))