Represents a deep package

Remarks

Contains name of the package and all the links as the objects with id method which returns the id of the link.

Example

Use name field to get the name of the package

const package = new Package({deep});
const {name: packageName} = package;

Use id method to get the id of the link

const package = new Package({deep});
const cameraTypeLinkId = await package["Camera"].id();
const dependencyTypeLinkId = await package["Dependency"].id();
const photoTypeLinkId = await package["Photo"].id();
const formatTypeLinkId = await package["Format"].id();
const formatstringLinkId = await package["formatstring"].id();
const exifTypeLinkId = await package["Exif"].id();
const exifstringLinkId = await package["exifstring"].id();
const webPathTypeLinkId = await package["WebPath"].id();
const webpathstringLinkId = await package["webpathstring"].id();
const pathTypeLinkId = await package["Path"].id();
const pathstringLinkId = await package["pathstring"].id();
const base64TypeLinkId = await package["Base64"].id();
const base64stringLinkId = await package["base64string"].id();
const timeStampTypeLinkId = await package["TimeStamp"].id();
const timestampstringLinkId = await package["timestampstring"].id();
const photoPermissionsTypeLinkId = await package["PhotoPermissions"].id();
const photopermissionsstringLinkId = await package["photopermissionsstring"].id();
const cameraPermissionsTypeLinkId = await package["CameraPermissions"].id();
const camerapermissionstringLinkId = await package["camerapermissionstring"].id();

Use idLocal method to get the local id of the link

const package = new Package({deep});
await package.applyMinilinks();
const cameraTypeLinkId = package["Camera"].idLocal();
const dependencyTypeLinkId = package["Dependency"].idLocal();
const photoTypeLinkId = package["Photo"].idLocal();
const formatTypeLinkId = package["Format"].idLocal();
const formatstringLinkId = package["formatstring"].idLocal();
const exifTypeLinkId = package["Exif"].idLocal();
const exifstringLinkId = package["exifstring"].idLocal();
const webPathTypeLinkId = package["WebPath"].idLocal();
const webpathstringLinkId = package["webpathstring"].idLocal();
const pathTypeLinkId = package["Path"].idLocal();
const pathstringLinkId = package["pathstring"].idLocal();
const base64TypeLinkId = package["Base64"].idLocal();
const base64stringLinkId = package["base64string"].idLocal();
const timeStampTypeLinkId = package["TimeStamp"].idLocal();
const timestampstringLinkId = package["timestampstring"].idLocal();
const photoPermissionsTypeLinkId = package["PhotoPermissions"].idLocal();
const photopermissionsstringLinkId = package["photopermissionsstring"].idLocal();
const cameraPermissionsTypeLinkId = package["CameraPermissions"].idLocal();
const camerapermissionstringLinkId = package["camerapermissionstring"].idLocal();

Use name field to get the name of the link

const package = new Package({deep});
const camera = package["Camera"].name;
const dependency = package["Dependency"].name;
const photo = package["Photo"].name;
const format = package["Format"].name;
const formatstring = package["formatstring"].name;
const exif = package["Exif"].name;
const exifstring = package["exifstring"].name;
const webPath = package["WebPath"].name;
const webpathstring = package["webpathstring"].name;
const path = package["Path"].name;
const pathstring = package["pathstring"].name;
const base64 = package["Base64"].name;
const base64string = package["base64string"].name;
const timeStamp = package["TimeStamp"].name;
const timestampstring = package["timestampstring"].name;
const photoPermissions = package["PhotoPermissions"].name;
const photopermissionsstring = package["photopermissionsstring"].name;
const cameraPermissions = package["CameraPermissions"].name;
const camerapermissionstring = package["camerapermissionstring"].name;

Hierarchy

  • Package
    • Package

Constructors

Properties

Base64: {
    id: (() => Promise<number>);
    idLocal: (() => number);
    name: string;
} = ...

Type declaration

  • id: (() => Promise<number>)
      • (): Promise<number>
      • Returns Promise<number>

  • idLocal: (() => number)
      • (): number
      • Returns number

  • name: string

Example

Use id method to get the id of the Base64 link

const package = new Package({deep});
const base64TypeLinkId = await package["Base64"].id();

Use localId method to get the local id of the Base64 link

const package = new Package({deep});
const base64TypeLinkId = await package["Base64"].localId();

Use name field to get the name of the Base64 link

