0.0.16 • Published 11 months ago

@tinystacks/ops-core-widgets v0.0.16

Weekly downloads
-
License
-
Repository
github
Last release
11 months ago

Overview

This package contains a list of core Ops Console widgets.

List of widgets

NameDescription
PanelThis widget renders multiple internal widgets in a single direction, either vertical or horizontal.
TabsThis widget renders multiple internal widgets in a tab view. Combine with panel or grid to make robust views.
GridThis widget renders multiple internal widgets in a grid.
MarkdownThis widget renders markdown.
CLIThis widget runs a bash command. The command may be multiple commands separated by ';'. You can also reference scripts that exist in the same directory as your config.

Panel

This widget renders multiple internal widgets in a single direction, either vertical or horizontal.

ParameterRequiredTypeDescription
displayNameYesstringDisplay name of widget.
childrenYesarrayThe widgets to render in the panel
orientationNohorizontal or verticalDirection in which to lay out children widgets. (default: vertical)

Tabs

This widget renders multiple internal widgets in a tab view. Combine with panel or grid to make robust views.

ParameterRequiredTypeDescription
displayNameYesstringDisplay name of widget.
childrenYesarrayThe widgets to render in the panel.
tabNamesYesarrayTab names for each respective tab widget.

Grid

This widget renders multiple internal widgets in a grid.

ParameterRequiredTypeDescription
displayNameYesstringDisplay name of widget.
childrenYesarrayThe widgets to render in the panel.
columnsNonumberThe number of columns to render. (default: 2)

Markdown

This widget renders markdown.

ParameterRequiredTypeDescription
displayNameYesstringDisplay name of widget.
markdownYesstringThe markdown to render.

CLI

This widget runs a bash command. The command may be multiple commands separated by ';'. You can also reference scripts that exist in the same directory as your config.

ParameterRequiredTypeDescription
displayNameYesstringDisplay name of widget.
environmentVariablesNomap<string,string>A set of Key-Value pairs that set the environment. ex.  VAR1: 10  VAR2: 9
providersNoarrayA list of providers. Providers will only be used if they implement CliEnvironmentProvider. Each environment variable from compatible providers will be exported to the shell.
commandYesstringA semi-colon seperated set of commands.
runOnStartNobooleanWhether or not to run the command when the dashboard and widget are first rendered. If disabled, the command will not run until the run button is pressed. (default: false)
0.0.14

11 months ago

0.0.15

11 months ago

0.0.16

11 months ago

0.0.13

11 months ago

0.0.10

1 year ago

0.0.11

1 year ago

0.0.12

12 months ago

0.0.8

1 year ago

0.0.5

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago

0.0.0

1 year ago