mirror of
https://github.com/penpot/penpot.git
synced 2025-06-07 18:51:40 +02:00
✨ New plugin install workflow
This commit is contained in:
parent
a510d01136
commit
d1277afee6
11 changed files with 252 additions and 41 deletions
|
@ -5,7 +5,6 @@
|
|||
;; Copyright (c) KALEIDOS INC
|
||||
|
||||
(ns app.plugins.register
|
||||
"RPC for plugins runtime."
|
||||
(:require
|
||||
[app.common.data :as d]
|
||||
[app.common.data.macros :as dm]
|
||||
|
@ -26,6 +25,10 @@
|
|||
(->> (:ids @registry)
|
||||
(mapv #(dm/get-in @registry [:data %]))))
|
||||
|
||||
(defn get-plugin
|
||||
[id]
|
||||
(dm/get-in @registry [:data id]))
|
||||
|
||||
(defn parse-manifest
|
||||
"Read the manifest.json defined by the plugins definition and transforms it into an
|
||||
object that will be stored in the register."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue