Skip to content

Commit fa74c1d

Browse files
committed
refactor(platform-apple): export only the simctl settings entry point from its subpath
1 parent 6818618 commit fa74c1d

2 files changed

Lines changed: 3 additions & 8 deletions

File tree

‎packages/platform-apple/src/core/simctl-settings.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ import { AppError, sessionAppRequiredDetails } from '@agent-device/kernel/errors
1010
import { requireLocationCoordinates } from '@agent-device/kernel/location-coordinates';
1111

1212
/** The settings a simulator changes through `simctl` alone, whichever host runs that `simctl`. */
13-
export type SimctlSetting = 'appearance' | 'permission' | 'location';
13+
type SimctlSetting = 'appearance' | 'permission' | 'location';
1414

1515
/**
1616
* Runs one `simctl` argv on the simulator. It resolves with the output when `simctl` exits 0 and
1717
* rejects with a `COMMAND_FAILED` AppError whose `details.stderr` is the `simctl` stderr otherwise.
1818
*/
19-
export type SimctlSettingRunner = (
19+
type SimctlSettingRunner = (
2020
args: string[],
2121
) => Promise<{ readonly stdout: string; readonly stderr: string }>;
2222

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1 @@
1-
export {
2-
applySimctlSetting,
3-
type SimctlSetting,
4-
type SimctlSettingRequest,
5-
type SimctlSettingRunner,
6-
} from './core/simctl-settings.ts';
1+
export { applySimctlSetting } from './core/simctl-settings.ts';

0 commit comments

Comments
 (0)