export type CommunityCategory =
  | 'Food & Nutrition'
  | 'Animal Welfare'
  | 'Senior Services'
  | 'Education & Literacy'
  | 'Housing & Construction'
  | 'Environment & Nature'
  | 'Sports & Recreation'
  | 'Arts & Culture'
  | 'Family Support';

export type CommunityPartnershipType = 'community-service' | 'school-partnership' | 'both';
export type CommunityPartnershipFilter = CommunityPartnershipType | 'all';
export type CommunityCategoryFilter = CommunityCategory | 'all';
export type CommunityAgeGroup = 'K-2' | '3-5' | '6-8';
export type CommunityAgeFilter = CommunityAgeGroup | 'all';

export interface CommunityOrganization {
  readonly id: string;
  readonly name: string;
  readonly category: CommunityCategory;
  readonly description: string;
  readonly address: string;
  readonly phone: string;
  readonly email: string;
  readonly website: string;
  readonly distance: string;
  readonly opportunities: readonly string[];
  readonly partnershipType: CommunityPartnershipType;
  readonly ageGroups: readonly CommunityAgeGroup[];
  readonly rating: number;
  readonly featured: boolean;
}

export interface CommunityStats {
  readonly organizations: number;
  readonly serviceProjects: number;
  readonly schoolPartners: number;
  readonly saved: number;
}
