Skip to content

Commit

Permalink
chore: add UI_REQUEST (#354)
Browse files Browse the repository at this point in the history
  • Loading branch information
ByteZhang1024 authored Aug 5, 2024
1 parent 7457c2a commit ea6992d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/core/src/events/ui-request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ export const UI_REQUEST = {
CLOSE_UI_WINDOW: 'ui-close_window',

BLUETOOTH_PERMISSION: 'ui-bluetooth_permission',
BLUETOOTH_CHARACTERISTIC_NOTIFY_CHANGE_FAILURE:
'ui-bluetooth_characteristic_notify_change_failure',
LOCATION_PERMISSION: 'ui-location_permission',
LOCATION_SERVICE_PERMISSION: 'ui-location_service_permission',

Expand All @@ -30,6 +32,7 @@ export interface UiRequestWithoutPayload {
type:
| typeof UI_REQUEST.CLOSE_UI_WINDOW
| typeof UI_REQUEST.BLUETOOTH_PERMISSION
| typeof UI_REQUEST.BLUETOOTH_CHARACTERISTIC_NOTIFY_CHANGE_FAILURE
| typeof UI_REQUEST.LOCATION_PERMISSION
| typeof UI_REQUEST.LOCATION_SERVICE_PERMISSION;
payload?: typeof undefined;
Expand Down

0 comments on commit ea6992d

Please sign in to comment.