@rbleattler/omp-ts-typegen 0.2025.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/copilot-instructions.md +74 -0
- package/.github/workflows/nightly-types.yml +42 -0
- package/.vscode/settings.json +5 -0
- package/CHANGELOG.md +9 -0
- package/cache/schema.json +5330 -0
- package/default.omp.json +60 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +18 -0
- package/dist/index.js.map +1 -0
- package/dist/types/omp.d.ts +368 -0
- package/dist/types/omp.d.ts.map +1 -0
- package/dist/types/omp.js +398 -0
- package/dist/types/omp.js.map +1 -0
- package/package.json +43 -0
- package/readme.md +130 -0
- package/schema-explained.md +192 -0
- package/scripts/generate-types.ts +184 -0
- package/scripts/test-types.ts +416 -0
- package/scripts/validator.ts +88 -0
- package/src/index.ts +1 -0
- package/theme-validation-badge.svg +20 -0
- package/theme-validation.md +134 -0
- package/tsconfig.json +44 -0
- package/tsconfig.scripts.json +9 -0
package/default.omp.json
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
3
|
+
"blocks": [
|
|
4
|
+
{
|
|
5
|
+
"alignment": "left",
|
|
6
|
+
"segments": [
|
|
7
|
+
{
|
|
8
|
+
"foreground": "#FFEE58",
|
|
9
|
+
"style": "plain",
|
|
10
|
+
"template": " \uf0e7 ",
|
|
11
|
+
"type": "root"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"foreground": "#ffffff",
|
|
15
|
+
"style": "plain",
|
|
16
|
+
"template": " {{ .UserName }}@{{ .HostName }} ",
|
|
17
|
+
"type": "session"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"background": "#91ddff",
|
|
21
|
+
"foreground": "#100e23",
|
|
22
|
+
"powerline_symbol": "\ue0b0",
|
|
23
|
+
"properties": {
|
|
24
|
+
"style": "full"
|
|
25
|
+
},
|
|
26
|
+
"style": "powerline",
|
|
27
|
+
"template": " {{ .Path }} ",
|
|
28
|
+
"type": "path"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"background": "#95ffa4",
|
|
32
|
+
"foreground": "#193549",
|
|
33
|
+
"powerline_symbol": "\ue0b0",
|
|
34
|
+
"style": "powerline",
|
|
35
|
+
"template": " {{ .HEAD }} ",
|
|
36
|
+
"type": "git"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"background": "#906cff",
|
|
40
|
+
"foreground": "#100e23",
|
|
41
|
+
"powerline_symbol": "\ue0b0",
|
|
42
|
+
"style": "powerline",
|
|
43
|
+
"template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} ",
|
|
44
|
+
"type": "python"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"background": "#ff8080",
|
|
48
|
+
"foreground": "#ffffff",
|
|
49
|
+
"powerline_symbol": "\ue0b0",
|
|
50
|
+
"style": "powerline",
|
|
51
|
+
"template": " \ue20f ",
|
|
52
|
+
"type": "status"
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"type": "prompt"
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
"final_space": true,
|
|
59
|
+
"version": 3
|
|
60
|
+
}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types/omp"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B"}
|
|
@@ -0,0 +1,368 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Oh My Posh TypeScript definitions
|
|
3
|
+
*
|
|
4
|
+
* Generated from schema: https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/refs/heads/main/themes/schema.json
|
|
5
|
+
* Generated on: 2025-03-08T22:14:34.473Z
|
|
6
|
+
*
|
|
7
|
+
* @see https://ohmyposh.dev/docs/
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* https://ohmyposh.dev/docs/configuration/general
|
|
11
|
+
*/
|
|
12
|
+
export type OhMyPosh = {
|
|
13
|
+
accent_color?: string;
|
|
14
|
+
/**
|
|
15
|
+
* https://ohmyposh.dev/docs/configuration/general#blocks
|
|
16
|
+
*/
|
|
17
|
+
blocks: Block[];
|
|
18
|
+
/**
|
|
19
|
+
* https://ohmyposh.dev/docs/configuration/title#console-title-template
|
|
20
|
+
*/
|
|
21
|
+
console_title_template?: string;
|
|
22
|
+
/**
|
|
23
|
+
* https://ohmyposh.dev/docs/configuration/cycle
|
|
24
|
+
*/
|
|
25
|
+
cycle?: CycleElement[];
|
|
26
|
+
/**
|
|
27
|
+
* https://ohmyposh.dev/docs/configuration/debug-prompt
|
|
28
|
+
*/
|
|
29
|
+
debug_prompt?: ExtraPrompt;
|
|
30
|
+
/**
|
|
31
|
+
* https://ohmyposh.dev/docs/configuration/general#general-settings
|
|
32
|
+
*/
|
|
33
|
+
enable_cursor_positioning?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* https://ohmyposh.dev/docs/configuration/line-error
|
|
36
|
+
*/
|
|
37
|
+
error_line?: ExtraPrompt;
|
|
38
|
+
/**
|
|
39
|
+
* https://ohmyposh.dev/docs/configuration/general#general-settings
|
|
40
|
+
*/
|
|
41
|
+
final_space?: boolean;
|
|
42
|
+
iterm_features?: TheITerm2FeaturesToEnable[];
|
|
43
|
+
/**
|
|
44
|
+
* https://ohmyposh.dev/docs/configuration/colors#palette
|
|
45
|
+
*/
|
|
46
|
+
palette?: {
|
|
47
|
+
[key: string]: string;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* https://ohmyposh.dev/docs/configuration/colors#palettes
|
|
51
|
+
*/
|
|
52
|
+
palettes?: Palettes;
|
|
53
|
+
/**
|
|
54
|
+
* https://ohmyposh.dev/docs/configuration/general#general-settings
|
|
55
|
+
*/
|
|
56
|
+
patch_pwsh_bleed?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* https://ohmyposh.dev/docs/configuration/general#general-settings
|
|
59
|
+
*/
|
|
60
|
+
pwd?: string;
|
|
61
|
+
/**
|
|
62
|
+
* https://ohmyposh.dev/docs/configuration/secondary-prompt
|
|
63
|
+
*/
|
|
64
|
+
secondary_prompt?: ExtraPrompt;
|
|
65
|
+
shell_integration?: boolean;
|
|
66
|
+
terminal_background?: string;
|
|
67
|
+
/**
|
|
68
|
+
* https://ohmyposh.dev/docs/configuration/tooltips
|
|
69
|
+
*/
|
|
70
|
+
tooltips?: TooltipListPromptElementsToDisplayBasedOnContext[];
|
|
71
|
+
/**
|
|
72
|
+
* https://ohmyposh.dev/docs/configuration/transient
|
|
73
|
+
*/
|
|
74
|
+
transient_prompt?: TransientPromptSetting;
|
|
75
|
+
/**
|
|
76
|
+
* https://ohmyposh.dev/docs/configuration/general#general-settings
|
|
77
|
+
*/
|
|
78
|
+
upgrade?: EnableUpgradeNotice;
|
|
79
|
+
/**
|
|
80
|
+
* https://ohmyposh.dev/docs/configuration/line-error
|
|
81
|
+
*/
|
|
82
|
+
valid_line?: ExtraPrompt;
|
|
83
|
+
/**
|
|
84
|
+
* https://ohmyposh.dev/docs/configuration/templates#config-variables
|
|
85
|
+
*/
|
|
86
|
+
var?: {
|
|
87
|
+
[key: string]: any;
|
|
88
|
+
};
|
|
89
|
+
[property: string]: any;
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* https://ohmyposh.dev/docs/configuration/block
|
|
93
|
+
*/
|
|
94
|
+
export type Block = {
|
|
95
|
+
/**
|
|
96
|
+
* https://ohmyposh.dev/docs/configuration/block#alignment
|
|
97
|
+
*/
|
|
98
|
+
alignment?: BlockAlignment;
|
|
99
|
+
/**
|
|
100
|
+
* https://ohmyposh.dev/docs/configuration/block#leading-diamond
|
|
101
|
+
*/
|
|
102
|
+
leading_diamond?: string;
|
|
103
|
+
/**
|
|
104
|
+
* https://ohmyposh.dev/docs/configuration/block#newline
|
|
105
|
+
*/
|
|
106
|
+
newline?: boolean;
|
|
107
|
+
/**
|
|
108
|
+
* https://ohmyposh.dev/docs/configuration/block#segments
|
|
109
|
+
*/
|
|
110
|
+
segments?: Segment[];
|
|
111
|
+
/**
|
|
112
|
+
* https://ohmyposh.dev/docs/configuration/block#trailing-diamond
|
|
113
|
+
*/
|
|
114
|
+
trailing_diamond?: string;
|
|
115
|
+
/**
|
|
116
|
+
* https://ohmyposh.dev/docs/configuration/block#type
|
|
117
|
+
*/
|
|
118
|
+
type?: BlockType;
|
|
119
|
+
[property: string]: any;
|
|
120
|
+
};
|
|
121
|
+
/**
|
|
122
|
+
* https://ohmyposh.dev/docs/configuration/block#alignment
|
|
123
|
+
*/
|
|
124
|
+
export type BlockAlignment = "left" | "right";
|
|
125
|
+
/**
|
|
126
|
+
* https://ohmyposh.dev/docs/configuration/segment
|
|
127
|
+
*/
|
|
128
|
+
export type Segment = {
|
|
129
|
+
/**
|
|
130
|
+
* https://ohmyposh.dev/docs/configuration/segment
|
|
131
|
+
*/
|
|
132
|
+
alias?: string;
|
|
133
|
+
background?: string;
|
|
134
|
+
/**
|
|
135
|
+
* https://ohmyposh.dev/docs/configuration/colors#color-templates
|
|
136
|
+
*/
|
|
137
|
+
background_templates?: string[];
|
|
138
|
+
/**
|
|
139
|
+
* https://ohmyposh.dev/docs/configuration/segment#cache
|
|
140
|
+
*/
|
|
141
|
+
cache?: CacheSettings;
|
|
142
|
+
/**
|
|
143
|
+
* https://ohmyposh.dev/docs/configuration/segment#include--exclude-folders
|
|
144
|
+
*/
|
|
145
|
+
exclude_folders?: string[];
|
|
146
|
+
foreground?: string;
|
|
147
|
+
/**
|
|
148
|
+
* https://ohmyposh.dev/docs/configuration/colors#color-templates
|
|
149
|
+
*/
|
|
150
|
+
foreground_templates?: string[];
|
|
151
|
+
/**
|
|
152
|
+
* https://ohmyposh.dev/docs/configuration/segment#include--exclude-folders
|
|
153
|
+
*/
|
|
154
|
+
include_folders?: string[];
|
|
155
|
+
/**
|
|
156
|
+
* https://ohmyposh.dev/docs/configuration/segment
|
|
157
|
+
*/
|
|
158
|
+
interactive?: boolean;
|
|
159
|
+
/**
|
|
160
|
+
* https://ohmyposh.dev/docs/configuration/segment
|
|
161
|
+
*/
|
|
162
|
+
max_width?: number;
|
|
163
|
+
/**
|
|
164
|
+
* https://ohmyposh.dev/docs/configuration/segment
|
|
165
|
+
*/
|
|
166
|
+
min_width?: number;
|
|
167
|
+
/**
|
|
168
|
+
* https://ohmyposh.dev/docs/configuration/segment#properties
|
|
169
|
+
*/
|
|
170
|
+
properties?: {
|
|
171
|
+
[key: string]: any;
|
|
172
|
+
};
|
|
173
|
+
/**
|
|
174
|
+
* https://ohmyposh.dev/docs/configuration/segment#style
|
|
175
|
+
*/
|
|
176
|
+
style: string;
|
|
177
|
+
/**
|
|
178
|
+
* https://ohmyposh.dev/docs/configuration/templates
|
|
179
|
+
*/
|
|
180
|
+
template?: string;
|
|
181
|
+
/**
|
|
182
|
+
* https://ohmyposh.dev/docs/configuration/segment
|
|
183
|
+
*/
|
|
184
|
+
templates_logic?: TemplatesLogic;
|
|
185
|
+
/**
|
|
186
|
+
* https://ohmyposh.dev/docs/configuration/segment
|
|
187
|
+
*/
|
|
188
|
+
type: SegmentType;
|
|
189
|
+
[property: string]: any;
|
|
190
|
+
};
|
|
191
|
+
/**
|
|
192
|
+
* https://ohmyposh.dev/docs/configuration/segment#cache
|
|
193
|
+
*/
|
|
194
|
+
export type CacheSettings = {
|
|
195
|
+
duration?: string;
|
|
196
|
+
/**
|
|
197
|
+
* https://ohmyposh.dev/docs/configuration/segment#strategy
|
|
198
|
+
*/
|
|
199
|
+
strategy?: CacheStrategy;
|
|
200
|
+
[property: string]: any;
|
|
201
|
+
};
|
|
202
|
+
/**
|
|
203
|
+
* https://ohmyposh.dev/docs/configuration/segment#strategy
|
|
204
|
+
*/
|
|
205
|
+
export type CacheStrategy = "folder" | "session";
|
|
206
|
+
/**
|
|
207
|
+
* https://ohmyposh.dev/docs/configuration/segment
|
|
208
|
+
*/
|
|
209
|
+
export type TemplatesLogic = "first_match" | "join";
|
|
210
|
+
/**
|
|
211
|
+
* https://ohmyposh.dev/docs/configuration/segment
|
|
212
|
+
*/
|
|
213
|
+
export type SegmentType = "angular" | "argocd" | "aurelia" | "aws" | "az" | "azd" | "azfunc" | "battery" | "bazel" | "brewfather" | "buf" | "bun" | "carbonintensity" | "cds" | "cf" | "cftarget" | "cmake" | "command" | "connection" | "crystal" | "dart" | "deno" | "docker" | "dotnet" | "elixir" | "executiontime" | "firebase" | "flutter" | "fortran" | "fossil" | "gcp" | "git" | "gitversion" | "go" | "haskell" | "helm" | "ipify" | "java" | "julia" | "kotlin" | "kubectl" | "lastfm" | "lua" | "mercurial" | "mojo" | "mvn" | "nbgv" | "nightscout" | "nim" | "nix-shell" | "node" | "npm" | "nx" | "ocaml" | "os" | "owm" | "path" | "perl" | "php" | "plastic" | "pnpm" | "project" | "pulumi" | "python" | "quasar" | "r" | "react" | "root" | "ruby" | "rust" | "sapling" | "session" | "shell" | "sitecore" | "spotify" | "status" | "strava" | "svelte" | "svn" | "swift" | "sysinfo" | "talosctl" | "tauri" | "terraform" | "text" | "time" | "ui5tooling" | "umbraco" | "unity" | "upgrade" | "v" | "vala" | "wakatime" | "winreg" | "withings" | "xmake" | "yarn" | "ytm" | "zig";
|
|
214
|
+
/**
|
|
215
|
+
* https://ohmyposh.dev/docs/configuration/block#type
|
|
216
|
+
*/
|
|
217
|
+
export type BlockType = "prompt" | "rprompt";
|
|
218
|
+
export type CycleElement = any[] | boolean | number | number | null | CycleObject | string;
|
|
219
|
+
export type CycleObject = {
|
|
220
|
+
background?: string;
|
|
221
|
+
foreground?: string;
|
|
222
|
+
[property: string]: any;
|
|
223
|
+
};
|
|
224
|
+
/**
|
|
225
|
+
* https://ohmyposh.dev/docs/configuration/debug-prompt
|
|
226
|
+
*
|
|
227
|
+
* https://ohmyposh.dev/docs/configuration/line-error
|
|
228
|
+
*
|
|
229
|
+
* https://ohmyposh.dev/docs/configuration/secondary-prompt
|
|
230
|
+
*/
|
|
231
|
+
export type ExtraPrompt = {
|
|
232
|
+
background?: string;
|
|
233
|
+
/**
|
|
234
|
+
* https://ohmyposh.dev/docs/configuration/colors#color-templates
|
|
235
|
+
*/
|
|
236
|
+
background_templates?: string[];
|
|
237
|
+
foreground?: string;
|
|
238
|
+
/**
|
|
239
|
+
* https://ohmyposh.dev/docs/configuration/colors#color-templates
|
|
240
|
+
*/
|
|
241
|
+
foreground_templates?: string[];
|
|
242
|
+
template?: string;
|
|
243
|
+
[property: string]: any;
|
|
244
|
+
};
|
|
245
|
+
export type TheITerm2FeaturesToEnable = "prompt_mark" | "current_dir" | "remote_host";
|
|
246
|
+
/**
|
|
247
|
+
* https://ohmyposh.dev/docs/configuration/colors#palettes
|
|
248
|
+
*/
|
|
249
|
+
export type Palettes = {
|
|
250
|
+
list?: {
|
|
251
|
+
[key: string]: {
|
|
252
|
+
[key: string]: string;
|
|
253
|
+
};
|
|
254
|
+
};
|
|
255
|
+
template?: string;
|
|
256
|
+
[property: string]: any;
|
|
257
|
+
};
|
|
258
|
+
/**
|
|
259
|
+
* https://ohmyposh.dev/docs/configuration/segment
|
|
260
|
+
*/
|
|
261
|
+
export type TooltipListPromptElementsToDisplayBasedOnContext = {
|
|
262
|
+
/**
|
|
263
|
+
* https://ohmyposh.dev/docs/configuration/segment
|
|
264
|
+
*/
|
|
265
|
+
alias?: string;
|
|
266
|
+
background?: string;
|
|
267
|
+
/**
|
|
268
|
+
* https://ohmyposh.dev/docs/configuration/colors#color-templates
|
|
269
|
+
*/
|
|
270
|
+
background_templates?: string[];
|
|
271
|
+
/**
|
|
272
|
+
* https://ohmyposh.dev/docs/configuration/segment#cache
|
|
273
|
+
*/
|
|
274
|
+
cache?: CacheSettings;
|
|
275
|
+
/**
|
|
276
|
+
* https://ohmyposh.dev/docs/configuration/segment#include--exclude-folders
|
|
277
|
+
*/
|
|
278
|
+
exclude_folders?: string[];
|
|
279
|
+
foreground?: string;
|
|
280
|
+
/**
|
|
281
|
+
* https://ohmyposh.dev/docs/configuration/colors#color-templates
|
|
282
|
+
*/
|
|
283
|
+
foreground_templates?: string[];
|
|
284
|
+
/**
|
|
285
|
+
* https://ohmyposh.dev/docs/configuration/segment#include--exclude-folders
|
|
286
|
+
*/
|
|
287
|
+
include_folders?: string[];
|
|
288
|
+
/**
|
|
289
|
+
* https://ohmyposh.dev/docs/configuration/segment
|
|
290
|
+
*/
|
|
291
|
+
interactive?: boolean;
|
|
292
|
+
/**
|
|
293
|
+
* https://ohmyposh.dev/docs/configuration/segment
|
|
294
|
+
*/
|
|
295
|
+
max_width?: number;
|
|
296
|
+
/**
|
|
297
|
+
* https://ohmyposh.dev/docs/configuration/segment
|
|
298
|
+
*/
|
|
299
|
+
min_width?: number;
|
|
300
|
+
/**
|
|
301
|
+
* https://ohmyposh.dev/docs/configuration/segment#properties
|
|
302
|
+
*/
|
|
303
|
+
properties?: {
|
|
304
|
+
[key: string]: any;
|
|
305
|
+
};
|
|
306
|
+
/**
|
|
307
|
+
* https://ohmyposh.dev/docs/configuration/segment#style
|
|
308
|
+
*/
|
|
309
|
+
style: string;
|
|
310
|
+
/**
|
|
311
|
+
* https://ohmyposh.dev/docs/configuration/templates
|
|
312
|
+
*/
|
|
313
|
+
template?: string;
|
|
314
|
+
/**
|
|
315
|
+
* https://ohmyposh.dev/docs/configuration/segment
|
|
316
|
+
*/
|
|
317
|
+
templates_logic?: TemplatesLogic;
|
|
318
|
+
tips: string[];
|
|
319
|
+
/**
|
|
320
|
+
* https://ohmyposh.dev/docs/configuration/segment
|
|
321
|
+
*/
|
|
322
|
+
type: SegmentType;
|
|
323
|
+
[property: string]: any;
|
|
324
|
+
};
|
|
325
|
+
/**
|
|
326
|
+
* https://ohmyposh.dev/docs/configuration/transient
|
|
327
|
+
*
|
|
328
|
+
* https://ohmyposh.dev/docs/configuration/debug-prompt
|
|
329
|
+
*
|
|
330
|
+
* https://ohmyposh.dev/docs/configuration/line-error
|
|
331
|
+
*
|
|
332
|
+
* https://ohmyposh.dev/docs/configuration/secondary-prompt
|
|
333
|
+
*/
|
|
334
|
+
export type TransientPromptSetting = {
|
|
335
|
+
background?: string;
|
|
336
|
+
/**
|
|
337
|
+
* https://ohmyposh.dev/docs/configuration/colors#color-templates
|
|
338
|
+
*/
|
|
339
|
+
background_templates?: string[];
|
|
340
|
+
filler?: string;
|
|
341
|
+
foreground?: string;
|
|
342
|
+
/**
|
|
343
|
+
* https://ohmyposh.dev/docs/configuration/colors#color-templates
|
|
344
|
+
*/
|
|
345
|
+
foreground_templates?: string[];
|
|
346
|
+
/**
|
|
347
|
+
* Add a newline before the prompt
|
|
348
|
+
*/
|
|
349
|
+
newline?: boolean;
|
|
350
|
+
template?: string;
|
|
351
|
+
[property: string]: any;
|
|
352
|
+
};
|
|
353
|
+
/**
|
|
354
|
+
* https://ohmyposh.dev/docs/configuration/general#general-settings
|
|
355
|
+
*/
|
|
356
|
+
export type EnableUpgradeNotice = {
|
|
357
|
+
auto?: boolean;
|
|
358
|
+
interval?: string;
|
|
359
|
+
notice?: boolean;
|
|
360
|
+
source?: Source;
|
|
361
|
+
[property: string]: any;
|
|
362
|
+
};
|
|
363
|
+
export type Source = "cdn" | "github";
|
|
364
|
+
export declare class Convert {
|
|
365
|
+
static toOhMyPosh(json: string): OhMyPosh;
|
|
366
|
+
static ohMyPoshToJson(value: OhMyPosh): string;
|
|
367
|
+
}
|
|
368
|
+
//# sourceMappingURL=omp.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"omp.d.ts","sourceRoot":"","sources":["../../src/types/omp.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAcH;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB;;OAEG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC;;OAEG;IACH,KAAK,CAAC,EAAE,YAAY,EAAE,CAAC;IACvB;;OAEG;IACH,YAAY,CAAC,EAAE,WAAW,CAAC;IAC3B;;OAEG;IACH,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC;;OAEG;IACH,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB;;OAEG;IACH,WAAW,CAAC,EAAK,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,yBAAyB,EAAE,CAAC;IAC7C;;OAEG;IACH,OAAO,CAAC,EAAE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