Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface InstalledApp

An installed app.

Hierarchy

  • InstalledApp

Index

Properties

Readonly loadIcon

loadIcon: () => Promise<string | false>

Tries to load the icon file of the app.

returns

The promise with the data URI or (false) if it does not exist.

Type declaration

    • (): Promise<string | false>
    • Returns Promise<string | false>

Readonly loadIgnoreFile

loadIgnoreFile: () => Promise<false | string[]>

Tries to load the '.egoignore' file of the app.

returns

The promise with the entries or (false) if it does not exist.

Type declaration

    • (): Promise<false | string[]>
    • Returns Promise<false | string[]>

Readonly loadPackageJSON

loadPackageJSON: () => Promise<false | AppPackageJSON>

Tries to load the 'package.json' file of the app.

returns

The promise with the data or (false) if it does not exist.

Type declaration

Readonly loadREADME

loadREADME: () => Promise<string | false>

Tries to load the 'README.md' file of the app.

returns

The promise with the content or (false) if it does not exist.

Type declaration

    • (): Promise<string | false>
    • Returns Promise<string | false>

Readonly path

path: string

The directory, where the app is installed.

Generated using TypeDoc