@goodhood-web/nebenan-base 4.1.0-development.9 → 4.2.0-development.1

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 (103) hide show
  1. package/index.d.ts +8 -2
  2. package/index.js +102 -93
  3. package/index.mjs +71120 -69700
  4. package/lib/Authentication/Registration/VerificationForm/Steps/index.d.ts +2 -1
  5. package/lib/Authentication/Registration/VerificationForm/VerificationForm.types.d.ts +3 -2
  6. package/lib/Authentication/Registration/VerificationForm/network.d.ts +2 -1
  7. package/lib/ComplaintModal/ComplaintModal.types.d.ts +2 -6
  8. package/lib/ContentCreator/ContentCreator.d.ts +3 -0
  9. package/lib/ContentCreator/ContentCreator.types.d.ts +18 -0
  10. package/lib/ContentCreator/components/ContentCreatorFieldWrapper/ContentCreatorFieldsWrapper.d.ts +3 -0
  11. package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/ContentFieldsSheet/ContentFieldsSheet.d.ts +4 -0
  12. package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/ContentFieldsSheet/ContentFieldsSheet.types.d.ts +34 -0
  13. package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/ContentTypeField/ContentTypeField.d.ts +3 -0
  14. package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/ContentTypeField/ContentTypeField.types.d.ts +13 -0
  15. package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/EventFields/EventField.d.ts +2 -0
  16. package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/MarketplaceFields/MarketplaceFields.d.ts +2 -0
  17. package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/PostFields/PostFields.d.ts +3 -0
  18. package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/PostFields/PostFields.types.d.ts +6 -0
  19. package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/ReachTypeField/ReachTypeField.d.ts +3 -0
  20. package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/ReachTypeField/ReachTypeFields.type.d.ts +10 -0
  21. package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/index.d.ts +6 -0
  22. package/lib/ContentCreator/constants.d.ts +12 -0
  23. package/lib/ContentCreator/network.d.ts +4 -0
  24. package/lib/ContentCreator/utils.d.ts +14 -0
  25. package/lib/ContentCreator/validationSchemas/commonSchemas.d.ts +112 -0
  26. package/lib/ContentCreator/validationSchemas/dynamicValidationSchema.d.ts +628 -0
  27. package/lib/ContentCreator/validationSchemas/eventSchema.d.ts +127 -0
  28. package/lib/ContentCreator/validationSchemas/index.d.ts +7 -0
  29. package/lib/ContentCreator/validationSchemas/marketplaceSchema.d.ts +127 -0
  30. package/lib/ContentCreator/validationSchemas/postSchema.d.ts +127 -0
  31. package/lib/ContentCreator/validationSchemas/recommendationSchema.d.ts +127 -0
  32. package/lib/ContentCreator/validationSchemas/searchSchema.d.ts +127 -0
  33. package/lib/Feed/Aggregators/GridFeedAggregator/GridFeedAggregator.d.ts +2 -0
  34. package/lib/Feed/Aggregators/GridFeedAggregator/GridFeedAggregator.types.d.ts +12 -0
  35. package/lib/Feed/Aggregators/GridFeedAggregator/components/FeedDynamicRenderer/FeedDynamicRenderer.d.ts +3 -0
  36. package/lib/Feed/Aggregators/GridFeedAggregator/components/FeedDynamicRenderer/FeedDynamicRenderer.types.d.ts +5 -0
  37. package/lib/Feed/Aggregators/GridFeedAggregator/components/FeedEmptyStateCard/FeedEmptyStateCard.d.ts +2 -0
  38. package/lib/Feed/Aggregators/GridFeedAggregator/components/FeedEmptyStateCard/FeedEmptyStateCard.types.d.ts +8 -0
  39. package/lib/Feed/Aggregators/GridFeedAggregator/components/FeedEmptyStateCard/utils.d.ts +2 -0
  40. package/lib/Feed/Aggregators/GridFeedAggregator/utils.d.ts +1 -0
  41. package/lib/Feed/Feed/Feed.d.ts +3 -0
  42. package/lib/Feed/Feed/Feed.types.d.ts +41 -0
  43. package/lib/Feed/Feed/utils.d.ts +27 -0
  44. package/lib/Feed/FeedItem/FeedItemComplaintModal/FeedItemComplaintModal.d.ts +2 -0
  45. package/lib/Feed/FeedItem/FeedItemComplaintModal/FeedItemComplaintModal.types.d.ts +6 -0
  46. package/lib/Feed/FeedItem/Marketplace/MarketplaceActions/MarketplaceActions.types.d.ts +1 -1
  47. package/lib/Feed/FeedItem/Marketplace/MarketplaceDetailPage/components/MarketplaceErrorBoundary.d.ts +1 -1
  48. package/lib/Feed/FeedItem/Post/Post.d.ts +6 -0
  49. package/lib/Feed/FeedItem/PostReactions/PostReactions.d.ts +3 -0
  50. package/lib/Feed/FeedItem/PostReactions/PostReactions.types.d.ts +10 -0
  51. package/lib/Feed/FeedItem/{Reactions/PostReactions → PostReactions}/utils.d.ts +2 -2
  52. package/lib/Feed/FeedItem/Replies/Reply/Reply.d.ts +2 -0
  53. package/lib/Feed/FeedItem/Replies/Reply/Reply.types.d.ts +7 -0
  54. package/lib/Feed/FeedItem/Replies/Reply/utils.d.ts +2 -0
  55. package/lib/Feed/FeedItem/Replies/ReplyBubble/ReplyBubble.d.ts +3 -0
  56. package/lib/Feed/FeedItem/Replies/ReplyBubble/ReplyBubble.types.d.ts +10 -0
  57. package/lib/Feed/FeedItem/Replies/ReplyBubble/ReplyGallery/ReplyGallery.d.ts +5 -0
  58. package/lib/Feed/FeedItem/Replies/ReplyBubble/ReplyMoreOptions/ReplyMoreOptions.d.ts +10 -0
  59. package/lib/Feed/FeedItem/Replies/ReplyBubble/ReplyPoi/ReplyPoi.d.ts +7 -0
  60. package/lib/Feed/FeedItem/Replies/ReplyBubble/utils.d.ts +4 -0
  61. package/lib/Feed/FeedItem/{Reactions → Replies}/ReplyReactions/Like/Like.types.d.ts +4 -5
  62. package/lib/Feed/FeedItem/Replies/ReplyReactions/ReplyReactions.d.ts +3 -0
  63. package/lib/Feed/FeedItem/Replies/ReplyReactions/ReplyReactions.types.d.ts +12 -0
  64. package/lib/Feed/FeedItem/Replies/ReplyReactions/constants.d.ts +5 -0
  65. package/lib/Feed/FeedItem/Replies/ReplyReactions/network.d.ts +14 -0
  66. package/lib/Feed/FeedItem/Replies/ReplyReactions/utils.d.ts +22 -0
  67. package/lib/Feed/FeedItem/Replies/ReplySection/ReplySection.d.ts +3 -0
  68. package/lib/Feed/FeedItem/Replies/ReplySection/ReplySection.types.d.ts +10 -0
  69. package/lib/Feed/FeedItem/Replies/ReplySection/network.d.ts +16 -0
  70. package/lib/Feed/FeedItem/Replies/ReplySection/utils.d.ts +20 -0
  71. package/lib/Feed/LazyFeed/LazyFeed.d.ts +11 -0
  72. package/lib/Feed/LazyFeed/MarketplaceSkeleton.d.ts +5 -0
  73. package/lib/Feed/MarketplaceFeedPage/MarketplaceFeedPage.d.ts +11 -0
  74. package/lib/Forms/Fields/FormRichTextArea.d.ts +8 -0
  75. package/lib/Forms/Fields/index.d.ts +2 -1
  76. package/lib/Forms/Wizard/Wizard.types.d.ts +6 -0
  77. package/lib/Forms/Wizard/useTrackStepPageView.d.ts +9 -0
  78. package/lib/ImageCropper/ImageCropper.d.ts +1 -1
  79. package/lib/ImageCropper/ImageCropper.types.d.ts +9 -2
  80. package/lib/MainLayout/MainLayout.d.ts +1 -1
  81. package/lib/MainLayout/MainLayout.types.d.ts +1 -0
  82. package/lib/MarketplaceImageCropper/MarketplaceImageCropper.d.ts +5 -0
  83. package/lib/MarketplaceImageCropper/MarketplaceImageCropper.types.d.ts +6 -0
  84. package/lib/MarketplaceImageCropper/components/ImageThumbnailGrid/ImageThumbnailGrid.d.ts +10 -0
  85. package/lib/Profile/Profile.d.ts +1 -1
  86. package/lib/Profile/Profile.types.d.ts +1 -0
  87. package/lib/Reactions/ReactionTabList/ReactionTabList.d.ts +1 -1
  88. package/lib/Reactions/ReactionTabList/ReactionTabList.types.d.ts +1 -2
  89. package/lib/RichTextArea/RichTextArea.d.ts +1 -1
  90. package/lib/RichTextArea/RichTextArea.types.d.ts +11 -12
  91. package/lib/RichTextArea/components/POI/useBusinessProfile.d.ts +1 -1
  92. package/lib/RichTextArea/lexical/plugins/MentionPlugin.d.ts +1 -3
  93. package/lib/RichTextArea/lexical/utils.d.ts +4 -7
  94. package/package.json +1 -1
  95. package/style.css +1 -1
  96. package/lib/Feed/FeedItem/Marketplace/MarketplaceMoreOptions/ComplaintModalComponent/ComplaintModalComponent.d.ts +0 -8
  97. package/lib/Feed/FeedItem/Reactions/PostReactions/PostReactions.d.ts +0 -3
  98. package/lib/Feed/FeedItem/Reactions/PostReactions/PostReactions.types.d.ts +0 -13
  99. package/lib/Feed/FeedItem/Reactions/ReplyReactions/ReplyReactions.d.ts +0 -3
  100. package/lib/Feed/FeedItem/Reactions/ReplyReactions/ReplyReactions.types.d.ts +0 -16
  101. package/lib/RichTextArea/utils.d.ts +0 -3
  102. /package/lib/Feed/FeedItem/{Reactions → Replies}/ReplyReactions/Like/Like.d.ts +0 -0
  103. /package/lib/Feed/FeedItem/{Reactions → Replies}/ReplyReactions/Like/ReactionLabel/ReactionLabel.d.ts +0 -0
