gsintegrations 0.0.482 → 0.0.484

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (134) hide show
  1. package/dist/bundle.cjs.js +7320 -1626
  2. package/dist/bundle.cjs.js.map +2 -2
  3. package/dist/bundle.esm.js +7197 -1627
  4. package/dist/bundle.esm.js.map +2 -2
  5. package/dist/index.d.ts +2857 -144
  6. package/dist/types/components/FormChatAssistant/FormChatAssistant.types.d.ts +5 -1
  7. package/dist/types/components/FormChatAssistant/FormChatPanelLayout.d.ts +17 -0
  8. package/dist/types/components/FormChatAssistant/formChatAssistant.theme.d.ts +34 -0
  9. package/dist/types/components/PageHeader/PageHeader.d.ts +4 -0
  10. package/dist/types/components/atoms/FacebookAuthButton/FacebookAuthButton.d.ts +4 -0
  11. package/dist/types/components/atoms/FacebookAuthButton/FacebookAuthButton.types.d.ts +18 -0
  12. package/dist/types/components/atoms/FacebookAuthButton/index.d.ts +2 -0
  13. package/dist/types/components/atoms/index.d.ts +2 -0
  14. package/dist/types/components/index.d.ts +1 -0
  15. package/dist/types/components/molecules/GenericDrawer/GenericDrawer.types.d.ts +15 -0
  16. package/dist/types/components/molecules/QuickActions/iconMap.d.ts +6 -0
  17. package/dist/types/components/organisms/SignInForm/SignInForm.types.d.ts +17 -0
  18. package/dist/types/components/organisms/SignUpForm/SignUpForm.types.d.ts +17 -0
  19. package/dist/types/components/social/AlsoExperiencedButton.d.ts +10 -0
  20. package/dist/types/components/social/BlockDialog.d.ts +10 -0
  21. package/dist/types/components/social/ConnectionButton.d.ts +11 -0
  22. package/dist/types/components/social/ExperienceCard.d.ts +18 -0
  23. package/dist/types/components/social/ExperienceCategoryBadge.d.ts +8 -0
  24. package/dist/types/components/social/ExperienceCommentRow.d.ts +12 -0
  25. package/dist/types/components/social/ExperienceCommentsSheet.d.ts +27 -0
  26. package/dist/types/components/social/ExperienceComposer.d.ts +21 -0
  27. package/dist/types/components/social/ExperienceDetailView.d.ts +17 -0
  28. package/dist/types/components/social/ExperienceEngageMenu.d.ts +14 -0
  29. package/dist/types/components/social/ExperiencePostTypeBadge.d.ts +8 -0
  30. package/dist/types/components/social/ExperienceReactionBar.d.ts +11 -0
  31. package/dist/types/components/social/JourneyProfile.d.ts +34 -0
  32. package/dist/types/components/social/PeerMessageList.d.ts +10 -0
  33. package/dist/types/components/social/PostGiraPrompt.d.ts +8 -0
  34. package/dist/types/components/social/PrivacySelector.d.ts +11 -0
  35. package/dist/types/components/social/QuestionAnswerCard.d.ts +8 -0
  36. package/dist/types/components/social/QuestionAnswersSheet.d.ts +23 -0
  37. package/dist/types/components/social/QuestionCard.d.ts +16 -0
  38. package/dist/types/components/social/QuestionComposer.d.ts +17 -0
  39. package/dist/types/components/social/QuestionSourceBadge.d.ts +7 -0
  40. package/dist/types/components/social/ReportDialog.d.ts +13 -0
  41. package/dist/types/components/social/ShareSheet.d.ts +13 -0
  42. package/dist/types/components/social/SimilarExperienceCard.d.ts +8 -0
  43. package/dist/types/components/social/SimilarPeopleCard.d.ts +10 -0
  44. package/dist/types/components/social/SocialAccountDrawer.d.ts +31 -0
  45. package/dist/types/components/social/SocialConversationRow.d.ts +8 -0
  46. package/dist/types/components/social/SocialCreateActionsSheet.d.ts +13 -0
  47. package/dist/types/components/social/SocialEmptyState.d.ts +10 -0
  48. package/dist/types/components/social/SocialErrorState.d.ts +8 -0
  49. package/dist/types/components/social/SocialHomeBottomNav.d.ts +22 -0
  50. package/dist/types/components/social/SocialHomeHeader.d.ts +13 -0
  51. package/dist/types/components/social/SocialMessageBubble.d.ts +19 -0
  52. package/dist/types/components/social/SocialMessageComposer.d.ts +17 -0
  53. package/dist/types/components/social/SocialReadOnlyNotice.d.ts +6 -0
  54. package/dist/types/components/social/SocialSkeleton.d.ts +7 -0
  55. package/dist/types/components/social/SocialUnreadIndicator.d.ts +8 -0
  56. package/dist/types/components/social/SocialVerificationEarnedCelebration.d.ts +18 -0
  57. package/dist/types/components/social/SocialVerificationProgressSheet.d.ts +35 -0
  58. package/dist/types/components/social/TraditionBadge.d.ts +7 -0
  59. package/dist/types/components/social/WhatsAppShareButton.d.ts +8 -0
  60. package/dist/types/components/social/bannerPresets.d.ts +29 -0
  61. package/dist/types/components/social/formatAffinityPercent.d.ts +5 -0
  62. package/dist/types/components/social/index.d.ts +61 -0
  63. package/dist/types/components/social/labels.d.ts +20 -0
  64. package/dist/types/components/social/profileFields.d.ts +27 -0
  65. package/dist/types/components/social/socialSurfaces.d.ts +103 -0
  66. package/dist/types/components/social/types.d.ts +1003 -0
  67. package/dist/types/hooks/useHideOnScroll.d.ts +13 -0
  68. package/dist/types/index.d.ts +2 -0
  69. package/dist/types/pages/AddMediumByQRCodePage/AddMediumByQRCodePage.types.d.ts +6 -6
  70. package/dist/types/pages/EventsPage/EventsPage.types.d.ts +36 -36
  71. package/dist/types/pages/FinancialRegisterPage/FinancialRegister.types.d.ts +28 -28
  72. package/dist/types/pages/GamificationHelpPage/GamificationHelpPage.types.d.ts +2 -2
  73. package/dist/types/pages/HomePage/HomePage.constants.d.ts +4 -3
  74. package/dist/types/pages/HomePage/HomePage.types.d.ts +29 -13
  75. package/dist/types/pages/HomePage/components/HomeBottomNav.d.ts +12 -0
  76. package/dist/types/pages/HomePage/components/HomeMenu.d.ts +7 -7
  77. package/dist/types/pages/HomePage/components/HomeMenu.types.d.ts +20 -20
  78. package/dist/types/pages/HomePage/components/TopBar.d.ts +1 -1
  79. package/dist/types/pages/HomePage/components/TopBar.types.d.ts +2 -2
  80. package/dist/types/pages/HomePage/components/index.d.ts +1 -1
  81. package/dist/types/pages/HomePage/components/useHomeMenu.d.ts +2 -2
  82. package/dist/types/pages/HomePage/useHomePage.d.ts +2 -2
  83. package/dist/types/pages/HomePage/widgets/homeWidgets.catalog.d.ts +6 -6
  84. package/dist/types/pages/InviteLandingPage/InviteLandingPage.types.d.ts +4 -0
  85. package/dist/types/pages/InviteLandingPage/useInviteLandingPage.d.ts +1 -0
  86. package/dist/types/pages/NotFoundPage/NotFoundPage.types.d.ts +2 -2
  87. package/dist/types/pages/NotificationsPage/NotificationsPage.types.d.ts +38 -38
  88. package/dist/types/pages/NotificationsPage/useNotificationsPage.d.ts +3 -3
  89. package/dist/types/pages/PasswordCreationPage/PasswordCreationPage.types.d.ts +8 -8
  90. package/dist/types/pages/RitualBathDetailPage/RitualBathDetailPage.d.ts +1 -1
  91. package/dist/types/pages/RitualBathDetailPage/RitualBathDetailPage.types.d.ts +6 -6
  92. package/dist/types/pages/RitualBathDetailPage/useRitualBathDetailPage.d.ts +1 -1
  93. package/dist/types/pages/RitualBathListPage/RitualBathListPage.types.d.ts +16 -16
  94. package/dist/types/pages/RitualBathListPage/useRitualBathListPage.d.ts +2 -2
  95. package/dist/types/pages/RitualBathOnboardingPage/RitualBathOnboarding.types.d.ts +4 -4
  96. package/dist/types/pages/RitualBathOnboardingPage/useRitualBathOnboarding.d.ts +1 -1
  97. package/dist/types/pages/RitualBathSchedulePage/RitualBathSchedulePage.types.d.ts +6 -6
  98. package/dist/types/pages/RoleFormPage/RoleFormPage.types.d.ts +2 -2
  99. package/dist/types/pages/SigninPage/SigninPage.types.d.ts +14 -0
  100. package/dist/types/pages/SignupPage/SignupPage.types.d.ts +14 -0
  101. package/dist/types/pages/Social/CreateExperiencePage/CreateExperiencePage.d.ts +12 -0
  102. package/dist/types/pages/Social/CreateExperiencePage/CreateExperiencePage.types.d.ts +62 -0
  103. package/dist/types/pages/Social/CreateExperiencePage/CreateExperienceSummaryCard.d.ts +13 -0
  104. package/dist/types/pages/Social/CreateQuestionPage/CreateQuestionPage.d.ts +12 -0
  105. package/dist/types/pages/Social/CreateQuestionPage/CreateQuestionPage.types.d.ts +55 -0
  106. package/dist/types/pages/Social/CreateQuestionPage/CreateQuestionSummaryCard.d.ts +12 -0
  107. package/dist/types/pages/Social/EditJourneyPage/EditJourneyPage.d.ts +53 -0
  108. package/dist/types/pages/Social/ExperienceDetailPage/ExperienceDetailPage.d.ts +50 -0
  109. package/dist/types/pages/Social/JourneyProfilePage/JourneyProfilePage.d.ts +59 -0
  110. package/dist/types/pages/Social/PublicSocialPreviewPage/PublicSocialPreviewPage.d.ts +5 -0
  111. package/dist/types/pages/Social/PublicSocialPreviewPage/PublicSocialPreviewPage.types.d.ts +334 -0
  112. package/dist/types/pages/Social/PublicSocialPreviewPage/index.d.ts +3 -0
  113. package/dist/types/pages/Social/QuestionDetailPage/QuestionDetailPage.d.ts +15 -0
  114. package/dist/types/pages/Social/QuestionsPage/QuestionsPage.d.ts +13 -0
  115. package/dist/types/pages/Social/SimilarPage/SimilarPage.d.ts +15 -0
  116. package/dist/types/pages/Social/SocialConnectionsPage/SocialConnectionsPage.d.ts +41 -0
  117. package/dist/types/pages/Social/SocialConversationPage/SocialConversationPage.d.ts +19 -0
  118. package/dist/types/pages/Social/SocialDiscoverPage/SocialDiscoverPage.d.ts +34 -0
  119. package/dist/types/pages/Social/SocialHomePage/SocialHomePage.d.ts +116 -0
  120. package/dist/types/pages/Social/SocialHomePage/index.d.ts +2 -0
  121. package/dist/types/pages/Social/SocialInboxPage/SocialInboxPage.d.ts +14 -0
  122. package/dist/types/pages/Social/SocialNotificationsPage/SocialNotificationsPage.d.ts +21 -0
  123. package/dist/types/pages/Social/SocialOnboardingIntro/SocialOnboardingIntro.d.ts +5 -0
  124. package/dist/types/pages/Social/SocialOnboardingIntro/SocialOnboardingIntro.types.d.ts +14 -0
  125. package/dist/types/pages/Social/SocialOnboardingIntro/index.d.ts +2 -0
  126. package/dist/types/pages/Social/SocialOnboardingPage/SocialOnboardingPage.d.ts +13 -0
  127. package/dist/types/pages/Social/SocialOnboardingPage/SocialOnboardingPage.types.d.ts +59 -0
  128. package/dist/types/pages/Social/SocialOnboardingPage/SocialOnboardingSummaryCard.d.ts +12 -0
  129. package/dist/types/pages/Social/SocialPageShell.d.ts +29 -0
  130. package/dist/types/pages/Social/SocialPrivacySettingsPage/SocialPrivacySettingsPage.d.ts +18 -0
  131. package/dist/types/pages/Social/SocialSavedPage/SocialSavedPage.d.ts +59 -0
  132. package/dist/types/pages/Social/index.d.ts +42 -0
  133. package/dist/types/pages/index.d.ts +1 -0
  134. package/package.json +1 -1
