Directory containing deploy receipts, e.g. state/$CHAIN/deploy.

Hierarchy

Constructors

Properties

KEY: string = '.active'

Name of symlink pointing to active deployment, without extension.

dir: JSONDirectory<Partial<{
    name: string;
    units: {
        [k: string]: T;
    };
}>>

Root directory of deploy store.

log: Console = ...
selected?: Partial<{
    name: string;
    units: {
        [k: string]: T;
    };
}> = undefined

Type declaration

  • name: string
  • units: {
        [k: string]: T;
    }
    • [k: string]: T
size: number

Returns

the number of elements in the Map.

[species]: MapConstructor

Accessors

  • get [toStringTag](): string
  • Returns string

Methods

  • Returns an iterable of entries in the map.

    Returns IterableIterator<[string, Partial<{
        name: string;
        units: {
            [k: string]: T;
        };
    }>]>

  • Returns void

  • Parameters

    • key: string

    Returns boolean

    true if an element in the Map existed and has been removed, or false if the element does not exist.

  • Returns an iterable of key, value pairs for every entry in the map.

    Returns IterableIterator<[string, Partial<{
        name: string;
        units: {
            [k: string]: T;
        };
    }>]>

  • Executes a provided function once per each key/value pair in the Map, in insertion order.

    Parameters

    • callbackfn: ((value, key, map) => void)
        • (value, key, map): void
        • Parameters

          • value: Partial<{
                name: string;
                units: {
                    [k: string]: T;
                };
            }>
          • key: string
          • map: Map<string, Partial<{
                name: string;
                units: {
                    [k: string]: T;
                };
            }>>

          Returns void

    • Optional thisArg: any

    Returns void

  • Parameters

    • name: string

    Returns Partial<{
        name: string;
        units: {
            [k: string]: T;
        };
    }>

  • Parameters

    • key: string

    Returns boolean

    boolean indicating whether an element with the specified key exists or not.

  • Returns an iterable of keys in the map

    Returns IterableIterator<string>

  • Returns an iterable of values in the map

    Returns IterableIterator<Partial<{
        name: string;
        units: {
            [k: string]: T;
        };
    }>>

Generated using TypeDoc