This reverts commit c9fefc0309.
This commit is contained in:
committed by
GitHub Enterprise
parent
c9fefc0309
commit
f510b2d63e
@@ -1,20 +1,20 @@
|
|||||||
import { Dimensions, ScrollView, StyleSheet, Text, View } from 'react-native';
|
import { Dimensions, ScrollView, StyleSheet, Text, View } from 'react-native';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import NavigationHeader from '@RN-UI-LIB/components/NavigationHeader';
|
import NavigationHeader from '../../../RN-UI-LIB/src/components/NavigationHeader';
|
||||||
import { goBack, navigateToScreen } from '@components/utlis/navigationUtlis';
|
import { goBack, navigateToScreen } from '../../components/utlis/navigationUtlis';
|
||||||
import { useAppDispatch } from '@hooks/index';
|
import { useAppDispatch } from '../../hooks';
|
||||||
import { COLORS } from '@RN-UI-LIB/styles/colors';
|
import { COLORS } from '../../../RN-UI-LIB/src/styles/colors';
|
||||||
import { GenericStyles } from '@RN-UI-LIB/styles';
|
import { GenericStyles } from '../../../RN-UI-LIB/src/styles';
|
||||||
import { Controller, useForm } from 'react-hook-form';
|
import { Controller, useForm } from 'react-hook-form';
|
||||||
import TextInput from '@RN-UI-LIB/components/TextInput';
|
import TextInput from '../../../RN-UI-LIB/src/components/TextInput';
|
||||||
import Button from '@RN-UI-LIB/components/Button';
|
import Button from '../../../RN-UI-LIB/src/components/Button';
|
||||||
import useIsOnline from '@hooks/useIsOnline';
|
import useIsOnline from '../../hooks/useIsOnline';
|
||||||
import { toast } from '@RN-UI-LIB/components/toast';
|
import { toast } from '../../../RN-UI-LIB/src/components/toast';
|
||||||
import { IAddAddressPayload, IAddressGeolocationPayload } from '../../types/addressGeolocation.types';
|
import { IAddAddressPayload, IAddressGeolocationPayload } from '../../types/addressGeolocation.types';
|
||||||
import { addAddress } from '@action/addressGeolocationAction';
|
import { addAddress } from '../../action/addressGeolocationAction';
|
||||||
import { PageRouteEnum } from '../auth/ProtectedRouter';
|
import { PageRouteEnum } from '../auth/ProtectedRouter';
|
||||||
import { useSelector } from 'react-redux';
|
import { useSelector } from 'react-redux';
|
||||||
import { RootState } from '@store/store';
|
import { RootState } from '../../store/store';
|
||||||
|
|
||||||
const PAGE_TITLE = 'Adding new address';
|
const PAGE_TITLE = 'Adding new address';
|
||||||
|
|
||||||
|
|||||||
@@ -6,22 +6,8 @@
|
|||||||
"emitDecoratorMetadata": true,
|
"emitDecoratorMetadata": true,
|
||||||
"experimentalDecorators": true,
|
"experimentalDecorators": true,
|
||||||
"lib": ["dom","es5","es2020"],
|
"lib": ["dom","es5","es2020"],
|
||||||
"paths": {
|
|
||||||
"@RN-UI-LIB/*": ["./RN-UI-LIB/src/*"],
|
|
||||||
"@action/*": ["./src/action/*"],
|
|
||||||
"@assets/*": ["./src/assets/*"],
|
|
||||||
"@common/*": ["./src/common/*"],
|
|
||||||
"@components/*": ["./src/components/*"],
|
|
||||||
"@constants/*": ["./src/constants/*"],
|
|
||||||
"@hooks/*": ["./src/hooks/*"],
|
|
||||||
"@mock-api/*": ["./src/mock-api/*"],
|
|
||||||
"@reducer/*": ["./src/reducer/*"],
|
|
||||||
"@screens/*": ["./src/screens/*"],
|
|
||||||
"@services/*": ["./src/services/*"],
|
|
||||||
"@store/*": ["./src/store/*"],
|
|
||||||
"@wmDB/*": ["./src/wmDB/*"]
|
|
||||||
},
|
|
||||||
/* Completeness */
|
/* Completeness */
|
||||||
"skipLibCheck": true /* Skip type checking all .d.ts files. */
|
"skipLibCheck": true /* Skip type checking all .d.ts files. */
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
14
types.d.ts
vendored
14
types.d.ts
vendored
@@ -5,17 +5,3 @@ declare global {
|
|||||||
server: any;
|
server: any;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
declare module '@RN-UI-LIB/*';
|
|
||||||
declare module "@action/*";
|
|
||||||
declare module "@assets/*";
|
|
||||||
declare module "@common/*";
|
|
||||||
declare module "@components/*";
|
|
||||||
declare module "@constants/*";
|
|
||||||
declare module "@hooks/*";
|
|
||||||
declare module "@mock-api/*";
|
|
||||||
declare module "@reducer/*";
|
|
||||||
declare module "@screens/*";
|
|
||||||
declare module "@services/*";
|
|
||||||
declare module "@store/*";
|
|
||||||
declare module "@wmDB/*";
|
|
||||||
|
|||||||
Reference in New Issue
Block a user