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

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 (83) hide show
  1. package/index.d.ts +4 -2
  2. package/index.js +86 -86
  3. package/index.mjs +70969 -69912
  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/FeedItem/FeedItemComplaintModal/FeedItemComplaintModal.d.ts +2 -0
  34. package/lib/Feed/FeedItem/FeedItemComplaintModal/FeedItemComplaintModal.types.d.ts +6 -0
  35. package/lib/Feed/FeedItem/PostReactions/PostReactions.d.ts +3 -0
  36. package/lib/Feed/FeedItem/PostReactions/PostReactions.types.d.ts +10 -0
  37. package/lib/Feed/FeedItem/{Reactions/PostReactions → PostReactions}/utils.d.ts +2 -2
  38. package/lib/Feed/FeedItem/Replies/Reply/Reply.d.ts +2 -0
  39. package/lib/Feed/FeedItem/Replies/Reply/Reply.types.d.ts +7 -0
  40. package/lib/Feed/FeedItem/Replies/Reply/utils.d.ts +2 -0
  41. package/lib/Feed/FeedItem/Replies/ReplyBubble/ReplyBubble.d.ts +3 -0
  42. package/lib/Feed/FeedItem/Replies/ReplyBubble/ReplyBubble.types.d.ts +10 -0
  43. package/lib/Feed/FeedItem/Replies/ReplyBubble/ReplyGallery/ReplyGallery.d.ts +5 -0
  44. package/lib/Feed/FeedItem/Replies/ReplyBubble/ReplyMoreOptions/ReplyMoreOptions.d.ts +10 -0
  45. package/lib/Feed/FeedItem/Replies/ReplyBubble/ReplyPoi/ReplyPoi.d.ts +7 -0
  46. package/lib/Feed/FeedItem/Replies/ReplyBubble/utils.d.ts +4 -0
  47. package/lib/Feed/FeedItem/{Reactions → Replies}/ReplyReactions/Like/Like.types.d.ts +4 -5
  48. package/lib/Feed/FeedItem/Replies/ReplyReactions/ReplyReactions.d.ts +3 -0
  49. package/lib/Feed/FeedItem/Replies/ReplyReactions/ReplyReactions.types.d.ts +12 -0
  50. package/lib/Feed/FeedItem/Replies/ReplyReactions/constants.d.ts +5 -0
  51. package/lib/Feed/FeedItem/Replies/ReplyReactions/network.d.ts +14 -0
  52. package/lib/Feed/FeedItem/Replies/ReplyReactions/utils.d.ts +22 -0
  53. package/lib/Feed/FeedItem/Replies/ReplySection/ReplySection.d.ts +3 -0
  54. package/lib/Feed/FeedItem/Replies/ReplySection/ReplySection.types.d.ts +10 -0
  55. package/lib/Feed/FeedItem/Replies/ReplySection/network.d.ts +16 -0
  56. package/lib/Feed/FeedItem/Replies/ReplySection/utils.d.ts +20 -0
  57. package/lib/Forms/Fields/FormRichTextArea.d.ts +8 -0
  58. package/lib/Forms/Wizard/Wizard.types.d.ts +6 -0
  59. package/lib/Forms/Wizard/useTrackStepPageView.d.ts +9 -0
  60. package/lib/ImageCropper/ImageCropper.d.ts +1 -1
  61. package/lib/ImageCropper/ImageCropper.types.d.ts +9 -2
  62. package/lib/MarketplaceImageCropper/MarketplaceImageCropper.d.ts +5 -0
  63. package/lib/MarketplaceImageCropper/MarketplaceImageCropper.types.d.ts +6 -0
  64. package/lib/MarketplaceImageCropper/components/ImageThumbnailGrid/ImageThumbnailGrid.d.ts +10 -0
  65. package/lib/Profile/Profile.d.ts +1 -1
  66. package/lib/Profile/Profile.types.d.ts +1 -0
  67. package/lib/Reactions/ReactionTabList/ReactionTabList.d.ts +1 -1
  68. package/lib/Reactions/ReactionTabList/ReactionTabList.types.d.ts +1 -2
  69. package/lib/RichTextArea/RichTextArea.d.ts +1 -1
  70. package/lib/RichTextArea/RichTextArea.types.d.ts +11 -12
  71. package/lib/RichTextArea/components/POI/useBusinessProfile.d.ts +1 -1
  72. package/lib/RichTextArea/lexical/plugins/MentionPlugin.d.ts +1 -3
  73. package/lib/RichTextArea/lexical/utils.d.ts +4 -7
  74. package/package.json +1 -1
  75. package/style.css +1 -1
  76. package/lib/Feed/FeedItem/Marketplace/MarketplaceMoreOptions/ComplaintModalComponent/ComplaintModalComponent.d.ts +0 -8
  77. package/lib/Feed/FeedItem/Reactions/PostReactions/PostReactions.d.ts +0 -3
  78. package/lib/Feed/FeedItem/Reactions/PostReactions/PostReactions.types.d.ts +0 -13
  79. package/lib/Feed/FeedItem/Reactions/ReplyReactions/ReplyReactions.d.ts +0 -3
  80. package/lib/Feed/FeedItem/Reactions/ReplyReactions/ReplyReactions.types.d.ts +0 -16
  81. package/lib/RichTextArea/utils.d.ts +0 -3
  82. /package/lib/Feed/FeedItem/{Reactions → Replies}/ReplyReactions/Like/Like.d.ts +0 -0
  83. /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 { FeedItemComplaintModalProps } from './FeedItemComplaintModal.types';
