ecosystem/packages/add-package.component.ts
selector | c8y-add-package |
template |
|
Properties |
Methods |
constructor(ecosystemService: EcosystemService)
|
||||||
Parameters :
|
Async createPackageApp | ||||||
createPackageApp(file: File)
|
||||||
Parameters :
Returns :
Promise<IApplication>
|
uploadPackage | |||||||||
uploadPackage(file: File, pckg: IApplication)
|
|||||||||
Parameters :
Returns :
Promise<IApplication>
|
createPackageAppHandler |
Default value : () => {...}
|
headerText |
Type : string
|
Default value : gettext('Add package')
|
successText |
Type : string
|
Default value : gettext('Package created')
|
uploadPackageHandler |
Default value : () => {...}
|