@swizzyweb/swizzy-web-service
    Preparing search index...

    Interface IWebService

    interface IWebService {
        instanceId: string;
        name: string;
        install(props: IRunProps): Promise<IRunResult>;
        isInstalled(): boolean;
        toJson(): any;
        toString(): string;
        uninstall(props: IRunProps): Promise<any>;
    }

    Implemented by

    Index

    Properties

    instanceId: string

    instanceId of WebService.

    name: string

    Friendly name of webservice.

    Methods

    • Whether the app is installed or not.

      Returns boolean

    • Serializes the web service to a plain JSON-compatible object.

      Returns any

      JSON representation of the web service

    • Returns a JSON string representation of the web service.

      Returns string

      stringified JSON of the web service

    • Uninstalls the WebService from the app.

      Parameters

      Returns Promise<any>