@k8slens/extensions 5.3.1-git.f0274d08a4.0 → 5.3.2

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.
Files changed (27) hide show
  1. package/dist/src/common/ipc/update-available.ipc.d.ts +0 -2
  2. package/dist/src/common/k8s-api/api-manager.d.ts +1 -1
  3. package/dist/src/common/k8s-api/endpoints/daemon-set.api.d.ts +2 -5
  4. package/dist/src/common/k8s-api/endpoints/deployment.api.d.ts +2 -5
  5. package/dist/src/common/k8s-api/endpoints/job.api.d.ts +2 -5
  6. package/dist/src/common/k8s-api/endpoints/metrics.api.d.ts +0 -2
  7. package/dist/src/common/k8s-api/endpoints/network-policy.api.d.ts +72 -32
  8. package/dist/src/common/k8s-api/endpoints/persistent-volume-claims.api.d.ts +3 -16
  9. package/dist/src/common/k8s-api/endpoints/poddisruptionbudget.api.d.ts +2 -6
  10. package/dist/src/common/k8s-api/endpoints/pods.api.d.ts +0 -2
  11. package/dist/src/common/k8s-api/endpoints/replica-set.api.d.ts +2 -5
  12. package/dist/src/common/k8s-api/endpoints/stateful-set.api.d.ts +2 -5
  13. package/dist/src/common/k8s-api/kube-api.d.ts +5 -2
  14. package/dist/src/common/k8s-api/kube-object.d.ts +22 -0
  15. package/dist/src/extensions/extension-api.js +2101 -661
  16. package/dist/src/main/context-handler.d.ts +8 -1
  17. package/dist/src/renderer/bootstrap.d.ts +1 -2
  18. package/dist/src/renderer/components/{getDi.d.ts → +network-policies/__tests__/network-policy-details.test.d.ts} +1 -2
  19. package/dist/src/renderer/components/+network-policies/network-policy-details.d.ts +5 -4
  20. package/dist/src/renderer/components/+workloads-overview/overview-workload-status.d.ts +7 -2
  21. package/dist/src/renderer/components/drawer/drawer.d.ts +3 -14
  22. package/dist/src/renderer/components/notifications/notifications.d.ts +3 -3
  23. package/dist/src/renderer/components/resizing-anchor/resizing-anchor.d.ts +1 -3
  24. package/dist/src/renderer/components/switch/switcher.d.ts +1 -1
  25. package/dist/src/renderer/port-forward/port-forward.store.d.ts +1 -1
  26. package/package.json +1 -1
  27. package/dist/src/renderer/components/getDiForUnitTesting.d.ts +0 -22
@@ -29,13 +29,19 @@ export interface PrometheusDetails {
29
29
  prometheusPath: string;
30
30
  provider: PrometheusProvider;
31
31
  }
