Documentation
Preparing search index...
@saltcorn/admin-models
tenant
copy_tenant_template
Variable copy_tenant_template
copy_tenant_template
:
(
__namedParameters
:
{
loadAndSaveNewPlugin
:
(
plugin
:
export=
)
=>
void
;
target
:
string
;
tenant_template
:
string
;
}
,
)
=>
Promise
<
void
>
Type Declaration
(
__namedParameters
:
{
loadAndSaveNewPlugin
:
(
plugin
:
export=
)
=>
void
;
target
:
string
;
tenant_template
:
string
;
}
,
)
:
Promise
<
void
>
Copy template data into tenant (target)
create backup from template tenant
restore backup to target tenant
clean up user_id in files
delete users (including sequence reset)
Parameters
__namedParameters
:
{
loadAndSaveNewPlugin
:
(
plugin
:
export=
)
=>
void
;
target
:
string
;
tenant_template
:
string
;
}
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
Loading...
Copy template data into tenant (target)