bigblocks
Version:
Complete Bitcoin UI component library - authentication, social, wallet, market, inscriptions, and blockchain interactions for React
15 lines • 1.24 kB
JSON
{
"name": "bap-identity-types-master-key",
"type": "registry:component",
"dependencies": [],
"devDependencies": [],
"registryDependencies": [],
"files": [
{
"path": "components/bap-identity/types/master-key.ts",
"type": "registry:component",
"content": "export interface MasterKeyMigrationProps {\n\tonMigrationComplete?: () => void;\n\tonError?: (error: Error) => void;\n\tvariant?: \"surface\" | \"ghost\" | \"classic\";\n\tsize?: \"1\" | \"2\" | \"3\";\n\tclassName?: string;\n\tshowDialog?: boolean;\n\tautoStart?: boolean;\n}\n\nexport type MasterKeyMigrationStep =\n\t| \"detect\"\n\t| \"backup\"\n\t| \"migrate\"\n\t| \"verify\"\n\t| \"complete\";\n\nexport interface MasterKeyStatus {\n\thasMasterKey: boolean;\n\tisType42: boolean;\n\tisLegacy: boolean;\n\tcanMigrate: boolean;\n}\n\nexport interface MigrationResult {\n\tsuccess: boolean;\n\tmessage?: string;\n\terror?: Error;\n\tupgradedBackup?: string;\n\toriginalFormat?: string;\n\tnewFormat?: string;\n}\n\nexport interface MigrationState {\n\tstatus: \"idle\" | \"migrating\" | \"complete\" | \"error\";\n\tprogress: number;\n\tmessage?: string;\n\terror?: string;\n}\n",
"target": "<%- config.aliases.components %>/key.tsx"
}
]
}