Name of the package
Pastes your links into minilinks
const package = new Package({deep});
await package.applyMiniLinks();
const deviceLinkId = await package.Device.idLocal();
Creates an entity
Gets id of the link
const myPackage = new MyPackage({deep});
const myLinkId = await myPackage.yourLinkName.id();
Gets id of the link from minilinks
const myPackage = new MyPackage({deep});
const myLinkLocalId = await myPackage.yourLinkName.idLocal();
Name of the link
class MyPackage extends Package {
public yourLinkName = this.createEntity("YourLinkName");
}
const myPackage = new MyPackage({deep});
const myLinkId = await myPackage.yourLinkName.id();
const myLinkLocalId = await myPackage.yourLinkName.idLocal();
Gets id of the package link
Rest
...names: string[]Rest
const package = new Package({deep});
const myLinkId = await package.id("MyLinkName");
Gets id of the package link from minilinks
Rest
...names: string[]Rest
const package = new Package({deep});
await package.applyMiniLinks();
const myLinkId = await package.idLocal("MyLinkName");
Generated using TypeDoc
Represents a deep package
Remarks
This class intended to be extended by packages
Example