const package = new Package({deep});
const base64 = await package["Base64"].name;
Camera: {
    id: (() => Promise<number>);
    idLocal: (() => number);
    name: string;
} = ...

Type declaration

  • id: (() => Promise<number>)
      • (): Promise<number>
      • Returns Promise<number>

  • idLocal: (() => number)
      • (): number
      • Returns number

  • name: string

Example

Use id method to get the id of the Camera link

const package = new Package({deep});
const cameraTypeLinkId = await package["Camera"].id();

Use localId method to get the local id of the Camera link

const package = new Package({deep});
const cameraTypeLinkId = await package["Camera"].localId();

Use name field to get the name of the Camera link

const package = new Package({deep});
const camera = await package["Camera"].name;
CameraPermissions: {
    id: (() => Promise<number>);
    idLocal: (() => number);
    name: string;
} = ...

Type declaration

  • id: (() => Promise<number>)
      • (): Promise<number>
      • Returns Promise<number>

  • idLocal: (() => number)
      • (): number
      • Returns number

  • name: string

Example

Use id method to get the id of the CameraPermissions link

const package = new Package({deep});
const cameraPermissionsTypeLinkId = await package["CameraPermissions"].id();

Use localId method to get the local id of the CameraPermissions link

const package = new Package({deep});
const cameraPermissionsTypeLinkId = await package["CameraPermissions"].localId();

Use name field to get the name of the CameraPermissions link

const package = new Package({deep});
const cameraPermissions = await package["CameraPermissions"].name;
Dependency: {
    id: (() => Promise<number>);
    idLocal: (() => number);
    name: string;
} = ...

Type declaration

  • id: (() => Promise<number>)
      • (): Promise<number>
      • Returns Promise<number>

  • idLocal: (() => number)
      • (): number
      • Returns number

  • name: string

Example

Use id method to get the id of the Dependency link

const package = new Package({deep});
const dependencyTypeLinkId = await package["Dependency"].id();

Use localId method to get the local id of the Dependency link

const package = new Package({deep});
const dependencyTypeLinkId = await package["Dependency"].localId();

Use name field to get the name of the Dependency link

const package = new Package({deep});
const dependency = await package["Dependency"].name;
Exif: {
    id: (() => Promise<number>);
    idLocal: (() => number);
    name: string;
} = ...

Type declaration

  • id: (() => Promise<number>)
      • (): Promise<number>
      • Returns Promise<number>

  • idLocal: (() => number)
      • (): number
      • Returns number

  • name: string

Example

Use id method to get the id of the Exif link

const package = new Package({deep});
const exifTypeLinkId = await package["Exif"].id();

Use localId method to get the local id of the Exif link

const package = new Package({deep});
const exifTypeLinkId = await package["Exif"].localId();

Use name field to get the name of the Exif link

const package = new Package({deep});
const exif = await package["Exif"].name;
Format: {
    id: (() => Promise<number>);
    idLocal: (() => number);
    name: string;
} = ...

Type declaration

  • id: (() => Promise<number>)
      • (): Promise<number>
      • Returns Promise<number>

  • idLocal: (() => number)
      • (): number
      • Returns number

  • name: string

Example

Use id method to get the id of the Format link

const package = new Package({deep});
const formatTypeLinkId = await package["Format"].id();

Use localId method to get the local id of the Format link

const package = new Package({deep});
const formatTypeLinkId = await package["Format"].localId();

Use name field to get the name of the Format link

const package = new Package({deep});
const format = await package["Format"].name;
Path: {
    id: (() => Promise<number>);
    idLocal: (() => number);
    name: string;
} = ...

Type declaration

  • id: (() => Promise<number>)
      • (): Promise<number>
      • Returns Promise<number>

  • idLocal: (() => number)
      • (): number
      • Returns number

  • name: string

Example

Use id method to get the id of the Path link

const package = new Package({deep});
const pathTypeLinkId = await package["Path"].id();

Use localId method to get the local id of the Path link

const package = new Package({deep});
const pathTypeLinkId = await package["Path"].localId();

Use name field to get the name of the Path link

const package = new Package({deep});
const path = await package["Path"].name;
Photo: {
    id: (() => Promise<number>);
    idLocal: (() => number);
    name: string;
} = ...

Type declaration

  • id: (() => Promise<number>)
      • (): Promise<number>
      • Returns Promise<number>

  • idLocal: (() => number)
      • (): number
      • Returns number

  • name: string

