@k8slens/extensions 6.1.1-git.e8f691ab0e.0 → 6.1.1-git.ed073d6562.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/cluster/cluster.d.ts +1 -1
- package/dist/src/common/cluster-store/get-by-id.injectable.d.ts +5 -0
- package/dist/src/common/cluster-types.d.ts +10 -0
- package/dist/src/common/fs/create-read-file-stream.injectable.d.ts +19 -0
- package/dist/src/common/fs/stat/stat.global-override-for-injectable.d.ts +2 -2
- package/dist/src/common/fs/stat/stat.injectable.d.ts +4 -1
- package/dist/src/common/fs/watch/watch.injectable.d.ts +120 -2
- package/dist/src/common/logger/prefixed-logger.injectable.d.ts +3 -0
- package/dist/src/common/runnable/run-many-for.d.ts +2 -1
- package/dist/src/common/runnable/run-many-sync-for.d.ts +2 -1
- package/dist/src/common/runnable/throw-with-incorrect-hierarchy-for.d.ts +1 -1
- package/dist/src/common/user-store/kubeconfig-syncs.injectable.d.ts +2 -0
- package/dist/src/common/utils/iter.d.ts +1 -0
- package/dist/src/extensions/extension-api.js +5 -5
- package/dist/src/main/app-paths/setup-app-paths.injectable.d.ts +1 -0
- package/dist/src/main/application-update/emit-current-version-to-analytics.injectable.d.ts +1 -0
- package/dist/src/main/application-update/periodical-check-for-updates/start-checking-for-updates.injectable.d.ts +1 -0
- package/dist/src/main/application-update/periodical-check-for-updates/stop-checking-for-updates.injectable.d.ts +1 -0
- package/dist/src/main/application-update/watch-if-update-should-happen-on-quit/start-watching-if-update-should-happen-on-quit.injectable.d.ts +1 -0
- package/dist/src/main/application-update/watch-if-update-should-happen-on-quit/stop-watching-if-update-should-happen-on-quit.injectable.d.ts +1 -0
- package/dist/src/main/catalog-sources/kubeconfig-sync/compute-diff.injectable.d.ts +6 -0
- package/dist/src/main/catalog-sources/kubeconfig-sync/config-to-models.injectable.d.ts +9 -0
- package/dist/src/main/catalog-sources/kubeconfig-sync/diff-changed-kubeconfig.injectable.d.ts +15 -0
- package/dist/src/main/catalog-sources/kubeconfig-sync/logger.injectable.d.ts +2 -0
- package/dist/src/main/catalog-sources/kubeconfig-sync/manager.d.ts +7 -19
- package/dist/src/main/catalog-sources/kubeconfig-sync/watch-file-changes.injectable.d.ts +6 -0
- package/dist/src/main/catalog-sync-to-renderer/start-catalog-sync.injectable.d.ts +1 -0
- package/dist/src/main/catalog-sync-to-renderer/stop-catalog-sync.injectable.d.ts +1 -0
- package/dist/src/main/cluster/are-being-deleted.injectable.d.ts +2 -0
- package/dist/src/main/cluster/initialize-manager.injectable.d.ts +5 -0
- package/dist/src/main/{cluster-manager.d.ts → cluster/manager.d.ts} +11 -10
- package/dist/src/main/{cluster-manager.injectable.d.ts → cluster/manager.injectable.d.ts} +1 -1
- package/dist/src/main/electron-app/runnables/clean-up-deep-linking.injectable.d.ts +1 -0
- package/dist/src/main/electron-app/runnables/dock-visibility/hide-dock-for-last-closed-window.injectable.d.ts +1 -0
- package/dist/src/main/electron-app/runnables/dock-visibility/show-dock-for-first-opened-window.injectable.d.ts +1 -0
- package/dist/src/main/electron-app/runnables/enforce-single-application-instance.injectable.d.ts +1 -0
- package/dist/src/main/electron-app/runnables/setup-application-name.injectable.d.ts +1 -0
- package/dist/src/main/electron-app/runnables/setup-deep-linking.injectable.d.ts +1 -0
- package/dist/src/main/electron-app/runnables/setup-developer-tools-in-development-environment.injectable.d.ts +1 -0
- package/dist/src/main/electron-app/runnables/setup-device-shutdown.injectable.d.ts +1 -0
- package/dist/src/main/electron-app/runnables/setup-ipc-main-handlers/setup-ipc-main-handlers.d.ts +5 -3
- package/dist/src/main/electron-app/runnables/setup-ipc-main-handlers/setup-ipc-main-handlers.injectable.d.ts +1 -0
- package/dist/src/main/electron-app/runnables/setup-main-window-visibility-after-activation.injectable.d.ts +1 -0
- package/dist/src/main/electron-app/runnables/setup-runnables-after-window-is-opened.injectable.d.ts +1 -0
- package/dist/src/main/electron-app/runnables/setup-runnables-before-closing-of-application.injectable.d.ts +1 -0
- package/dist/src/main/lens-proxy/proxy-functions/shell-api-request/shell-api-request.d.ts +1 -1
- package/dist/src/main/menu/start-application-menu.injectable.d.ts +1 -0
- package/dist/src/main/menu/stop-application-menu.injectable.d.ts +1 -0
- package/dist/src/main/start-main-application/lens-window/current-cluster-frame/setup-listener-for-current-cluster-frame.injectable.d.ts +1 -0
- package/dist/src/main/start-main-application/runnables/clean-up-shell-sessions.injectable.d.ts +1 -0
- package/dist/src/main/start-main-application/runnables/emit-close-to-event-bus.injectable.d.ts +1 -0
- package/dist/src/main/start-main-application/runnables/emit-service-start-to-event-bus.injectable.d.ts +1 -0
- package/dist/src/main/start-main-application/runnables/flag-renderer/flag-renderer-as-loaded.injectable.d.ts +1 -0
- package/dist/src/main/start-main-application/runnables/flag-renderer/flag-renderer-as-not-loaded.injectable.d.ts +1 -0
- package/dist/src/main/start-main-application/runnables/initialize-extensions.injectable.d.ts +1 -0
- package/dist/src/main/start-main-application/runnables/kube-config-sync/add-source.injectable.d.ts +5 -0
- package/dist/src/main/start-main-application/runnables/kube-config-sync/start-kube-config-sync.injectable.d.ts +5 -0
- package/dist/src/main/start-main-application/runnables/kube-config-sync/stop-kube-config-sync.injectable.d.ts +1 -0
- package/dist/src/main/start-main-application/runnables/sentry/setup.injectable.d.ts +1 -0
- package/dist/src/main/start-main-application/runnables/setup-detector-registry.injectable.d.ts +1 -0
- package/dist/src/main/start-main-application/runnables/setup-hardware-acceleration.injectable.d.ts +1 -0
- package/dist/src/main/start-main-application/runnables/setup-hotbar-store.injectable.d.ts +8 -1
- package/dist/src/main/start-main-application/runnables/setup-immer.injectable.d.ts +1 -0
- package/dist/src/main/start-main-application/runnables/setup-lens-proxy.injectable.d.ts +1 -0
- package/dist/src/main/start-main-application/runnables/setup-mobx.injectable.d.ts +1 -0
- package/dist/src/main/start-main-application/runnables/setup-prometheus-registry.injectable.d.ts +1 -0
- package/dist/src/main/start-main-application/runnables/setup-proxy-env.injectable.d.ts +1 -0
- package/dist/src/main/start-main-application/runnables/setup-reactions-in-user-store.injectable.d.ts +1 -0
- package/dist/src/main/start-main-application/runnables/setup-shell.injectable.d.ts +1 -0
- package/dist/src/main/start-main-application/runnables/setup-syncing-of-general-catalog-entities.injectable.d.ts +1 -0
- package/dist/src/main/start-main-application/runnables/setup-syncing-of-weblinks.injectable.d.ts +1 -0
- package/dist/src/main/start-main-application/runnables/setup-system-ca.injectable.d.ts +1 -0
- package/dist/src/main/start-main-application/runnables/stop-cluster-manager.injectable.d.ts +1 -0
- package/dist/src/main/stores/init-user-store.injectable.d.ts +20 -1
- package/dist/src/main/theme/broadcast-theme-change/start-broadcasting-theme-change.injectable.d.ts +1 -0
- package/dist/src/main/theme/broadcast-theme-change/stop-broadcasting-theme-change.injectable.d.ts +1 -0
- package/dist/src/main/theme/sync-theme-from-os/start-syncing-theme-from-operating-system.injectable.d.ts +1 -0
- package/dist/src/main/theme/sync-theme-from-os/stop-syncing-theme-from-operating-system.injectable.d.ts +1 -0
- package/dist/src/main/tray/electron-tray/start-tray.injectable.d.ts +1 -0
- package/dist/src/main/tray/electron-tray/stop-tray.injectable.d.ts +8 -1
- package/dist/src/main/tray/menu-icon/start-reactivity.injectable.d.ts +8 -1
- package/dist/src/main/tray/menu-icon/stop-reactivity.injectable.d.ts +1 -0
- package/dist/src/main/tray/reactive-tray-menu-items/start-reactive-tray-menu-items.injectable.d.ts +8 -1
- package/dist/src/main/tray/reactive-tray-menu-items/stop-reactive-tray-menu-items.injectable.d.ts +1 -0
- package/dist/src/main/utils/channel/channel-listeners/start-listening-of-channels.injectable.d.ts +1 -0
- package/dist/src/main/vars/build-version/init.injectable.d.ts +3 -2
- package/dist/src/main/vars/default-update-channel/init.injectable.d.ts +17 -2
- package/dist/src/main/vars/release-channel/init.injectable.d.ts +12 -1
- package/dist/src/main/vars/semantic-build-version/init.injectable.d.ts +8 -1
- package/dist/src/renderer/api/setup-on-api-errors.injectable.d.ts +1 -0
- package/dist/src/renderer/app-paths/setup-app-paths.injectable.d.ts +1 -0
- package/dist/src/renderer/components/dock/logs/download-logs-dropdown.d.ts +2 -1
- package/dist/src/renderer/components/layout/top-bar/start-state-sync.injectable.d.ts +1 -0
- package/dist/src/renderer/frames/root-frame/setup-system-ca.injectable.d.ts +1 -0
- package/dist/src/renderer/stores/init-user-store.injectable.d.ts +20 -1
- package/dist/src/renderer/utils/channel/channel-listeners/start-listening-of-channels.injectable.d.ts +1 -0
- package/dist/src/renderer/utils/sync-box/provide-initial-values-for-sync-boxes.injectable.d.ts +1 -0
- package/dist/src/renderer/vars/build-version/init.injectable.d.ts +1 -0
- package/dist/src/renderer/vars/default-update-channel/init.injectable.d.ts +17 -2
- package/dist/src/renderer/vars/release-channel/init.injectable.d.ts +12 -1
- package/dist/src/renderer/vars/semantic-build-version/init.injectable.d.ts +8 -1
- package/package.json +3 -3
@@ -189,7 +189,7 @@ export declare class Cluster implements ClusterModel, ClusterState {
|
|
189
189
|
* @internal
|
190
190
|
*/
|
191
191
|
get defaultNamespace(): string | undefined;
|
192
|
-
constructor(dependencies: ClusterDependencies, model: ClusterModel, configData: ClusterConfigData);
|
192
|
+
constructor(dependencies: ClusterDependencies, { id, ...model }: ClusterModel, configData: ClusterConfigData);
|
193
193
|
/**
|
194
194
|
* Update cluster data model
|
195
195
|
*
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import type { ClusterId } from "../cluster-types";
|
2
|
+
import type { Cluster } from "../cluster/cluster";
|
3
|
+
export declare type GetClusterById = (id: ClusterId) => Cluster | undefined;
|
4
|
+
declare const getClusterByIdInjectable: import("@ogre-tools/injectable").Injectable<GetClusterById, unknown, void>;
|
5
|
+
export default getClusterByIdInjectable;
|
@@ -2,6 +2,7 @@
|
|
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 Joi from "joi";
|
5
6
|
/**
|
6
7
|
* JSON serializable metadata type
|
7
8
|
*/
|
@@ -22,6 +23,15 @@ export declare type ClusterId = string;
|
|
22
23
|
* The fields that are used for updating a cluster instance
|
23
24
|
*/
|
24
25
|
export declare type UpdateClusterModel = Omit<ClusterModel, "id">;
|
26
|
+
/**
|
27
|
+
* A type validator for `UpdateClusterModel` so that only expected types are present
|
28
|
+
*/
|
29
|
+
export declare const updateClusterModelChecker: Joi.ObjectSchema<UpdateClusterModel>;
|
30
|
+
/**
|
31
|
+
* A type validator for just the `id` fields of `ClusterModel`. The rest is
|
32
|
+
* covered by `updateClusterModelChecker`
|
33
|
+
*/
|
34
|
+
export declare const clusterModelIdChecker: Joi.ObjectSchema<Pick<ClusterModel, "id">>;
|
25
35
|
/**
|
26
36
|
* The model for passing cluster data around, including to disk
|
27
37
|
*/
|
@@ -0,0 +1,19 @@
|
|
1
|
+
/// <reference types="node" />
|
2
|
+
/// <reference types="node" />
|
3
|
+
import type { ReadStream } from "fs";
|
4
|
+
export interface CreateReadStreamOptions {
|
5
|
+
mode?: number;
|
6
|
+
end?: number | undefined;
|
7
|
+
flags?: string | undefined;
|
8
|
+
encoding?: BufferEncoding | undefined;
|
9
|
+
autoClose?: boolean | undefined;
|
10
|
+
/**
|
11
|
+
* @default false
|
12
|
+
*/
|
13
|
+
emitClose?: boolean | undefined;
|
14
|
+
start?: number | undefined;
|
15
|
+
highWaterMark?: number | undefined;
|
16
|
+
}
|
17
|
+
export declare type CreateReadFileStream = (filePath: string, options?: CreateReadStreamOptions) => ReadStream;
|
18
|
+
declare const createReadFileStreamInjectable: import("@ogre-tools/injectable").Injectable<CreateReadFileStream, unknown, void>;
|
19
|
+
export default createReadFileStreamInjectable;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
declare const _default: {
|
2
|
-
injectable: import("@ogre-tools/injectable").Injectable<
|
3
|
-
overridingInstantiate: import("@ogre-tools/injectable").Instantiate<
|
2
|
+
injectable: import("@ogre-tools/injectable").Injectable<import("./stat.injectable").Stat, unknown, void>;
|
3
|
+
overridingInstantiate: import("@ogre-tools/injectable").Instantiate<import("./stat.injectable").Stat, void>;
|
4
4
|
};
|
5
5
|
export default _default;
|
@@ -1,2 +1,5 @@
|
|
1
|
-
|
1
|
+
/// <reference types="node" />
|
2
|
+
import type { Stats } from "fs";
|
3
|
+
export declare type Stat = (path: string) => Promise<Stats>;
|
4
|
+
declare const statInjectable: import("@ogre-tools/injectable").Injectable<Stat, unknown, void>;
|
2
5
|
export default statInjectable;
|
@@ -1,4 +1,122 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
/// <reference types="node" />
|
2
|
+
import type { Stats } from "fs";
|
3
|
+
import type TypedEventEmitter from "typed-emitter";
|
4
|
+
import type { SingleOrMany } from "../../utils";
|
5
|
+
export interface AlwaysStatWatcherEvents {
|
6
|
+
add: (path: string, stats: Stats) => void;
|
7
|
+
addDir: (path: string, stats: Stats) => void;
|
8
|
+
change: (path: string, stats: Stats) => void;
|
9
|
+
}
|
10
|
+
export interface MaybeStatWatcherEvents {
|
11
|
+
add: (path: string, stats?: Stats) => void;
|
12
|
+
addDir: (path: string, stats?: Stats) => void;
|
13
|
+
change: (path: string, stats?: Stats) => void;
|
14
|
+
}
|
15
|
+
export declare type WatcherEvents<AlwaysStat extends boolean> = BaseWatcherEvents & (AlwaysStat extends true ? AlwaysStatWatcherEvents : MaybeStatWatcherEvents);
|
16
|
+
export interface BaseWatcherEvents {
|
17
|
+
error: (error: Error) => void;
|
18
|
+
ready: () => void;
|
19
|
+
unlink: (path: string) => void;
|
20
|
+
unlinkDir: (path: string) => void;
|
21
|
+
}
|
22
|
+
export interface Watcher<AlwaysStat extends boolean> extends TypedEventEmitter<WatcherEvents<AlwaysStat>> {
|
23
|
+
close: () => Promise<void>;
|
24
|
+
}
|
25
|
+
export declare type WatcherOptions<AlwaysStat extends boolean> = {
|
26
|
+
/**
|
27
|
+
* Indicates whether the process should continue to run as long as files are being watched. If
|
28
|
+
* set to `false` when using `fsevents` to watch, no more events will be emitted after `ready`,
|
29
|
+
* even if the process continues to run.
|
30
|
+
*/
|
31
|
+
persistent?: boolean;
|
32
|
+
/**
|
33
|
+
* ([anymatch](https://github.com/micromatch/anymatch)-compatible definition) Defines files/paths to
|
34
|
+
* be ignored. The whole relative or absolute path is tested, not just filename. If a function
|
35
|
+
* with two arguments is provided, it gets called twice per path - once with a single argument
|
36
|
+
* (the path), second time with two arguments (the path and the
|
37
|
+
* [`fs.Stats`](https://nodejs.org/api/fs.html#fs_class_fs_stats) object of that path).
|
38
|
+
*/
|
39
|
+
ignored?: SingleOrMany<string | RegExp | ((path: string) => boolean)>;
|
40
|
+
/**
|
41
|
+
* If set to `false` then `add`/`addDir` events are also emitted for matching paths while
|
42
|
+
* instantiating the watching as chokidar discovers these file paths (before the `ready` event).
|
43
|
+
*/
|
44
|
+
ignoreInitial?: boolean;
|
45
|
+
/**
|
46
|
+
* When `false`, only the symlinks themselves will be watched for changes instead of following
|
47
|
+
* the link references and bubbling events through the link's path.
|
48
|
+
*/
|
49
|
+
followSymlinks?: boolean;
|
50
|
+
/**
|
51
|
+
* The base directory from which watch `paths` are to be derived. Paths emitted with events will
|
52
|
+
* be relative to this.
|
53
|
+
*/
|
54
|
+
cwd?: string;
|
55
|
+
/**
|
56
|
+
* If set to true then the strings passed to .watch() and .add() are treated as literal path
|
57
|
+
* names, even if they look like globs. Default: false.
|
58
|
+
*/
|
59
|
+
disableGlobbing?: boolean;
|
60
|
+
/**
|
61
|
+
* Whether to use fs.watchFile (backed by polling), or fs.watch. If polling leads to high CPU
|
62
|
+
* utilization, consider setting this to `false`. It is typically necessary to **set this to
|
63
|
+
* `true` to successfully watch files over a network**, and it may be necessary to successfully
|
64
|
+
* watch files in other non-standard situations. Setting to `true` explicitly on OS X overrides
|
65
|
+
* the `useFsEvents` default.
|
66
|
+
*/
|
67
|
+
usePolling?: boolean;
|
68
|
+
/**
|
69
|
+
* Whether to use the `fsevents` watching interface if available. When set to `true` explicitly
|
70
|
+
* and `fsevents` is available this supercedes the `usePolling` setting. When set to `false` on
|
71
|
+
* OS X, `usePolling: true` becomes the default.
|
72
|
+
*/
|
73
|
+
useFsEvents?: boolean;
|
74
|
+
/**
|
75
|
+
* If set, limits how many levels of subdirectories will be traversed.
|
76
|
+
*/
|
77
|
+
depth?: number;
|
78
|
+
/**
|
79
|
+
* Interval of file system polling.
|
80
|
+
*/
|
81
|
+
interval?: number;
|
82
|
+
/**
|
83
|
+
* Interval of file system polling for binary files. ([see list of binary extensions](https://gi
|
84
|
+
* thub.com/sindresorhus/binary-extensions/blob/master/binary-extensions.json))
|
85
|
+
*/
|
86
|
+
binaryInterval?: number;
|
87
|
+
/**
|
88
|
+
* Indicates whether to watch files that don't have read permissions if possible. If watching
|
89
|
+
* fails due to `EPERM` or `EACCES` with this set to `true`, the errors will be suppressed
|
90
|
+
* silently.
|
91
|
+
*/
|
92
|
+
ignorePermissionErrors?: boolean;
|
93
|
+
/**
|
94
|
+
* `true` if `useFsEvents` and `usePolling` are `false`). Automatically filters out artifacts
|
95
|
+
* that occur when using editors that use "atomic writes" instead of writing directly to the
|
96
|
+
* source file. If a file is re-added within 100 ms of being deleted, Chokidar emits a `change`
|
97
|
+
* event rather than `unlink` then `add`. If the default of 100 ms does not work well for you,
|
98
|
+
* you can override it by setting `atomic` to a custom value, in milliseconds.
|
99
|
+
*/
|
100
|
+
atomic?: boolean | number;
|
101
|
+
/**
|
102
|
+
* can be set to an object in order to adjust timing params:
|
103
|
+
*/
|
104
|
+
awaitWriteFinish?: AwaitWriteFinishOptions | boolean;
|
105
|
+
} & (AlwaysStat extends true ? {
|
106
|
+
alwaysStat: true;
|
107
|
+
} : {
|
108
|
+
alwaysStat?: false;
|
109
|
+
});
|
110
|
+
export interface AwaitWriteFinishOptions {
|
111
|
+
/**
|
112
|
+
* Amount of time in milliseconds for a file size to remain constant before emitting its event.
|
113
|
+
*/
|
114
|
+
stabilityThreshold?: number;
|
115
|
+
/**
|
116
|
+
* File size polling interval.
|
117
|
+
*/
|
118
|
+
pollInterval?: number;
|
119
|
+
}
|
120
|
+
export declare type Watch = <AlwaysStat extends boolean = false>(path: string, options?: WatcherOptions<AlwaysStat>) => Watcher<AlwaysStat>;
|
3
121
|
declare const watchInjectable: import("@ogre-tools/injectable").Injectable<Watch, unknown, void>;
|
4
122
|
export default watchInjectable;
|
@@ -1,7 +1,8 @@
|
|
1
1
|
import type { DiContainerForInjection, InjectionToken } from "@ogre-tools/injectable";
|
2
2
|
export interface Runnable<TParameter = void> {
|
3
|
+
id: string;
|
3
4
|
run: Run<TParameter>;
|
4
|
-
runAfter?:
|
5
|
+
runAfter?: Runnable<TParameter>;
|
5
6
|
}
|
6
7
|
declare type Run<Param> = (parameter: Param) => Promise<void> | void;
|
7
8
|
export declare type RunMany = <Param>(injectionToken: InjectionToken<Runnable<Param>, void>) => Run<Param>;
|
@@ -1,8 +1,9 @@
|
|
1
1
|
import type { DiContainerForInjection, InjectionToken } from "@ogre-tools/injectable";
|
2
2
|
import type { Runnable } from "./run-many-for";
|
3
3
|
export interface RunnableSync<TParameter = void> {
|
4
|
+
id: string;
|
4
5
|
run: RunSync<TParameter>;
|
5
|
-
runAfter?:
|
6
|
+
runAfter?: RunnableSync<TParameter>;
|
6
7
|
}
|
7
8
|
declare type RunSync<Param> = (parameter: Param) => void;
|
8
9
|
export declare type RunManySync = <Param>(injectionToken: InjectionToken<Runnable<Param>, void>) => RunSync<Param>;
|
@@ -4,4 +4,4 @@
|
|
4
4
|
*/
|
5
5
|
import type { Runnable } from "./run-many-for";
|
6
6
|
import type { RunnableSync } from "./run-many-sync-for";
|
7
|
-
export declare const throwWithIncorrectHierarchyFor: (allRunnables: Runnable<any>[] | RunnableSync<any>[]) => (runnable: Runnable<any> | RunnableSync<any>) => void;
|
7
|
+
export declare const throwWithIncorrectHierarchyFor: (injectionTokenId: string, allRunnables: Runnable<any>[] | RunnableSync<any>[]) => (runnable: Runnable<any> | RunnableSync<any>) => void;
|
@@ -9,6 +9,7 @@ interface Iterator<T> {
|
|
9
9
|
find(fn: (val: T) => unknown): T | undefined;
|
10
10
|
collect<U>(fn: (values: Iterable<T>) => U): U;
|
11
11
|
map<U>(fn: (val: T) => U): Iterator<U>;
|
12
|
+
flatMap<U>(fn: (val: T) => U[]): Iterator<U>;
|
12
13
|
join(sep?: string): string;
|
13
14
|
}
|
14
15
|
export declare function pipeline<T>(src: IterableIterator<T>): Iterator<T>;
|