-
-
Notifications
You must be signed in to change notification settings - Fork 920
Expand file tree
/
Copy pathwaveconfigenv.ts
More file actions
27 lines (25 loc) · 1.13 KB
/
waveconfigenv.ts
File metadata and controls
27 lines (25 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright 2026, Command Line Inc.
// SPDX-License-Identifier: Apache-2.0
import type { BlockMetaKeyAtomFnType, WaveEnv, WaveEnvSubset } from "@/app/waveenv/waveenv";
export type WaveConfigEnv = WaveEnvSubset<{
electron: {
getConfigDir: WaveEnv["electron"]["getConfigDir"];
getPlatform: WaveEnv["electron"]["getPlatform"];
};
rpc: {
FileInfoCommand: WaveEnv["rpc"]["FileInfoCommand"];
FileReadCommand: WaveEnv["rpc"]["FileReadCommand"];
FileWriteCommand: WaveEnv["rpc"]["FileWriteCommand"];
SetMetaCommand: WaveEnv["rpc"]["SetMetaCommand"];
GetSecretsLinuxStorageBackendCommand: WaveEnv["rpc"]["GetSecretsLinuxStorageBackendCommand"];
GetSecretsNamesCommand: WaveEnv["rpc"]["GetSecretsNamesCommand"];
GetSecretsCommand: WaveEnv["rpc"]["GetSecretsCommand"];
SetSecretsCommand: WaveEnv["rpc"]["SetSecretsCommand"];
RecordTEventCommand: WaveEnv["rpc"]["RecordTEventCommand"];
};
atoms: {
fullConfigAtom: WaveEnv["atoms"]["fullConfigAtom"];
};
getBlockMetaKeyAtom: BlockMetaKeyAtomFnType<"file">;
isWindows: WaveEnv["isWindows"];
}>;