Skip to content

Commit 95a169e

Browse files
committed
fix(contracts): drop the dead preview recording frame schema
Second adversarial pass caught my restore being too broad. #9129 deleted exactly one symbol here, `DesktopPreviewRecordingFrameSchema`, and it has no consumers. I restored the whole surrounding block on the strength of the neighbouring `DesktopPreviewRecordingSource` schema, which upstream never touched and which apps/desktop does use. The `DesktopPreviewRecordingFrame` interface stays: it is live in the preload, the pip preload, and the preview Manager. Only the unused codec goes, and with it a piece of dead public API, since contracts re-exports ./ipc.ts wholesale.
1 parent 7f1b416 commit 95a169e

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

packages/contracts/src/ipc.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -693,15 +693,6 @@ export interface DesktopPreviewRecordingFrame {
693693
receivedAt: string;
694694
}
695695

696-
export const DesktopPreviewRecordingFrameSchema: Schema.Codec<DesktopPreviewRecordingFrame> =
697-
Schema.Struct({
698-
tabId: DesktopPreviewTabIdSchema,
699-
data: Schema.String,
700-
width: Schema.Number,
701-
height: Schema.Number,
702-
receivedAt: Schema.String,
703-
});
704-
705696
export interface DesktopPreviewRecordingSource {
706697
sourceId: string;
707698
width: number;

0 commit comments

Comments
 (0)