@k8slens/extensions 6.0.1-git.feb2859b5d.0 → 6.0.2-alpha.1
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/k8s-api/endpoints/horizontal-pod-autoscaler.api.d.ts +42 -17
- package/dist/src/common/k8s-api/endpoints/node.api.d.ts +1 -1
- package/dist/src/common/k8s-api/kube-api.d.ts +1 -1
- package/dist/src/common/k8s-api/kube-object.store.d.ts +1 -1
- package/dist/src/common/utils/abort-controller.d.ts +4 -0
- package/dist/src/common/utils/convertCpu.d.ts +1 -1
- package/dist/src/common/utils/delay.d.ts +1 -1
- package/dist/src/common/utils/tuple.d.ts +3 -2
- package/dist/src/common/vars/package-json.injectable.d.ts +6 -0
- package/dist/src/extensions/extension-api.js +1793 -32
- package/dist/src/main/application-update/check-for-updates/process-checking-for-updates.injectable.d.ts +3 -1
- package/dist/src/main/tray/tray-menu-registration.d.ts +1 -1
- package/dist/src/renderer/components/+extensions/extensions.d.ts +0 -1
- package/dist/src/renderer/components/dock/create-resource/view.d.ts +1 -2
- package/dist/src/renderer/components/dock/edit-resource/view.d.ts +1 -2
- package/dist/src/renderer/components/dock/install-chart/view.d.ts +3 -4
- package/dist/src/renderer/components/drawer/drawer-param-toggler.test.d.ts +5 -0
- package/dist/src/renderer/components/switch/switcher.d.ts +1 -1
- package/dist/src/renderer/components/table/sorting.d.ts +2 -2
- package/package.json +1 -1
@@ -1,2 +1,4 @@
|
|
1
|
-
declare const processCheckingForUpdatesInjectable: import("@ogre-tools/injectable").Injectable<(source: string) => Promise<
|
1
|
+
declare const processCheckingForUpdatesInjectable: import("@ogre-tools/injectable").Injectable<(source: string) => Promise<{
|
2
|
+
updateIsReadyToBeInstalled: boolean;
|
3
|
+
}>, unknown, void>;
|
2
4
|
export default processCheckingForUpdatesInjectable;
|
@@ -3,8 +3,7 @@
|
|
3
3
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
4
4
|
*/
|
5
5
|
import React from "react";
|
6
|
-
import type { DockTab } from "../dock/store";
|
7
6
|
export interface CreateResourceProps {
|
8
|
-
|
7
|
+
tabId: string;
|
9
8
|
}
|
10
9
|
export declare const CreateResource: React.FunctionComponent<CreateResourceProps>;
|
@@ -3,8 +3,7 @@
|
|
3
3
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
4
4
|
*/
|
5
5
|
import React from "react";
|
6
|
-
import type { DockTab } from "../dock/store";
|
7
6
|
export interface EditResourceProps {
|
8
|
-
|
7
|
+
tabId: string;
|
9
8
|
}
|
10
9
|
export declare const EditResource: React.FunctionComponent<EditResourceProps>;
|
@@ -4,8 +4,7 @@
|
|
4
4
|
*/
|
5
5
|
import "./install-chart.scss";
|
6
6
|
import React from "react";
|
7
|
-
|
8
|
-
|
9
|
-
tab: DockTab;
|
7
|
+
export interface InstallChartProps {
|
8
|
+
tabId: string;
|
10
9
|
}
|
11
|
-
export declare const InstallChart: React.FunctionComponent<
|
10
|
+
export declare const InstallChart: React.FunctionComponent<InstallChartProps>;
|
@@ -13,5 +13,5 @@ export interface SwitcherProps extends SwitchProps {
|
|
13
13
|
/**
|
14
14
|
* @deprecated Use <Switch/> instead from "../switch.tsx".
|
15
15
|
*/
|
16
|
-
export declare const Switcher: React.ComponentType<Pick<SwitcherProps, "
|
16
|
+
export declare const Switcher: React.ComponentType<Pick<SwitcherProps, "key" | "value" | "id" | "name" | "className" | "form" | "slot" | "style" | "title" | "size" | "type" | "action" | "ref" | "autoFocus" | "checked" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "placeholder" | "readOnly" | "required" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "icon" | "inputProps" | "innerRef" | "checkedIcon" | "disableFocusRipple" | "edge" | "buttonRef" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "onFocusVisible" | "TouchRippleProps" | "inputRef"> & import("@material-ui/core/styles").StyledComponentProps<"track" | "checked" | "root" | "thumb" | "focusVisible" | "switchBase">>;
|
17
17
|
export {};
|
@@ -2,5 +2,5 @@
|
|
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
|
-
import type { TableSortCallback } from "./table";
|
6
|
-
export declare function getSorted<T>(rawItems: T[], sortingCallback: TableSortCallback<T> | undefined,
|
5
|
+
import type { TableOrderBy, TableSortCallback } from "./table";
|
6
|
+
export declare function getSorted<T>(rawItems: T[], sortingCallback: TableSortCallback<T> | undefined, orderBy?: TableOrderBy): T[];
|
package/package.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"name": "@k8slens/extensions",
|
3
3
|
"productName": "OpenLens extensions",
|
4
4
|
"description": "OpenLens - Open Source Kubernetes IDE: extensions",
|
5
|
-
"version": "6.0.
|
5
|
+
"version": "6.0.2-alpha.1",
|
6
6
|
"copyright": "© 2022 OpenLens Authors",
|
7
7
|
"license": "MIT",
|
8
8
|
"main": "dist/src/extensions/extension-api.js",
|