From 7b3fcc3c4eb5d37d9395eae3c277c9392765793d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Pierzcha=C5=82a?= Date: Tue, 29 Sep 2026 12:42:41 +0200 Subject: [PATCH] refactor(contracts): drop unused FOLD_SCREEN_COORDINATE_SPACE mirror from fold-runtime --- packages/contracts/src/fold-runtime.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/packages/contracts/src/fold-runtime.ts b/packages/contracts/src/fold-runtime.ts index 84598b127b..cce6b5ec19 100644 --- a/packages/contracts/src/fold-runtime.ts +++ b/packages/contracts/src/fold-runtime.ts @@ -1,14 +1,6 @@ import type { FoldPose, FoldScreenCoordinateSpace, SetFoldPoseInput } from './device-rotation.ts'; import type { RuntimeOperationFact } from './platform-runtime.ts'; -/** - * Mirrors `device-rotation.ts`'s `FOLD_SCREEN_COORDINATE_SPACE` (the single source of truth) as a - * literal rather than a re-export, so importing this published subpath does not also eagerly load - * `device-rotation.ts`. The `FoldScreenCoordinateSpace` type import above still makes any drift - * between the two a compile error. - */ -export const FOLD_SCREEN_COORDINATE_SPACE: FoldScreenCoordinateSpace = 'native-panel'; - /** * The panel the device lights after the pose settled, in that panel's own native points: its pixel * size divided by its point scale, never rotated. `coordinateSpace` is always