{"modulePath":"github.com/wavetermdev/waveterm","version":"v0.14.5","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package main\n\n## Constants\n\n```go\nconst WaveSchemaAiPresetsFileName = \"schema/aipresets.json\"\n```\n\n```go\nconst WaveSchemaBackgroundsFileName = \"schema/backgrounds.json\"\n```\n\n```go\nconst WaveSchemaConnectionsFileName = \"schema/connections.json\"\n```\n\n```go\nconst WaveSchemaSettingsFileName = \"schema/settings.json\"\n```\n\n```go\nconst WaveSchemaWaveAIFileName = \"schema/waveai.json\"\n```\n\n```go\nconst WaveSchemaWidgetsFileName = \"schema/widgets.json\"\n```\n\n## Types\n\n```go\ntype ControllerNameType string\n```\nControllerNameType is a string type whose JSON Schema offers enum suggestions for the known block controller names while still accepting any arbitrary string value.\n\n```go\nfunc (ControllerNameType) JSONSchema() *jsonschema.Schema\n```\n\n```go\ntype ViewNameType string\n```\nViewNameType is a string type whose JSON Schema offers enum suggestions for the most common widget view names while still accepting any arbitrary string value.\n\n```go\nfunc (ViewNameType) JSONSchema() *jsonschema.Schema\n```\n\n```go\ntype WidgetsMetaSchemaHints struct {\n\tView       ViewNameType       `json:\"view,omitempty\"`\n\tFile       string             `json:\"file,omitempty\"`\n\tUrl        string             `json:\"url,omitempty\"`\n\tController ControllerNameType `json:\"controller,omitempty\"`\n\n\tCmd                 string            `json:\"cmd,omitempty\"`\n\tCmdInteractive      bool              `json:\"cmd:interactive,omitempty\"`\n\tCmdLogin            bool              `json:\"cmd:login,omitempty\"`\n\tCmdPersistent       bool              `json:\"cmd:persistent,omitempty\"`\n\tCmdRunOnStart       bool              `json:\"cmd:runonstart,omitempty\"`\n\tCmdClearOnStart     bool              `json:\"cmd:clearonstart,omitempty\"`\n\tCmdRunOnce          bool              `json:\"cmd:runonce,omitempty\"`\n\tCmdCloseOnExit      bool              `json:\"cmd:closeonexit,omitempty\"`\n\tCmdCloseOnExitForce bool              `json:\"cmd:closeonexitforce,omitempty\"`\n\tCmdCloseOnExitDelay float64           `json:\"cmd:closeonexitdelay,omitempty\"`\n\tCmdNoWsh            bool              `json:\"cmd:nowsh,omitempty\"`\n\tCmdArgs             []string          `json:\"cmd:args,omitempty\"`\n\tCmdShell            bool              `json:\"cmd:shell,omitempty\"`\n\tCmdAllowConnChange  bool              `json:\"cmd:allowconnchange,omitempty\"`\n\tCmdEnv              map[string]string `json:\"cmd:env,omitempty\"`\n\tCmdCwd              string            `json:\"cmd:cwd,omitempty\"`\n\tCmdInitScript       string            `json:\"cmd:initscript,omitempty\"`\n\tCmdInitScriptSh     string            `json:\"cmd:initscript.sh,omitempty\"`\n\tCmdInitScriptBash   string            `json:\"cmd:initscript.bash,omitempty\"`\n\tCmdInitScriptZsh    string            `json:\"cmd:initscript.zsh,omitempty\"`\n\tCmdInitScriptPwsh   string            `json:\"cmd:initscript.pwsh,omitempty\"`\n\tCmdInitScriptFish   string            `json:\"cmd:initscript.fish,omitempty\"`\n\n\tTermFontSize            int      `json:\"term:fontsize,omitempty\"`\n\tTermFontFamily          string   `json:\"term:fontfamily,omitempty\"`\n\tTermMode                string   `json:\"term:mode,omitempty\"`\n\tTermTheme               string   `json:\"term:theme,omitempty\"`\n\tTermLocalShellPath      string   `json:\"term:localshellpath,omitempty\"`\n\tTermLocalShellOpts      []string `json:\"term:localshellopts,omitempty\"`\n\tTermScrollback          *int     `json:\"term:scrollback,omitempty\"`\n\tTermTransparency        *float64 `json:\"term:transparency,omitempty\"`\n\tTermAllowBracketedPaste *bool    `json:\"term:allowbracketedpaste,omitempty\"`\n\tTermShiftEnterNewline   *bool    `json:\"term:shiftenternewline,omitempty\"`\n\tTermMacOptionIsMeta     *bool    `json:\"term:macoptionismeta,omitempty\"`\n\tTermBellSound           *bool    `json:\"term:bellsound,omitempty\"`\n\tTermBellIndicator       *bool    `json:\"term:bellindicator,omitempty\"`\n\tTermDurable             *bool    `json:\"term:durable,omitempty\"`\n}\n```\nWidgetsMetaSchemaHints provides schema hints for the blockdef.meta field in widget configs. It covers the most common keys used when defining widgets: view, file, url, controller, cmd and cmd:\\* options, and term:\\* options.\n\n","path":"github.com/wavetermdev/waveterm/cmd/generateschema","name":"main","synopsis":"","isRedistributable":true}
