How maheshwaree-02/filesure-cin-checker works
FileSure is a client-side CIN/LLPIN batch inspection web app. Users enter identifiers or import a spreadsheet, the app processes the batch and parses each identifier with statutory diagnostics, then presents searchable results, metrics, and an audit CSV export. The README also documents clipboard copying, sample/benchmark inputs, and privacy-focused in-memory processing. Source excerpts and the index support the principal wiring; some UI internals are unsampled, so the graph avoids asserting their detailed behavior.
Main entry points: App.tsx App workflow · ResultsTable.tsx Searchable results · cinParser.ts CIN parser · batchProcessor.ts Batch processor
Components 20
Inspector interface
- App workflow
src/App.tsx - Batch input
src/components/inspector/InputSection.tsx - Format guide
src/components/layout/Header.tsx - Batch metrics
src/components/inspector/MetricsBar.tsx - Footer
src/components/layout/Footer.tsx
Batch processing
- File importer
src/services/fileImporter.ts - Batch processor
src/services/batchProcessor.ts - CIN parser
src/services/cinParser.ts - LLPIN parser
src/services/llpinParser.ts - Validation results
src/types/validator.ts
Identifier reference
- Identifier types
src/types/cin.ts - State and RoC codes
src/constants/states.ts - Company classifications
src/constants/companyTypes.ts
Results and reporting
- Searchable results
src/components/inspector/ResultsTable.tsx - Status filters
src/components/inspector/FilterTabs.tsx - Result details
src/components/inspector/ResultRow.tsx - CIN breakdown
src/components/inspector/CinPillBreakdown.tsx - Empty results
src/components/inspector/EmptyState.tsx - Audit CSV export
src/services/csvExporter.ts
Other components
- Compliance user
Connections 24
- Compliance user → Batch input: enters identifiers
README.md - Batch input → File importer: parses upload
src/components/inspector/InputSection.tsx - File importer → App workflow: returns identifiers
src/App.tsx - App workflow → Batch processor: processes batch
src/App.tsx - Batch processor → CIN parser: parses CINs
src/services/batchProcessor.ts - Batch processor → LLPIN parser: parses LLPINs
src/services/batchProcessor.ts - CIN parser → State and RoC codes: looks up jurisdiction
src/services/cinParser.ts - CIN parser → Company classifications: looks up classification
src/services/cinParser.ts - CIN parser → Validation results: builds validation result
src/services/cinParser.ts - LLPIN parser → Validation results: builds validation result
src/services/llpinParser.ts - App workflow → Batch input: renders input
src/App.tsx - App workflow → Format guide: renders header
src/App.tsx - App workflow → Batch metrics: renders metrics
src/App.tsx - App workflow → Searchable results: shows results
src/App.tsx - App workflow → Footer: renders footer
src/App.tsx - Searchable results → Status filters: renders filters
src/components/inspector/ResultsTable.tsx - Searchable results → Result details: renders rows
src/components/inspector/ResultsTable.tsx - Result details → CIN breakdown: renders CIN segments
src/components/inspector/ResultRow.tsx - Searchable results → Empty results: shows empty state
src/components/inspector/ResultsTable.tsx - Searchable results → Audit CSV export: exports audit CSV
src/components/inspector/ResultsTable.tsx - Compliance user → Searchable results: searches and copies
README.md - App workflow → Validation results: holds batch results
src/App.tsx - CIN parser → Identifier types: produces parsed details
src/services/cinParser.ts - LLPIN parser → Identifier types: produces parsed details
src/services/llpinParser.ts