RTSDA-Website/astro-church-website/index.d.ts
Benjamin Slingo 756a755ba6 Fix PO BOX display and security vulnerability
- Add getChurchPhysicalAddress and getChurchPoBox functions to church-core
- Update UniFFI interface to expose new functions
- Add NAPI wrappers in astro-church-website for new functions
- Update Footer and contact page to use separate address fields
- Rebuild native bindings with new functions
- Display physical address and PO BOX on separate lines properly
- Fix Astro security vulnerability (GHSA-xf8x-j4p2-f749)

Resolves the missing PO BOX issue that was caused by newline character
handling problems between Rust and JavaScript in production environments.
2025-08-26 17:22:25 -04:00

30 lines
1.6 KiB
TypeScript

/* tslint:disable */
/* eslint-disable */
/* auto-generated by NAPI-RS */
export declare function getChurchName(): string
export declare function fetchEventsJson(): string
export declare function fetchFeaturedEventsJson(): string
export declare function fetchSermonsJson(): string
export declare function fetchConfigJson(): string
export declare function getMissionStatement(): string
export declare function fetchRandomBibleVerseJson(): string
export declare function getStreamLiveStatus(): boolean
export declare function getLivestreamUrl(): string
export declare function getChurchAddress(): string
export declare function getChurchPhysicalAddress(): string
export declare function getChurchPoBox(): string
export declare function getContactPhone(): string
export declare function getContactEmail(): string
export declare function getFacebookUrl(): string
export declare function getYoutubeUrl(): string
export declare function getInstagramUrl(): string
export declare function submitContactV2Json(name: string, email: string, subject: string, message: string, phone: string): string
export declare function validateContactFormJson(formJson: string): string
export declare function fetchLivestreamArchiveJson(): string
export declare function fetchBulletinsJson(): string
export declare function fetchCurrentBulletinJson(): string
export declare function fetchBibleVerseJson(query: string): string
export declare function submitEventJson(title: string, description: string, startTime: string, endTime: string, location: string, locationUrl: string | undefined | null, category: string, recurringType?: string | undefined | null, submitterEmail?: string | undefined | null): string