Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions packages/contracts/src/fold-runtime.ts
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Loading