Skip to main content

ApplicationManifest

Application Description File, Specify Application Basic Information

declare interface ApplicationManifest {
groupId: string,
artifactId: string,
name: string,
settings: ApplicationManifest.BrowserApplicationSettings | ApplicationManifest.NodeJSApplicationSettings,
}

Instance Property

name

declare interface ApplicationManifest {
name: string;
}
  • Description

    Application name.

groupId

declare interface ApplicationManifest {
groupId: string;
}
  • Description

    will identify your project uniquely across all projects, Suggest using your domain name.

artifactId

declare interface ApplicationManifest {
artifactId: string;
}
  • Description

    is the unique identifier of the project.

settings

declare interface ApplicationManifest {
settings: ApplicationManifest.BrowserApplicationSettings | ApplicationManifest.NodeJSApplicationSettings
}
  • Description

    Browser or nodejs configuration information

ApplicationManifest.BrowserApplicationSettings

declare type BrowserApplicationSettings = {}

ApplicationManifest.BrowserApplicationSettings Instance Property

container

declare type ApplicationManifest = {
container: string
}
  • Description

    element selector.

ApplicationManifest.NodeJSApplicationSettings

declare type NodeJSApplicationSettings = {};

ApplicationManifest.NodeJSApplicationSettings Instance Property

container

declare type NodeJSApplicationSettings = {
container: {
width: number,
height: number
}
}
  • Description

    Display the size of the container