Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 1 KB

README.md

File metadata and controls

48 lines (34 loc) · 1 KB

@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',
  ...
};