mirror of
https://github.com/selfxyz/self.git
synced 2026-02-08 13:25:59 -05:00
clean scripts and frontend
This commit is contained in:
30
app/types/passportData.ts
Normal file
30
app/types/passportData.ts
Normal file
@@ -0,0 +1,30 @@
|
||||
export type MrzInfo = {
|
||||
compositeCheckDigit: string;
|
||||
dateOfBirth: string;
|
||||
dateOfBirthCheckDigit: string;
|
||||
dateOfExpiry: string;
|
||||
dateOfExpiryCheckDigit: string;
|
||||
documentCode: string;
|
||||
documentNumber: string;
|
||||
documentNumberCheckDigit: string;
|
||||
documentType: number;
|
||||
gender: string;
|
||||
issuingState: string;
|
||||
nationality: string;
|
||||
optionalData1: string;
|
||||
primaryIdentifier: string;
|
||||
secondaryIdentifier: string;
|
||||
};
|
||||
|
||||
export type DataHash = [number, number[]];
|
||||
|
||||
export type PassportData = {
|
||||
mrzInfo: MrzInfo;
|
||||
publicKey: any;
|
||||
publicKeyPEM: string;
|
||||
dataGroupHashes: DataHash[];
|
||||
eContent: any;
|
||||
encryptedDigest: any;
|
||||
contentBytes: any;
|
||||
eContentDecomposed: any;
|
||||
};
|
||||
Reference in New Issue
Block a user