Files
inji-wallet/machines/faceScanner.typegen.ts
Harsh Vardhan 2adef1a78b feat(INJI-343): Text changes & other UI enhancements (#854)
* feat(INJI-343): update error msg texts

* fix(INJI-343): fix display message on receiveVCScreen

* fix(INJI-343): add custom button option in MessageOverlay

* feat(INJI-343): add customHeight prop in MessageOverlay for long text

Co-authored-by: Kiruthika Jeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>

* feat(INJI-343): update error msg texts

Conflicts:
      locales/ara.json
      locales/fil.json
      locales/hin.json
      locales/kan.json
      locales/spa.json
      locales/tam.json

* feat(INJI-343): remove duplicate button and make custm btn txt configurable

* refactor(INJI-343): rename MessageOverlay customButton prop

Co-authored-by: Kiruthika Jeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>

---------

Co-authored-by: Kiruthika Jeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
2023-09-25 12:42:40 +05:30

72 lines
2.3 KiB
TypeScript

// This file was automatically generated. Edits will be overwritten
export interface Typegen0 {
'@@xstate/typegen': true;
internalEvents: {
'done.invoke.faceScanner.capturing:invocation[0]': {
type: 'done.invoke.faceScanner.capturing:invocation[0]';
data: unknown;
__tip: 'See the XState TS docs to learn how to strongly type this.';
};
'done.invoke.faceScanner.verifying:invocation[0]': {
type: 'done.invoke.faceScanner.verifying:invocation[0]';
data: unknown;
__tip: 'See the XState TS docs to learn how to strongly type this.';
};
'error.platform.faceScanner.capturing:invocation[0]': {
type: 'error.platform.faceScanner.capturing:invocation[0]';
data: unknown;
};
'xstate.init': {type: 'xstate.init'};
};
invokeSrcNameMap: {
captureImage: 'done.invoke.faceScanner.capturing:invocation[0]';
checkPermission: 'done.invoke.faceScanner.init.checkingPermission:invocation[0]';
requestPermission: 'done.invoke.faceScanner.init.requestingPermission:invocation[0]';
verifyImage: 'done.invoke.faceScanner.verifying:invocation[0]';
};
missingImplementations: {
actions: never;
delays: never;
guards: never;
services: never;
};
eventsCausingActions: {
flipWhichCamera: 'FLIP_CAMERA';
openSettings: 'OPEN_SETTINGS';
setCameraRef: 'READY';
setCaptureError: 'error.platform.faceScanner.capturing:invocation[0]';
setCapturedImage: 'done.invoke.faceScanner.capturing:invocation[0]';
};
eventsCausingDelays: {};
eventsCausingGuards: {
canRequestPermission: 'DENIED';
doesFaceMatch: 'done.invoke.faceScanner.verifying:invocation[0]';
};
eventsCausingServices: {
captureImage: 'CAPTURE';
checkPermission: 'APP_FOCUSED' | 'xstate.init';
requestPermission: 'DENIED';
verifyImage: 'done.invoke.faceScanner.capturing:invocation[0]';
};
matchesStates:
| 'capturing'
| 'init'
| 'init.checkingPermission'
| 'init.permissionDenied'
| 'init.permissionGranted'
| 'init.requestingPermission'
| 'invalid'
| 'scanning'
| 'valid'
| 'verifying'
| {
init?:
| 'checkingPermission'
| 'permissionDenied'
| 'permissionGranted'
| 'requestingPermission';
};
tags: never;
}