Example

Use id method to get the id of the Photo link

const package = new Package({deep});
const photoTypeLinkId = await package["Photo"].id();

Use localId method to get the local id of the Photo link

const package = new Package({deep});
const photoTypeLinkId = await package["Photo"].localId();

Use name field to get the name of the Photo link

const package = new Package({deep});
const photo = await package["Photo"].name;
PhotoPermissions: {
    id: (() => Promise<number>);
    idLocal: (() => number);
    name: string;
} = ...

Type declaration

  • id: (() => Promise<number>)
      • (): Promise<number>
      • Returns Promise<number>

  • idLocal: (() => number)
      • (): number
      • Returns number

  • name: string

Example

Use id method to get the id of the PhotoPermissions link

const package = new Package({deep});
const photoPermissionsTypeLinkId = await package["PhotoPermissions"].id();

Use localId method to get the local id of the PhotoPermissions link

const package = new Package({deep});
const photoPermissionsTypeLinkId = await package["PhotoPermissions"].localId();

Use name field to get the name of the PhotoPermissions link

const package = new Package({deep});
const photoPermissions = await package["PhotoPermissions"].name;
TimeStamp: {
    id: (() => Promise<number>);
    idLocal: (() => number);
    name: string;
} = ...

Type declaration

  • id: (() => Promise<number>)
      • (): Promise<number>
      • Returns Promise<number>

  • idLocal: (() => number)
      • (): number
      • Returns number

  • name: string

Example

Use id method to get the id of the TimeStamp link

const package = new Package({deep});
const timeStampTypeLinkId = await package["TimeStamp"].id();

Use localId method to get the local id of the TimeStamp link

const package = new Package({deep});
const timeStampTypeLinkId = await package["TimeStamp"].localId();

Use name field to get the name of the TimeStamp link

const package = new Package({deep});
const timeStamp = await package["TimeStamp"].name;
WebPath: {
    id: (() => Promise<number>);
    idLocal: (() => number);
    name: string;
} = ...

Type declaration

  • id: (() => Promise<number>)
      • (): Promise<number>
      • Returns Promise<number>

  • idLocal: (() => number)
      • (): number
      • Returns number

  • name: string

Example

Use id method to get the id of the WebPath link

const package = new Package({deep});
const webPathTypeLinkId = await package["WebPath"].id();

Use localId method to get the local id of the WebPath link

const package = new Package({deep});
const webPathTypeLinkId = await package["WebPath"].localId();

Use name field to get the name of the WebPath link

const package = new Package({deep});
const webPath = await package["WebPath"].name;
base64string: {
    id: (() => Promise<number>);
    idLocal: (() => number);
    name: string;
} = ...

Type declaration

  • id: (() => Promise<number>)
      • (): Promise<number>
      • Returns Promise<number>

  • idLocal: (() => number)
      • (): number
      • Returns number

  • name: string

Example

Use id method to get the id of the base64string link

const package = new Package({deep});
const base64stringLinkId = await package["base64string"].id();

Use localId method to get the local id of the base64string link

const package = new Package({deep});
const base64stringLinkId = await package["base64string"].localId();

Use name field to get the name of the base64string link

const package = new Package({deep});
const base64string = await package["base64string"].name;
camerapermissionstring: {
    id: (() => Promise<number>);
    idLocal: (() => number);
    name: string;
} = ...

Type declaration

  • id: (() => Promise<number>)
      • (): Promise<number>
      • Returns Promise<number>

  • idLocal: (() => number)
      • (): number
      • Returns number

  • name: string

Example

Use id method to get the id of the camerapermissionstring link

const package = new Package({deep});
const camerapermissionstringLinkId = await package["camerapermissionstring"].id();

Use localId method to get the local id of the camerapermissionstring link

const package = new Package({deep});
const camerapermissionstringLinkId = await package["camerapermissionstring"].localId();

Use name field to get the name of the camerapermissionstring link

const package = new Package({deep});
const camerapermissionstring = await package["camerapermissionstring"].name;
deep: DeepClient<Link<number>>
exifstring: {
    id: (() => Promise<number>);
    idLocal: (() => number);
    name: string;
} = ...

Type declaration

  • id: (() => Promise<number>)
      • (): Promise<number>
      • Returns Promise<number>

  • idLocal: (() => number)
      • (): number
      • Returns number

  • name: string

Example

Use id method to get the id of the exifstring link

