Commit graph

6 commits

Author SHA1 Message Date
Dragory
a0881e8298 resolveRoleId: fix return type 2020-01-12 11:39:26 +02:00
Dragory
c1b7967d10 canActOn: add option to allow same level 2020-01-12 11:38:12 +02:00
roflmaoqwerty
d16a67bca3 added match by role name functionality to roles plugin 2020-01-10 01:04:58 +11:00
Dragory
26c460e67a trimPluginDescription: use first line's indentation instead 2019-12-01 15:57:17 +02:00
Dragory
ba2873a29a Run a loose pre-check before preprocessStaticConfig
This loose pre-check checks the config schema by treating every object
as partial. This means that if a property exists, it's guaranteed to be
the correct type (e.g. object). However, there's no guarantee that all
or any properties exist.

This allows preprocessStaticConfig implementations to be much less
defensive and thus reduce boilerplate.
2019-11-28 02:34:41 +02:00
Dragory
16111bbe84 Reorganize project. Add folder for shared code between backend/dashboard. Switch from jest to ava for tests. 2019-11-02 22:11:26 +02:00
Renamed from src/plugins/ZeppelinPlugin.ts (Browse further)