@dxos/app-framework - v0.10.0
Preparing search index...
Plugin
define
Function define
define
<
T
=
void
>
(
meta
:
{
profile
:
{
author
?:
string
;
createdAt
?:
string
;
dependsOn
?:
readonly
string
[]
;
description
?:
string
;
homePage
?:
string
;
icon
?:
{
hue
?:
string
;
key
:
string
}
;
key
:
string
;
name
:
string
;
screenshots
?:
readonly
{
dark
?:
string
;
light
?:
string
}
[]
;
source
?:
string
;
spec
?:
string
;
tags
?:
readonly
string
[]
;
}
;
release
?:
{
createdAt
?:
string
;
dependencies
?:
{
readonly
[
key
:
string
]:
string
}
;
manifestHash
?:
string
;
moduleUrl
:
string
;
pluginKey
?:
string
;
version
:
string
;
}
;
}
,
)
:
PluginBuilder
<
T
>
Creates a new PluginBuilder to start building a plugin.
Type Parameters
T
=
void
Parameters
meta
:
{
profile
:
{
author
?:
string
;
createdAt
?:
string
;
dependsOn
?:
readonly
string
[]
;
description
?:
string
;
homePage
?:
string
;
icon
?:
{
hue
?:
string
;
key
:
string
}
;
key
:
string
;
name
:
string
;
screenshots
?:
readonly
{
dark
?:
string
;
light
?:
string
}
[]
;
source
?:
string
;
spec
?:
string
;
tags
?:
readonly
string
[]
;
}
;
release
?:
{
createdAt
?:
string
;
dependencies
?:
{
readonly
[
key
:
string
]:
string
}
;
manifestHash
?:
string
;
moduleUrl
:
string
;
pluginKey
?:
string
;
version
:
string
;
}
;
}
Returns
PluginBuilder
<
T
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@dxos/app-framework - v0.10.0
Loading...
Creates a new PluginBuilder to start building a plugin.