Files
Linus Pahl 3d252ccaac Creating shared component for lookup table parameter form components. (#11137)
* Create fixtures for lookup tables.

* Make `LookupTableStore` a singleton store and unify the way we export
`LookupTableStore` and `LookupTableActions`.

* Only disable search button when a parameter is required and needs a binding, but has no binding.

* Only display missing parameter form while opening search page when parameter is required and needs a bindings.

* Fixing checks if parameter is required.

* Creating fixture for parameter.

* Creating separate component for lookup table parameter form fields.

* Smaller improvement to make it easier to test lookup table related
functionality.

* Do not create empty parameter binding when creating `LookupTableParameter`.

Lookup table parameter do not have a binding because its value is being
defined by the corresponding lookup table.

* Define more generic help for lookup table parameter form..

* Improving import path.

* Fixing linter warnings.

* Fixing linter warnings.

* Make `LookupTableActions` singleton actions. With this change we are
fixing a bug which made it impossible to get the actions using the `CombinedProvider`.

* Using correct singleton key for lookup table actions
2021-08-19 10:29:26 +02:00

22 lines
890 B
TypeScript

/*
* 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 ValueParameter from 'views/logic/parameters/ValueParameter';
// eslint-disable-next-line import/prefer-default-export
export const valueParameter = ValueParameter.create('paraemterName', 'Parameter Title', '', 'any', undefined, false);