Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
chore(desktop): regenerate tauri bindings for new blur types and command
Richie McIlroy32d235dcaa19
diff --git a/apps/desktop/src/utils/tauri.ts b/apps/desktop/src/utils/tauri.tsindex ee42935f0..c1f1153e3 100644--- a/apps/desktop/src/utils/tauri.ts+++ b/apps/desktop/src/utils/tauri.ts@@ -289,6 +289,9 @@ async ignoreCameraWindowPosition(durationMs: number) : Promise<null> {async awaitCameraPreviewReady() : Promise<boolean> {return await TAURI_INVOKE("await_camera_preview_ready");},+async destroyCameraWindow() : Promise<null> {+ return await TAURI_INVOKE("destroy_camera_window");+},async refreshCameraFeed() : Promise<null> {return await TAURI_INVOKE("refresh_camera_feed");},@@ -434,15 +437,17 @@ export type AudioInputLevelChange = numberexport type AudioMeta = { path: string; start_time?: number | null; device_id?: string | null }export type AuthSecret = { api_key: string } | { token: string; expires: number }export type AuthStore = { secret: AuthSecret; user_id: string | null; plan: Plan | null; organizations?: Organization[] }+export type BackgroundBlurConfig = { mode: BackgroundBlurMode }+export type BackgroundBlurMode = "off" | "light" | "heavy"export type BackgroundConfiguration = { source: BackgroundSource; blur: number; padding: number; rounding: number; roundingType: CornerStyle; inset: number; crop: Crop | null; shadow: number; advancedShadow: ShadowConfiguration | null; border: BorderConfiguration | null }export type BackgroundSource = { type: "wallpaper"; path: string | null } | { type: "image"; path: string | null } | { type: "color"; value: [number, number, number]; alpha?: number } | { type: "gradient"; from: [number, number, number]; to: [number, number, number]; angle?: number; noise_intensity?: number | null; noise_scale?: number | null; animated?: boolean | null; animation_speed?: number | null }export type BorderConfiguration = { enabled: boolean; width: number; color: [number, number, number]; opacity: number }-export type Camera = { hide: boolean; mirror: boolean; position: CameraPosition; size: number; zoomSize: number | null; rounding: number; shadow: number; advancedShadow: ShadowConfiguration | null; shape: CameraShape; roundingType: CornerStyle; scaleDuringZoom?: number }+export type Camera = { hide: boolean; mirror: boolean; position: CameraPosition; size: number; zoomSize: number | null; rounding: number; shadow: number; advancedShadow: ShadowConfiguration | null; shape: CameraShape; roundingType: CornerStyle; scaleDuringZoom?: number; backgroundBlur?: BackgroundBlurConfig }export type CameraFormatInfo = { width: number; height: number; frameRate: number }export type CameraInfo = { device_id: string; model_id: ModelIDType | null; display_name: string }export type CameraPosition = { x: CameraXPosition; y: CameraYPosition }export type CameraPreviewShape = "round" | "square" | "full"-export type CameraPreviewState = { size: number; shape: CameraPreviewShape; mirrored: boolean }+export type CameraPreviewState = { size: number; shape: CameraPreviewShape; mirrored: boolean; background_blur?: BackgroundBlurMode }export type CameraShape = "square" | "source"export type CameraWithFormats = { deviceId: string; displayName: string; modelId: string | null; formats: CameraFormatInfo[]; bestFormat: CameraFormatInfo | null }export type CameraXPosition = "left" | "center" | "right"