@k8slens/extensions 5.6.0-git.d6107e9585.0 → 5.6.0-git.dce7e89878.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/dist/src/common/app-paths/app-path-injection-token.d.ts +0 -1
- package/dist/src/common/application-update/selected-update-channel/default-update-channel.injectable.d.ts +2 -0
- package/dist/src/common/application-update/selected-update-channel/selected-update-channel.injectable.d.ts +8 -0
- package/dist/src/common/application-update/update-channels.d.ts +11 -0
- package/dist/src/common/catalog-entities/kubernetes-cluster.d.ts +1 -1
- package/dist/src/common/cluster-store/allowed-resources-injection-token.d.ts +6 -0
- package/dist/src/common/front-end-routing/{route-injection-token.d.ts → front-end-route-injection-token.d.ts} +1 -1
- package/dist/src/common/front-end-routing/navigate-to-route-injection-token.d.ts +1 -1
- package/dist/src/common/front-end-routing/routes/catalog/catalog-route.injectable.d.ts +1 -1
- package/dist/src/common/front-end-routing/routes/cluster/custom-resources/custom-resources/custom-resources-route.injectable.d.ts +1 -1
- package/dist/src/common/front-end-routing/routes/cluster-view/cluster-view-route.injectable.d.ts +1 -1
- package/dist/src/common/ipc/index.d.ts +0 -1
- package/dist/src/common/k8s-api/endpoints/cluster.api.d.ts +7 -0
- package/dist/src/common/k8s-api/endpoints/custom-resource-definition.api.d.ts +8 -3
- package/dist/src/common/k8s-api/endpoints/metrics.api.d.ts +1 -1
- package/dist/src/common/k8s-api/endpoints/node.api.d.ts +2 -0
- package/dist/src/common/k8s-api/endpoints/pod.api.d.ts +49 -40
- package/dist/src/common/{ipc-channel/channel.d.ts → k8s-api/endpoints/types/external-documentation.d.ts} +3 -3
- package/dist/src/common/k8s-api/endpoints/types/json-schema-props.d.ts +86 -0
- package/dist/src/common/k8s-api/kube-api.d.ts +9 -0
- package/dist/src/common/k8s-api/kube-object.store.d.ts +2 -2
- package/dist/src/common/terminal/channels.d.ts +28 -0
- package/dist/src/common/user-store/preferences-helpers.d.ts +2 -6
- package/dist/src/common/user-store/user-store.d.ts +7 -3
- package/dist/src/common/utils/buildUrl.d.ts +1 -1
- package/dist/src/common/utils/reject-promise.d.ts +2 -2
- package/dist/src/common/utils/type-narrowing.d.ts +5 -0
- package/dist/src/common/vars/base-bundled-binaries-dir.injectable.d.ts +2 -0
- package/dist/src/common/vars/bundled-resources-dir.injectable.d.ts +2 -0
- package/dist/src/common/vars/lens-resources-dir.injectable.d.ts +2 -0
- package/dist/src/common/vars/normalized-platform-architecture.injectable.d.ts +2 -0
- package/dist/src/common/vars/normalized-platform.injectable.d.ts +2 -0
- package/dist/src/common/vars/package-json.injectable.d.ts +353 -0
- package/dist/src/common/vars/static-files-directory.injectable.d.ts +2 -0
- package/dist/src/common/vars.d.ts +7 -9
- package/dist/src/extensions/extension-loader/extension/extension.injectable.d.ts +7 -0
- package/dist/src/extensions/extension-loader/extension-loader.d.ts +2 -2
- package/dist/src/extensions/extension-loader/extension-registrator-injection-token.d.ts +7 -0
- package/dist/src/extensions/extensions-store/extensions-store.d.ts +5 -4
- package/dist/src/extensions/lens-extension-set-dependencies.d.ts +1 -1
- package/dist/src/extensions/registries/entity-setting-registry.d.ts +1 -1
- package/dist/src/main/app-paths/app-name/product-name.injectable.d.ts +2 -0
- package/dist/src/main/kube-auth-proxy/kube-auth-proxy.d.ts +1 -0
- package/dist/src/main/kubectl/kubectl.d.ts +18 -14
- package/dist/src/main/start-main-application/lens-window/application-window/application-window.injectable.d.ts +1 -6
- package/dist/src/main/start-main-application/lens-window/application-window/create-electron-window.injectable.d.ts +29 -0
- package/dist/src/main/start-main-application/lens-window/application-window/create-lens-window.injectable.d.ts +8 -11
- package/dist/src/main/start-main-application/lens-window/application-window/lens-window-injection-token.d.ts +6 -3
- package/dist/src/main/start-main-application/lens-window/application-window/wait-until-bundled-extensions-are-loaded.injectable.d.ts +2 -0
- package/dist/src/main/start-main-application/lens-window/navigate.injectable.d.ts +1 -1
- package/dist/src/main/start-main-application/lens-window/splash-window/splash-window.injectable.d.ts +1 -6
- package/dist/src/main/{app-paths/register-channel → utils/channel}/ipc-main/ipc-main.injectable.d.ts +0 -1
- package/dist/src/renderer/api/terminal-api.d.ts +2 -22
- package/dist/src/renderer/api/websocket-api.d.ts +4 -4
- package/dist/src/{common/cluster-store → renderer/cluster-frame-context}/hosted-cluster-id.injectable.d.ts +0 -0
- package/dist/src/{common/cluster-store → renderer/cluster-frame-context}/hosted-cluster.injectable.d.ts +1 -1
- package/dist/src/renderer/components/+namespaces/namespace-select.d.ts +1 -0
- package/dist/src/renderer/components/+user-management/+service-accounts/service-account-menu.d.ts +1 -0
- package/dist/src/renderer/components/animate/animate.d.ts +6 -1
- package/dist/src/renderer/components/animate/request-animation-frame.injectable.d.ts +2 -0
- package/dist/src/renderer/components/dock/dock/create-dock-tab.injectable.d.ts +1 -1
- package/dist/src/renderer/components/dock/terminal/terminal.d.ts +6 -3
- package/dist/src/renderer/components/drawer/drawer-item-labels.d.ts +1 -0
- package/dist/src/renderer/components/drawer/drawer-item.d.ts +7 -2
- package/dist/src/renderer/components/drawer/drawer-title.d.ts +5 -1
- package/dist/src/renderer/components/icon/icon.d.ts +22 -1
- package/dist/src/renderer/components/input/input.d.ts +7 -8
- package/dist/src/renderer/components/input/input_validators.d.ts +28 -15
- package/dist/src/renderer/components/item-object-list/filter-icon.d.ts +1 -0
- package/dist/src/renderer/components/layout/sidebar-items.injectable.d.ts +0 -2
- package/dist/src/renderer/components/notifications/notifications-store.injectable.d.ts +3 -0
- package/dist/src/renderer/components/notifications/notifications.d.ts +7 -12
- package/dist/src/renderer/components/notifications/notifications.store.d.ts +0 -1
- package/dist/src/renderer/components/resource-metrics/no-metrics.d.ts +1 -0
- package/dist/src/renderer/components/select/select.d.ts +1 -1
- package/dist/src/renderer/components/switch/form-switcher.d.ts +1 -0
- package/dist/src/renderer/components/table/table-cell.d.ts +0 -4
- package/dist/src/renderer/components/wizard/wizard.d.ts +2 -0
- package/dist/src/renderer/routes/route-path-parameters.injectable.d.ts +1 -1
- package/dist/src/renderer/{app-paths/get-value-from-registered-channel/ipc-renderer → utils/channel}/ipc-renderer.injectable.d.ts +0 -1
- package/dist/src/{common/ipc-channel/create-channel/create-channel.d.ts → renderer/utils/display-mode.d.ts} +4 -2
- package/dist/src/renderer/utils/index.d.ts +1 -1
- package/package.json +2 -2
- package/dist/src/common/app-paths/directory-for-bundled-binaries/directory-for-bundled-binaries.injectable.d.ts +0 -2
- package/dist/src/common/cluster-store/allowed-resources.injectable.d.ts +0 -2
- package/dist/src/common/ipc/update-available.d.ts +0 -19
- package/dist/src/main/start-main-application/lens-window/application-window/create-electron-window-for.injectable.d.ts +0 -22
- package/dist/src/renderer/utils/display-booleans.d.ts +0 -6
|
@@ -0,0 +1,353 @@
|
|
|
1
|
+
declare const packageJsonInjectable: import("@ogre-tools/injectable").Injectable<{
|
|
2
|
+
name: string;
|
|
3
|
+
productName: string;
|
|
4
|
+
description: string;
|
|
5
|
+
homepage: string;
|
|
6
|
+
version: string;
|
|
7
|
+
main: string;
|
|
8
|
+
copyright: string;
|
|
9
|
+
license: string;
|
|
10
|
+
author: {
|
|
11
|
+
name: string;
|
|
12
|
+
email: string;
|
|
13
|
+
};
|
|
14
|
+
scripts: {
|
|
15
|
+
dev: string;
|
|
16
|
+
"dev-build": string;
|
|
17
|
+
"debug-build": string;
|
|
18
|
+
"dev-run": string;
|
|
19
|
+
"dev:main": string;
|
|
20
|
+
"dev:renderer": string;
|
|
21
|
+
compile: string;
|
|
22
|
+
"compile:main": string;
|
|
23
|
+
"compile:renderer": string;
|
|
24
|
+
"compile:extension-types": string;
|
|
25
|
+
"npm:fix-build-version": string;
|
|
26
|
+
"npm:fix-package-version": string;
|
|
27
|
+
"build:linux": string;
|
|
28
|
+
"build:mac": string;
|
|
29
|
+
"build:win": string;
|
|
30
|
+
integration: string;
|
|
31
|
+
"test:unit": string;
|
|
32
|
+
"test:integration": string;
|
|
33
|
+
dist: string;
|
|
34
|
+
"dist:dir": string;
|
|
35
|
+
"download:binaries": string;
|
|
36
|
+
"build:tray-icons": string;
|
|
37
|
+
"build:theme-vars": string;
|
|
38
|
+
lint: string;
|
|
39
|
+
"lint:fix": string;
|
|
40
|
+
"mkdocs-serve-local": string;
|
|
41
|
+
"verify-docs": string;
|
|
42
|
+
"typedocs-extensions-api": string;
|
|
43
|
+
"version-checkout": string;
|
|
44
|
+
"version-commit": string;
|
|
45
|
+
version: string;
|
|
46
|
+
postversion: string;
|
|
47
|
+
};
|
|
48
|
+
config: {
|
|
49
|
+
k8sProxyVersion: string;
|
|
50
|
+
bundledKubectlVersion: string;
|
|
51
|
+
bundledHelmVersion: string;
|
|
52
|
+
sentryDsn: string;
|
|
53
|
+
contentSecurityPolicy: string;
|
|
54
|
+
};
|
|
55
|
+
engines: {
|
|
56
|
+
node: string;
|
|
57
|
+
};
|
|
58
|
+
jest: {
|
|
59
|
+
collectCoverage: boolean;
|
|
60
|
+
verbose: boolean;
|
|
61
|
+
transform: {
|
|
62
|
+
"^.+\\.(t|j)sx?$": string[];
|
|
63
|
+
};
|
|
64
|
+
testEnvironment: string;
|
|
65
|
+
resolver: string;
|
|
66
|
+
moduleNameMapper: {
|
|
67
|
+
"\\.(css|scss)$": string;
|
|
68
|
+
"\\.(svg|png|jpg|eot|woff2?|ttf)$": string;
|
|
69
|
+
};
|
|
70
|
+
modulePathIgnorePatterns: string[];
|
|
71
|
+
setupFiles: string[];
|
|
72
|
+
setupFilesAfterEnv: string[];
|
|
73
|
+
runtime: string;
|
|
74
|
+
};
|
|
75
|
+
build: {
|
|
76
|
+
generateUpdatesFilesForAllChannels: boolean;
|
|
77
|
+
files: string[];
|
|
78
|
+
afterSign: string;
|
|
79
|
+
extraResources: (string | {
|
|
80
|
+
from: string;
|
|
81
|
+
to: string;
|
|
82
|
+
filter: string;
|
|
83
|
+
} | {
|
|
84
|
+
from: string;
|
|
85
|
+
to: string;
|
|
86
|
+
filter: string[];
|
|
87
|
+
})[];
|
|
88
|
+
linux: {
|
|
89
|
+
category: string;
|
|
90
|
+
artifactName: string;
|
|
91
|
+
target: string[];
|
|
92
|
+
extraResources: {
|
|
93
|
+
from: string;
|
|
94
|
+
to: string;
|
|
95
|
+
}[];
|
|
96
|
+
};
|
|
97
|
+
rpm: {
|
|
98
|
+
fpm: string[];
|
|
99
|
+
};
|
|
100
|
+
mac: {
|
|
101
|
+
hardenedRuntime: boolean;
|
|
102
|
+
gatekeeperAssess: boolean;
|
|
103
|
+
entitlements: string;
|
|
104
|
+
entitlementsInherit: string;
|
|
105
|
+
extraResources: {
|
|
106
|
+
from: string;
|
|
107
|
+
to: string;
|
|
108
|
+
}[];
|
|
109
|
+
};
|
|
110
|
+
win: {
|
|
111
|
+
target: string[];
|
|
112
|
+
extraResources: {
|
|
113
|
+
from: string;
|
|
114
|
+
to: string;
|
|
115
|
+
}[];
|
|
116
|
+
};
|
|
117
|
+
nsis: {
|
|
118
|
+
include: string;
|
|
119
|
+
oneClick: boolean;
|
|
120
|
+
allowElevation: boolean;
|
|
121
|
+
createStartMenuShortcut: boolean;
|
|
122
|
+
allowToChangeInstallationDirectory: boolean;
|
|
123
|
+
};
|
|
124
|
+
protocols: {
|
|
125
|
+
name: string;
|
|
126
|
+
schemes: string[];
|
|
127
|
+
role: string;
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
dependencies: {
|
|
131
|
+
"@astronautlabs/jsonpath": string;
|
|
132
|
+
"@hapi/call": string;
|
|
133
|
+
"@hapi/subtext": string;
|
|
134
|
+
"@kubernetes/client-node": string;
|
|
135
|
+
"@material-ui/styles": string;
|
|
136
|
+
"@ogre-tools/fp": string;
|
|
137
|
+
"@ogre-tools/injectable": string;
|
|
138
|
+
"@ogre-tools/injectable-extension-for-auto-registration": string;
|
|
139
|
+
"@ogre-tools/injectable-extension-for-mobx": string;
|
|
140
|
+
"@ogre-tools/injectable-react": string;
|
|
141
|
+
"@sentry/electron": string;
|
|
142
|
+
"@sentry/integrations": string;
|
|
143
|
+
"@side/jest-runtime": string;
|
|
144
|
+
"@types/circular-dependency-plugin": string;
|
|
145
|
+
"abort-controller": string;
|
|
146
|
+
"auto-bind": string;
|
|
147
|
+
"await-lock": string;
|
|
148
|
+
byline: string;
|
|
149
|
+
chokidar: string;
|
|
150
|
+
conf: string;
|
|
151
|
+
"crypto-js": string;
|
|
152
|
+
"electron-devtools-installer": string;
|
|
153
|
+
"electron-updater": string;
|
|
154
|
+
"electron-window-state": string;
|
|
155
|
+
filehound: string;
|
|
156
|
+
"fs-extra": string;
|
|
157
|
+
"glob-to-regexp": string;
|
|
158
|
+
got: string;
|
|
159
|
+
"grapheme-splitter": string;
|
|
160
|
+
handlebars: string;
|
|
161
|
+
history: string;
|
|
162
|
+
"http-proxy": string;
|
|
163
|
+
immer: string;
|
|
164
|
+
joi: string;
|
|
165
|
+
"js-yaml": string;
|
|
166
|
+
jsdom: string;
|
|
167
|
+
lodash: string;
|
|
168
|
+
"mac-ca": string;
|
|
169
|
+
marked: string;
|
|
170
|
+
"md5-file": string;
|
|
171
|
+
mobx: string;
|
|
172
|
+
"mobx-observable-history": string;
|
|
173
|
+
"mobx-react": string;
|
|
174
|
+
"mobx-utils": string;
|
|
175
|
+
"mock-fs": string;
|
|
176
|
+
moment: string;
|
|
177
|
+
"moment-timezone": string;
|
|
178
|
+
"monaco-editor": string;
|
|
179
|
+
"monaco-editor-webpack-plugin": string;
|
|
180
|
+
"node-fetch": string;
|
|
181
|
+
"node-pty": string;
|
|
182
|
+
npm: string;
|
|
183
|
+
"p-limit": string;
|
|
184
|
+
"path-to-regexp": string;
|
|
185
|
+
"proper-lockfile": string;
|
|
186
|
+
react: string;
|
|
187
|
+
"react-dom": string;
|
|
188
|
+
"react-material-ui-carousel": string;
|
|
189
|
+
"react-router": string;
|
|
190
|
+
"react-virtualized-auto-sizer": string;
|
|
191
|
+
"readable-stream": string;
|
|
192
|
+
request: string;
|
|
193
|
+
"request-promise-native": string;
|
|
194
|
+
rfc6902: string;
|
|
195
|
+
selfsigned: string;
|
|
196
|
+
semver: string;
|
|
197
|
+
"shell-env": string;
|
|
198
|
+
spdy: string;
|
|
199
|
+
tar: string;
|
|
200
|
+
"tcp-port-used": string;
|
|
201
|
+
tempy: string;
|
|
202
|
+
"typed-regex": string;
|
|
203
|
+
"url-parse": string;
|
|
204
|
+
uuid: string;
|
|
205
|
+
"win-ca": string;
|
|
206
|
+
winston: string;
|
|
207
|
+
"winston-console-format": string;
|
|
208
|
+
"winston-transport-browserconsole": string;
|
|
209
|
+
ws: string;
|
|
210
|
+
};
|
|
211
|
+
devDependencies: {
|
|
212
|
+
"@async-fn/jest": string;
|
|
213
|
+
"@material-ui/core": string;
|
|
214
|
+
"@material-ui/icons": string;
|
|
215
|
+
"@material-ui/lab": string;
|
|
216
|
+
"@pmmmwh/react-refresh-webpack-plugin": string;
|
|
217
|
+
"@sentry/types": string;
|
|
218
|
+
"@swc/core": string;
|
|
219
|
+
"@swc/jest": string;
|
|
220
|
+
"@testing-library/dom": string;
|
|
221
|
+
"@testing-library/jest-dom": string;
|
|
222
|
+
"@testing-library/react": string;
|
|
223
|
+
"@testing-library/user-event": string;
|
|
224
|
+
"@types/byline": string;
|
|
225
|
+
"@types/chart.js": string;
|
|
226
|
+
"@types/circular-dependency-plugin": string;
|
|
227
|
+
"@types/cli-progress": string;
|
|
228
|
+
"@types/color": string;
|
|
229
|
+
"@types/command-line-args": string;
|
|
230
|
+
"@types/crypto-js": string;
|
|
231
|
+
"@types/dompurify": string;
|
|
232
|
+
"@types/electron-devtools-installer": string;
|
|
233
|
+
"@types/fs-extra": string;
|
|
234
|
+
"@types/glob-to-regexp": string;
|
|
235
|
+
"@types/gunzip-maybe": string;
|
|
236
|
+
"@types/hapi__call": string;
|
|
237
|
+
"@types/hapi__subtext": string;
|
|
238
|
+
"@types/html-webpack-plugin": string;
|
|
239
|
+
"@types/http-proxy": string;
|
|
240
|
+
"@types/jest": string;
|
|
241
|
+
"@types/js-yaml": string;
|
|
242
|
+
"@types/jsdom": string;
|
|
243
|
+
"@types/lodash": string;
|
|
244
|
+
"@types/marked": string;
|
|
245
|
+
"@types/md5-file": string;
|
|
246
|
+
"@types/mini-css-extract-plugin": string;
|
|
247
|
+
"@types/mock-fs": string;
|
|
248
|
+
"@types/node": string;
|
|
249
|
+
"@types/node-fetch": string;
|
|
250
|
+
"@types/npm": string;
|
|
251
|
+
"@types/proper-lockfile": string;
|
|
252
|
+
"@types/randomcolor": string;
|
|
253
|
+
"@types/react": string;
|
|
254
|
+
"@types/react-beautiful-dnd": string;
|
|
255
|
+
"@types/react-dom": string;
|
|
256
|
+
"@types/react-router": string;
|
|
257
|
+
"@types/react-router-dom": string;
|
|
258
|
+
"@types/react-table": string;
|
|
259
|
+
"@types/react-virtualized-auto-sizer": string;
|
|
260
|
+
"@types/react-window": string;
|
|
261
|
+
"@types/readable-stream": string;
|
|
262
|
+
"@types/request": string;
|
|
263
|
+
"@types/request-promise-native": string;
|
|
264
|
+
"@types/semver": string;
|
|
265
|
+
"@types/sharp": string;
|
|
266
|
+
"@types/spdy": string;
|
|
267
|
+
"@types/tar": string;
|
|
268
|
+
"@types/tar-stream": string;
|
|
269
|
+
"@types/tcp-port-used": string;
|
|
270
|
+
"@types/tempy": string;
|
|
271
|
+
"@types/triple-beam": string;
|
|
272
|
+
"@types/url-parse": string;
|
|
273
|
+
"@types/uuid": string;
|
|
274
|
+
"@types/webpack": string;
|
|
275
|
+
"@types/webpack-dev-server": string;
|
|
276
|
+
"@types/webpack-env": string;
|
|
277
|
+
"@types/webpack-node-externals": string;
|
|
278
|
+
"@typescript-eslint/eslint-plugin": string;
|
|
279
|
+
"@typescript-eslint/parser": string;
|
|
280
|
+
ansi_up: string;
|
|
281
|
+
"chart.js": string;
|
|
282
|
+
"circular-dependency-plugin": string;
|
|
283
|
+
"cli-progress": string;
|
|
284
|
+
color: string;
|
|
285
|
+
"command-line-args": string;
|
|
286
|
+
concurrently: string;
|
|
287
|
+
"css-loader": string;
|
|
288
|
+
deepdash: string;
|
|
289
|
+
dompurify: string;
|
|
290
|
+
electron: string;
|
|
291
|
+
"electron-builder": string;
|
|
292
|
+
"electron-notarize": string;
|
|
293
|
+
esbuild: string;
|
|
294
|
+
"esbuild-loader": string;
|
|
295
|
+
eslint: string;
|
|
296
|
+
"eslint-plugin-header": string;
|
|
297
|
+
"eslint-plugin-import": string;
|
|
298
|
+
"eslint-plugin-react": string;
|
|
299
|
+
"eslint-plugin-react-hooks": string;
|
|
300
|
+
"eslint-plugin-unused-imports": string;
|
|
301
|
+
"flex.box": string;
|
|
302
|
+
"fork-ts-checker-webpack-plugin": string;
|
|
303
|
+
"gunzip-maybe": string;
|
|
304
|
+
"html-webpack-plugin": string;
|
|
305
|
+
"identity-obj-proxy": string;
|
|
306
|
+
"ignore-loader": string;
|
|
307
|
+
"include-media": string;
|
|
308
|
+
jest: string;
|
|
309
|
+
"jest-canvas-mock": string;
|
|
310
|
+
"jest-environment-jsdom": string;
|
|
311
|
+
"jest-fetch-mock": string;
|
|
312
|
+
"jest-mock-extended": string;
|
|
313
|
+
"make-plural": string;
|
|
314
|
+
"mini-css-extract-plugin": string;
|
|
315
|
+
"mock-http": string;
|
|
316
|
+
"node-gyp": string;
|
|
317
|
+
"node-loader": string;
|
|
318
|
+
nodemon: string;
|
|
319
|
+
playwright: string;
|
|
320
|
+
postcss: string;
|
|
321
|
+
"postcss-loader": string;
|
|
322
|
+
randomcolor: string;
|
|
323
|
+
"react-beautiful-dnd": string;
|
|
324
|
+
"react-refresh": string;
|
|
325
|
+
"react-refresh-typescript": string;
|
|
326
|
+
"react-router-dom": string;
|
|
327
|
+
"react-select": string;
|
|
328
|
+
"react-select-event": string;
|
|
329
|
+
"react-table": string;
|
|
330
|
+
"react-window": string;
|
|
331
|
+
sass: string;
|
|
332
|
+
"sass-loader": string;
|
|
333
|
+
sharp: string;
|
|
334
|
+
"style-loader": string;
|
|
335
|
+
tailwindcss: string;
|
|
336
|
+
"tar-stream": string;
|
|
337
|
+
"ts-loader": string;
|
|
338
|
+
"ts-node": string;
|
|
339
|
+
"type-fest": string;
|
|
340
|
+
"typed-emitter": string;
|
|
341
|
+
typedoc: string;
|
|
342
|
+
"typedoc-plugin-markdown": string;
|
|
343
|
+
typescript: string;
|
|
344
|
+
"typescript-plugin-css-modules": string;
|
|
345
|
+
webpack: string;
|
|
346
|
+
"webpack-cli": string;
|
|
347
|
+
"webpack-dev-server": string;
|
|
348
|
+
"webpack-node-externals": string;
|
|
349
|
+
xterm: string;
|
|
350
|
+
"xterm-addon-fit": string;
|
|
351
|
+
};
|
|
352
|
+
}, unknown, void>;
|
|
353
|
+
export default packageJsonInjectable;
|
|
@@ -30,7 +30,6 @@ export declare const isProduction: boolean;
|
|
|
30
30
|
* @deprecated Switch to using isDevelopmentInjectable
|
|
31
31
|
*/
|
|
32
32
|
export declare const isDevelopment: boolean;
|
|
33
|
-
export declare const isPublishConfigured: boolean;
|
|
34
33
|
export declare const productName: string;
|
|
35
34
|
/**
|
|
36
35
|
* @deprecated Switch to using appNameInjectable
|
|
@@ -41,7 +40,13 @@ export declare const defaultThemeId: ThemeId;
|
|
|
41
40
|
export declare const defaultFontSize = 12;
|
|
42
41
|
export declare const defaultTerminalFontFamily = "RobotoMono";
|
|
43
42
|
export declare const defaultEditorFontFamily = "RobotoMono";
|
|
43
|
+
/**
|
|
44
|
+
* @deprecated use `di.inject(normalizedPlatformInjectable)` instead
|
|
45
|
+
*/
|
|
44
46
|
export declare const normalizedPlatform: string;
|
|
47
|
+
/**
|
|
48
|
+
* @deprecated use `di.inject(bundledBinariesNormalizedArchInjectable)` instead
|
|
49
|
+
*/
|
|
45
50
|
export declare const normalizedArch: string;
|
|
46
51
|
export declare function getBinaryName(name: string, { forPlatform }?: {
|
|
47
52
|
forPlatform?: string | undefined;
|
|
@@ -62,14 +67,6 @@ export declare const helmBinaryName: string;
|
|
|
62
67
|
* @deprecated for being explicit side effect.
|
|
63
68
|
*/
|
|
64
69
|
export declare const helmBinaryPath: import("./utils/lazy-initialized").LazyInitialized<string>;
|
|
65
|
-
/**
|
|
66
|
-
* @deprecated for being explicit side effect.
|
|
67
|
-
*/
|
|
68
|
-
export declare const kubectlBinaryName: string;
|
|
69
|
-
/**
|
|
70
|
-
* @deprecated for being explicit side effect.
|
|
71
|
-
*/
|
|
72
|
-
export declare const kubectlBinaryPath: import("./utils/lazy-initialized").LazyInitialized<string>;
|
|
73
70
|
export declare const apiPrefix = "/api";
|
|
74
71
|
export declare const apiKubePrefix = "/api-kube";
|
|
75
72
|
export declare const issuesTrackerUrl: string;
|
|
@@ -84,3 +81,4 @@ export declare const kubernetesDocumentationWeblinkId = "kubernetes-documentatio
|
|
|
84
81
|
export declare const appSemVer: SemVer;
|
|
85
82
|
export declare const docsUrl: string;
|
|
86
83
|
export declare const sentryDsn: string;
|
|
84
|
+
export declare const contentSecurityPolicy: string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { LensExtension } from "../../lens-extension";
|
|
2
|
+
export interface Extension {
|
|
3
|
+
register: () => void;
|
|
4
|
+
deregister: () => void;
|
|
5
|
+
}
|
|
6
|
+
declare const extensionInjectable: import("@ogre-tools/injectable").Injectable<Extension, unknown, LensExtension<import("../../lens-extension-set-dependencies").LensExtensionDependencies>>;
|
|
7
|
+
export default extensionInjectable;
|
|
@@ -9,12 +9,12 @@ import type { InstalledExtension } from "../extension-discovery/extension-discov
|
|
|
9
9
|
import type { LensExtension, LensExtensionConstructor, LensExtensionId } from "../lens-extension";
|
|
10
10
|
import type { LensExtensionState } from "../extensions-store/extensions-store";
|
|
11
11
|
import type { CreateExtensionInstance } from "./create-extension-instance.token";
|
|
12
|
+
import type { Extension } from "./extension/extension.injectable";
|
|
12
13
|
interface Dependencies {
|
|
13
14
|
updateExtensionsState: (extensionsState: Record<LensExtensionId, LensExtensionState>) => void;
|
|
14
15
|
createExtensionInstance: CreateExtensionInstance;
|
|
15
|
-
readonly extensionRegistrators: ((extension: LensExtension, extensionInstallationCount: number) => void)[];
|
|
16
|
-
readonly extensionInstallationCounter: Map<string, number>;
|
|
17
16
|
readonly extensionInstances: ObservableMap<LensExtensionId, LensExtension>;
|
|
17
|
+
getExtension: (instance: LensExtension) => Extension;
|
|
18
18
|
}
|
|
19
19
|
export interface ExtensionLoading {
|
|
20
20
|
isBundled: boolean;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) OpenLens Authors. All rights reserved.
|
|
3
|
+
* Licensed under MIT License. See LICENSE in root directory for more information.
|
|
4
|
+
*/
|
|
5
|
+
import type { Injectable } from "@ogre-tools/injectable";
|
|
6
|
+
import type { LensExtension } from "../lens-extension";
|
|
7
|
+
export declare const extensionRegistratorInjectionToken: import("@ogre-tools/injectable").InjectionToken<(extension: LensExtension) => Injectable<any, any, any>[], void>;
|
|
@@ -11,15 +11,16 @@ export interface LensExtensionState {
|
|
|
11
11
|
enabled?: boolean;
|
|
12
12
|
name: string;
|
|
13
13
|
}
|
|
14
|
+
export interface IsEnabledExtensionDescriptor {
|
|
15
|
+
id: string;
|
|
16
|
+
isBundled: boolean;
|
|
17
|
+
}
|
|
14
18
|
export declare class ExtensionsStore extends BaseStore<LensExtensionsStoreModel> {
|
|
15
19
|
readonly displayName = "ExtensionsStore";
|
|
16
20
|
constructor();
|
|
17
21
|
get enabledExtensions(): string[];
|
|
18
22
|
protected state: import("mobx").ObservableMap<string, LensExtensionState>;
|
|
19
|
-
isEnabled({ id, isBundled }:
|
|
20
|
-
id: string;
|
|
21
|
-
isBundled: boolean;
|
|
22
|
-
}): boolean;
|
|
23
|
+
isEnabled({ id, isBundled }: IsEnabledExtensionDescriptor): boolean;
|
|
23
24
|
mergeState: (extensionsState: Record<LensExtensionId, LensExtensionState> | [LensExtensionId, LensExtensionState][]) => void;
|
|
24
25
|
protected fromStore({ extensions }: LensExtensionsStoreModel): void;
|
|
25
26
|
toJSON(): LensExtensionsStoreModel;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import type { IComputedValue } from "mobx";
|
|
6
6
|
import type { CatalogCategoryRegistry } from "../common/catalog";
|
|
7
7
|
import type { NavigateToRoute } from "../common/front-end-routing/navigate-to-route-injection-token";
|
|
8
|
-
import type { Route } from "../common/front-end-routing/route-injection-token";
|
|
8
|
+
import type { Route } from "../common/front-end-routing/front-end-route-injection-token";
|
|
9
9
|
import type { CatalogEntityRegistry as MainCatalogEntityRegistry } from "../main/catalog";
|
|
10
10
|
import type { CatalogEntityRegistry as RendererCatalogEntityRegistry } from "../renderer/api/catalog/entity/registry";
|
|
11
11
|
import type { GetExtensionPageParameters } from "../renderer/routes/get-extension-page-parameters.injectable";
|
|
@@ -26,5 +26,5 @@ export interface RegisteredEntitySetting extends EntitySettingRegistration {
|
|
|
26
26
|
}
|
|
27
27
|
export declare class EntitySettingRegistry extends BaseRegistry<EntitySettingRegistration, RegisteredEntitySetting> {
|
|
28
28
|
getRegisteredItem(item: EntitySettingRegistration): RegisteredEntitySetting;
|
|
29
|
-
getItemsForKind: (kind: string, apiVersion: string, source?: string
|
|
29
|
+
getItemsForKind: (kind: string, apiVersion: string, source?: string) => RegisteredEntitySetting[];
|
|
30
30
|
}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
|
4
4
|
*/
|
|
5
5
|
/// <reference types="node" />
|
|
6
|
+
/// <reference types="node" />
|
|
6
7
|
import type { ChildProcess } from "child_process";
|
|
7
8
|
import type { Cluster } from "../../common/cluster/cluster";
|
|
8
9
|
import type { SelfSignedCert } from "selfsigned";
|
|
@@ -2,24 +2,29 @@
|
|
|
2
2
|
* Copyright (c) OpenLens Authors. All rights reserved.
|
|
3
3
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
|
4
4
|
*/
|
|
5
|
-
interface
|
|
6
|
-
directoryForKubectlBinaries: string;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
export interface KubectlDependencies {
|
|
6
|
+
readonly directoryForKubectlBinaries: string;
|
|
7
|
+
readonly normalizedDownloadPlatform: "darwin" | "linux" | "windows";
|
|
8
|
+
readonly normalizedDownloadArch: "amd64" | "arm64" | "386";
|
|
9
|
+
readonly kubectlBinaryName: string;
|
|
10
|
+
readonly bundledKubectlBinaryPath: string;
|
|
11
|
+
readonly baseBundeledBinariesDirectory: string;
|
|
12
|
+
readonly userStore: {
|
|
13
|
+
readonly kubectlBinariesPath?: string;
|
|
14
|
+
readonly downloadBinariesPath?: string;
|
|
15
|
+
readonly downloadKubectlBinaries: boolean;
|
|
16
|
+
readonly downloadMirror: string;
|
|
12
17
|
};
|
|
13
18
|
}
|
|
14
19
|
export declare class Kubectl {
|
|
15
|
-
|
|
16
|
-
kubectlVersion: string;
|
|
17
|
-
protected url: string;
|
|
18
|
-
protected path: string;
|
|
19
|
-
protected dirname: string;
|
|
20
|
+
protected readonly dependencies: KubectlDependencies;
|
|
21
|
+
readonly kubectlVersion: string;
|
|
22
|
+
protected readonly url: string;
|
|
23
|
+
protected readonly path: string;
|
|
24
|
+
protected readonly dirname: string;
|
|
20
25
|
static readonly bundledKubectlVersion: string;
|
|
21
26
|
static invalidBundle: boolean;
|
|
22
|
-
constructor(dependencies:
|
|
27
|
+
constructor(dependencies: KubectlDependencies, clusterVersion: string);
|
|
23
28
|
getBundledPath(): string;
|
|
24
29
|
getPathFromPreferences(): string;
|
|
25
30
|
protected getDownloadDir(): string;
|
|
@@ -32,4 +37,3 @@ export declare class Kubectl {
|
|
|
32
37
|
protected writeInitScripts(): Promise<void>;
|
|
33
38
|
protected getDownloadMirror(): string;
|
|
34
39
|
}
|
|
35
|
-
export {};
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
declare const applicationWindowInjectable: import("@ogre-tools/injectable").Injectable<
|
|
2
|
-
readonly visible: boolean;
|
|
3
|
-
show: () => Promise<void>;
|
|
4
|
-
close: () => void;
|
|
5
|
-
send: (args: import("./lens-window-injection-token").SendToViewArgs) => Promise<void>;
|
|
6
|
-
}, import("./lens-window-injection-token").LensWindow, void>;
|
|
1
|
+
declare const applicationWindowInjectable: import("@ogre-tools/injectable").Injectable<import("./lens-window-injection-token").LensWindow, import("./lens-window-injection-token").LensWindow, void>;
|
|
7
2
|
export default applicationWindowInjectable;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { ElectronWindow } from "./create-lens-window.injectable";
|
|
2
|
+
import type { RequireExactlyOne } from "type-fest";
|
|
3
|
+
export declare type ElectronWindowTitleBarStyle = "hiddenInset" | "hidden" | "default" | "customButtonsOnHover";
|
|
4
|
+
export interface FileSource {
|
|
5
|
+
file: string;
|
|
6
|
+
}
|
|
7
|
+
export interface UrlSource {
|
|
8
|
+
url: string;
|
|
9
|
+
}
|
|
10
|
+
export declare type ContentSource = RequireExactlyOne<FileSource & UrlSource>;
|
|
11
|
+
export interface ElectronWindowConfiguration {
|
|
12
|
+
id: string;
|
|
13
|
+
title: string;
|
|
14
|
+
defaultHeight: number;
|
|
15
|
+
defaultWidth: number;
|
|
16
|
+
getContentSource: () => ContentSource;
|
|
17
|
+
resizable: boolean;
|
|
18
|
+
windowFrameUtilitiesAreShown: boolean;
|
|
19
|
+
centered: boolean;
|
|
20
|
+
titleBarStyle?: ElectronWindowTitleBarStyle;
|
|
21
|
+
beforeOpen?: () => Promise<void>;
|
|
22
|
+
onClose: () => void;
|
|
23
|
+
onFocus?: () => void;
|
|
24
|
+
onBlur?: () => void;
|
|
25
|
+
onDomReady?: () => void;
|
|
26
|
+
}
|
|
27
|
+
export declare type CreateElectronWindow = (config: ElectronWindowConfiguration) => ElectronWindow;
|
|
28
|
+
declare const createElectronWindowInjectable: import("@ogre-tools/injectable").Injectable<CreateElectronWindow, unknown, void>;
|
|
29
|
+
export default createElectronWindowInjectable;
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
import type { SendToViewArgs } from "./lens-window-injection-token";
|
|
2
|
-
import type { ElectronWindowTitleBarStyle } from "./create-electron-window
|
|
3
|
-
export interface
|
|
1
|
+
import type { LensWindow, SendToViewArgs } from "./lens-window-injection-token";
|
|
2
|
+
import type { ContentSource, ElectronWindowTitleBarStyle } from "./create-electron-window.injectable";
|
|
3
|
+
export interface ElectronWindow {
|
|
4
4
|
show: () => void;
|
|
5
5
|
close: () => void;
|
|
6
6
|
send: (args: SendToViewArgs) => void;
|
|
7
|
+
loadFile: (filePath: string) => Promise<void>;
|
|
8
|
+
loadUrl: (url: string) => Promise<void>;
|
|
7
9
|
}
|
|
8
|
-
interface LensWindowConfiguration {
|
|
10
|
+
export interface LensWindowConfiguration {
|
|
9
11
|
id: string;
|
|
10
12
|
title: string;
|
|
11
13
|
defaultHeight: number;
|
|
12
14
|
defaultWidth: number;
|
|
13
|
-
|
|
15
|
+
getContentSource: () => ContentSource;
|
|
14
16
|
resizable: boolean;
|
|
15
17
|
windowFrameUtilitiesAreShown: boolean;
|
|
16
18
|
centered: boolean;
|
|
@@ -20,10 +22,5 @@ interface LensWindowConfiguration {
|
|
|
20
22
|
onBlur?: () => void;
|
|
21
23
|
onDomReady?: () => void;
|
|
22
24
|
}
|
|
23
|
-
declare const createLensWindowInjectable: import("@ogre-tools/injectable").Injectable<(configuration: LensWindowConfiguration) =>
|
|
24
|
-
readonly visible: boolean;
|
|
25
|
-
show: () => Promise<void>;
|
|
26
|
-
close: () => void;
|
|
27
|
-
send: (args: SendToViewArgs) => Promise<void>;
|
|
28
|
-
}, unknown, void>;
|
|
25
|
+
declare const createLensWindowInjectable: import("@ogre-tools/injectable").Injectable<(configuration: LensWindowConfiguration) => LensWindow, unknown, void>;
|
|
29
26
|
export default createLensWindowInjectable;
|
|
@@ -5,9 +5,12 @@ export interface SendToViewArgs {
|
|
|
5
5
|
data?: unknown[];
|
|
6
6
|
}
|
|
7
7
|
export interface LensWindow {
|
|
8
|
-
|
|
8
|
+
id: string;
|
|
9
|
+
start: () => Promise<void>;
|
|
9
10
|
close: () => void;
|
|
10
|
-
|
|
11
|
-
|
|
11
|
+
show: () => void;
|
|
12
|
+
send: (args: SendToViewArgs) => void;
|
|
13
|
+
isVisible: boolean;
|
|
14
|
+
isStarting: boolean;
|
|
12
15
|
}
|
|
13
16
|
export declare const lensWindowInjectionToken: import("@ogre-tools/injectable").InjectionToken<LensWindow, void>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const navigateInjectable: import("@ogre-tools/injectable").Injectable<(url: string, frameId?: number
|
|
1
|
+
declare const navigateInjectable: import("@ogre-tools/injectable").Injectable<(url: string, frameId?: number) => Promise<void>, unknown, void>;
|
|
2
2
|
export default navigateInjectable;
|
package/dist/src/main/start-main-application/lens-window/splash-window/splash-window.injectable.d.ts
CHANGED
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
declare const splashWindowInjectable: import("@ogre-tools/injectable").Injectable<
|
|
2
|
-
readonly visible: boolean;
|
|
3
|
-
show: () => Promise<void>;
|
|
4
|
-
close: () => void;
|
|
5
|
-
send: (args: import("../application-window/lens-window-injection-token").SendToViewArgs) => Promise<void>;
|
|
6
|
-
}, import("../application-window/lens-window-injection-token").LensWindow, void>;
|
|
1
|
+
declare const splashWindowInjectable: import("@ogre-tools/injectable").Injectable<import("../application-window/lens-window-injection-token").LensWindow, import("../application-window/lens-window-injection-token").LensWindow, void>;
|
|
7
2
|
export default splashWindowInjectable;
|