const package = new Package({deep});
const exifstringLinkId = await package["exifstring"].id();

Use localId method to get the local id of the exifstring link

const package = new Package({deep});
const exifstringLinkId = await package["exifstring"].localId();

Use name field to get the name of the exifstring link

const package = new Package({deep});
const exifstring = await package["exifstring"].name;
formatstring: {
    id: (() => Promise<number>);
    idLocal: (() => number);
    name: string;
} = ...

Type declaration

  • id: (() => Promise<number>)
      • (): Promise<number>
      • Returns Promise<number>

  • idLocal: (() => number)
      • (): number
      • Returns number

  • name: string

Example

Use id method to get the id of the formatstring link

const package = new Package({deep});
const formatstringLinkId = await package["formatstring"].id();

Use localId method to get the local id of the formatstring link

const package = new Package({deep});
const formatstringLinkId = await package["formatstring"].localId();

Use name field to get the name of the formatstring link

const package = new Package({deep});
const formatstring = await package["formatstring"].name;
name: string
pathstring: {
    id: (() => Promise<number>);
    idLocal: (() => number);
    name: string;
} = ...

Type declaration

  • id: (() => Promise<number>)
      • (): Promise<number>
      • Returns Promise<number>

  • idLocal: (() => number)
      • (): number
      • Returns number

  • name: string

Example

Use id method to get the id of the pathstring link

const package = new Package({deep});
const pathstringLinkId = await package["pathstring"].id();

Use localId method to get the local id of the pathstring link

const package = new Package({deep});
const pathstringLinkId = await package["pathstring"].localId();

Use name field to get the name of the pathstring link

const package = new Package({deep});
const pathstring = await package["pathstring"].name;
photopermissionsstring: {
    id: (() => Promise<number>);
    idLocal: (() => number);
    name: string;
} = ...

Type declaration

  • id: (() => Promise<number>)
      • (): Promise<number>
      • Returns Promise<number>

  • idLocal: (() => number)
      • (): number
      • Returns number

  • name: string

Example

Use id method to get the id of the photopermissionsstring link

const package = new Package({deep});
const photopermissionsstringLinkId = await package["photopermissionsstring"].id();

Use localId method to get the local id of the photopermissionsstring link

const package = new Package({deep});
const photopermissionsstringLinkId = await package["photopermissionsstring"].localId();

Use name field to get the name of the photopermissionsstring link

const package = new Package({deep});
const photopermissionsstring = await package["photopermissionsstring"].name;
timestampstring: {
    id: (() => Promise<number>);
    idLocal: (() => number);
    name: string;
} = ...

Type declaration

  • id: (() => Promise<number>)
      • (): Promise<number>
      • Returns Promise<number>

  • idLocal: (() => number)
      • (): number
      • Returns number

  • name: string

Example

Use id method to get the id of the timestampstring link

const package = new Package({deep});
const timestampstringLinkId = await package["timestampstring"].id();

Use localId method to get the local id of the timestampstring link

const package = new Package({deep});
const timestampstringLinkId = await package["timestampstring"].localId();

Use name field to get the name of the timestampstring link

const package = new Package({deep});
const timestampstring = await package["timestampstring"].name;
webpathstring: {
    id: (() => Promise<number>);
    idLocal: (() => number);
    name: string;
} = ...

Type declaration

  • id: (() => Promise<number>)
      • (): Promise<number>
      • Returns Promise<number>

  • idLocal: (() => number)
      • (): number
      • Returns number

  • name: string

Example

Use id method to get the id of the webpathstring link

const package = new Package({deep});
const webpathstringLinkId = await package["webpathstring"].id();

Use localId method to get the local id of the webpathstring link

const package = new Package({deep});
const webpathstringLinkId = await package["webpathstring"].localId();

Use name field to get the name of the webpathstring link

const package = new Package({deep});
const webpathstring = await package["webpathstring"].name;

Methods

  • Returns Promise<void>

  • Parameters

    • name: string

    Returns {
        id: (() => Promise<number>);
        idLocal: (() => number);
        name: string;
    }

    • id: (() => Promise<number>)
        • (): Promise<number>
        • Returns Promise<number>

    • idLocal: (() => number)
        • (): number
        • Returns number

    • name: string
  • Parameters

    • Rest ...names: string[]

    Returns Promise<number>

  • Parameters

    • Rest ...names: string[]

    Returns number