@@ -375,7 +375,6 @@ uploadProgressEvent: "upload-progress-event"
375375
376376/** user-defined types **/
377377
378- export type AllGpusInfo = { gpus : GpuInfoDiag [ ] ; primaryGpuIndex : number | null ; isMultiGpuSystem : boolean ; hasDiscreteGpu : boolean }
379378export 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 }
380379export type AnnotationType = "arrow" | "circle" | "rectangle" | "text" | "mask"
381380export type AppTheme = "system" | "light" | "dark"
@@ -445,7 +444,6 @@ quality: number | null;
445444 * Whether to prioritize speed over quality (default: false)
446445 */
447446fast : boolean | null }
448- export type GpuInfoDiag = { vendor : string ; description : string ; dedicatedVideoMemoryMb : number ; adapterIndex : number ; isSoftwareAdapter : boolean ; isBasicRenderDriver : boolean ; supportsHardwareEncoding : boolean }
449447export type HapticPattern = "alignment" | "levelChange" | "generic"
450448export type HapticPerformanceTime = "default" | "now" | "drawCompleted"
451449export type Hotkey = { code : string ; meta : boolean ; ctrl : boolean ; alt : boolean ; shift : boolean }
@@ -458,6 +456,7 @@ export type JsonValue<T> = [T]
458456export type LogicalBounds = { position : LogicalPosition ; size : LogicalSize }
459457export type LogicalPosition = { x : number ; y : number }
460458export type LogicalSize = { width : number ; height : number }
459+ export type MacOSVersionInfo = { displayName : string }
461460export type MainWindowRecordingStartBehaviour = "close" | "minimise"
462461export type MaskKeyframes = { position ?: MaskVectorKeyframe [ ] ; size ?: MaskVectorKeyframe [ ] ; intensity ?: MaskScalarKeyframe [ ] }
463462export type MaskKind = "sensitive" | "highlight"
@@ -500,7 +499,6 @@ export type RecordingStatus = "pending" | "recording"
500499export type RecordingStopped = null
501500export type RecordingTargetMode = "display" | "window" | "area"
502501export type RenderFrameEvent = { frame_number : number ; fps : number ; resolution_base : XY < number > }
503- export type RenderingStatus = { isUsingSoftwareRendering : boolean ; isUsingBasicRenderDriver : boolean ; hardwareEncodingAvailable : boolean ; warningMessage : string | null }
504502export type RequestOpenRecordingPicker = { target_mode : RecordingTargetMode | null }
505503export type RequestOpenSettings = { page : string }
506504export type RequestScreenCapturePrewarm = { force ?: boolean }
@@ -521,7 +519,7 @@ export type StartRecordingInputs = { capture_target: ScreenCaptureTarget; captur
521519export type StereoMode = "stereo" | "monoL" | "monoR"
522520export type StudioRecordingMeta = { segment : SingleSegment } | { inner : MultipleSegments }
523521export type StudioRecordingStatus = { status : "InProgress" } | { status : "NeedsRemux" } | { status : "Failed" ; error : string } | { status : "Complete" }
524- export type SystemDiagnostics = { windowsVersion : WindowsVersionInfo | null ; gpuInfo : GpuInfoDiag | null ; allGpus : AllGpusInfo | null ; renderingStatus : RenderingStatus ; availableEncoders : string [ ] ; graphicsCaptureSupported : boolean ; d3D11VideoProcessorAvailable : boolean }
522+ export type SystemDiagnostics = { macosVersion : MacOSVersionInfo | null ; availableEncoders : string [ ] ; screenCaptureSupported : boolean }
525523export type TargetUnderCursor = { display_id : DisplayId | null ; window : WindowUnderCursor | null }
526524export 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 }
527525export type TimelineConfiguration = { segments : TimelineSegment [ ] ; zoomSegments : ZoomSegment [ ] ; sceneSegments ?: SceneSegment [ ] ; maskSegments ?: MaskSegment [ ] ; textSegments ?: TextSegment [ ] }
@@ -538,7 +536,6 @@ export type VideoUploadInfo = { id: string; link: string; config: S3UploadMeta }
538536export type WindowExclusion = { bundleIdentifier ?: string | null ; ownerName ?: string | null ; windowTitle ?: string | null }
539537export type WindowId = string
540538export type WindowUnderCursor = { id : WindowId ; app_name : string ; bounds : LogicalBounds }
541- export type WindowsVersionInfo = { major : number ; minor : number ; build : number ; displayName : string ; meetsRequirements : boolean ; isWindows11 : boolean }
542539export type XY < T > = { x : T ; y : T }
543540export type ZoomMode = "auto" | { manual : { x : number ; y : number } }
544541export type ZoomSegment = { start : number ; end : number ; amount : number ; mode : ZoomMode }
0 commit comments