forked from trent_larson/crowd-funder-for-time-pwa
docs: comprehensive documentation updates and modernization
- Update BUILDING.md with current build system information - Modernize various README files across the project - Update CHANGELOG.md with recent changes - Improve documentation consistency and formatting - Update platform-specific documentation (iOS, Electron, Docker) - Enhance test documentation and build guides
This commit is contained in:
@@ -47,6 +47,7 @@ type ClaimParams = z.infer<typeof claimSchema>;
|
||||
### Type Safety Layers
|
||||
|
||||
1. **Schema Definition**
|
||||
|
||||
```typescript
|
||||
// src/interfaces/deepLinks.ts
|
||||
export const deepLinkSchemas = {
|
||||
@@ -59,6 +60,7 @@ type ClaimParams = z.infer<typeof claimSchema>;
|
||||
```
|
||||
|
||||
2. **Type Generation**
|
||||
|
||||
```typescript
|
||||
// Types are automatically generated from schemas
|
||||
export type DeepLinkParams = {
|
||||
@@ -67,6 +69,7 @@ type ClaimParams = z.infer<typeof claimSchema>;
|
||||
```
|
||||
|
||||
3. **Runtime Validation**
|
||||
|
||||
```typescript
|
||||
// In DeepLinkHandler
|
||||
const result = deepLinkSchemas.claim.safeParse(params);
|
||||
|
||||
Reference in New Issue
Block a user