@@ -0,0 +1,53 @@
1
+ import React from "react";
2
+ import { type BannerGradientKey, type CustomBannerGradientPreset, type SocialProfile, type SocialVisibility } from "../../../components/social";
3
+ export type UnsplashBannerPhoto = {
4
+ id: string;
5
+ url: string;
6
+ thumbnailUrl: string;
7
+ alt?: string;
8
+ photographerName: string;
9
+ photographerProfileUrl: string;
10
+ };
11
+ export type EditJourneyValues = {
12
+ username: string;
13
+ displayName?: string;
14
+ bio?: string;
15
+ traditionLabel?: string;
16
+ city?: string;
17
+ state?: string;
18
+ website?: string;
19
+ birthDate?: string;
20
+ avatarFile?: File;
21
+ bannerFile?: File;
22
+ bannerUrl?: string;
23
+ bannerGradientKey?: BannerGradientKey;
24
+ customBannerGradients: CustomBannerGradientPreset[];
25
+ selectedCustomBannerGradientId?: string;
26
+ profileVisibility: SocialVisibility;
27
+ traditionVisible: boolean;
28
+ locationVisible: boolean;
29
+ experiencesVisible: boolean;
30
+ connectionsVisible: boolean;
31
+ activityVisible: boolean;
32
+ };
33
+ export type EditJourneyPageProps = {
34
+ profile: SocialProfile;
35
+ submitting?: boolean;
36
+ error?: string;
37
+ initialBannerChooserOpen?: boolean;
38
+ unsplashResults?: UnsplashBannerPhoto[];
39
+ unsplashLoading?: boolean;
40
+ unsplashFetchingMore?: boolean;
41
+ unsplashHasMore?: boolean;
42
+ unsplashError?: string;
43
+ onSubmit: (values: EditJourneyValues) => void;
44
+ onBack?: () => void;
45
+ onCancel?: () => void;
46
+ onAvatarFileSelect?: (file: File) => void;
47
+ onBannerFileSelect?: (file: File) => void;
48
+ onUnsplashSearch?: (query: string) => void;
49
+ onUnsplashLoadMore?: () => void | Promise<void>;
50
+ onUnsplashSelect?: (photo: UnsplashBannerPhoto) => void;
51
+ };
52
+ declare const EditJourneyPage: React.FC<EditJourneyPageProps>;
53
+ export default EditJourneyPage;
@@ -0,0 +1,50 @@
1
+ import React from "react";
2
+ import { type Experience, type ExperienceComment, type ExperienceCommentSubmitMeta, type ExperienceReactionType, type SocialReportReason } from "../../../components/social";
3
+ export type ExperienceDetailPageProps = {
4
+ experience?: Experience | null;
5
+ similarExperiences?: Experience[];
6
+ viewerUserId?: string;
7
+ isLoading?: boolean;
8
+ error?: string;
9
+ alsoExperiencedLoading?: boolean;
10
+ shareOpen?: boolean;
11
+ reportOpen?: boolean;
12
+ sharePreviewText?: string;
13
+ shareUrl?: string;
14
+ comments?: ExperienceComment[];
15
+ commentsCount?: number;
16
+ commentsLoading?: boolean;
17
+ commentsFetchingMore?: boolean;
18
+ commentsHasMore?: boolean;
19
+ commentsSubmitting?: boolean;
20
+ commentsError?: string | null;
21
+ commentsComposerDisabled?: boolean;
22
+ onBack?: () => void;
23
+ onAlsoExperienced?: () => void;
24
+ onReactionToggle?: (type: ExperienceReactionType) => void;
25
+ onShare?: () => void;
26
+ onShareClose?: () => void;
27
+ onWhatsAppShare?: () => void;
28
+ onCopyLink?: () => void;
29
+ onShareStarted?: (channel: "WHATSAPP" | "LINK") => void;
30
+ onReport?: () => void;
31
+ onReportClose?: () => void;
32
+ onReportSubmit?: (payload: {
33
+ reason: SocialReportReason;
34
+ details?: string;
35
+ }) => void;
36
+ onAuthorClick?: () => void;
37
+ onSimilarOpen?: (id: string) => void;
38
+ onRetry?: () => void;
39
+ onOpenComments?: () => void;
40
+ onCloseComments?: () => void;
41
+ onLoadMoreComments?: () => void;
42
+ onLoadMoreReplies?: (rootCommentId: string) => void | Promise<void>;
43
+ onSubmitComment?: (body: string, meta?: ExperienceCommentSubmitMeta) => void | Promise<void>;
44
+ onToggleCommentLike?: (comment: ExperienceComment) => void;
45
+ onRetryComments?: () => void;
46
+ onCommentAuthorClick?: (userId: string, username?: string) => void;
47
+ commentsOpen?: boolean;
48
+ };
49
+ declare const ExperienceDetailPage: React.FC<ExperienceDetailPageProps>;
50
+ export default ExperienceDetailPage;
@@ -0,0 +1,59 @@
1
+ import React from "react";
2
+ import { type Experience, type ExperienceComment, type ExperienceCommentSubmitMeta, type SimilarPerson, type SocialProfile } from "../../../components/social";
3
+ export type JourneyProfilePageProps = {
4
+ profile?: SocialProfile | null;
5
+ experiences?: Experience[];
6
+ similarPeople?: SimilarPerson[];
7
+ isLoading?: boolean;
8
+ error?: string;
9
+ isOwnProfile?: boolean;
10
+ connectionLoading?: boolean;
11
+ blockOpen?: boolean;
12
+ showVerificationBanner?: boolean;
13
+ verificationBannerMode?: "earn" | "expiring";
14
+ verificationDaysRemaining?: number | null;
15
+ onBack?: () => void;
16
+ onRetry?: () => void;
17
+ onEdit?: () => void;
18
+ onShare?: () => void;
19
+ onSearch?: () => void;
20
+ onMore?: () => void;
21
+ onConnect?: () => void;
22
+ onDisconnect?: () => void;
23
+ onMessage?: () => void;
24
+ onOpenExperience?: (id: string) => void;
25
+ onCreateExperience?: () => void;
26
+ onBlockOpen?: () => void;
27
+ onBlockClose?: () => void;
28
+ onBlockConfirm?: () => void;
29
+ onOpenVerificationProgress?: () => void;
30
+ /** @deprecated Use onOpenVerificationProgress */
31
+ onGetVerification?: () => void;
32
+ onDismissVerification?: () => void;
33
+ onOpenJoined?: () => void;
34
+ onOpenFollowing?: () => void;
35
+ onOpenFollowers?: () => void;
36
+ onOpenPerson?: (userId: string, username?: string) => void;
37
+ onConnectPerson?: (userId: string) => void;
38
+ onShowMorePeople?: () => void;
39
+ experiencesCount?: number;
40
+ connectionsCount?: number;
41
+ /** Comments sheet for answering on profile posts. */
42
+ comments?: ExperienceComment[];
43
+ commentsCount?: number;
44
+ commentsLoading?: boolean;
45
+ commentsFetchingMore?: boolean;
46
+ commentsHasMore?: boolean;
47
+ commentsSubmitting?: boolean;
48
+ commentsError?: string | null;
49
+ commentsComposerDisabled?: boolean;
50
+ onCommentExperience?: (id: string) => void;
51
+ onLoadMoreComments?: () => void;
52
+ onLoadMoreReplies?: (rootCommentId: string) => void | Promise<void>;
53
+ onSubmitComment?: (body: string, meta?: ExperienceCommentSubmitMeta) => void | Promise<void>;
54
+ onToggleCommentLike?: (comment: ExperienceComment) => void;
55
+ onCloseComments?: () => void;
56
+ onRetryComments?: () => void;
57
+ };
58
+ declare const JourneyProfilePage: React.FC<JourneyProfilePageProps>;
59
+ export default JourneyProfilePage;
@@ -0,0 +1,5 @@
1
+ import React from "react";
2
+ import type { PublicSocialPreviewPageProps } from "./PublicSocialPreviewPage.types";
3
+ export type { PublicSocialPreviewData, PublicSocialPreviewPageProps, } from "./PublicSocialPreviewPage.types";
4
+ declare const PublicSocialPreviewPage: React.FC<PublicSocialPreviewPageProps>;
5
+ export default PublicSocialPreviewPage;
@@ -0,0 +1,334 @@
1
+ import { z } from "zod";
2
+ export declare const PublicExperiencePreviewSchema: z.ZodObject<{
3
+ id: z.ZodString;
4
+ cta: z.ZodOptional<z.ZodString>;
5
+ } & {
6
+ type: z.ZodLiteral<"EXPERIENCE">;
7
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
+ preview: z.ZodString;
9
+ traditionLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ category: z.ZodOptional<z.ZodNullable<z.ZodEnum<["DESENVOLVIMENTO", "GIRA", "INCORPORACAO", "APRENDIZADO", "SENTIMENTO", "ANCESTRALIDADE", "ESPIRITUALIDADE", "DUVIDA_DESCOBERTA", "OTHER"]>>>;
11
+ postType: z.ZodOptional<z.ZodEnum<["RELATO", "PERGUNTA", "EXPERIENCIA_SEMELHANTE", "CONHECIMENTO", "CAMINHADA"]>>;
12
+ publishedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>;
13
+ author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ }, "strip", z.ZodTypeAny, {
18
+ displayName?: string | null | undefined;
19
+ username?: string | null | undefined;
20
+ avatarUrl?: string | null | undefined;
21
+ }, {
22
+ displayName?: string | null | undefined;
23
+ username?: string | null | undefined;
24
+ avatarUrl?: string | null | undefined;
25
+ }>>>;
26
+ reactionCount: z.ZodOptional<z.ZodNumber>;
27
+ commentCount: z.ZodOptional<z.ZodNumber>;
28
+ alsoExperiencedCount: z.ZodOptional<z.ZodNumber>;
29
+ }, "strip", z.ZodTypeAny, {
30
+ id: string;
31
+ type: "EXPERIENCE";
32
+ preview: string;
33
+ title?: string | null | undefined;
34
+ category?: "OTHER" | "DESENVOLVIMENTO" | "GIRA" | "INCORPORACAO" | "APRENDIZADO" | "SENTIMENTO" | "ANCESTRALIDADE" | "ESPIRITUALIDADE" | "DUVIDA_DESCOBERTA" | null | undefined;
35
+ traditionLabel?: string | null | undefined;
36
+ author?: {
37
+ displayName?: string | null | undefined;
38
+ username?: string | null | undefined;
39
+ avatarUrl?: string | null | undefined;
40
+ } | null | undefined;
41
+ postType?: "RELATO" | "PERGUNTA" | "EXPERIENCIA_SEMELHANTE" | "CONHECIMENTO" | "CAMINHADA" | undefined;
42
+ reactionCount?: number | undefined;
43
+ alsoExperiencedCount?: number | undefined;
44
+ commentCount?: number | undefined;
45
+ publishedAt?: string | Date | null | undefined;
46
+ cta?: string | undefined;
47
+ }, {
48
+ id: string;
49
+ type: "EXPERIENCE";
50
+ preview: string;
51
+ title?: string | null | undefined;
52
+ category?: "OTHER" | "DESENVOLVIMENTO" | "GIRA" | "INCORPORACAO" | "APRENDIZADO" | "SENTIMENTO" | "ANCESTRALIDADE" | "ESPIRITUALIDADE" | "DUVIDA_DESCOBERTA" | null | undefined;
53
+ traditionLabel?: string | null | undefined;
54
+ author?: {
55
+ displayName?: string | null | undefined;
56
+ username?: string | null | undefined;
57
+ avatarUrl?: string | null | undefined;
58
+ } | null | undefined;
59
+ postType?: "RELATO" | "PERGUNTA" | "EXPERIENCIA_SEMELHANTE" | "CONHECIMENTO" | "CAMINHADA" | undefined;
60
+ reactionCount?: number | undefined;
61
+ alsoExperiencedCount?: number | undefined;
62
+ commentCount?: number | undefined;
63
+ publishedAt?: string | Date | null | undefined;
64
+ cta?: string | undefined;
65
+ }>;
66
+ export declare const PublicQuestionPreviewSchema: z.ZodObject<{
67
+ id: z.ZodString;
68
+ cta: z.ZodOptional<z.ZodString>;
69
+ } & {
70
+ type: z.ZodLiteral<"QUESTION">;
71
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72
+ preview: z.ZodOptional<z.ZodString>;
73
+ traditionLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
74
+ category: z.ZodOptional<z.ZodNullable<z.ZodEnum<["DESENVOLVIMENTO", "GIRA", "INCORPORACAO", "APRENDIZADO", "SENTIMENTO", "ANCESTRALIDADE", "ESPIRITUALIDADE", "DUVIDA_DESCOBERTA", "OTHER"]>>>;
75
+ source: z.ZodOptional<z.ZodEnum<["COMMUNITY", "AI", "SYSTEM"]>>;
76
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>;
77
+ author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
78
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
79
+ username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
80
+ avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
81
+ }, "strip", z.ZodTypeAny, {
82
+ displayName?: string | null | undefined;
83
+ username?: string | null | undefined;
84
+ avatarUrl?: string | null | undefined;
85
+ }, {
86
+ displayName?: string | null | undefined;
87
+ username?: string | null | undefined;
88
+ avatarUrl?: string | null | undefined;
89
+ }>>>;
90
+ answerCount: z.ZodOptional<z.ZodNumber>;
91
+ }, "strip", z.ZodTypeAny, {
92
+ id: string;
93
+ type: "QUESTION";
94
+ title?: string | null | undefined;
95
+ source?: "COMMUNITY" | "AI" | "SYSTEM" | undefined;
96
+ category?: "OTHER" | "DESENVOLVIMENTO" | "GIRA" | "INCORPORACAO" | "APRENDIZADO" | "SENTIMENTO" | "ANCESTRALIDADE" | "ESPIRITUALIDADE" | "DUVIDA_DESCOBERTA" | null | undefined;
97
+ preview?: string | undefined;
98
+ createdAt?: string | Date | null | undefined;
99
+ traditionLabel?: string | null | undefined;
100
+ author?: {
101
+ displayName?: string | null | undefined;
102
+ username?: string | null | undefined;
103
+ avatarUrl?: string | null | undefined;
104
+ } | null | undefined;
105
+ answerCount?: number | undefined;
106
+ cta?: string | undefined;
107
+ }, {
108
+ id: string;
109
+ type: "QUESTION";
110
+ title?: string | null | undefined;
111
+ source?: "COMMUNITY" | "AI" | "SYSTEM" | undefined;
112
+ category?: "OTHER" | "DESENVOLVIMENTO" | "GIRA" | "INCORPORACAO" | "APRENDIZADO" | "SENTIMENTO" | "ANCESTRALIDADE" | "ESPIRITUALIDADE" | "DUVIDA_DESCOBERTA" | null | undefined;
113
+ preview?: string | undefined;
114
+ createdAt?: string | Date | null | undefined;
115
+ traditionLabel?: string | null | undefined;
116
+ author?: {
117
+ displayName?: string | null | undefined;
118
+ username?: string | null | undefined;
119
+ avatarUrl?: string | null | undefined;
120
+ } | null | undefined;
121
+ answerCount?: number | undefined;
122
+ cta?: string | undefined;
123
+ }>;
124
+ export declare const PublicProfilePreviewSchema: z.ZodObject<{
125
+ id: z.ZodString;
126
+ cta: z.ZodOptional<z.ZodString>;
127
+ } & {
128
+ type: z.ZodLiteral<"PROFILE">;
129
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
130
+ username: z.ZodString;
131
+ avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
132
+ bio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
133
+ traditionLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
134
+ locationLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
135
+ joinedLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
136
+ experienceCount: z.ZodOptional<z.ZodNumber>;
137
+ connectionCount: z.ZodOptional<z.ZodNumber>;
138
+ }, "strip", z.ZodTypeAny, {
139
+ id: string;
140
+ type: "PROFILE";
141
+ username: string;
142
+ displayName?: string | null | undefined;
143
+ avatarUrl?: string | null | undefined;
144
+ traditionLabel?: string | null | undefined;
145
+ locationLabel?: string | null | undefined;
146
+ bio?: string | null | undefined;
147
+ joinedLabel?: string | null | undefined;
148
+ cta?: string | undefined;
149
+ experienceCount?: number | undefined;
150
+ connectionCount?: number | undefined;
151
+ }, {
152
+ id: string;
153
+ type: "PROFILE";
154
+ username: string;
155
+ displayName?: string | null | undefined;
156
+ avatarUrl?: string | null | undefined;
157
+ traditionLabel?: string | null | undefined;
158
+ locationLabel?: string | null | undefined;
159
+ bio?: string | null | undefined;
160
+ joinedLabel?: string | null | undefined;
161
+ cta?: string | undefined;
162
+ experienceCount?: number | undefined;
163
+ connectionCount?: number | undefined;
164
+ }>;
165
+ export declare const PublicSocialPreviewDataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
166
+ id: z.ZodString;
167
+ cta: z.ZodOptional<z.ZodString>;
168
+ } & {
169
+ type: z.ZodLiteral<"EXPERIENCE">;
170
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
171
+ preview: z.ZodString;
172
+ traditionLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
173
+ category: z.ZodOptional<z.ZodNullable<z.ZodEnum<["DESENVOLVIMENTO", "GIRA", "INCORPORACAO", "APRENDIZADO", "SENTIMENTO", "ANCESTRALIDADE", "ESPIRITUALIDADE", "DUVIDA_DESCOBERTA", "OTHER"]>>>;
174
+ postType: z.ZodOptional<z.ZodEnum<["RELATO", "PERGUNTA", "EXPERIENCIA_SEMELHANTE", "CONHECIMENTO", "CAMINHADA"]>>;
175
+ publishedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>;
176
+ author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
177
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
178
+ username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
179
+ avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
180
+ }, "strip", z.ZodTypeAny, {
181
+ displayName?: string | null | undefined;
182
+ username?: string | null | undefined;
183
+ avatarUrl?: string | null | undefined;
184
+ }, {
185
+ displayName?: string | null | undefined;
186
+ username?: string | null | undefined;
187
+ avatarUrl?: string | null | undefined;
188
+ }>>>;
189
+ reactionCount: z.ZodOptional<z.ZodNumber>;
190
+ commentCount: z.ZodOptional<z.ZodNumber>;
191
+ alsoExperiencedCount: z.ZodOptional<z.ZodNumber>;
192
+ }, "strip", z.ZodTypeAny, {
193
+ id: string;
194
+ type: "EXPERIENCE";
195
+ preview: string;
196
+ title?: string | null | undefined;
197
+ category?: "OTHER" | "DESENVOLVIMENTO" | "GIRA" | "INCORPORACAO" | "APRENDIZADO" | "SENTIMENTO" | "ANCESTRALIDADE" | "ESPIRITUALIDADE" | "DUVIDA_DESCOBERTA" | null | undefined;
198
+ traditionLabel?: string | null | undefined;
199
+ author?: {
200
+ displayName?: string | null | undefined;
201
+ username?: string | null | undefined;
202
+ avatarUrl?: string | null | undefined;
203
+ } | null | undefined;
204
+ postType?: "RELATO" | "PERGUNTA" | "EXPERIENCIA_SEMELHANTE" | "CONHECIMENTO" | "CAMINHADA" | undefined;
205
+ reactionCount?: number | undefined;
206
+ alsoExperiencedCount?: number | undefined;
207
+ commentCount?: number | undefined;
208
+ publishedAt?: string | Date | null | undefined;
209
+ cta?: string | undefined;
210
+ }, {
211
+ id: string;
212
+ type: "EXPERIENCE";
213
+ preview: string;
214
+ title?: string | null | undefined;
215
+ category?: "OTHER" | "DESENVOLVIMENTO" | "GIRA" | "INCORPORACAO" | "APRENDIZADO" | "SENTIMENTO" | "ANCESTRALIDADE" | "ESPIRITUALIDADE" | "DUVIDA_DESCOBERTA" | null | undefined;
216
+ traditionLabel?: string | null | undefined;
217
+ author?: {
218
+ displayName?: string | null | undefined;
219
+ username?: string | null | undefined;
220
+ avatarUrl?: string | null | undefined;
221
+ } | null | undefined;
222
+ postType?: "RELATO" | "PERGUNTA" | "EXPERIENCIA_SEMELHANTE" | "CONHECIMENTO" | "CAMINHADA" | undefined;
223
+ reactionCount?: number | undefined;
224
+ alsoExperiencedCount?: number | undefined;
225
+ commentCount?: number | undefined;
226
+ publishedAt?: string | Date | null | undefined;
227
+ cta?: string | undefined;
228
+ }>, z.ZodObject<{
229
+ id: z.ZodString;
230
+ cta: z.ZodOptional<z.ZodString>;
231
+ } & {
232
+ type: z.ZodLiteral<"QUESTION">;
233
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
234
+ preview: z.ZodOptional<z.ZodString>;
235
+ traditionLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
236
+ category: z.ZodOptional<z.ZodNullable<z.ZodEnum<["DESENVOLVIMENTO", "GIRA", "INCORPORACAO", "APRENDIZADO", "SENTIMENTO", "ANCESTRALIDADE", "ESPIRITUALIDADE", "DUVIDA_DESCOBERTA", "OTHER"]>>>;
237
+ source: z.ZodOptional<z.ZodEnum<["COMMUNITY", "AI", "SYSTEM"]>>;
238
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>;
239
+ author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
240
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
241
+ username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
242
+ avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
243
+ }, "strip", z.ZodTypeAny, {
244
+ displayName?: string | null | undefined;
245
+ username?: string | null | undefined;
246
+ avatarUrl?: string | null | undefined;
247
+ }, {
248
+ displayName?: string | null | undefined;
249
+ username?: string | null | undefined;
250
+ avatarUrl?: string | null | undefined;
251
+ }>>>;
252
+ answerCount: z.ZodOptional<z.ZodNumber>;
253
+ }, "strip", z.ZodTypeAny, {
254
+ id: string;
255
+ type: "QUESTION";
256
+ title?: string | null | undefined;
257
+ source?: "COMMUNITY" | "AI" | "SYSTEM" | undefined;
258
+ category?: "OTHER" | "DESENVOLVIMENTO" | "GIRA" | "INCORPORACAO" | "APRENDIZADO" | "SENTIMENTO" | "ANCESTRALIDADE" | "ESPIRITUALIDADE" | "DUVIDA_DESCOBERTA" | null | undefined;
259
+ preview?: string | undefined;
260
+ createdAt?: string | Date | null | undefined;
261
+ traditionLabel?: string | null | undefined;
262
+ author?: {
263
+ displayName?: string | null | undefined;
264
+ username?: string | null | undefined;
265
+ avatarUrl?: string | null | undefined;
266
+ } | null | undefined;
267
+ answerCount?: number | undefined;
268
+ cta?: string | undefined;
269
+ }, {
270
+ id: string;
271
+ type: "QUESTION";
272
+ title?: string | null | undefined;
273
+ source?: "COMMUNITY" | "AI" | "SYSTEM" | undefined;
274
+ category?: "OTHER" | "DESENVOLVIMENTO" | "GIRA" | "INCORPORACAO" | "APRENDIZADO" | "SENTIMENTO" | "ANCESTRALIDADE" | "ESPIRITUALIDADE" | "DUVIDA_DESCOBERTA" | null | undefined;
275
+ preview?: string | undefined;
276
+ createdAt?: string | Date | null | undefined;
277
+ traditionLabel?: string | null | undefined;
278
+ author?: {
279
+ displayName?: string | null | undefined;
280
+ username?: string | null | undefined;
281
+ avatarUrl?: string | null | undefined;
282
+ } | null | undefined;
283
+ answerCount?: number | undefined;
284
+ cta?: string | undefined;
285
+ }>, z.ZodObject<{
286
+ id: z.ZodString;
287
+ cta: z.ZodOptional<z.ZodString>;
288
+ } & {
289
+ type: z.ZodLiteral<"PROFILE">;
290
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
291
+ username: z.ZodString;
292
+ avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
293
+ bio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
294
+ traditionLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
295
+ locationLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
296
+ joinedLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
297
+ experienceCount: z.ZodOptional<z.ZodNumber>;
298
+ connectionCount: z.ZodOptional<z.ZodNumber>;
299
+ }, "strip", z.ZodTypeAny, {
300
+ id: string;
301
+ type: "PROFILE";
302
+ username: string;
303
+ displayName?: string | null | undefined;
304
+ avatarUrl?: string | null | undefined;
305
+ traditionLabel?: string | null | undefined;
306
+ locationLabel?: string | null | undefined;
307
+ bio?: string | null | undefined;
308
+ joinedLabel?: string | null | undefined;
309
+ cta?: string | undefined;
310
+ experienceCount?: number | undefined;
311
+ connectionCount?: number | undefined;
312
+ }, {
313
+ id: string;
314
+ type: "PROFILE";
315
+ username: string;
316
+ displayName?: string | null | undefined;
317
+ avatarUrl?: string | null | undefined;
318
+ traditionLabel?: string | null | undefined;
319
+ locationLabel?: string | null | undefined;
320
+ bio?: string | null | undefined;
321
+ joinedLabel?: string | null | undefined;
322
+ cta?: string | undefined;
323
+ experienceCount?: number | undefined;
324
+ connectionCount?: number | undefined;
325
+ }>]>;
326
+ export type PublicSocialPreviewData = z.infer<typeof PublicSocialPreviewDataSchema>;
327
+ export type PublicSocialPreviewPageProps = {
328
+ preview?: PublicSocialPreviewData | null;
329
+ isLoading?: boolean;
330
+ error?: string | null;
331
+ onSignIn: () => void;
332
+ onSignUp: () => void;
333
+ onRetry?: () => void;
334
+ };
@@ -0,0 +1,3 @@
1
+ export { default as PublicSocialPreviewPage } from "./PublicSocialPreviewPage";
2
+ export type { PublicSocialPreviewPageProps, PublicSocialPreviewData, } from "./PublicSocialPreviewPage.types";
3
+ export { PublicSocialPreviewDataSchema, PublicExperiencePreviewSchema, PublicQuestionPreviewSchema, PublicProfilePreviewSchema, } from "./PublicSocialPreviewPage.types";
@@ -0,0 +1,15 @@
1
+ import React from "react";
2
+ import { type Question, type QuestionAnswer } from "../../../components/social";
3
+ export type QuestionDetailPageProps = {
4
+ question?: Question | null;
5
+ answers?: QuestionAnswer[];
6
+ isLoading?: boolean;
7
+ error?: string;
8
+ submittingAnswer?: boolean;
9
+ onBack?: () => void;
10
+ onRetry?: () => void;
11
+ onSubmitAnswer?: (content: string) => void;
12
+ onAuthorClick?: (userId: string, username?: string) => void;
13
+ };
14
+ declare const QuestionDetailPage: React.FC<QuestionDetailPageProps>;
15
+ export default QuestionDetailPage;
@@ -0,0 +1,13 @@
1
+ import React from "react";
2
+ import { type Question } from "../../../components/social";
3
+ export type QuestionsPageProps = {
4
+ questions?: Question[];
5
+ isLoading?: boolean;
6
+ error?: string;
7
+ onBack?: () => void;
8
+ onRetry?: () => void;
9
+ onOpenQuestion?: (id: string) => void;
10
+ onCreateQuestion?: () => void;
11
+ };
12
+ declare const QuestionsPage: React.FC<QuestionsPageProps>;
13
+ export default QuestionsPage;
@@ -0,0 +1,15 @@
1
+ import React from "react";
2
+ import { type Experience, type SimilarPerson } from "../../../components/social";
3
+ export type SimilarPageProps = {
4
+ experiences?: Experience[];
5
+ people?: SimilarPerson[];
6
+ isLoading?: boolean;
7
+ error?: string;
8
+ onBack?: () => void;
9
+ onRetry?: () => void;
10
+ onOpenExperience?: (id: string) => void;
11
+ onOpenPerson?: (userId: string, username?: string) => void;
12
+ onConnectPerson?: (userId: string) => void;
13
+ };
14
+ declare const SimilarPage: React.FC<SimilarPageProps>;
15
+ export default SimilarPage;
@@ -0,0 +1,41 @@
1
+ import React from "react";
2
+ export type SocialConnectionListPerson = {
3
+ userId: string;
4
+ username?: string;
5
+ displayName?: string | null;
6
+ avatarUrl?: string | null;
7
+ connectionStatus?: "CONNECTED" | "PENDING";
8
+ connectionDirection?: "OUTBOUND" | "INBOUND";
9
+ };
10
+ /** Underline tabs are only followers | following; `requests` is a dedicated screen. */
11
+ export type SocialConnectionsTab = "followers" | "following" | "requests";
12
+ export type SocialConnectionsPageProps = {
13
+ username?: string;
14
+ tab?: SocialConnectionsTab;
15
+ people?: SocialConnectionListPerson[];
16
+ followingCount?: number;
17
+ followersCount?: number;
18
+ /** Inbound PENDING count; drives Pedidos entry on own Seguidores. */
19
+ pendingFollowersCount?: number;
20
+ query?: string;
21
+ isLoading?: boolean;
22
+ error?: string;
23
+ hasNextPage?: boolean;
24
+ isFetchingNextPage?: boolean;
25
+ isOwnProfile?: boolean;
26
+ messagingEnabled?: boolean;
27
+ onBack?: () => void;
28
+ onRetry?: () => void;
29
+ onLoadMore?: () => void | Promise<void>;
30
+ onTabChange?: (tab: SocialConnectionsTab) => void;
31
+ onQueryChange?: (value: string) => void;
32
+ onOpenPerson?: (userId: string, username?: string) => void;
33
+ onMessagePerson?: (userId: string) => void;
34
+ onConnectPerson?: (userId: string) => void;
35
+ onDisconnectPerson?: (userId: string) => void;
36
+ /** Opens Pedidos screen (typically `?tab=requests`). */
37
+ onOpenRequests?: () => void;
38
+ onDiscover?: () => void;
39
+ };
40
+ declare const SocialConnectionsPage: React.FC<SocialConnectionsPageProps>;
41
+ export default SocialConnectionsPage;
@@ -0,0 +1,19 @@
1
+ import React from "react";
2
+ import { type SocialConversation, type SocialMessage } from "../../../components/social";
3
+ export type SocialConversationPageProps = {
4
+ conversation?: SocialConversation | null;
5
+ messages?: SocialMessage[];
6
+ unreadBeforeMessageId?: string | null;
7
+ isLoading?: boolean;
8
+ isSending?: boolean;
9
+ error?: string;
10
+ errorTitle?: string;
11
+ readOnly?: boolean;
12
+ readOnlyMessage?: string;
13
+ onBack?: () => void;
14
+ onRetry?: () => void;
15
+ onSendMessage?: (message: string) => void;
16
+ onRetryMessage?: (messageId: string) => void;
17
+ };
18
+ declare const SocialConversationPage: React.FC<SocialConversationPageProps>;
19
+ export default SocialConversationPage;
@@ -0,0 +1,34 @@
1
+ import React from "react";
2
+ import { type Experience, type Question, type SimilarPerson } from "../../../components/social";
3
+ export type SocialDiscoverTab = "all" | "experiences" | "questions" | "people";
4
+ export type SocialDiscoverPageProps = {
5
+ query?: string;
6
+ /** True after the user has submitted at least one non-empty search. */
7
+ hasSearched?: boolean;
8
+ activeTab?: SocialDiscoverTab;
9
+ experiences?: Experience[];
10
+ questions?: Question[];
11
+ people?: SimilarPerson[];
12
+ /** Shown when the user has not searched yet (people to discover). */
13
+ suggestedPeople?: SimilarPerson[];
14
+ isLoading?: boolean;
15
+ isSuggestedLoading?: boolean;
16
+ error?: string;
17
+ onBack?: () => void;
18
+ onRetry?: () => void;
19
+ onQueryChange?: (value: string) => void;
20
+ onSearch?: (value: string) => void;
21
+ onClearSearch?: () => void;
22
+ onTabChange?: (tab: SocialDiscoverTab) => void;
23
+ onOpenExperience?: (id: string) => void;
24
+ onOpenQuestion?: (id: string) => void;
25
+ /** Experience-comments style: open answers without leaving Explorar. */
26
+ onOpenQuestionAnswers?: (id: string) => void;
27
+ onBookmarkQuestion?: (id: string) => void;
28
+ onShareQuestion?: (id: string) => void;
29
+ onReactionToggleQuestion?: (id: string, type: import("../../../components/social").ExperienceReactionType) => void;
30
+ onOpenPerson?: (userId: string, username?: string) => void;
31
+ onConnectPerson?: (userId: string) => void;
32
+ };
33
+ declare const SocialDiscoverPage: React.FC<SocialDiscoverPageProps>;
34
+ export default SocialDiscoverPage;