@replyke/core
Version:
Replyke: Build interactive apps with social features like comments, votes, feeds, user lists, notifications, and more.
37 lines • 2.41 kB
JavaScript
// Helpers & Utilities
export { handleError } from "./utils/handleError";
export { safeMergeStyleProps } from "./helpers/safeMergeStyleProps";
export { getUserName } from "./helpers/getUserName";
export { default as getPublicFileUrl } from "./helpers/getPublicFileUrl";
// Constants
export { reportReasons } from "./constants/reportReasons";
// Context providers
export { ReplykeProvider, FeedProvider, EntityProvider, ListsProvider, AppNotificationsProvider, CommentSectionProvider, } from "./context";
// -- projects
export { useProject, useProjectData } from "./hooks/projects";
// -- crypto
export { useSignTestingJwt } from "./hooks/crypto";
// -- authentication
export { useAuth, useAuthData, useRequestNewAccessToken, useSignUpWithEmailAndPassword, useSignInWithEmailAndPassword, useSignOut, useChangePassword, useVerifyExternalUser, } from "./hooks/auth";
// -- app notifications
export { useAppNotifications, useAppNotificationsData, useCountUnreadNotifications, useFetchAppNotifications, useMarkNotificationAsRead, } from "./hooks/app-notifications";
// -- entities
export { useEntity, useEntityData, useCreateEntity, useFetchSingleEntity, useUpdateEntity, useEntityVotes, useDeleteEntity, useFeed, useFeedData, useInfusedData, } from "./hooks/entities";
// -- comments
export { useCommentSection, useCommentSectionData, useCreateComment, useFetchComments, useFetchSingleComment, useReplies, useUpdateComment, useCommentVotes, useDeleteComment, useEntityComments, useProfileComments, } from "./hooks/comments";
// -- lists
export { useLists, useListsData, useCreateList, useFetchRootList, useFetchSubLists, useIsEntitySaved, useUpdateList, useAddToList, useRemoveFromList, useDeleteList, } from "./hooks/lists";
// -- users
export { useUser, useUserData, useFetchSingleUser, useFetchUserFollowersCount, useFetchUserFollowingCount, useCheckUsernameAvailability, useFetchUserSuggestions, useMentions, useUpdateUser, } from "./hooks/users";
// -- follows
export { useFetchFollow, useFollowUser, useUnfollowUser, } from "./hooks/relationships";
// -- reports
export { useSubmitReport } from "./hooks/reports";
// -- general
export { useGetMetadata } from "./hooks/general";
// -- storage
export { useUploadFile } from "./hooks/storage";
// -- storage
export { useFetchStyle } from "./hooks/styles";
export * as AppNotification from "./interfaces/models/AppNotification";
//# sourceMappingURL=index.js.map