@churchapps/apphelper
Version:
Library of helper functions for React and NextJS ChurchApps
51 lines (48 loc) • 1.44 kB
text/typescript
// Re-export from @churchapps/helpers
export {
ApiHelper,
AppearanceHelper as BaseAppearanceHelper,
ArrayHelper,
CommonEnvironmentHelper,
CurrencyHelper,
DateHelper,
ErrorHelper,
EventHelper,
FileHelper,
PersonHelper,
UserHelper,
UniqueIdHelper,
Permissions
} from "@churchapps/helpers";
// Re-export interfaces from @churchapps/helpers
export type {
ErrorLogInterface,
UserContextInterface,
PermissionInterface,
ChurchInterface,
PersonInterface,
UserInterface,
LoginUserChurchInterface,
ContactInfoInterface,
DonationInterface,
FundInterface,
PaymentMethodInterface,
StripeDonationInterface,
FundDonationInterface,
ResetPasswordRequestInterface,
ResetPasswordResponseInterface,
ConnectionInterface,
SocketActionHandlerInterface,
SocketPayloadInterface,
UserChurchInterface
} from "@churchapps/helpers";
// Export local helpers
export { AnalyticsHelper } from "./AnalyticsHelper";
export { AppearanceHelper } from "./AppearanceHelper";
export type { AppearanceInterface } from "./AppearanceHelper";
export { createEmotionCache } from "./createEmotionCache";
export { Locale } from "./Locale";
export { SlugHelper } from "./SlugHelper";
export { SocketHelper } from "./SocketHelper";
export { NotificationService } from "./NotificationService";
export type { NotificationCounts } from "./NotificationService";