Interface IGenericNopeModule

Hierarchy

Properties

_markedElements: {
    accessor: string;
    options: IEventOptions | IServiceOptions<any>;
    type: "event" | "method" | "prop";
}[]

Internal Element, which is used to store elements, that should be added automaticallay.

Memberof

INopeModule

author: IAuthor

The Author of the Module

Memberof

INopeModuleDescription

description: string

A Description of the Module. This is used to describe roughly what the module is capable of doing. Consider this as Module a kind of Documentation. Based on the fact, that the module will be offered in the Network, provide a meaning full documentation

Memberof

INopeModuleDescription

dynamicInstanceMethods: {
    [index: string]: (<T>(...args) => INopePromise<T>);
}

Type declaration

dynamicInstanceMethodsWithOptions: {
    [index: string]: (<T>(options, ...args) => INopePromise<T>);
}

Type declaration

dynamicInstanceProperties: {
    [index: string]: INopeObservable<any>;
}

Type declaration

events: {
    [index: string]: IEventOptions;
}

Type declaration

identifier: string

Name of the Module. The name of the module must be written in lowercase.

Memberof

INopeModuleDescription

methods: {
    [index: string]: IServiceOptions;
}

Contains the provided functions.

key = id of the function

Memberof

INopeModuleDescription

Type declaration

properties: {
    [index: string]: IEventOptions;
}

Type declaration

type: string

Type of the Module

Memberof

INopeModuleDescription

uiLinks: {
    description: string;
    link: string;
    name: string;
}[]
version: IVersion

Description of the provided Version of the Module.

Memberof

INopeModuleDescription

Methods

  • Function used to register a Function

    Returns

    Memberof

    IBaseModule

    Parameters

    • name: string

      Name of the Function

    • method: ((...args) => Promise<any>)

      The Function

        • (...args): Promise<any>
        • Parameters

          • Rest ...args: any[]

          Returns Promise<any>

    • options: IServiceOptions<any>

      The Options used during subscription

    Returns Promise<void>

  • Function to Register a Property. If called for an existing Property, the Data will be updated.

    Returns

    Memberof

    IBaseModule

    Type Parameters

    • T

      Internal Type

    • S = T

      Setter Type

    • G = T

      Getter Type

    Parameters

    Returns Promise<void>

Generated using TypeDoc