Member Junction
Preparing search index...
@memberjunction/open-app-engine
OfferTemplateUser
Function OfferTemplateUser
OfferTemplateUser
(
manifest
:
{
$schema
?:
string
;
categories
?:
string
[]
;
code
?:
{
sourceDirectory
?:
string
;
visibility
?:
"public"
|
"private"
}
;
color
?:
string
;
configuration
?:
{
schema
?:
Record
<
string
,
unknown
>
}
;
dependencies
?:
|
{
[
k
:
string
]:
{
repository
:
string
;
subpath
?:
string
;
version
:
string
;
}
;
}
|
Record
<
string
,
string
|
{
repository
?:
string
;
subpath
?:
string
;
version
?:
string
}
,
>
;
description
?:
string
;
displayName
?:
string
;
hooks
?:
{
postInstall
?:
string
;
postInstallModule
?:
string
;
postUpgrade
?:
string
;
postUpgradeModule
?:
string
;
preRemove
?:
string
;
preRemoveModule
?:
string
;
}
;
icon
?:
string
;
license
?:
string
;
manifestVersion
?:
1
;
metadata
?:
{
directory
?:
string
}
;
migrations
?:
{
directory
?:
string
;
engine
?:
"flyway"
|
"skyway"
;
teardownDirectory
?:
string
;
}
;
mjVersionRange
?:
string
;
name
?:
string
;
packages
?:
{
client
?:
{
name
?:
string
;
role
?:
|
"bootstrap"
|
"actions"
|
"engine"
|
"provider"
|
"module"
|
"components"
|
"library"
;
startupExport
?:
string
;
}
[]
;
prefix
?:
string
;
registry
?:
string
;
server
?:
{
name
?:
string
;
role
?:
|
"bootstrap"
|
"actions"
|
"engine"
|
"provider"
|
"module"
|
"components"
|
"library"
;
startupExport
?:
string
;
}
[]
;
shared
?:
{
name
?:
string
;
role
?:
|
"bootstrap"
|
"actions"
|
"engine"
|
"provider"
|
"module"
|
"components"
|
"library"
;
startupExport
?:
string
;
}
[]
;
}
;
publisher
?:
{
email
?:
string
;
name
?:
string
;
url
?:
string
}
;
repository
?:
string
;
schema
?:
{
createIfNotExists
?:
boolean
;
entityPackage
?:
string
;
name
?:
string
;
}
;
tags
?:
string
[]
;
templateUser
?:
{
description
?:
string
;
email
?:
string
;
newUsers
?:
"offer"
|
"always"
|
"never"
;
preset
?:
string
;
}
;
version
?:
string
;
}
,
context
:
TemplateUserContext
,
)
:
Promise
<
void
>
Runs both parts of the template-user step for
manifest
. Never throws.
Parameters
manifest
:
{
$schema
?:
string
;
categories
?:
string
[]
;
code
?:
{
sourceDirectory
?:
string
;
visibility
?:
"public"
|
"private"
}
;
color
?:
string
;
configuration
?:
{
schema
?:
Record
<
string
,
unknown
>
}
;
dependencies
?:
|
{
[
k
:
string
]:
{
repository
:
string
;
subpath
?:
string
;
version
:
string
}
;
}
|
Record
<
string
,
string
|
{
repository
?:
string
;
subpath
?:
string
;
version
?:
string
}
,
>
;
description
?:
string
;
displayName
?:
string
;
hooks
?:
{
postInstall
?:
string
;
postInstallModule
?:
string
;
postUpgrade
?:
string
;
postUpgradeModule
?:
string
;
preRemove
?:
string
;
preRemoveModule
?:
string
;
}
;
icon
?:
string
;
license
?:
string
;
manifestVersion
?:
1
;
metadata
?:
{
directory
?:
string
}
;
migrations
?:
{
directory
?:
string
;
engine
?:
"flyway"
|
"skyway"
;
teardownDirectory
?:
string
;
}
;
mjVersionRange
?:
string
;
name
?:
string
;
packages
?:
{
client
?:
{
name
?:
string
;
role
?:
|
"bootstrap"
|
"actions"
|
"engine"
|
"provider"
|
"module"
|
"components"
|
"library"
;
startupExport
?:
string
;
}
[]
;
prefix
?:
string
;
registry
?:
string
;
server
?:
{
name
?:
string
;
role
?:
|
"bootstrap"
|
"actions"
|
"engine"
|
"provider"
|
"module"
|
"components"
|
"library"
;
startupExport
?:
string
;
}
[]
;
shared
?:
{
name
?:
string
;
role
?:
|
"bootstrap"
|
"actions"
|
"engine"
|
"provider"
|
"module"
|
"components"
|
"library"
;
startupExport
?:
string
;
}
[]
;
}
;
publisher
?:
{
email
?:
string
;
name
?:
string
;
url
?:
string
}
;
repository
?:
string
;
schema
?:
{
createIfNotExists
?:
boolean
;
entityPackage
?:
string
;
name
?:
string
;
}
;
tags
?:
string
[]
;
templateUser
?:
{
description
?:
string
;
email
?:
string
;
newUsers
?:
"offer"
|
"always"
|
"never"
;
preset
?:
string
;
}
;
version
?:
string
;
}
context
:
TemplateUserContext
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Member Junction
Loading...
Runs both parts of the template-user step for
manifest. Never throws.