UNPKG

@vepler/safety-types

Version:

TypeScript type definitions for Vepler Safety Service API

25 lines (24 loc) 638 B
/** * Neighborhood Watch route types * * Types for /api/neighborhood-watch endpoints */ export * from './get-by-area'; export * from './get-by-location'; export * from './get-scheme-details'; /** * Error response for neighborhood watch operations */ export interface NeighborhoodWatchErrorResponse { /** Whether the operation was successful */ success: false; /** Error message */ error: string; /** Detailed validation errors if applicable */ details?: Array<{ /** Field that failed validation */ field: string; /** Error message for this field */ message: string; }>; }