mirror of
https://github.com/penpot/penpot.git
synced 2025-05-29 17:46:11 +02:00
✨ Add versions support in plugins
This commit is contained in:
parent
07e40e78cd
commit
4de43b32e8
4 changed files with 185 additions and 3 deletions
|
@ -75,6 +75,12 @@
|
|||
{:name "avatarUrl"
|
||||
:get (fn [_] (cfg/resolve-profile-photo-url data))})))
|
||||
|
||||
(defn user-proxy?
|
||||
[p]
|
||||
(or (instance? UserProxy p)
|
||||
(current-user-proxy? p)
|
||||
(active-user-proxy? p)))
|
||||
|
||||
(defn user-proxy
|
||||
[plugin-id data]
|
||||
(-> (UserProxy. plugin-id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue