import { chatMessageSchema, footerPageSchema, heritageDataSchema, heritageItemSchema, historicalLandmarkSchema, howItWorksStepSchema, liveActivitySchema, locationSchema, pageSchema, resourceCategorySchema, sectorKeySchema, sectorSchema, sortOptionSchema, symbiosisExampleSchema, symbiosisLinkSchema, symbiosisMatchSchema, symbioticPairSchema, translatedSectorSchema, webIntelligenceResultSchema, } from '@/schemas'; import { z } from 'zod'; // Export backend types directly export type { BackendMatch as Match, BackendOrganization as Organization, BackendResourceFlow as ResourceFlow, BackendSite as Site, } from '@/schemas/backend'; // Export organization subtype export { canParticipateInResourceMatching, getOrganizationSubtypeLabel, inferSubtypeFromHistoricBuilding, } from '@/schemas/organizationSubtype'; export type { OrganizationSubtype } from '@/schemas/organizationSubtype'; // Re-export backend types for convenience export type { Constraints, EconomicData, PhysicalState, PrecisionLevel, Quality, Quantity, ResourceDirection, ResourceType, ServiceDetails, SourceType, TimeProfile, } from '@/schemas/backend/resource-flow'; export type { ContractDetails, EconomicImpact, MatchStatus, RiskAssessment, TransportationEstimate, } from '@/schemas/backend/match'; // Frontend-only types (not from backend) export type Location = z.infer; export type ResourceCategory = z.infer; export type Sector = z.infer; export type TranslatedSector = z.infer; export type LiveActivity = z.infer; export type HowItWorksStep = z.infer; export type WebIntelligenceResult = z.infer; export type ChatMessage = z.infer; export type SortOption = z.infer; export type Page = z.infer; export type FooterPage = z.infer; export type SymbiosisMatch = z.infer; export type SymbioticPair = z.infer; export type SymbiosisLink = z.infer; export type HistoricalLandmark = z.infer; export type HeritageItem = z.infer; export type HeritageData = z.infer; export type SymbiosisExample = z.infer; export type SectorKey = z.infer; // Proposal type is now exported from schemas/proposal.ts export type { Proposal } from '@/schemas/proposal'; // Form data types import { getOrganizationFormSchema } from '@/schemas/organization'; export type OrganizationFormData = z.infer>; // Heritage types - exported from schemas/heritage.ts export type { HeritageData, HeritageSource, HeritageTimelineItem, HeritageTitle, TimelineItem, } from '@/schemas/heritage';