@openshift-assisted/types
TypeScript icon, indicating that this package has built-in type declarations

2.9.20-cim • Public • Published

@openshift-assisted/types

This package provides general type definitions.

Included:

Based on OCM APIs:

Usage:

From the command-line execute:

$ yarn add -D @openshift-assisted/types

Now you can import types as following:

import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
// or...
import { AccessTokenCfg } from '@openshift-assisted/types/accounts-management-service';

Development:

The types for the assisted-installer-service are generated automatically.
In order to update the types use the following script defined in the package.json:

$ yarn update-types:assisted-installer-service

The types for the accounts-management-service are not generated automatically (for now, maybe they will in the future if there is a need to do so...).

/@openshift-assisted/types/

    Package Sidebar

    Install

    npm i @openshift-assisted/types

    Weekly Downloads

    343

    Version

    2.9.20-cim

    License

    none

    Unpacked Size

    87 kB

    Total Files

    6

    Last publish

    Collaborators

    • rawagnerop
    • celdrake
    • marek.libra
    • ammont82
    • brotman
    • jgyselov
    • jkilzi