@@ -358,7 +358,6 @@ uploadProgressEvent: "upload-progress-event"
358358
359359/** user-defined types **/
360360
361- export type AllGpusInfo = { gpus : GpuInfoDiag [ ] ; primaryGpuIndex : number | null ; isMultiGpuSystem : boolean ; hasDiscreteGpu : boolean }
362361export type Annotation = { id : string ; type : AnnotationType ; x : number ; y : number ; width : number ; height : number ; strokeColor : string ; strokeWidth : number ; fillColor : string ; opacity : number ; rotation : number ; text : string | null ; maskType ?: MaskType | null ; maskLevel ?: number | null }
363362export type AnnotationType = "arrow" | "circle" | "rectangle" | "text" | "mask"
364363export type AppTheme = "system" | "light" | "dark"
@@ -424,7 +423,6 @@ quality: number | null;
424423 * Whether to prioritize speed over quality (default: false)
425424 */
426425fast : boolean | null }
427- export type GpuInfoDiag = { vendor : string ; description : string ; dedicatedVideoMemoryMb : number ; adapterIndex : number ; isSoftwareAdapter : boolean ; isBasicRenderDriver : boolean ; supportsHardwareEncoding : boolean }
428426export type HapticPattern = "alignment" | "levelChange" | "generic"
429427export type HapticPerformanceTime = "default" | "now" | "drawCompleted"
430428export type Hotkey = { code : string ; meta : boolean ; ctrl : boolean ; alt : boolean ; shift : boolean }
@@ -437,6 +435,7 @@ export type JsonValue<T> = [T]
437435export type LogicalBounds = { position : LogicalPosition ; size : LogicalSize }
438436export type LogicalPosition = { x : number ; y : number }
439437export type LogicalSize = { width : number ; height : number }
438+ export type MacOSVersionInfo = { displayName : string }
440439export type MainWindowRecordingStartBehaviour = "close" | "minimise"
441440export type MaskKeyframes = { position ?: MaskVectorKeyframe [ ] ; size ?: MaskVectorKeyframe [ ] ; intensity ?: MaskScalarKeyframe [ ] }
442441export type MaskKind = "sensitive" | "highlight"
@@ -479,7 +478,6 @@ export type RecordingStatus = "pending" | "recording"
479478export type RecordingStopped = null
480479export type RecordingTargetMode = "display" | "window" | "area"
481480export type RenderFrameEvent = { frame_number : number ; fps : number ; resolution_base : XY < number > }
482- export type RenderingStatus = { isUsingSoftwareRendering : boolean ; isUsingBasicRenderDriver : boolean ; hardwareEncodingAvailable : boolean ; warningMessage : string | null }
483481export type RequestOpenRecordingPicker = { target_mode : RecordingTargetMode | null }
484482export type RequestOpenSettings = { page : string }
485483export type RequestScreenCapturePrewarm = { force ?: boolean }
@@ -500,7 +498,7 @@ export type StartRecordingInputs = { capture_target: ScreenCaptureTarget; captur
500498export type StereoMode = "stereo" | "monoL" | "monoR"
501499export type StudioRecordingMeta = { segment : SingleSegment } | { inner : MultipleSegments }
502500export type StudioRecordingStatus = { status : "InProgress" } | { status : "NeedsRemux" } | { status : "Failed" ; error : string } | { status : "Complete" }
503- export type SystemDiagnostics = { windowsVersion : WindowsVersionInfo | null ; gpuInfo : GpuInfoDiag | null ; allGpus : AllGpusInfo | null ; renderingStatus : RenderingStatus ; availableEncoders : string [ ] ; graphicsCaptureSupported : boolean ; d3D11VideoProcessorAvailable : boolean }
501+ export type SystemDiagnostics = { macosVersion : MacOSVersionInfo | null ; availableEncoders : string [ ] ; screenCaptureSupported : boolean }
504502export type TargetUnderCursor = { display_id : DisplayId | null ; window : WindowUnderCursor | null }
505503export type TextSegment = { start : number ; end : number ; enabled ?: boolean ; content ?: string ; center ?: XY < number > ; size ?: XY < number > ; fontFamily ?: string ; fontSize ?: number ; fontWeight ?: number ; italic ?: boolean ; color ?: string ; fadeDuration ?: number }
506504export type TimelineConfiguration = { segments : TimelineSegment [ ] ; zoomSegments : ZoomSegment [ ] ; sceneSegments ?: SceneSegment [ ] ; maskSegments ?: MaskSegment [ ] ; textSegments ?: TextSegment [ ] }
@@ -517,7 +515,6 @@ export type VideoUploadInfo = { id: string; link: string; config: S3UploadMeta }
517515export type WindowExclusion = { bundleIdentifier ?: string | null ; ownerName ?: string | null ; windowTitle ?: string | null }
518516export type WindowId = string
519517export type WindowUnderCursor = { id : WindowId ; app_name : string ; bounds : LogicalBounds }
520- export type WindowsVersionInfo = { major : number ; minor : number ; build : number ; displayName : string ; meetsRequirements : boolean ; isWindows11 : boolean }
521518export type XY < T > = { x : T ; y : T }
522519export type ZoomMode = "auto" | { manual : { x : number ; y : number } }
523520export type ZoomSegment = { start : number ; end : number ; amount : number ; mode : ZoomMode }
0 commit comments