Initial commit

This commit is contained in:
michael
2026-01-22 13:55:55 -08:00
commit d05c02f556
31 changed files with 17832 additions and 0 deletions

32
src/types/navigation.ts Normal file
View File

@@ -0,0 +1,32 @@
import type {NativeStackScreenProps} from '@react-navigation/native-stack';
import type {NfcTechType} from './nfc';
export type TagDataParam = {
uid: string;
techTypes: NfcTechType[];
sak?: number;
atqa?: string;
ats?: string;
historicalBytes?: string;
};
export type RootStackParamList = {
Home: undefined;
Scan: undefined;
Result: {
tagData?: TagDataParam;
};
};
export type HomeScreenProps = NativeStackScreenProps<RootStackParamList, 'Home'>;
export type ScanScreenProps = NativeStackScreenProps<RootStackParamList, 'Scan'>;
export type ResultScreenProps = NativeStackScreenProps<
RootStackParamList,
'Result'
>;
declare global {
namespace ReactNavigation {
interface RootParamList extends RootStackParamList {}
}
}