Add ability for plugins to add custom routes
authorChocobozzz <me@florianbigard.com>
Fri, 10 Apr 2020 13:07:54 +0000 (15:07 +0200)
committerChocobozzz <me@florianbigard.com>
Fri, 10 Apr 2020 13:23:25 +0000 (15:23 +0200)
commit5e2b2e2775421cd98286d6e2f75cf38aae7a212c
treed92e32824d83cecbe5e90206738f393b47e55754
parent9afa0901f11c321e071c42ba3c814a3af4843c55
Add ability for plugins to add custom routes
server/controllers/plugins.ts
server/lib/plugins/plugin-manager.ts
server/lib/plugins/register-helpers-store.ts [new file with mode: 0644]
server/lib/plugins/register-helpers.ts [deleted file]
server/middlewares/validators/plugins.ts
server/tests/fixtures/peertube-plugin-test-five/main.js [new file with mode: 0644]
server/tests/fixtures/peertube-plugin-test-five/package.json [new file with mode: 0644]
server/tests/plugins/index.ts
server/tests/plugins/plugin-router.ts [new file with mode: 0644]
server/typings/plugins/register-server-option.model.ts
support/doc/plugins/guide.md