guardia-messenger/node_modules/expo-modules-core/src/PermissionsInterface.ts
DESKTOP-TKLFCPRython f29f525c77 refactor: 101.79.17.164 → zioinfo.co.kr 전체 도메인 변환 + Manager UI 배포
- 37개 파일 IP → zioinfo.co.kr 치환 (소스/매뉴얼/설정/하네스)
- Manager DrConsole/NetworkConsole/CsapConsole 빌드 + /var/www/manager/ 배포
- 테스트: Manager HTTP 200, ITSM 신규 API 7개 전체 200

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-31 10:09:17 +09:00

44 lines
1.0 KiB
TypeScript

export enum PermissionStatus {
/**
* User has granted the permission.
*/
GRANTED = 'granted',
/**
* User hasn't granted or denied the permission yet.
*/
UNDETERMINED = 'undetermined',
/**
* User has denied the permission.
*/
DENIED = 'denied',
}
/**
* Permission expiration time. Currently, all permissions are granted permanently.
*/
export type PermissionExpiration = 'never' | number;
/**
* An object obtained by permissions get and request functions.
*/
export interface PermissionResponse {
/**
* Determines the status of the permission.
*/
status: PermissionStatus;
/**
* Determines time when the permission expires.
*/
expires: PermissionExpiration;
/**
* A convenience boolean that indicates if the permission is granted.
*/
granted: boolean;
/**
* Indicates if user can be asked again for specific permission.
* If not, one should be directed to the Settings app
* in order to enable/disable the permission.
*/
canAskAgain: boolean;
}