@@ -0,0 +1,127 @@
1
+ import { z } from 'zod';
2
+ export declare const eventValidationSchema: z.ZodObject<{
3
+ content: z.ZodObject<{
4
+ attachments: z.ZodOptional<z.ZodObject<{
5
+ images: z.ZodOptional<z.ZodArray<z.ZodObject<{
6
+ croppedImg: z.ZodType<File, z.ZodTypeDef, File>;
7
+ id: z.ZodString;
8
+ originalImg: z.ZodType<File, z.ZodTypeDef, File>;
9
+ signedId: z.ZodOptional<z.ZodString>;
10
+ }, "strip", z.ZodTypeAny, {
11
+ id: string;
12
+ croppedImg: File;
13
+ originalImg: File;
14
+ signedId?: string | undefined;
15
+ }, {
16
+ id: string;
17
+ croppedImg: File;
18
+ originalImg: File;
19
+ signedId?: string | undefined;
20
+ }>, "many">>;
21
+ }, "strip", z.ZodTypeAny, {
22
+ images?: {
23
+ id: string;
24
+ croppedImg: File;
25
+ originalImg: File;
26
+ signedId?: string | undefined;
27
+ }[] | undefined;
28
+ }, {
29
+ images?: {
30
+ id: string;
31
+ croppedImg: File;
32
+ originalImg: File;
33
+ signedId?: string | undefined;
34
+ }[] | undefined;
35
+ }>>;
36
+ body: z.ZodString;
37
+ embeddables: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
38
+ gid: z.ZodString;
39
+ indices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
40
+ role: z.ZodEnum<["mention", "link", "profile"]>;
41
+ }, "strip", z.ZodTypeAny, {
42
+ role: "link" | "profile" | "mention";
43
+ gid: string;
44
+ indices?: number[] | null | undefined;
45
+ }, {
46
+ role: "link" | "profile" | "mention";
47
+ gid: string;
48
+ indices?: number[] | null | undefined;
49
+ }>, "many">>>;
50
+ }, "strip", z.ZodTypeAny, {
51
+ body: string;
52
+ embeddables?: {
53
+ role: "link" | "profile" | "mention";
54
+ gid: string;
55
+ indices?: number[] | null | undefined;
56
+ }[] | null | undefined;
57
+ attachments?: {
58
+ images?: {
59
+ id: string;
60
+ croppedImg: File;
61
+ originalImg: File;
62
+ signedId?: string | undefined;
63
+ }[] | undefined;
64
+ } | undefined;
65
+ }, {
66
+ body: string;
67
+ embeddables?: {
68
+ role: "link" | "profile" | "mention";
69
+ gid: string;
70
+ indices?: number[] | null | undefined;
71
+ }[] | null | undefined;
72
+ attachments?: {
73
+ images?: {
74
+ id: string;
75
+ croppedImg: File;
76
+ originalImg: File;
77
+ signedId?: string | undefined;
78
+ }[] | undefined;
79
+ } | undefined;
80
+ }>;
81
+ content_type: z.ZodLiteral<"event">;
82
+ hood_group_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
83
+ reach: z.ZodEnum<["profile", "hood", "extended", "public"]>;
84
+ subject: z.ZodString;
85
+ }, "strip", z.ZodTypeAny, {
86
+ content: {
87
+ body: string;
88
+ embeddables?: {
89
+ role: "link" | "profile" | "mention";
90
+ gid: string;
91
+ indices?: number[] | null | undefined;
92
+ }[] | null | undefined;
93
+ attachments?: {
94
+ images?: {
95
+ id: string;
96
+ croppedImg: File;
97
+ originalImg: File;
98
+ signedId?: string | undefined;
99
+ }[] | undefined;
100
+ } | undefined;
101
+ };
102
+ content_type: "event";
103
+ subject: string;
104
+ reach: "profile" | "hood" | "public" | "extended";
105
+ hood_group_id?: number | null | undefined;
106
+ }, {
107
+ content: {
108
+ body: string;
109
+ embeddables?: {
110
+ role: "link" | "profile" | "mention";
111
+ gid: string;
112
+ indices?: number[] | null | undefined;
113
+ }[] | null | undefined;
114
+ attachments?: {
115
+ images?: {
116
+ id: string;
117
+ croppedImg: File;
118
+ originalImg: File;
119
+ signedId?: string | undefined;
120
+ }[] | undefined;
121
+ } | undefined;
122
+ };
123
+ content_type: "event";
124
+ subject: string;
125
+ reach: "profile" | "hood" | "public" | "extended";
126
+ hood_group_id?: number | null | undefined;
127
+ }>;
@@ -0,0 +1,7 @@
1
+ export * from './postSchema';
2
+ export * from './eventSchema';
3
+ export * from './marketplaceSchema';
4
+ export * from './recommendationSchema';
5
+ export * from './searchSchema';
6
+ export * from './commonSchemas';
7
+ export * from './dynamicValidationSchema';
@@ -0,0 +1,127 @@
1
+ import { z } from 'zod';
2
+ export declare const marketplaceValidationSchema: z.ZodObject<{
3
+ content: z.ZodObject<{
4
+ attachments: z.ZodOptional<z.ZodObject<{
5
+ images: z.ZodOptional<z.ZodArray<z.ZodObject<{
6
+ croppedImg: z.ZodType<File, z.ZodTypeDef, File>;
7
+ id: z.ZodString;
8
+ originalImg: z.ZodType<File, z.ZodTypeDef, File>;
9
+ signedId: z.ZodOptional<z.ZodString>;
10
+ }, "strip", z.ZodTypeAny, {
11
+ id: string;
12
+ croppedImg: File;
13
+ originalImg: File;
14
+ signedId?: string | undefined;
15
+ }, {
16
+ id: string;
17
+ croppedImg: File;
18
+ originalImg: File;
19
+ signedId?: string | undefined;
20
+ }>, "many">>;
21
+ }, "strip", z.ZodTypeAny, {
22
+ images?: {
23
+ id: string;
24
+ croppedImg: File;
25
+ originalImg: File;
26
+ signedId?: string | undefined;
27
+ }[] | undefined;
28
+ }, {
29
+ images?: {
30
+ id: string;
31
+ croppedImg: File;
32
+ originalImg: File;
33
+ signedId?: string | undefined;
34
+ }[] | undefined;
35
+ }>>;
36
+ body: z.ZodString;
37
+ embeddables: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
38
+ gid: z.ZodString;
39
+ indices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
40
+ role: z.ZodEnum<["mention", "link", "profile"]>;
41
+ }, "strip", z.ZodTypeAny, {
42
+ role: "link" | "profile" | "mention";
43
+ gid: string;
44
+ indices?: number[] | null | undefined;
45
+ }, {
46
+ role: "link" | "profile" | "mention";
47
+ gid: string;
48
+ indices?: number[] | null | undefined;
49
+ }>, "many">>>;
50
+ }, "strip", z.ZodTypeAny, {
51
+ body: string;
52
+ embeddables?: {
53
+ role: "link" | "profile" | "mention";
54
+ gid: string;
55
+ indices?: number[] | null | undefined;
56
+ }[] | null | undefined;
57
+ attachments?: {
58
+ images?: {
59
+ id: string;
60
+ croppedImg: File;
61
+ originalImg: File;
62
+ signedId?: string | undefined;
63
+ }[] | undefined;
64
+ } | undefined;
65
+ }, {
66
+ body: string;
67
+ embeddables?: {
68
+ role: "link" | "profile" | "mention";
69
+ gid: string;
70
+ indices?: number[] | null | undefined;
71
+ }[] | null | undefined;
72
+ attachments?: {
73
+ images?: {
74
+ id: string;
75
+ croppedImg: File;
76
+ originalImg: File;
77
+ signedId?: string | undefined;
78
+ }[] | undefined;
79
+ } | undefined;
80
+ }>;
81
+ content_type: z.ZodLiteral<"marketplace">;
82
+ hood_group_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
83
+ reach: z.ZodEnum<["profile", "hood", "extended", "public"]>;
84
+ subject: z.ZodString;
85
+ }, "strip", z.ZodTypeAny, {
86
+ content: {
87
+ body: string;
88
+ embeddables?: {
89
+ role: "link" | "profile" | "mention";
90
+ gid: string;
91
+ indices?: number[] | null | undefined;
92
+ }[] | null | undefined;
93
+ attachments?: {
94
+ images?: {
95
+ id: string;
96
+ croppedImg: File;
97
+ originalImg: File;
98
+ signedId?: string | undefined;
99
+ }[] | undefined;
100
+ } | undefined;
101
+ };
102
+ content_type: "marketplace";
103
+ subject: string;
104
+ reach: "profile" | "hood" | "public" | "extended";
105
+ hood_group_id?: number | null | undefined;
106
+ }, {
107
+ content: {
108
+ body: string;
109
+ embeddables?: {
110
+ role: "link" | "profile" | "mention";
111
+ gid: string;
112
+ indices?: number[] | null | undefined;
113
+ }[] | null | undefined;
114
+ attachments?: {
115
+ images?: {
116
+ id: string;
117
+ croppedImg: File;
118
+ originalImg: File;
119
+ signedId?: string | undefined;
120
+ }[] | undefined;
121
+ } | undefined;
122
+ };
123
+ content_type: "marketplace";
124
+ subject: string;
125
+ reach: "profile" | "hood" | "public" | "extended";
126
+ hood_group_id?: number | null | undefined;
127
+ }>;
@@ -0,0 +1,127 @@
1
+ import { z } from 'zod';
2
+ export declare const postValidationSchema: z.ZodObject<{
3
+ content: z.ZodObject<{
4
+ attachments: z.ZodOptional<z.ZodObject<{
5
+ images: z.ZodOptional<z.ZodArray<z.ZodObject<{
6
+ croppedImg: z.ZodType<File, z.ZodTypeDef, File>;
7
+ id: z.ZodString;
8
+ originalImg: z.ZodType<File, z.ZodTypeDef, File>;
9
+ signedId: z.ZodOptional<z.ZodString>;
10
+ }, "strip", z.ZodTypeAny, {
11
+ id: string;
12
+ croppedImg: File;
13
+ originalImg: File;
14
+ signedId?: string | undefined;
15
+ }, {
16
+ id: string;
17
+ croppedImg: File;
18
+ originalImg: File;
19
+ signedId?: string | undefined;
20
+ }>, "many">>;
21
+ }, "strip", z.ZodTypeAny, {
22
+ images?: {
23
+ id: string;
24
+ croppedImg: File;
25
+ originalImg: File;
26
+ signedId?: string | undefined;
27
+ }[] | undefined;
28
+ }, {
29
+ images?: {
30
+ id: string;
31
+ croppedImg: File;
32
+ originalImg: File;
33
+ signedId?: string | undefined;
34
+ }[] | undefined;
35
+ }>>;
36
+ body: z.ZodString;
37
+ embeddables: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
38
+ gid: z.ZodString;
39
+ indices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
40
+ role: z.ZodEnum<["mention", "link", "profile"]>;
41
+ }, "strip", z.ZodTypeAny, {
42
+ role: "link" | "profile" | "mention";
43
+ gid: string;
44
+ indices?: number[] | null | undefined;
45
+ }, {
46
+ role: "link" | "profile" | "mention";
47
+ gid: string;
48
+ indices?: number[] | null | undefined;
49
+ }>, "many">>>;
50
+ }, "strip", z.ZodTypeAny, {
51
+ body: string;
52
+ embeddables?: {
53
+ role: "link" | "profile" | "mention";
54
+ gid: string;
55
+ indices?: number[] | null | undefined;
56
+ }[] | null | undefined;
57
+ attachments?: {
58
+ images?: {
59
+ id: string;
60
+ croppedImg: File;
61
+ originalImg: File;
62
+ signedId?: string | undefined;
63
+ }[] | undefined;
64
+ } | undefined;
65
+ }, {
66
+ body: string;
67
+ embeddables?: {
68
+ role: "link" | "profile" | "mention";
69
+ gid: string;
70
+ indices?: number[] | null | undefined;
71
+ }[] | null | undefined;
72
+ attachments?: {
73
+ images?: {
74
+ id: string;
75
+ croppedImg: File;
76
+ originalImg: File;
77
+ signedId?: string | undefined;
78
+ }[] | undefined;
79
+ } | undefined;
80
+ }>;
81
+ content_type: z.ZodLiteral<"post">;
82
+ hood_group_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
83
+ reach: z.ZodEnum<["profile", "hood", "extended", "public"]>;
84
+ subject: z.ZodString;
85
+ }, "strip", z.ZodTypeAny, {
86
+ content: {
87
+ body: string;
88
+ embeddables?: {
89
+ role: "link" | "profile" | "mention";
90
+ gid: string;
91
+ indices?: number[] | null | undefined;
92
+ }[] | null | undefined;
93
+ attachments?: {
94
+ images?: {
95
+ id: string;
96
+ croppedImg: File;
97
+ originalImg: File;
98
+ signedId?: string | undefined;
99
+ }[] | undefined;
100
+ } | undefined;
101
+ };
102
+ content_type: "post";
103
+ subject: string;
104
+ reach: "profile" | "hood" | "public" | "extended";
105
+ hood_group_id?: number | null | undefined;
106
+ }, {
107
+ content: {
108
+ body: string;
109
+ embeddables?: {
110
+ role: "link" | "profile" | "mention";
111
+ gid: string;
112
+ indices?: number[] | null | undefined;
113
+ }[] | null | undefined;
114
+ attachments?: {
115
+ images?: {
116
+ id: string;
117
+ croppedImg: File;
118
+ originalImg: File;
119
+ signedId?: string | undefined;
120
+ }[] | undefined;
121
+ } | undefined;
122
+ };
123
+ content_type: "post";
124
+ subject: string;
125
+ reach: "profile" | "hood" | "public" | "extended";
126
+ hood_group_id?: number | null | undefined;
127
+ }>;
@@ -0,0 +1,127 @@
1
+ import { z } from 'zod';
2
+ export declare const recommendationValidationSchema: z.ZodObject<{
3
+ content: z.ZodObject<{
4
+ attachments: z.ZodOptional<z.ZodObject<{
5
+ images: z.ZodOptional<z.ZodArray<z.ZodObject<{
6
+ croppedImg: z.ZodType<File, z.ZodTypeDef, File>;
7
+ id: z.ZodString;
8
+ originalImg: z.ZodType<File, z.ZodTypeDef, File>;
9
+ signedId: z.ZodOptional<z.ZodString>;
10
+ }, "strip", z.ZodTypeAny, {
11
+ id: string;
12
+ croppedImg: File;
13
+ originalImg: File;
14
+ signedId?: string | undefined;
15
+ }, {
16
+ id: string;
17
+ croppedImg: File;
18
+ originalImg: File;
19
+ signedId?: string | undefined;
20
+ }>, "many">>;
21
+ }, "strip", z.ZodTypeAny, {
22
+ images?: {
23
+ id: string;
24
+ croppedImg: File;
25
+ originalImg: File;
26
+ signedId?: string | undefined;
27
+ }[] | undefined;
28
+ }, {
29
+ images?: {
30
+ id: string;
31
+ croppedImg: File;
32
+ originalImg: File;
33
+ signedId?: string | undefined;
34
+ }[] | undefined;
35
+ }>>;
36
+ body: z.ZodString;
37
+ embeddables: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
38
+ gid: z.ZodString;
39
+ indices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
40
+ role: z.ZodEnum<["mention", "link", "profile"]>;
41
+ }, "strip", z.ZodTypeAny, {
42
+ role: "link" | "profile" | "mention";
43
+ gid: string;
44
+ indices?: number[] | null | undefined;
45
+ }, {
46
+ role: "link" | "profile" | "mention";
47
+ gid: string;
48
+ indices?: number[] | null | undefined;
49
+ }>, "many">>>;
50
+ }, "strip", z.ZodTypeAny, {
51
+ body: string;
52
+ embeddables?: {
53
+ role: "link" | "profile" | "mention";
54
+ gid: string;
55
+ indices?: number[] | null | undefined;
56
+ }[] | null | undefined;
57
+ attachments?: {
58
+ images?: {
59
+ id: string;
60
+ croppedImg: File;
61
+ originalImg: File;
62
+ signedId?: string | undefined;
63
+ }[] | undefined;
64
+ } | undefined;
65
+ }, {
66
+ body: string;
67
+ embeddables?: {
68
+ role: "link" | "profile" | "mention";
69
+ gid: string;
70
+ indices?: number[] | null | undefined;
71
+ }[] | null | undefined;
72
+ attachments?: {
73
+ images?: {
74
+ id: string;
75
+ croppedImg: File;
76
+ originalImg: File;
77
+ signedId?: string | undefined;
78
+ }[] | undefined;
79
+ } | undefined;
80
+ }>;
81
+ content_type: z.ZodLiteral<"recommendation">;
82
+ hood_group_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
83
+ reach: z.ZodEnum<["profile", "hood", "extended", "public"]>;
84
+ subject: z.ZodString;
85
+ }, "strip", z.ZodTypeAny, {
86
+ content: {
87
+ body: string;
88
+ embeddables?: {
89
+ role: "link" | "profile" | "mention";
90
+ gid: string;
91
+ indices?: number[] | null | undefined;
92
+ }[] | null | undefined;
93
+ attachments?: {
94
+ images?: {
95
+ id: string;
96
+ croppedImg: File;
97
+ originalImg: File;
98
+ signedId?: string | undefined;
99
+ }[] | undefined;
100
+ } | undefined;
101
+ };
102
+ content_type: "recommendation";
103
+ subject: string;
104
+ reach: "profile" | "hood" | "public" | "extended";
105
+ hood_group_id?: number | null | undefined;
106
+ }, {
107
+ content: {
108
+ body: string;
109
+ embeddables?: {
110
+ role: "link" | "profile" | "mention";
111
+ gid: string;
112
+ indices?: number[] | null | undefined;
113
+ }[] | null | undefined;
114
+ attachments?: {
115
+ images?: {
116
+ id: string;
117
+ croppedImg: File;
118
+ originalImg: File;
119
+ signedId?: string | undefined;
120
+ }[] | undefined;
121
+ } | undefined;
122
+ };
123
+ content_type: "recommendation";
124
+ subject: string;
125
+ reach: "profile" | "hood" | "public" | "extended";
126
+ hood_group_id?: number | null | undefined;
127
+ }>;
@@ -0,0 +1,127 @@
1
+ import { z } from 'zod';
2
+ export declare const searchValidationSchema: z.ZodObject<{
3
+ content: z.ZodObject<{
4
+ attachments: z.ZodOptional<z.ZodObject<{
5
+ images: z.ZodOptional<z.ZodArray<z.ZodObject<{
6
+ croppedImg: z.ZodType<File, z.ZodTypeDef, File>;
7
+ id: z.ZodString;
8
+ originalImg: z.ZodType<File, z.ZodTypeDef, File>;
9
+ signedId: z.ZodOptional<z.ZodString>;
10
+ }, "strip", z.ZodTypeAny, {
11
+ id: string;
12
+ croppedImg: File;
13
+ originalImg: File;
14
+ signedId?: string | undefined;
15
+ }, {
16
+ id: string;
17
+ croppedImg: File;
18
+ originalImg: File;
19
+ signedId?: string | undefined;
20
+ }>, "many">>;
21
+ }, "strip", z.ZodTypeAny, {
22
+ images?: {
23
+ id: string;
24
+ croppedImg: File;
25
+ originalImg: File;
26
+ signedId?: string | undefined;
27
+ }[] | undefined;
28
+ }, {
29
+ images?: {
30
+ id: string;
31
+ croppedImg: File;
32
+ originalImg: File;
33
+ signedId?: string | undefined;
34
+ }[] | undefined;
35
+ }>>;
36
+ body: z.ZodString;
37
+ embeddables: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
38
+ gid: z.ZodString;
39
+ indices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
40
+ role: z.ZodEnum<["mention", "link", "profile"]>;
41
+ }, "strip", z.ZodTypeAny, {
42
+ role: "link" | "profile" | "mention";
43
+ gid: string;
44
+ indices?: number[] | null | undefined;
45
+ }, {
46
+ role: "link" | "profile" | "mention";
47
+ gid: string;
48
+ indices?: number[] | null | undefined;
49
+ }>, "many">>>;
50
+ }, "strip", z.ZodTypeAny, {
51
+ body: string;
52
+ embeddables?: {
53
+ role: "link" | "profile" | "mention";
54
+ gid: string;
55
+ indices?: number[] | null | undefined;
56
+ }[] | null | undefined;
57
+ attachments?: {
58
+ images?: {
59
+ id: string;
60
+ croppedImg: File;
61
+ originalImg: File;
62
+ signedId?: string | undefined;
63
+ }[] | undefined;
64
+ } | undefined;
65
+ }, {
66
+ body: string;
67
+ embeddables?: {
68
+ role: "link" | "profile" | "mention";
69
+ gid: string;
70
+ indices?: number[] | null | undefined;
71
+ }[] | null | undefined;
72
+ attachments?: {
73
+ images?: {
74
+ id: string;
75
+ croppedImg: File;
76
+ originalImg: File;
77
+ signedId?: string | undefined;
78
+ }[] | undefined;
79
+ } | undefined;
80
+ }>;
81
+ content_type: z.ZodLiteral<"search">;
82
+ hood_group_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
83
+ reach: z.ZodEnum<["profile", "hood", "extended", "public"]>;
84
+ subject: z.ZodString;
85
+ }, "strip", z.ZodTypeAny, {
86
+ content: {
87
+ body: string;
88
+ embeddables?: {
89
+ role: "link" | "profile" | "mention";
90
+ gid: string;
91
+ indices?: number[] | null | undefined;
92
+ }[] | null | undefined;
93
+ attachments?: {
94
+ images?: {
95
+ id: string;
96
+ croppedImg: File;
97
+ originalImg: File;
98
+ signedId?: string | undefined;
99
+ }[] | undefined;
100
+ } | undefined;
101
+ };
102
+ content_type: "search";
103
+ subject: string;
104
+ reach: "profile" | "hood" | "public" | "extended";
105
+ hood_group_id?: number | null | undefined;
106
+ }, {
107
+ content: {
108
+ body: string;
109
+ embeddables?: {
110
+ role: "link" | "profile" | "mention";
111
+ gid: string;
112
+ indices?: number[] | null | undefined;
113
+ }[] | null | undefined;
114
+ attachments?: {
115
+ images?: {
116
+ id: string;
117
+ croppedImg: File;
118
+ originalImg: File;
119
+ signedId?: string | undefined;
120
+ }[] | undefined;
121
+ } | undefined;
122
+ };
123
+ content_type: "search";
124
+ subject: string;
125
+ reach: "profile" | "hood" | "public" | "extended";
126
+ hood_group_id?: number | null | undefined;
127
+ }>;
@@ -0,0 +1,2 @@
1
+ import { GridFeedAggregatorProps } from './GridFeedAggregator.types';
2
+ export default function GridFeedAggregator({ feedType, items }: GridFeedAggregatorProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,12 @@
1
+ import { GridFeedAd, GridFeedHoodMessage, GridFeedProps } from '../../Feed/Feed.types';
2
+ export type GridFeedAggregatorProps = {
3
+ feedType: GridFeedProps['feedType'];
4
+ items: (GridFeedAd | GridFeedHoodMessage)[];
5
+ };
6
+ export declare const GridFeedAggregatorNavigateEnum: {
7
+ readonly event: "";
8
+ readonly feed: "";
9
+ readonly group: "";
10
+ readonly marketplace: "/feed/marketplace";
11
+ readonly post: "";
12
+ };
@@ -0,0 +1,3 @@
1
+ import { FeedDynamicRendererProps } from './FeedDynamicRenderer.types';
2
+ declare const FeedDynamicRenderer: ({ feedType, item }: FeedDynamicRendererProps) => import("react/jsx-runtime").JSX.Element | null;
3
+ export default FeedDynamicRenderer;
@@ -0,0 +1,5 @@
1
+ import { GridFeedHoodMessage, GridFeedProps } from '../../../../Feed/Feed.types';
2
+ export interface FeedDynamicRendererProps {
3
+ feedType: GridFeedProps['feedType'];
4
+ item: GridFeedHoodMessage;
5
+ }
@@ -0,0 +1,2 @@
1
+ import { FeedEmptyStateCardProps } from './FeedEmptyStateCard.types';
2
+ export default function FeedEmptyStateCard({ classNameButtonDesktop, classNameButtonMobile, feedType, isCard, onClick, }: FeedEmptyStateCardProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { GridFeedProps } from '../../../../Feed/Feed.types';
2
+ export interface FeedEmptyStateCardProps {
3
+ classNameButtonDesktop?: string;
4
+ classNameButtonMobile?: string;
5
+ feedType: GridFeedProps['feedType'];
6
+ isCard?: boolean;
7
+ onClick: () => void;
8
+ }