#include <validators.h>
|
| static std::optional< json > | findPreset (const std::string &key) |
| |
| static std::optional< std::string > | validatePreset (const std::string &key, const std::string &value) |
| |
| static std::optional< std::string > | minimumConstraintCheck (const json &field, const json &body) |
| |
| static std::optional< std::string > | maximumConstraintCheck (const json &field, const json &body) |
| |
| static std::optional< std::string > | requiredConstraintCheck (const json &field, const json &body) |
| |
| static std::optional< std::string > | validatorConstraintCheck (const json &field, const json &body) |
| |
| static std::optional< std::string > | foreignKeyConstraintCheck (const json &field, const json &body) |
| |
| static std::optional< std::string > | viewTypeSQLCheck (const json &body) |
| |
| static std::optional< std::string > | validateTableSchema (const json &entity_schema) |
| |
| static std::optional< std::string > | validateRequestBody (const json &schema, const json &body) |
| |
| static std::optional< std::string > | validateRequestBody (const Entity &schema, const json &body) |
| |
| static std::optional< std::string > | validateUpdateRequestBody (const json &schema, const json &body) |
| |
| static std::optional< std::string > | validateUpdateRequestBody (const Entity &schema, const json &body) |
| |
◆ findPreset()
| std::optional< json > mb::Validators::findPreset |
( |
const std::string & |
key | ) |
|
|
static |
◆ foreignKeyConstraintCheck()
| std::optional< std::string > mb::Validators::foreignKeyConstraintCheck |
( |
const json & |
field, |
|
|
const json & |
body |
|
) |
| |
|
static |
◆ maximumConstraintCheck()
| std::optional< std::string > mb::Validators::maximumConstraintCheck |
( |
const json & |
field, |
|
|
const json & |
body |
|
) |
| |
|
static |
◆ minimumConstraintCheck()
| std::optional< std::string > mb::Validators::minimumConstraintCheck |
( |
const json & |
field, |
|
|
const json & |
body |
|
) |
| |
|
static |
◆ requiredConstraintCheck()
| std::optional< std::string > mb::Validators::requiredConstraintCheck |
( |
const json & |
field, |
|
|
const json & |
body |
|
) |
| |
|
static |
◆ validatePreset()
| std::optional< std::string > mb::Validators::validatePreset |
( |
const std::string & |
key, |
|
|
const std::string & |
value |
|
) |
| |
|
static |
◆ validateRequestBody() [1/2]
| std::optional< std::string > mb::Validators::validateRequestBody |
( |
const Entity & |
schema, |
|
|
const json & |
body |
|
) |
| |
|
static |
◆ validateRequestBody() [2/2]
| std::optional< std::string > mb::Validators::validateRequestBody |
( |
const json & |
schema, |
|
|
const json & |
body |
|
) |
| |
|
static |
◆ validateTableSchema()
| std::optional< std::string > mb::Validators::validateTableSchema |
( |
const json & |
entity_schema | ) |
|
|
static |
◆ validateUpdateRequestBody() [1/2]
| std::optional< std::string > mb::Validators::validateUpdateRequestBody |
( |
const Entity & |
schema, |
|
|
const json & |
body |
|
) |
| |
|
static |
◆ validateUpdateRequestBody() [2/2]
| std::optional< std::string > mb::Validators::validateUpdateRequestBody |
( |
const json & |
schema, |
|
|
const json & |
body |
|
) |
| |
|
static |
◆ validatorConstraintCheck()
| std::optional< std::string > mb::Validators::validatorConstraintCheck |
( |
const json & |
field, |
|
|
const json & |
body |
|
) |
| |
|
static |
◆ viewTypeSQLCheck()
| std::optional< std::string > mb::Validators::viewTypeSQLCheck |
( |
const json & |
body | ) |
|
|
static |
The documentation for this class was generated from the following files:
- /home/runner/work/mantisbase/mantisbase/include/mantisbase/core/models/validators.h
- /home/runner/work/mantisbase/mantisbase/src/core/models/validators.cpp