Documentation
Preparing search index...
@saltcorn/data
base-plugin/viewtemplates/filter
filter
Variable filter
filter
:
{
configuration_workflow
:
(
req
:
Req
)
=>
Workflow
;
connectedObjects
:
(
configuration
:
GenObj
)
=>
Promise
<
ConnectedObjects
>
;
description
:
string
;
get_state_fields
:
()
=>
never
[]
;
initial_config
:
()
=>
Promise
<
{
columns
:
never
[]
;
layout
:
{}
}
>
;
name
:
string
;
queries
:
(
__namedParameters
:
GenObj
,
)
=>
{
actionQuery
(
state
:
GenObj
,
rndid
:
string
)
:
Promise
<
any
>
;
distinctValuesQuery
(
state
:
GenObj
,
)
:
Promise
<
{
distinct_values
:
GenObj
;
role
:
any
}
>
;
optionsQuery
(
reftable_name
:
string
,
type
:
string
,
attributes
:
GenObj
,
whereWithExisting
:
GenObj
,
user
:
GenObj
,
)
:
Promise
<
any
>
;
}
;
routes
:
{
run_action
:
(
table_id
:
string
|
number
,
viewname
:
string
,
config
:
GenObj
,
body
:
GenObj
,
__namedParameters
:
{
req
:
Req
;
res
:
Res
}
,
__namedParameters
:
GenObj
,
)
=>
Promise
<
any
>
;
}
;
run
:
(
table_id
:
string
|
number
,
viewname
:
string
,
opts
:
{
columns
:
Column
[]
;
layout
:
Layout
}
,
state
:
GenObj
,
extra
:
{
req
:
Req
;
res
:
Res
;
[
key
:
string
]:
any
}
,
__namedParameters
:
GenObj
,
)
=>
Promise
<
string
>
;
getStringsForI18n
(
opts
:
GenObj
)
:
any
;
}
Type Declaration
configuration_workflow
:
(
req
:
Req
)
=>
Workflow
connectedObjects
:
(
configuration
:
GenObj
)
=>
Promise
<
ConnectedObjects
>
description
:
string
get_state_fields
:
()
=>
never
[]
initial_config
:
()
=>
Promise
<
{
columns
:
never
[]
;
layout
:
{}
}
>
name
:
string
queries
:
(
__namedParameters
:
GenObj
,
)
=>
{
actionQuery
(
state
:
GenObj
,
rndid
:
string
)
:
Promise
<
any
>
;
distinctValuesQuery
(
state
:
GenObj
,
)
:
Promise
<
{
distinct_values
:
GenObj
;
role
:
any
}
>
;
optionsQuery
(
reftable_name
:
string
,
type
:
string
,
attributes
:
GenObj
,
whereWithExisting
:
GenObj
,
user
:
GenObj
,
)
:
Promise
<
any
>
;
}
routes
:
{
run_action
:
(
table_id
:
string
|
number
,
viewname
:
string
,
config
:
GenObj
,
body
:
GenObj
,
__namedParameters
:
{
req
:
Req
;
res
:
Res
}
,
__namedParameters
:
GenObj
,
)
=>
Promise
<
any
>
;
}
run
:
(
table_id
:
string
|
number
,
viewname
:
string
,
opts
:
{
columns
:
Column
[]
;
layout
:
Layout
}
,
state
:
GenObj
,
extra
:
{
req
:
Req
;
res
:
Res
;
[
key
:
string
]:
any
}
,
__namedParameters
:
GenObj
,
)
=>
Promise
<
string
>
getStringsForI18n
:
function
getStringsForI18n
(
opts
:
GenObj
)
:
any
Parameters
opts
:
GenObj
[
key
:
string
]:
any
Returns
any
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
Loading...