@marianfoo/adt-ls - v0.4.1
    Preparing search index...

    Interface Services

    Runtime + business-service surface (the services namespace).

    interface Services {
        getServiceInfo(
            ref: ObjectRef,
            opts?: { service?: string },
        ): Promise<ServiceInfo>;
        listServices(ref: ObjectRef): Promise<ServiceBindingServices>;
        publishServiceBinding(ref: ObjectRef): Promise<unknown>;
        runApplication(ref: ObjectRef): Promise<{ output: string }>;
        serviceBindingDetails(ref: ObjectRef): Promise<unknown>;
    }
    Index

    Methods

    • Live OData service info — the service URL + entity sets — for a binding's service (chains fetch_services → fetch_service_information). For an unpublished V4 binding this throws asking you to publish first. service picks a specific service (default: first).

      Parameters

      • ref: ObjectRef
      • Optionalopts: { service?: string }

      Returns Promise<ServiceInfo>

    • Publish (or unpublish) a service binding — mutating.

      Parameters

      Returns Promise<unknown>

    • Run an executable object (classrun / program) and return its console output.

      Parameters

      Returns Promise<{ output: string }>

    • Read a service binding's details (binding type, OData version, service list).

      Parameters

      Returns Promise<unknown>