mirror of
https://github.com/mosip/inji-wallet.git
synced 2026-01-07 20:53:54 -05:00
[INJIMOB-3058]temp commit2 [INJIMOB-3058]temp commit2 [INJIMOB-3058] add support for pre-auth flow by credential-offer [INJIMOB-3187] animo working chcekpoint Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
52 lines
1.3 KiB
TypeScript
52 lines
1.3 KiB
TypeScript
import {t} from 'xstate';
|
|
import {MainBottomTabParamList} from './routeTypes';
|
|
|
|
export const BOTTOM_TAB_ROUTES = {
|
|
home: 'home' as keyof MainBottomTabParamList,
|
|
share: 'share' as keyof MainBottomTabParamList,
|
|
history: 'history' as keyof MainBottomTabParamList,
|
|
settings: 'settings' as keyof MainBottomTabParamList,
|
|
};
|
|
|
|
export const SCAN_ROUTES = {
|
|
ScanScreen: 'ScanScreen' as keyof ScanStackParamList,
|
|
SendVcScreen: 'SendVcScreen' as keyof ScanStackParamList,
|
|
SendVPScreen: 'SendVPScreen' as keyof ScanStackParamList,
|
|
};
|
|
|
|
export const REQUEST_ROUTES = {
|
|
Request: 'Request' as keyof RequestStackParamList,
|
|
RequestScreen: 'RequestScreen' as keyof RequestStackParamList,
|
|
ReceiveVcScreen: 'ReceiveVcScreen' as keyof RequestStackParamList,
|
|
};
|
|
|
|
export const SETTINGS_ROUTES = {
|
|
KeyManagement: 'KeyManagement' as keyof SettingsStackParamList,
|
|
};
|
|
|
|
export const AUTH_ROUTES = {
|
|
AuthView: 'AuthView' as keyof AuthStackParamList,
|
|
};
|
|
|
|
export type ScanStackParamList = {
|
|
ScanScreen: undefined;
|
|
SendVcScreen: undefined;
|
|
SendVPScreen: undefined;
|
|
};
|
|
|
|
export type RequestStackParamList = {
|
|
Request: undefined;
|
|
RequestScreen: undefined;
|
|
ReceiveVcScreen: undefined;
|
|
};
|
|
|
|
export type SettingsStackParamList = {
|
|
Keymanagement: undefined;
|
|
};
|
|
|
|
export type AuthStackParamList = {
|
|
authorizationEndpoint: string;
|
|
clientId: string;
|
|
redirectUri: string;
|
|
};
|