Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
Update system diagnostics and remove unused icon imports
Richie McIlroy728594bd4e95
diff --git a/apps/desktop/src/utils/tauri.ts b/apps/desktop/src/utils/tauri.tsindex 18ba0fbe6..b41da5c46 100644--- a/apps/desktop/src/utils/tauri.ts+++ b/apps/desktop/src/utils/tauri.ts@@ -364,6 +364,7 @@ uploadProgressEvent: "upload-progress-event"/** user-defined types **/+export type AllGpusInfo = { gpus: GpuInfoDiag[]; primaryGpuIndex: number | null; isMultiGpuSystem: boolean; hasDiscreteGpu: boolean }export 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 }export type AnnotationType = "arrow" | "circle" | "rectangle" | "text" | "mask"export type AppTheme = "system" | "light" | "dark"@@ -431,6 +432,7 @@ quality: number | null;* Whether to prioritize speed over quality (default: false)*/fast: boolean | null }+export type GpuInfoDiag = { vendor: string; description: string; dedicatedVideoMemoryMb: number; adapterIndex: number; isSoftwareAdapter: boolean; isBasicRenderDriver: boolean; supportsHardwareEncoding: boolean }export type HapticPattern = "alignment" | "levelChange" | "generic"export type HapticPerformanceTime = "default" | "now" | "drawCompleted"export type Hotkey = { code: string; meta: boolean; ctrl: boolean; alt: boolean; shift: boolean }@@ -443,7 +445,6 @@ export type JsonValue<T> = [T]export type LogicalBounds = { position: LogicalPosition; size: LogicalSize }export type LogicalPosition = { x: number; y: number }export type LogicalSize = { width: number; height: number }-export type MacOSVersionInfo = { displayName: string }export type MainWindowRecordingStartBehaviour = "close" | "minimise"export type MaskKeyframes = { position?: MaskVectorKeyframe[]; size?: MaskVectorKeyframe[]; intensity?: MaskScalarKeyframe[] }export type MaskKind = "sensitive" | "highlight"@@ -486,6 +487,7 @@ export type RecordingStatus = "pending" | "recording"export type RecordingStopped = nullexport type RecordingTargetMode = "display" | "window" | "area"export type RenderFrameEvent = { frame_number: number; fps: number; resolution_base: XY<number> }+export type RenderingStatus = { isUsingSoftwareRendering: boolean; isUsingBasicRenderDriver: boolean; hardwareEncodingAvailable: boolean; warningMessage: string | null }export type RequestOpenRecordingPicker = { target_mode: RecordingTargetMode | null }export type RequestOpenSettings = { page: string }export type RequestScreenCapturePrewarm = { force?: boolean }@@ -506,7 +508,7 @@ export type StartRecordingInputs = { capture_target: ScreenCaptureTarget; capturexport type StereoMode = "stereo" | "monoL" | "monoR"export type StudioRecordingMeta = { segment: SingleSegment } | { inner: MultipleSegments }export type StudioRecordingStatus = { status: "InProgress" } | { status: "NeedsRemux" } | { status: "Failed"; error: string } | { status: "Complete" }-export type SystemDiagnostics = { macosVersion: MacOSVersionInfo | null; availableEncoders: string[]; screenCaptureSupported: boolean }+export type SystemDiagnostics = { windowsVersion: WindowsVersionInfo | null; gpuInfo: GpuInfoDiag | null; allGpus: AllGpusInfo | null; renderingStatus: RenderingStatus; availableEncoders: string[]; graphicsCaptureSupported: boolean; d3D11VideoProcessorAvailable: boolean }export type TargetUnderCursor = { display_id: DisplayId | null; window: WindowUnderCursor | null }export 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 }export type TimelineConfiguration = { segments: TimelineSegment[]; zoomSegments: ZoomSegment[]; sceneSegments?: SceneSegment[]; maskSegments?: MaskSegment[]; textSegments?: TextSegment[] }@@ -523,6 +525,7 @@ export type VideoUploadInfo = { id: string; link: string; config: S3UploadMeta }export type WindowExclusion = { bundleIdentifier?: string | null; ownerName?: string | null; windowTitle?: string | null }export type WindowId = stringexport type WindowUnderCursor = { id: WindowId; app_name: string; bounds: LogicalBounds }+export type WindowsVersionInfo = { major: number; minor: number; build: number; displayName: string; meetsRequirements: boolean; isWindows11: boolean }export type XY<T> = { x: T; y: T }export type ZoomMode = "auto" | { manual: { x: number; y: number } }export type ZoomSegment = { start: number; end: number; amount: number; mode: ZoomMode }diff --git a/packages/ui-solid/src/auto-imports.d.ts b/packages/ui-solid/src/auto-imports.d.tsindex b44723b44..ad6da5253 100644--- a/packages/ui-solid/src/auto-imports.d.ts+++ b/packages/ui-solid/src/auto-imports.d.ts@@ -6,10 +6,8 @@// biome-ignore lint: disableexport {}declare global {- const IconCapArrowLeft: typeof import('~icons/cap/arrow-left.jsx')['default']const IconCapArrows: typeof import('~icons/cap/arrows.jsx')['default']const IconCapAudioOn: typeof import('~icons/cap/audio-on.jsx')['default']- const IconCapAuto: typeof import('~icons/cap/auto.jsx')['default']const IconCapBgBlur: typeof import('~icons/cap/bg-blur.jsx')['default']const IconCapCamera: typeof import('~icons/cap/camera.jsx')['default']const IconCapCaptions: typeof import('~icons/cap/captions.jsx')['default']@@ -27,20 +25,16 @@ declare global {const IconCapCursorWindows: typeof import('~icons/cap/cursor-windows.jsx')['default']const IconCapEnlarge: typeof import('~icons/cap/enlarge.jsx')['default']const IconCapFile: typeof import('~icons/cap/file.jsx')['default']- const IconCapFilm: typeof import('~icons/cap/film.jsx')['default']const IconCapFilmCut: typeof import('~icons/cap/film-cut.jsx')['default']const IconCapGauge: typeof import('~icons/cap/gauge.jsx')['default']const IconCapGear: typeof import('~icons/cap/gear.jsx')['default']const IconCapHotkeys: typeof import('~icons/cap/hotkeys.jsx')['default']const IconCapImage: typeof import('~icons/cap/image.jsx')['default']- const IconCapImageFilled: typeof import('~icons/cap/image-filled.jsx')['default']const IconCapInfo: typeof import('~icons/cap/info.jsx')['default']const IconCapInstant: typeof import('~icons/cap/instant.jsx')['default']const IconCapLayout: typeof import('~icons/cap/layout.jsx')['default']const IconCapLink: typeof import('~icons/cap/link.jsx')['default']const IconCapLogo: typeof import('~icons/cap/logo.jsx')['default']- const IconCapLogoFull: typeof import('~icons/cap/logo-full.jsx')['default']- const IconCapLogoFullDark: typeof import('~icons/cap/logo-full-dark.jsx')['default']const IconCapMessageBubble: typeof import('~icons/cap/message-bubble.jsx')['default']const IconCapMicrophone: typeof import('~icons/cap/microphone.jsx')['default']const IconCapMonitor: typeof import('~icons/cap/monitor.jsx')['default']@@ -56,7 +50,6 @@ declare global {const IconCapRedo: typeof import('~icons/cap/redo.jsx')['default']const IconCapRestart: typeof import('~icons/cap/restart.jsx')['default']const IconCapScissors: typeof import('~icons/cap/scissors.jsx')['default']- const IconCapScreen: typeof import('~icons/cap/screen.jsx')['default']const IconCapScreenshot: typeof import('~icons/cap/screenshot.jsx')['default']const IconCapSettings: typeof import('~icons/cap/settings.jsx')['default']const IconCapShadow: typeof import('~icons/cap/shadow.jsx')['default']@@ -73,11 +66,9 @@ declare global {const IconLucideArrowLeft: typeof import('~icons/lucide/arrow-left.jsx')['default']const IconLucideBell: typeof import('~icons/lucide/bell.jsx')['default']const IconLucideBoxSelect: typeof import('~icons/lucide/box-select.jsx')['default']- const IconLucideBug: typeof import('~icons/lucide/bug.jsx')['default']const IconLucideCheck: typeof import('~icons/lucide/check.jsx')['default']const IconLucideClapperboard: typeof import('~icons/lucide/clapperboard.jsx')['default']const IconLucideClock: typeof import('~icons/lucide/clock.jsx')['default']- const IconLucideDatabase: typeof import('~icons/lucide/database.jsx')['default']const IconLucideEdit: typeof import('~icons/lucide/edit.jsx')['default']const IconLucideEyeOff: typeof import('~icons/lucide/eye-off.jsx')['default']const IconLucideFastForward: typeof import('~icons/lucide/fast-forward.jsx')['default']@@ -88,7 +79,6 @@ declare global {const IconLucideImage: typeof import('~icons/lucide/image.jsx')['default']const IconLucideInfo: typeof import('~icons/lucide/info.jsx')['default']const IconLucideLayout: typeof import('~icons/lucide/layout.jsx')['default']- const IconLucideLoader2: typeof import('~icons/lucide/loader2.jsx')['default']const IconLucideLoaderCircle: typeof import('~icons/lucide/loader-circle.jsx')['default']const IconLucideMaximize: typeof import('~icons/lucide/maximize.jsx')['default']const IconLucideMaximize2: typeof import('~icons/lucide/maximize2.jsx')['default']@@ -99,11 +89,9 @@ declare global {const IconLucideRatio: typeof import('~icons/lucide/ratio.jsx')['default']const IconLucideRectangleHorizontal: typeof import('~icons/lucide/rectangle-horizontal.jsx')['default']const IconLucideRotateCcw: typeof import('~icons/lucide/rotate-ccw.jsx')['default']- const IconLucideSave: typeof import('~icons/lucide/save.jsx')['default']const IconLucideSearch: typeof import('~icons/lucide/search.jsx')['default']const IconLucideSparkles: typeof import('~icons/lucide/sparkles.jsx')['default']const IconLucideSquarePlay: typeof import('~icons/lucide/square-play.jsx')['default']- const IconLucideTimer: typeof import('~icons/lucide/timer.jsx')['default']const IconLucideType: typeof import('~icons/lucide/type.jsx')['default']const IconLucideUnplug: typeof import('~icons/lucide/unplug.jsx')['default']const IconLucideVideo: typeof import('~icons/lucide/video.jsx')['default']