fix: properly handle permissions on macos

This commit is contained in:
zhom
2025-06-08 20:27:17 +04:00
parent a5b9afafcb
commit 1acd4781b5
14 changed files with 772 additions and 36 deletions
+14
View File
@@ -40,3 +40,17 @@ export interface AppVersionInfo {
version: string;
is_nightly: boolean;
}
export type PermissionType = "microphone" | "camera" | "location";
export type PermissionStatus =
| "granted"
| "denied"
| "not_determined"
| "restricted";
export interface PermissionInfo {
permission_type: PermissionType;
status: PermissionStatus;
description: string;
}