32
+ interface PrometheusServicePreferences {
33
+ namespace: string;
34
+ service: string;
35
+ port: number;
36
+ prefix: string;
37
+ }
32
38
  export declare class ContextHandler {
33
39
  protected cluster: Cluster;
34
40
  clusterUrl: UrlWithStringQuery;
35
41
  protected kubeAuthProxy?: KubeAuthProxy;
36
42
  protected apiTarget?: httpProxy.ServerOptions;
37
43
  protected prometheusProvider?: string;
38
- protected prometheusPath: string | null;
44
+ protected prometheus?: PrometheusServicePreferences;
39
45
  constructor(cluster: Cluster);
40
46
  setupPrometheus(preferences?: ClusterPrometheusPreferences): void;
41
47
  getPrometheusDetails(): Promise<PrometheusDetails>;
@@ -49,3 +55,4 @@ export declare class ContextHandler {
49
55
  ensureServer(): Promise<void>;
50
56
  stopServer(): void;
51
57
  }
58
+ export {};
@@ -26,11 +26,10 @@ import * as ReactRouter from "react-router";
26
26
  import * as ReactRouterDom from "react-router-dom";
27
27
  import * as LensExtensionsCommonApi from "../extensions/common-api";
28
28
  import * as LensExtensionsRendererApi from "../extensions/renderer-api";
29
- import type { DependencyInjectionContainer } from "@ogre-tools/injectable";
30
29
  declare type AppComponent = React.ComponentType & {
31
30
  init(rootElem: HTMLElement): Promise<void>;
32
31
  };
33
- export declare function bootstrap(comp: () => Promise<AppComponent>, di: DependencyInjectionContainer): Promise<void>;
32
+ export declare function bootstrap(comp: () => Promise<AppComponent>): Promise<void>;
34
33
  /**
35
34
  * Exports for virtual package "@k8slens/extensions" for renderer-process.
36
35
  * All exporting names available in global runtime scope:
@@ -18,5 +18,4 @@
18
18
  * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
19
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
20
  */
21
- import type { ConfigurableDependencyInjectionContainer } from "@ogre-tools/injectable";
22
- export declare const getDi: () => ConfigurableDependencyInjectionContainer;
21
+ export {};
@@ -18,15 +18,16 @@
18
18
  * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
19
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
20
  */
21
- import "./network-policy-details.scss";
22
21
  import React from "react";
23
- import { IPolicyEgress, IPolicyIngress, NetworkPolicy } from "../../../common/k8s-api/endpoints/network-policy.api";
22
+ import { IPolicyIpBlock, IPolicySelector, NetworkPolicy, NetworkPolicyPeer, NetworkPolicyPort } from "../../../common/k8s-api/endpoints/network-policy.api";
24
23
  import type { KubeObjectDetailsProps } from "../kube-object-details";
25
24
  interface Props extends KubeObjectDetailsProps<NetworkPolicy> {
26
25
  }
27
26
  export declare class NetworkPolicyDetails extends React.Component<Props> {
28
- renderIngressFrom(ingress: IPolicyIngress): JSX.Element;
29
- renderEgressTo(egress: IPolicyEgress): JSX.Element;
27
+ renderIPolicyIpBlock(ipBlock: IPolicyIpBlock | undefined): JSX.Element;
28
+ renderIPolicySelector(name: string, selector: IPolicySelector | undefined): JSX.Element;
29
+ renderNetworkPolicyPeers(name: string, peers: NetworkPolicyPeer[] | undefined): JSX.Element;
30
+ renderNetworkPolicyPorts(ports: NetworkPolicyPort[] | undefined): JSX.Element;
30
31
  render(): JSX.Element;
31
32
  }
32
33
  export {};
@@ -21,10 +21,15 @@
21
21
  import "./overview-workload-status.scss";
22
22
  import React from "react";
23
23
  interface Props {
24
- status: Record<string, number>;
24
+ status: {
25
+ [key: string]: number;
26
+ };
25
27
  }
26
28
  export declare class OverviewWorkloadStatus extends React.Component<Props> {
27
- elem?: HTMLElement;
29
+ elem: HTMLElement;
30
+ constructor(props: Props);
31
+ componentDidMount(): void;
32
+ getStatusColor(status: string): string;
28
33
  renderChart(): JSX.Element;
29
34
  render(): JSX.Element;
30
35
  }
@@ -21,42 +21,31 @@
21
21
  import "./drawer.scss";
22
22
  import React from "react";
23
23
  import { AnimateName } from "../animate";
24
- export declare type DrawerPosition = "top" | "left" | "right" | "bottom";
25
24
  export interface DrawerProps {
26
25
  open: boolean;
27
26
  title: React.ReactNode;
28
- /**
29
- * The width or heigh (depending on `position`) of the Drawer.
30
- *
31
- * If not set then the Drawer will be resizable.
32
- */
33
27
  size?: string;
34
28
  usePortal?: boolean;
35
29
  className?: string | object;
36
30
  contentClass?: string | object;
37
- position?: DrawerPosition;
31
+ position?: "top" | "left" | "right" | "bottom";
38
32
  animation?: AnimateName;
39
33
  onClose?: () => void;
40
34
  toolbar?: React.ReactNode;
41
35
  }
42
36
  interface State {
43
37
  isCopied: boolean;
44
- width: number;
45
38
  }
46
- export declare class Drawer extends React.Component<DrawerProps, State> {
39
+ export declare class Drawer extends React.Component<DrawerProps> {
47
40
  static defaultProps: object;
48
41
  private mouseDownTarget;
49
42
  private contentElem;
50
43
  private scrollElem;
51
44
  private scrollPos;
52
45
  private stopListenLocation;
53
- state: {
54
- isCopied: boolean;
55
- width: number;
56
- };
46
+ state: State;
57
47
  componentDidMount(): void;
58
48
  componentWillUnmount(): void;
59
- resizeWidth: (width: number) => void;
60
49
  fixUpTripleClick: (ev: MouseEvent) => void;
61
50
  saveScrollPos: () => void;
62
51
  restoreScrollPos: () => void;
@@ -23,9 +23,9 @@ import React from "react";
23
23
  import { Notification, NotificationMessage } from "./notifications.store";
24
24
  export declare class Notifications extends React.Component {
25
25
  elem: HTMLElement;
26
- static ok(message: NotificationMessage): () => void;
27
- static error(message: NotificationMessage, customOpts?: Partial<Notification>): () => void;
28
- static shortInfo(message: NotificationMessage, customOpts?: Partial<Notification>): () => void;
26
+ static ok(message: NotificationMessage): void;
27
+ static error(message: NotificationMessage, customOpts?: Partial<Notification>): void;
28
+ static shortInfo(message: NotificationMessage, customOpts?: Partial<Notification>): void;
29
29
  static info(message: NotificationMessage, customOpts?: Partial<Notification>): () => void;
30
30
  componentDidMount(): void;
31
31
  scrollToLastNotification(): void;
@@ -97,9 +97,7 @@ interface Position {
97
97
  }
98
98
  export declare class ResizingAnchor extends React.PureComponent<Props> {
99
99
  lastMouseEvent?: MouseEvent;
100
- ref: React.RefObject<HTMLDivElement>;
101
- isDragging: boolean;
102
- wasDragging: boolean;
100
+ ref?: React.RefObject<HTMLDivElement>;
103
101
  static defaultProps: {
104
102
  onStart: typeof noop;
105
103
  onDrag: typeof noop;
@@ -26,5 +26,5 @@ interface Styles extends Partial<Record<SwitchClassKey, string>> {
26
26
  interface Props extends SwitchProps {
27
27
  classes: Styles;
28
28
  }
29
- export declare const Switcher: React.ComponentType<Pick<Props, "name" | "key" | "id" | "value" | "type" | "size" | "resource" | "style" | "dir" | "form" | "slot" | "title" | "color" | "className" | "prefix" | "defaultValue" | "hidden" | "ref" | "disabled" | "onDrag" | "onDoubleClick" | "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" | "onDoubleClickCapture" | "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" | "role" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "property" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "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" | "autoFocus" | "icon" | "checked" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "readOnly" | "required" | "inputProps" | "action" | "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">>;
29
+ export declare const Switcher: React.ComponentType<Pick<Props, "name" | "key" | "id" | "value" | "type" | "size" | "resource" | "style" | "dir" | "form" | "slot" | "title" | "color" | "className" | "prefix" | "defaultValue" | "hidden" | "ref" | "disabled" | "onDrag" | "onDoubleClick" | "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" | "onDoubleClickCapture" | "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" | "role" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "property" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "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" | "autoFocus" | "icon" | "checked" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "readOnly" | "required" | "inputProps" | "action" | "innerRef" | "checkedIcon" | "disableFocusRipple" | "edge" | "buttonRef" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "onFocusVisible" | "TouchRippleProps" | "inputRef"> & import("@material-ui/core/styles").StyledComponentProps<"track" | "checked" | "root" | "switchBase" | "thumb" | "focusVisible">>;
30
30
  export {};
@@ -35,5 +35,5 @@ export declare function addPortForward(portForward: ForwardedPort): Promise<numb
35
35
  export declare function getPortForward(portForward: ForwardedPort): Promise<number>;
36
36
  export declare function modifyPortForward(portForward: ForwardedPort, desiredPort: number): Promise<number>;
37
37
  export declare function removePortForward(portForward: ForwardedPort): Promise<void>;
38
- export declare function getPortForwards(clusterId?: string): Promise<ForwardedPort[]>;
38
+ export declare function getPortForwards(): Promise<ForwardedPort[]>;
39
39
  export declare const portForwardStore: PortForwardStore;
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": "5.3.1-git.f0274d08a4.0",
5
+ "version": "5.3.2",
6
6
  "copyright": "© 2021 OpenLens Authors",
7
7
  "license": "MIT",
8
8
  "main": "dist/src/extensions/extension-api.js",
@@ -1,22 +0,0 @@
1
- /**
2
- * Copyright (c) 2021 OpenLens Authors
3
- *
4
- * Permission is hereby granted, free of charge, to any person obtaining a copy of
5
- * this software and associated documentation files (the "Software"), to deal in
6
- * the Software without restriction, including without limitation the rights to
7
- * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
8
- * the Software, and to permit persons to whom the Software is furnished to do so,
9
- * subject to the following conditions:
10
- *
11
- * The above copyright notice and this permission notice shall be included in all
12
- * copies or substantial portions of the Software.
13
- *
14
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
16
- * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
17
- * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
18
- * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
- */
21
- import { ConfigurableDependencyInjectionContainer } from "@ogre-tools/injectable";
22
- export declare const getDiForUnitTesting: () => ConfigurableDependencyInjectionContainer;