Documentation
Preparing search index...
controllers/base.controller
export=
Variable export=
"export="
:
(
serviceName
:
any
,
)
=>
{
Controller
:
typeof
__class
;
GeneralError
:
typeof
export=
;
http
:
{
failed
:
{
create
:
string
;
delete
:
string
;
get
:
string
;
update
:
string
}
;
success
:
{
create
:
string
;
delete
:
string
;
get
:
string
;
update
:
string
}
;
}
;
Joi
:
Root
;
joiMessage
:
(
field
:
any
,
type
?:
string
,
pattern
?:
string
)
=>
{}
;
}
Type Declaration
(
serviceName
:
any
,
)
:
{
Controller
:
typeof
__class
;
GeneralError
:
typeof
export=
;
http
:
{
failed
:
{
create
:
string
;
delete
:
string
;
get
:
string
;
update
:
string
}
;
success
:
{
create
:
string
;
delete
:
string
;
get
:
string
;
update
:
string
}
;
}
;
Joi
:
Root
;
joiMessage
:
(
field
:
any
,
type
?:
string
,
pattern
?:
string
)
=>
{}
;
}
Parameters
serviceName
:
any
Returns
{
Controller
:
typeof
__class
;
GeneralError
:
typeof
export=
;
http
:
{
failed
:
{
create
:
string
;
delete
:
string
;
get
:
string
;
update
:
string
}
;
success
:
{
create
:
string
;
delete
:
string
;
get
:
string
;
update
:
string
}
;
}
;
Joi
:
Root
;
joiMessage
:
(
field
:
any
,
type
?:
string
,
pattern
?:
string
)
=>
{}
;
}
Controller
:
typeof
__class
GeneralError
:
typeof
export=
http
:
{
failed
:
{
create
:
string
;
delete
:
string
;
get
:
string
;
update
:
string
}
;
success
:
{
create
:
string
;
delete
:
string
;
get
:
string
;
update
:
string
}
;
}
Joi
:
Root
joiMessage
:
(
field
:
any
,
type
?:
string
,
pattern
?:
string
)
=>
{}
Management of the different types of error messages generated by joi
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
Loading...
Management of the different types of error messages generated by joi