2
+ export declare const FeedItemComplaintModal: ({ handleReport, id, isAuthenticated, open, }: FeedItemComplaintModalProps) => import("react/jsx-runtime").JSX.Element | null;
@@ -0,0 +1,6 @@
1
+ export type FeedItemComplaintModalProps = {
2
+ handleReport: () => void;
3
+ id: number;
4
+ isAuthenticated: boolean;
5
+ open: boolean;
6
+ };
@@ -0,0 +1,3 @@
1
+ import { PostReactionsProps } from './PostReactions.types';
2
+ export declare const PostReactions: ({ itemId, limit, onReactionSelect, onToggleComments, reactions, replies, selectedReaction, tooltipReactions, }: PostReactionsProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default PostReactions;
@@ -0,0 +1,10 @@
1
+ import { ReactionType } from '../../../../../../api/src/lib/types/reactions';
2
+ import { Reaction, ReactionStackProps } from '../../../Reactions/ReactionStack/ReactionStack.types';
3
+ export type PostReactionsProps = Omit<ReactionStackProps, 'stack' | 'expanded' | 'onClick'> & {
4
+ itemId: number;
5
+ onReactionSelect: (emoji: ReactionType) => void;
6
+ onToggleComments: () => void;
7
+ replies?: number;
8
+ selectedReaction?: ReactionType;
9
+ tooltipReactions: Reaction[];
10
+ };
@@ -1,5 +1,5 @@
1
- import { ReactionType } from '../../../../../../../api/src/lib/types/reactions';
2
- import { Reaction } from '../../../../../index';
1
+ import { ReactionType } from '../../../../../../api/src/lib/types/reactions';
2
+ import { Reaction } from '../../../../index';
3
3
  export declare const getReactionsArray: (reactions: Reaction[], selectedReaction?: ReactionType) => {
4
4
  selected: boolean;
5
5
  tooltip?: import('react').ReactNode;
@@ -0,0 +1,2 @@
1
+ import { ReplyProps } from './Reply.types';
2
+ export declare const Reply: ({ isAuthenticated, isEdited, onAddReply, postId, profile, reply, saveReply, }: ReplyProps) => import("react/jsx-runtime").JSX.Element | undefined;