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

0.0.17 • Public • Published

@kubev2v/types

Manual and auto generated typescript models and constants for Forklift console plugin.

Auto generated

Auto generated types:

Manual

Manual types:

Setting the models color and abbr.

The model constants are auto generated with abbr that defaults to first two letters of the kind, and undefined color. It is sometimes advisable to manual change the defaults.

For example:

export const HostModel = {
  label: 'Host',
  labelPlural: 'Hosts',

  abbr: 'HO',
  color: undefined,
  ...
};

can be manually edited to:

export const HostModel = {
  label: 'Forklift Host',
  labelPlural: 'Forklift Hosts',

  abbr: 'H',
  color: '#f00',
  ...
};

/@kubev2v/types/

    Package Sidebar

    Install

    npm i @kubev2v/types

    Weekly Downloads

    75

    Version

    0.0.17

    License

    Apache-2.0

    Unpacked Size

    16.5 MB

    Total Files

    3310

    Last publish

    Collaborators

    • kzamir