@dxos/cli 0.5.7-next.f4a5d7e → 0.5.8-main.1e35f75
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/bin/agent_entrypoint +1 -0
- package/dist/src/base.d.ts +9 -124
- package/dist/src/base.d.ts.map +1 -1
- package/dist/src/base.js +17 -524
- package/dist/src/base.js.map +1 -1
- package/dist/src/commands/agent/agent.test.js +25 -25
- package/dist/src/commands/agent/agent.test.js.map +1 -1
- package/dist/src/commands/agent/invitations.d.ts +4 -5
- package/dist/src/commands/agent/invitations.d.ts.map +1 -1
- package/dist/src/commands/agent/invitations.js +24 -22
- package/dist/src/commands/agent/invitations.js.map +1 -1
- package/dist/src/commands/agent/list.d.ts +3 -11
- package/dist/src/commands/agent/list.d.ts.map +1 -1
- package/dist/src/commands/agent/list.js +4 -4
- package/dist/src/commands/agent/list.js.map +1 -1
- package/dist/src/commands/agent/restart.d.ts +3 -4
- package/dist/src/commands/agent/restart.d.ts.map +1 -1
- package/dist/src/commands/agent/start.d.ts +3 -4
- package/dist/src/commands/agent/start.d.ts.map +1 -1
- package/dist/src/commands/agent/start.js +2 -2
- package/dist/src/commands/agent/start.js.map +1 -1
- package/dist/src/commands/agent/status.d.ts +3 -4
- package/dist/src/commands/agent/status.d.ts.map +1 -1
- package/dist/src/commands/agent/status.js +1 -1
- package/dist/src/commands/agent/status.js.map +1 -1
- package/dist/src/commands/agent/stop.d.ts +3 -4
- package/dist/src/commands/agent/stop.d.ts.map +1 -1
- package/dist/src/commands/app/app.test.js +2 -2
- package/dist/src/commands/app/app.test.js.map +1 -1
- package/dist/src/commands/app/create.d.ts +3 -4
- package/dist/src/commands/app/create.d.ts.map +1 -1
- package/dist/src/commands/app/list.d.ts +13 -0
- package/dist/src/commands/app/list.d.ts.map +1 -1
- package/dist/src/commands/app/list.js +5 -0
- package/dist/src/commands/app/list.js.map +1 -1
- package/dist/src/commands/app/open.d.ts +3 -4
- package/dist/src/commands/app/open.d.ts.map +1 -1
- package/dist/src/commands/app/open.js +3 -3
- package/dist/src/commands/app/open.js.map +1 -1
- package/dist/src/commands/app/publish.d.ts +3 -4
- package/dist/src/commands/app/publish.d.ts.map +1 -1
- package/dist/src/commands/app/publish.js +2 -1
- package/dist/src/commands/app/publish.js.map +1 -1
- package/dist/src/commands/config/index.test.js +7 -7
- package/dist/src/commands/config/index.test.js.map +1 -1
- package/dist/src/commands/debug/diagnostics.d.ts +3 -4
- package/dist/src/commands/debug/diagnostics.d.ts.map +1 -1
- package/dist/src/commands/debug/diagnostics.js +1 -1
- package/dist/src/commands/debug/diagnostics.js.map +1 -1
- package/dist/src/commands/debug/error.d.ts.map +1 -1
- package/dist/src/commands/debug/error.js +2 -2
- package/dist/src/commands/debug/error.js.map +1 -1
- package/dist/src/commands/debug/generate.d.ts +3 -4
- package/dist/src/commands/debug/generate.d.ts.map +1 -1
- package/dist/src/commands/debug/generate.js +3 -2
- package/dist/src/commands/debug/generate.js.map +1 -1
- package/dist/src/commands/debug/metrics.d.ts.map +1 -1
- package/dist/src/commands/debug/metrics.js +1 -1
- package/dist/src/commands/debug/metrics.js.map +1 -1
- package/dist/src/commands/debug/status.d.ts +3 -4
- package/dist/src/commands/debug/status.d.ts.map +1 -1
- package/dist/src/commands/debug/status.js +1 -1
- package/dist/src/commands/debug/status.js.map +1 -1
- package/dist/src/commands/device/info.d.ts.map +1 -1
- package/dist/src/commands/device/info.js +3 -4
- package/dist/src/commands/device/info.js.map +1 -1
- package/dist/src/commands/device/list.d.ts +3 -11
- package/dist/src/commands/device/list.d.ts.map +1 -1
- package/dist/src/commands/device/list.js +5 -8
- package/dist/src/commands/device/list.js.map +1 -1
- package/dist/src/commands/device/update.d.ts +3 -4
- package/dist/src/commands/device/update.d.ts.map +1 -1
- package/dist/src/commands/device/update.js +3 -4
- package/dist/src/commands/device/update.js.map +1 -1
- package/dist/src/commands/function/dev.d.ts +3 -4
- package/dist/src/commands/function/dev.d.ts.map +1 -1
- package/dist/src/commands/function/dev.js +4 -4
- package/dist/src/commands/function/dev.js.map +1 -1
- package/dist/src/commands/function/list.d.ts +1 -1
- package/dist/src/commands/function/list.d.ts.map +1 -1
- package/dist/src/commands/function/list.js +11 -21
- package/dist/src/commands/function/list.js.map +1 -1
- package/dist/src/commands/function/{trigger.d.ts → trigger/list.d.ts} +8 -9
- package/dist/src/commands/function/trigger/list.d.ts.map +1 -0
- package/dist/src/commands/function/{trigger.js → trigger/list.js} +16 -34
- package/dist/src/commands/function/trigger/list.js.map +1 -0
- package/dist/src/commands/halo/create.d.ts +4 -5
- package/dist/src/commands/halo/create.d.ts.map +1 -1
- package/dist/src/commands/halo/create.js +12 -12
- package/dist/src/commands/halo/create.js.map +1 -1
- package/dist/src/commands/halo/credential/add.d.ts.map +1 -1
- package/dist/src/commands/halo/credential/add.js +1 -1
- package/dist/src/commands/halo/credential/add.js.map +1 -1
- package/dist/src/commands/halo/credential/list.d.ts +2 -10
- package/dist/src/commands/halo/credential/list.d.ts.map +1 -1
- package/dist/src/commands/halo/credential/list.js +5 -5
- package/dist/src/commands/halo/credential/list.js.map +1 -1
- package/dist/src/commands/halo/identity.d.ts +1 -0
- package/dist/src/commands/halo/identity.d.ts.map +1 -1
- package/dist/src/commands/halo/identity.js +2 -1
- package/dist/src/commands/halo/identity.js.map +1 -1
- package/dist/src/commands/halo/join.d.ts +2 -3
- package/dist/src/commands/halo/join.d.ts.map +1 -1
- package/dist/src/commands/halo/join.js +23 -9
- package/dist/src/commands/halo/join.js.map +1 -1
- package/dist/src/commands/halo/keys.d.ts.map +1 -1
- package/dist/src/commands/halo/keys.js +1 -1
- package/dist/src/commands/halo/keys.js.map +1 -1
- package/dist/src/commands/halo/share.d.ts +4 -5
- package/dist/src/commands/halo/share.d.ts.map +1 -1
- package/dist/src/commands/halo/share.js +10 -22
- package/dist/src/commands/halo/share.js.map +1 -1
- package/dist/src/commands/halo/update.d.ts +3 -4
- package/dist/src/commands/halo/update.d.ts.map +1 -1
- package/dist/src/commands/halo/update.js +3 -4
- package/dist/src/commands/halo/update.js.map +1 -1
- package/dist/src/commands/{composer/upload.d.ts → info.d.ts} +8 -13
- package/dist/src/commands/info.d.ts.map +1 -0
- package/dist/src/commands/info.js +29 -0
- package/dist/src/commands/info.js.map +1 -0
- package/dist/src/commands/reset/index.d.ts +3 -4
- package/dist/src/commands/reset/index.d.ts.map +1 -1
- package/dist/src/commands/reset/index.js +11 -2
- package/dist/src/commands/reset/index.js.map +1 -1
- package/dist/src/commands/shell/index.d.ts.map +1 -1
- package/dist/src/commands/shell/index.js +5 -1
- package/dist/src/commands/shell/index.js.map +1 -1
- package/dist/src/commands/space/close.d.ts.map +1 -1
- package/dist/src/commands/space/close.js +3 -2
- package/dist/src/commands/space/close.js.map +1 -1
- package/dist/src/commands/space/create.d.ts.map +1 -1
- package/dist/src/commands/space/create.js +5 -5
- package/dist/src/commands/space/create.js.map +1 -1
- package/dist/src/commands/space/epoch.d.ts.map +1 -1
- package/dist/src/commands/space/epoch.js +3 -2
- package/dist/src/commands/space/epoch.js.map +1 -1
- package/dist/src/commands/space/info.d.ts.map +1 -1
- package/dist/src/commands/space/info.js +3 -2
- package/dist/src/commands/space/info.js.map +1 -1
- package/dist/src/commands/space/join.d.ts +3 -4
- package/dist/src/commands/space/join.d.ts.map +1 -1
- package/dist/src/commands/space/join.js +20 -8
- package/dist/src/commands/space/join.js.map +1 -1
- package/dist/src/commands/space/list.d.ts +2 -10
- package/dist/src/commands/space/list.d.ts.map +1 -1
- package/dist/src/commands/space/list.js +6 -6
- package/dist/src/commands/space/list.js.map +1 -1
- package/dist/src/commands/space/members.d.ts +3 -11
- package/dist/src/commands/space/members.d.ts.map +1 -1
- package/dist/src/commands/space/members.js +6 -7
- package/dist/src/commands/space/members.js.map +1 -1
- package/dist/src/commands/space/open.d.ts.map +1 -1
- package/dist/src/commands/space/open.js +3 -2
- package/dist/src/commands/space/open.js.map +1 -1
- package/dist/src/commands/space/query.d.ts +4 -5
- package/dist/src/commands/space/query.d.ts.map +1 -1
- package/dist/src/commands/space/query.js +14 -11
- package/dist/src/commands/space/query.js.map +1 -1
- package/dist/src/commands/{composer/query.d.ts → space/schema/list.d.ts} +8 -10
- package/dist/src/commands/space/schema/list.d.ts.map +1 -0
- package/dist/src/commands/space/schema/list.js +51 -0
- package/dist/src/commands/space/schema/list.js.map +1 -0
- package/dist/src/commands/space/share.d.ts +4 -5
- package/dist/src/commands/space/share.d.ts.map +1 -1
- package/dist/src/commands/space/share.js +12 -24
- package/dist/src/commands/space/share.js.map +1 -1
- package/dist/src/commands/tunnel/index.d.ts +4 -4
- package/dist/src/commands/tunnel/index.d.ts.map +1 -1
- package/dist/src/commands/tunnel/index.js +2 -0
- package/dist/src/commands/tunnel/index.js.map +1 -1
- package/dist/src/commands/tunnel/list.d.ts +13 -0
- package/dist/src/commands/tunnel/list.d.ts.map +1 -1
- package/dist/src/commands/tunnel/list.js +5 -0
- package/dist/src/commands/tunnel/list.js.map +1 -1
- package/dist/src/components/SpaceTable.d.ts.map +1 -1
- package/dist/src/components/SpaceTable.js +2 -2
- package/dist/src/components/SpaceTable.js.map +1 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +15 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/util/index.d.ts +1 -8
- package/dist/src/util/index.d.ts.map +1 -1
- package/dist/src/util/index.js +1 -8
- package/dist/src/util/index.js.map +1 -1
- package/dist/src/util/provider/index.d.ts +1 -1
- package/dist/src/util/provider/index.d.ts.map +1 -1
- package/dist/src/util/provider/index.js +1 -1
- package/dist/src/util/provider/index.js.map +1 -1
- package/dist/src/util/provider/provider.d.ts +2 -1
- package/dist/src/util/provider/provider.d.ts.map +1 -1
- package/dist/src/util/provider/provider.js +3 -4
- package/dist/src/util/provider/provider.js.map +1 -1
- package/dist/src/util/publish/common.d.ts +2 -1
- package/dist/src/util/publish/common.d.ts.map +1 -1
- package/dist/src/util/publish/common.js +3 -4
- package/dist/src/util/publish/common.js.map +1 -1
- package/dist/src/util/publish/ipfs-upload.d.ts +0 -1
- package/dist/src/util/publish/ipfs-upload.d.ts.map +1 -1
- package/dist/src/util/publish/ipfs-upload.js +4 -4
- package/dist/src/util/publish/ipfs-upload.js.map +1 -1
- package/dist/src/util/publish/publish.d.ts +0 -1
- package/dist/src/util/publish/publish.d.ts.map +1 -1
- package/dist/src/util/publish/publish.js +6 -36
- package/dist/src/util/publish/publish.js.map +1 -1
- package/dist/src/util/tunnel/common.d.ts +2 -1
- package/dist/src/util/tunnel/common.d.ts.map +1 -1
- package/dist/src/util/tunnel/common.js +3 -4
- package/dist/src/util/tunnel/common.js.map +1 -1
- package/oclif.manifest.json +1606 -2481
- package/package.json +37 -37
- package/dist/src/commands/composer/base.d.ts +0 -18
- package/dist/src/commands/composer/base.d.ts.map +0 -1
- package/dist/src/commands/composer/base.js +0 -109
- package/dist/src/commands/composer/base.js.map +0 -1
- package/dist/src/commands/composer/import.d.ts +0 -30
- package/dist/src/commands/composer/import.d.ts.map +0 -1
- package/dist/src/commands/composer/import.js +0 -71
- package/dist/src/commands/composer/import.js.map +0 -1
- package/dist/src/commands/composer/query.d.ts.map +0 -1
- package/dist/src/commands/composer/query.js +0 -82
- package/dist/src/commands/composer/query.js.map +0 -1
- package/dist/src/commands/composer/upload.d.ts.map +0 -1
- package/dist/src/commands/composer/upload.js +0 -42
- package/dist/src/commands/composer/upload.js.map +0 -1
- package/dist/src/commands/function/trigger.d.ts.map +0 -1
- package/dist/src/commands/function/trigger.js.map +0 -1
- package/dist/src/errors.d.ts +0 -21
- package/dist/src/errors.d.ts.map +0 -1
- package/dist/src/errors.js +0 -49
- package/dist/src/errors.js.map +0 -1
- package/dist/src/timeouts.d.ts +0 -3
- package/dist/src/timeouts.d.ts.map +0 -1
- package/dist/src/timeouts.js +0 -10
- package/dist/src/timeouts.js.map +0 -1
- package/dist/src/util/agents.d.ts +0 -3
- package/dist/src/util/agents.d.ts.map +0 -1
- package/dist/src/util/agents.js +0 -47
- package/dist/src/util/agents.js.map +0 -1
- package/dist/src/util/credentials.d.ts +0 -9
- package/dist/src/util/credentials.d.ts.map +0 -1
- package/dist/src/util/credentials.js +0 -37
- package/dist/src/util/credentials.js.map +0 -1
- package/dist/src/util/devices.d.ts +0 -15
- package/dist/src/util/devices.d.ts.map +0 -1
- package/dist/src/util/devices.js +0 -45
- package/dist/src/util/devices.js.map +0 -1
- package/dist/src/util/invitations.d.ts +0 -19
- package/dist/src/util/invitations.d.ts.map +0 -1
- package/dist/src/util/invitations.js +0 -79
- package/dist/src/util/invitations.js.map +0 -1
- package/dist/src/util/json.d.ts +0 -2
- package/dist/src/util/json.d.ts.map +0 -1
- package/dist/src/util/json.js +0 -42
- package/dist/src/util/json.js.map +0 -1
- package/dist/src/util/json.test.d.ts +0 -2
- package/dist/src/util/json.test.d.ts.map +0 -1
- package/dist/src/util/json.test.js +0 -14
- package/dist/src/util/json.test.js.map +0 -1
- package/dist/src/util/keys.d.ts +0 -4
- package/dist/src/util/keys.d.ts.map +0 -1
- package/dist/src/util/keys.js +0 -12
- package/dist/src/util/keys.js.map +0 -1
- package/dist/src/util/spaces.d.ts +0 -29
- package/dist/src/util/spaces.d.ts.map +0 -1
- package/dist/src/util/spaces.js +0 -174
- package/dist/src/util/spaces.js.map +0 -1
- package/dist/src/util/testing.d.ts +0 -3
- package/dist/src/util/testing.d.ts.map +0 -1
- package/dist/src/util/testing.js +0 -28
- package/dist/src/util/testing.js.map +0 -1
- package/dist/src/util/tree.d.ts +0 -10
- package/dist/src/util/tree.d.ts.map +0 -1
- package/dist/src/util/tree.js +0 -54
- package/dist/src/util/tree.js.map +0 -1
- package/dist/src/util/tree.test.d.ts +0 -2
- package/dist/src/util/tree.test.d.ts.map +0 -1
- package/dist/src/util/tree.test.js +0 -47
- package/dist/src/util/tree.test.js.map +0 -1
package/bin/agent_entrypoint
CHANGED
package/dist/src/base.d.ts
CHANGED
|
@@ -1,133 +1,18 @@
|
|
|
1
|
-
import { Command
|
|
2
|
-
import {
|
|
3
|
-
import { Client, Config } from '@dxos/client';
|
|
4
|
-
import { type Space } from '@dxos/client/echo';
|
|
5
|
-
import { type S } from '@dxos/echo-schema';
|
|
6
|
-
import { type Observability } from '@dxos/observability';
|
|
1
|
+
import type { Command } from '@oclif/core';
|
|
2
|
+
import { AbstractBaseCommand, FriendlyError } from '@dxos/cli-base';
|
|
7
3
|
import { PublisherRpcPeer, SupervisorRpcPeer, TunnelRpcPeer } from './util';
|
|
8
|
-
export
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
*/
|
|
13
|
-
export declare const ARG_SPACE_KEYS: {
|
|
14
|
-
key: Interfaces.Arg<string | undefined, Record<string, unknown>>;
|
|
15
|
-
};
|
|
16
|
-
export declare const FLAG_SPACE_KEYS: {
|
|
17
|
-
key: Interfaces.OptionFlag<string[] | undefined, Interfaces.CustomOptions>;
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* Custom base command.
|
|
21
|
-
* https://oclif.io/docs/base_class#docsNav
|
|
22
|
-
* https://github.com/salesforcecli/sf-plugins-core/blob/main/src/sfCommand.ts
|
|
23
|
-
*/
|
|
24
|
-
export declare abstract class BaseCommand<T extends typeof Command = any> extends Command {
|
|
25
|
-
static enableJsonFlag: boolean;
|
|
26
|
-
static flags: {
|
|
27
|
-
json: Interfaces.BooleanFlag<boolean>;
|
|
28
|
-
'dry-run': Interfaces.BooleanFlag<boolean>;
|
|
29
|
-
verbose: Interfaces.BooleanFlag<boolean>;
|
|
30
|
-
profile: Interfaces.OptionFlag<string, Interfaces.CustomOptions>;
|
|
31
|
-
config: Interfaces.OptionFlag<string, Interfaces.CustomOptions>;
|
|
32
|
-
target: Interfaces.OptionFlag<string | undefined, Interfaces.CustomOptions>;
|
|
33
|
-
'no-agent': Interfaces.BooleanFlag<boolean>;
|
|
34
|
-
timeout: Interfaces.OptionFlag<number, Interfaces.CustomOptions>;
|
|
35
|
-
'no-wait': Interfaces.BooleanFlag<boolean>;
|
|
36
|
-
'json-log': Interfaces.BooleanFlag<boolean>;
|
|
37
|
-
'json-logfile': Interfaces.OptionFlag<string, Interfaces.CustomOptions>;
|
|
38
|
-
};
|
|
39
|
-
private _clientConfig?;
|
|
40
|
-
private _client?;
|
|
41
|
-
private _failing;
|
|
42
|
-
protected _startTime: Date;
|
|
43
|
-
protected _observability?: Observability;
|
|
44
|
-
protected flags: Flags<T>;
|
|
45
|
-
protected args: Args<T>;
|
|
46
|
-
constructor(argv: string[], config: OclifConfig);
|
|
47
|
-
get clientConfig(): Config;
|
|
48
|
-
get duration(): number;
|
|
49
|
-
done(): void;
|
|
50
|
-
/**
|
|
51
|
-
* Load the client config.
|
|
52
|
-
*/
|
|
53
|
-
init(): Promise<void>;
|
|
54
|
-
readStdin(): Promise<string>;
|
|
55
|
-
private _initObservability;
|
|
56
|
-
/**
|
|
57
|
-
* Load or create config file from defaults.
|
|
58
|
-
* @private
|
|
59
|
-
*/
|
|
60
|
-
private _loadConfigFromFile;
|
|
61
|
-
/**
|
|
62
|
-
* Use this method for user-facing messages.
|
|
63
|
-
* Use @dxos/logger for internal messages.
|
|
64
|
-
*/
|
|
65
|
-
log(message: string, ...args: any[]): void;
|
|
66
|
-
/**
|
|
67
|
-
* Use this method for user-facing warnings.
|
|
68
|
-
* Use @dxos/logger for internal messages.
|
|
69
|
-
*/
|
|
70
|
-
warn(err: string | Error): string | Error;
|
|
71
|
-
/**
|
|
72
|
-
* Use this method for user-facing errors.
|
|
73
|
-
* Use @dxos/logger for internal messages.
|
|
74
|
-
* NOTE: Full stack trace is displayed if `oclif.settings.debug = true` (see bin script).
|
|
75
|
-
* https://oclif.io/docs/error_handling
|
|
76
|
-
*/
|
|
77
|
-
catch(err: string | Error, options?: any): never;
|
|
78
|
-
/**
|
|
79
|
-
* Called after each command run.
|
|
80
|
-
*/
|
|
81
|
-
finally(): Promise<void>;
|
|
82
|
-
maybeStartDaemon(): Promise<void>;
|
|
83
|
-
/**
|
|
84
|
-
* Lazily create the client.
|
|
85
|
-
*/
|
|
86
|
-
getClient(): Promise<Client>;
|
|
87
|
-
/**
|
|
88
|
-
* Get spaces and optionally wait until ready.
|
|
89
|
-
*/
|
|
90
|
-
getSpaces(client: Client, { spaceKeys, includeHalo, wait, }?: {
|
|
91
|
-
spaceKeys?: string[];
|
|
92
|
-
includeHalo?: boolean;
|
|
93
|
-
wait?: boolean;
|
|
94
|
-
}): Promise<Space[]>;
|
|
95
|
-
/**
|
|
96
|
-
* Get or select space.
|
|
97
|
-
*/
|
|
98
|
-
getSpace(client: Client, key?: string, wait?: boolean): Promise<Space>;
|
|
99
|
-
/**
|
|
100
|
-
* Execute callback with the given space(s).
|
|
101
|
-
*/
|
|
102
|
-
execWithSpace<T>(callback: (props: {
|
|
103
|
-
client: Client;
|
|
104
|
-
space: Space;
|
|
105
|
-
}) => Promise<T | undefined>, options?: {
|
|
106
|
-
spaceKeys?: string[];
|
|
107
|
-
all?: boolean;
|
|
108
|
-
types?: S.Schema<any>[];
|
|
109
|
-
verbose?: boolean;
|
|
110
|
-
}): Promise<T[] | undefined>;
|
|
111
|
-
/**
|
|
112
|
-
* Convenience function to wrap command passing in client object.
|
|
113
|
-
*/
|
|
114
|
-
execWithClient<T>(callback: (client: Client) => Promise<T | undefined>, options?: {
|
|
115
|
-
halo?: boolean;
|
|
116
|
-
}): Promise<T | undefined>;
|
|
117
|
-
/**
|
|
118
|
-
* Hook for client initialization.
|
|
119
|
-
*/
|
|
120
|
-
protected onClientInit(client: Client): Promise<void>;
|
|
121
|
-
/**
|
|
122
|
-
* Convenience function to wrap starting the agent.
|
|
123
|
-
*/
|
|
124
|
-
execWithDaemon<T>(callback: (daemon: Daemon) => Promise<T | undefined>, system: boolean): Promise<T | undefined>;
|
|
4
|
+
export declare class PublisherConnectionError extends FriendlyError {
|
|
5
|
+
constructor();
|
|
6
|
+
}
|
|
7
|
+
export declare abstract class BaseCommand<T extends typeof Command = any> extends AbstractBaseCommand<T> {
|
|
125
8
|
/**
|
|
126
9
|
* Convenience function to wrap command passing in KUBE publisher.
|
|
127
10
|
*/
|
|
128
11
|
execWithPublisher<T>(callback: (rpc: PublisherRpcPeer) => Promise<T | undefined>): Promise<T | undefined>;
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated
|
|
14
|
+
*/
|
|
129
15
|
execWithTunneling<T>(callback: (rpc: TunnelRpcPeer) => Promise<T | undefined>): Promise<T | undefined>;
|
|
130
16
|
execWithSupervisor<T>(callback: (rpc: SupervisorRpcPeer) => Promise<T | undefined>): Promise<T | undefined>;
|
|
131
|
-
parseJson<T>(filename: string): T;
|
|
132
17
|
}
|
|
133
18
|
//# sourceMappingURL=base.d.ts.map
|
package/dist/src/base.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../src/base.ts"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../src/base.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,OAAO,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAGpE,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAE5E,qBAAa,wBAAyB,SAAQ,aAAa;;CAI1D;AAGD,8BAAsB,WAAW,CAAC,CAAC,SAAS,OAAO,OAAO,GAAG,GAAG,CAAE,SAAQ,mBAAmB,CAAC,CAAC,CAAC;IAC9F;;OAEG;IACG,iBAAiB,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,GAAG,EAAE,gBAAgB,KAAK,OAAO,CAAC,CAAC,GAAG,SAAS,CAAC,GAAG,OAAO,CAAC,CAAC,GAAG,SAAS,CAAC;IAkB/G;;OAEG;IACG,iBAAiB,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,GAAG,EAAE,aAAa,KAAK,OAAO,CAAC,CAAC,GAAG,SAAS,CAAC,GAAG,OAAO,CAAC,CAAC,GAAG,SAAS,CAAC;IAiBtG,kBAAkB,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,GAAG,EAAE,iBAAiB,KAAK,OAAO,CAAC,CAAC,GAAG,SAAS,CAAC,GAAG,OAAO,CAAC,CAAC,GAAG,SAAS,CAAC;CAgBlH"}
|