1.42.0 • Published 11 months ago

@sassoftware/vi-api v1.42.0

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
github
Last release
11 months ago

Visual Investigator API

The SAS Visual Investigator API provides a set of components and service methods that enable developers to create customized solutions within the application.

Getting Started

For documentation and examples please see our Solution Extension GitHub.

Installation

To use the API, install the NPM package @sassoftware/vi-api:

npm install @sassoftware/vi-api

API

The SVI API is available through the JavaScript window object:

window.sas.vi.metadata.getEntity("person");

Typings

To complement the API, solution developers can download the API typings package. Run the following command in your project:

npm install @sassoftware/vi-api

The types can be used to help with autocompletion of API spaces, methods, and expected return types.

import { SviWindow } from "@sassoftware/vi-api";
import { StoredObjectDTO } from "@sassoftware/vi-api/svi-datahub";

const sviWindow = window as SviWindow;
sviWindow.sas.vi.metadata.getEntity("person").then((entity: StoredObjectDTO | undefined) => {
    if (entity) {
        console.log("Retrieved entity:", entity.label);
    }
});
1.42.0

11 months ago

1.40.4

1 year ago

1.40.3

1 year ago

1.40.2

1 year ago

1.40.1

1 year ago

1.15.3

2 years ago

1.15.2

2 years ago

1.9.0

2 years ago

1.7.1

2 years ago

1.5.0

2 years ago

0.0.29

3 years ago