Nettoyage
This commit is contained in:
parent
3d5d67be58
commit
84e3762fd3
@ -1,42 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright (C) 2020 Graylog, Inc.
|
|
||||||
*
|
|
||||||
* This program is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the Server Side Public License, version 1,
|
|
||||||
* as published by MongoDB, Inc.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* Server Side Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the Server Side Public License
|
|
||||||
* along with this program. If not, see
|
|
||||||
* <http://www.mongodb.com/licensing/server-side-public-license>.
|
|
||||||
*/
|
|
||||||
import 'webpack-entry';
|
|
||||||
|
|
||||||
import { PluginManifest, PluginStore } from 'graylog-web-plugin/plugin';
|
|
||||||
|
|
||||||
import packageJson from '../../package.json';
|
|
||||||
|
|
||||||
const manifest = new PluginManifest(packageJson, {
|
|
||||||
/* This is the place where you define which entities you are providing to the web interface.
|
|
||||||
Right now you can add routes and navigation elements to it.
|
|
||||||
|
|
||||||
Examples: */
|
|
||||||
|
|
||||||
// Adding a route to /sample, rendering YourReactComponent when called:
|
|
||||||
|
|
||||||
// routes: [
|
|
||||||
// { path: '/sample', component: YourReactComponent, permissions: 'inputs:create' },
|
|
||||||
// ],
|
|
||||||
|
|
||||||
// Adding an element to the top navigation pointing to /sample named "Sample":
|
|
||||||
|
|
||||||
// navigation: [
|
|
||||||
// { path: '/sample', description: 'Sample' },
|
|
||||||
// ]
|
|
||||||
});
|
|
||||||
|
|
||||||
PluginStore.register(manifest);
|
|
Loading…
Reference in New Issue
Block a user