- 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>
44 lines
1.0 KiB
TypeScript
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;
|
|
}
|