@timardex/cluemart-shared 1.3.1 → 1.3.12
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.
- package/dist/{chunk-3ZDDQGW4.mjs → chunk-Y3MIKYGQ.mjs} +20 -2
- package/dist/chunk-Y3MIKYGQ.mjs.map +1 -0
- package/dist/graphql/index.cjs +160 -0
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +43 -2
- package/dist/graphql/index.d.ts +43 -2
- package/dist/graphql/index.mjs +154 -0
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/hooks/index.cjs +140 -5
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +4 -2
- package/dist/hooks/index.d.ts +4 -2
- package/dist/hooks/index.mjs +124 -6
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +304 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +107 -1
- package/dist/index.d.ts +107 -1
- package/dist/index.mjs +295 -5
- package/dist/index.mjs.map +1 -1
- package/dist/{ad-CUvYTUtk.d.ts → post-CL2oI3Yl.d.ts} +64 -1
- package/dist/{ad-Bk1vP-sL.d.mts → post-CifJA7KI.d.mts} +64 -1
- package/dist/types/index.cjs +20 -0
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.mjs +5 -1
- package/dist/types/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-3ZDDQGW4.mjs.map +0 -1
|
@@ -46,6 +46,22 @@ var EnumAdStyle = /* @__PURE__ */ ((EnumAdStyle2) => {
|
|
|
46
46
|
return EnumAdStyle2;
|
|
47
47
|
})(EnumAdStyle || {});
|
|
48
48
|
|
|
49
|
+
// src/types/post.ts
|
|
50
|
+
var EnumPostType = /* @__PURE__ */ ((EnumPostType2) => {
|
|
51
|
+
EnumPostType2["DAILY_MEETS"] = "daily_meets";
|
|
52
|
+
EnumPostType2["DAILY_TIPS"] = "daily_tips";
|
|
53
|
+
EnumPostType2["DAILY_POLL"] = "daily_poll";
|
|
54
|
+
return EnumPostType2;
|
|
55
|
+
})(EnumPostType || {});
|
|
56
|
+
var EnumPostContentType = /* @__PURE__ */ ((EnumPostContentType2) => {
|
|
57
|
+
EnumPostContentType2["COVER"] = "cover";
|
|
58
|
+
EnumPostContentType2["IMAGE"] = "image";
|
|
59
|
+
EnumPostContentType2["LIST"] = "list";
|
|
60
|
+
EnumPostContentType2["TEXTAREA"] = "textarea";
|
|
61
|
+
EnumPostContentType2["VIDEO"] = "video";
|
|
62
|
+
return EnumPostContentType2;
|
|
63
|
+
})(EnumPostContentType || {});
|
|
64
|
+
|
|
49
65
|
export {
|
|
50
66
|
OrganizedMarketCount,
|
|
51
67
|
VendorSellingFrequency,
|
|
@@ -53,6 +69,8 @@ export {
|
|
|
53
69
|
EnumAdShowOn,
|
|
54
70
|
EnumAdStatus,
|
|
55
71
|
EnumAdType,
|
|
56
|
-
EnumAdStyle
|
|
72
|
+
EnumAdStyle,
|
|
73
|
+
EnumPostType,
|
|
74
|
+
EnumPostContentType
|
|
57
75
|
};
|
|
58
|
-
//# sourceMappingURL=chunk-
|
|
76
|
+
//# sourceMappingURL=chunk-Y3MIKYGQ.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/types/tester.ts","../src/types/ad.ts","../src/types/post.ts"],"sourcesContent":["import { EnumOSPlatform, EnumResourceType } from \"src/enums\";\n\nimport { Category, CreateFormData } from \"./global\";\n\nexport enum OrganizedMarketCount {\n ONE = \"One\",\n TWO_TO_THREE = \"Two_to_Three\",\n FOUR_TO_FIVE = \"Four_to_Five\",\n MORE_THAN_FIVE = \"More_than_Five\",\n}\n\nexport enum VendorSellingFrequency {\n TWICE_A_WEEK = \"Two_to_Three_times_a_week\",\n ONCE_A_WEEK = \"Once_a_week\",\n ONE_TO_TWO_TIMES_A_MONTH = \"One_to_Two_times_a_month\",\n LESS_OFTEN = \"Less_often\",\n}\n\nexport enum OrganizerMarketFrequency {\n WEEKLY = \"Weekly\",\n FORTNIGHTLY = \"Fortnightly\",\n MONTHLY = \"Monthly\",\n SEASONAL = \"Seasonal\",\n}\n\nexport type TesterVendor = {\n categories: Category[];\n marketsAttended: { name: string; city: string }[];\n productsOrServices: string;\n sellingFrequency: VendorSellingFrequency;\n yearlySellingApprox: number;\n questionary: {\n appearInVideoIntroduction?: boolean; // Q15 (Yes / No)\n applyToAtLeastOneMarket: boolean; // Q11\n completeFeedbackQuestionnaire: boolean; // Q13\n excitementAboutApp?: string; // Q17\n sendPhotoForSocialMedia?: boolean; // Q14 (Yes / No)\n socialMediaFeatureReason?: string; // Q16 (optional free text)\n testingPeriodConcerns?: string; // Q19 (optional)\n tryVisitorFeatures: boolean; // Q12\n uploadStallProfileFirstWeek: boolean; // Q10\n usefulnessExpectations?: string; // Q18\n };\n};\n\nexport type TesterEvent = {\n /** Organizer background */\n organizedMarketCount: OrganizedMarketCount;\n markets: {\n name: string;\n cityOrVenue: string;\n frequency: OrganizerMarketFrequency;\n averageStallCount: number;\n }[];\n questionary: {\n allowMarketingAppearance?: boolean;\n completeFinalQuestionnaire: boolean;\n dailyCoordinationNeeds?: string;\n interestedInCharityInitiative?: boolean;\n inviteAtLeastFiveStallholders: boolean;\n manageApplicationsAndCommunication: boolean;\n organizerExpectations?: string;\n registerMarketsFirstWeek: boolean;\n spaceForClueMart?: boolean;\n };\n};\n\nexport interface TesterFormData {\n businessName: string;\n consents: {\n privacyConsent: boolean;\n betaTestConsent: boolean;\n };\n email: string;\n event?: TesterEvent | null;\n firstName: string;\n lastName: string;\n mobilePhone: string;\n osType: EnumOSPlatform;\n region: string;\n resourceType: EnumResourceType;\n vendor?: TesterVendor | null;\n}\n\nexport type CreateTesterFormData = CreateFormData<TesterFormData>;\n\nexport interface TesterType extends TesterFormData {\n _id: string;\n active: boolean;\n approved: boolean;\n createdAt: Date;\n updatedAt: Date | null;\n}\n","import { EnumResourceType } from \"src/enums\";\n\nimport { CreateFormData, SocialMediaType } from \"./global\";\n\nexport enum EnumAdShowOn {\n EVENTS_PAGE = \"Events_page\",\n FRONT_PAGE = \"Front_page\",\n PARTNERS_PAGE = \"Partners_page\",\n VENDORS_PAGE = \"Vendors_page\",\n}\n\nexport enum EnumAdStatus {\n ACTIVE = \"Active\",\n PAUSED = \"Paused\",\n EXPIRED = \"Expired\",\n}\n\nexport enum EnumAdType {\n SPONSORED = \"Sponsored\",\n FREE = \"Free\",\n}\n\nexport enum EnumAdStyle {\n BLOOM = \"Bloom\",\n RISE = \"Rise\",\n}\n\nexport interface AdFormData {\n active: boolean;\n adStyle: EnumAdStyle;\n adType: EnumAdType;\n clui?: string | null;\n end: Date; // ISO date string\n resourceCover: string;\n resourceDescription: string;\n resourceId: string;\n resourceLogo?: string | null;\n resourceName: string;\n resourceRegion: string;\n resourceType: EnumResourceType;\n showOn: EnumAdShowOn;\n socialMedia?: SocialMediaType[] | null;\n start?: Date; // ISO date string\n status: EnumAdStatus;\n targetRegion?: string | null;\n}\n\nexport type CreateAdFormData = CreateFormData<AdFormData>;\n\nexport interface AdType extends AdFormData {\n _id: string;\n clicks?: number; // How many times the ad was clicked\n createdAt: Date;\n impressions?: number; // How often the ad was seen\n start: Date; // ISO date string\n updatedAt: Date | null;\n}\n","import { CreateFormData, ResourceImageType } from \"./global\";\n\nexport enum EnumPostType {\n DAILY_MEETS = \"daily_meets\",\n DAILY_TIPS = \"daily_tips\",\n DAILY_POLL = \"daily_poll\",\n}\n\nexport enum EnumPostContentType {\n COVER = \"cover\",\n IMAGE = \"image\",\n LIST = \"list\",\n TEXTAREA = \"textarea\",\n VIDEO = \"video\",\n}\n\nexport type PostContentCover = {\n cover: ResourceImageType;\n coverUpload?: ResourceImageType | null;\n};\n\nexport type PostContentTextarea = {\n textarea: {\n title?: string;\n data: string;\n };\n};\n\nexport type PostContentImage = {\n images: ResourceImageType[] | null;\n imagesUpload?: ResourceImageType[] | null;\n};\n\nexport type PostContentVideo = {\n video: {\n source: string;\n title?: string;\n };\n};\n\nexport type PostContentList = {\n list: {\n title?: string;\n items: string[];\n };\n};\n\nexport type PostContentData =\n | PostContentCover\n | PostContentTextarea\n | PostContentImage\n | PostContentVideo\n | PostContentList;\n\nexport type PostContentFormData = {\n contentData: PostContentData;\n contentOrder: number;\n contentType: EnumPostContentType;\n};\n\nexport interface PostFormData {\n content: PostContentFormData[];\n postType: EnumPostType;\n tags?: string[] | null;\n title: string;\n}\n\nexport type CreatePostFormData = CreateFormData<PostFormData>;\n\nexport type PostContentType = Omit<PostContentFormData, \"contentData\"> & {\n _id: string;\n contentData: Omit<PostContentData, \"imagesUpload\" | \"coverUpload\">;\n};\n\nexport type PostType = Omit<PostFormData, \"content\"> & {\n _id: string;\n content: PostContentType;\n createdAt: Date;\n deletedAt: Date | null;\n updatedAt: Date | null;\n};\n"],"mappings":";AAIO,IAAK,uBAAL,kBAAKA,0BAAL;AACL,EAAAA,sBAAA,SAAM;AACN,EAAAA,sBAAA,kBAAe;AACf,EAAAA,sBAAA,kBAAe;AACf,EAAAA,sBAAA,oBAAiB;AAJP,SAAAA;AAAA,GAAA;AAOL,IAAK,yBAAL,kBAAKC,4BAAL;AACL,EAAAA,wBAAA,kBAAe;AACf,EAAAA,wBAAA,iBAAc;AACd,EAAAA,wBAAA,8BAA2B;AAC3B,EAAAA,wBAAA,gBAAa;AAJH,SAAAA;AAAA,GAAA;AAOL,IAAK,2BAAL,kBAAKC,8BAAL;AACL,EAAAA,0BAAA,YAAS;AACT,EAAAA,0BAAA,iBAAc;AACd,EAAAA,0BAAA,aAAU;AACV,EAAAA,0BAAA,cAAW;AAJD,SAAAA;AAAA,GAAA;;;ACdL,IAAK,eAAL,kBAAKC,kBAAL;AACL,EAAAA,cAAA,iBAAc;AACd,EAAAA,cAAA,gBAAa;AACb,EAAAA,cAAA,mBAAgB;AAChB,EAAAA,cAAA,kBAAe;AAJL,SAAAA;AAAA,GAAA;AAOL,IAAK,eAAL,kBAAKC,kBAAL;AACL,EAAAA,cAAA,YAAS;AACT,EAAAA,cAAA,YAAS;AACT,EAAAA,cAAA,aAAU;AAHA,SAAAA;AAAA,GAAA;AAML,IAAK,aAAL,kBAAKC,gBAAL;AACL,EAAAA,YAAA,eAAY;AACZ,EAAAA,YAAA,UAAO;AAFG,SAAAA;AAAA,GAAA;AAKL,IAAK,cAAL,kBAAKC,iBAAL;AACL,EAAAA,aAAA,WAAQ;AACR,EAAAA,aAAA,UAAO;AAFG,SAAAA;AAAA,GAAA;;;ACpBL,IAAK,eAAL,kBAAKC,kBAAL;AACL,EAAAA,cAAA,iBAAc;AACd,EAAAA,cAAA,gBAAa;AACb,EAAAA,cAAA,gBAAa;AAHH,SAAAA;AAAA,GAAA;AAML,IAAK,sBAAL,kBAAKC,yBAAL;AACL,EAAAA,qBAAA,WAAQ;AACR,EAAAA,qBAAA,WAAQ;AACR,EAAAA,qBAAA,UAAO;AACP,EAAAA,qBAAA,cAAW;AACX,EAAAA,qBAAA,WAAQ;AALE,SAAAA;AAAA,GAAA;","names":["OrganizedMarketCount","VendorSellingFrequency","OrganizerMarketFrequency","EnumAdShowOn","EnumAdStatus","EnumAdType","EnumAdStyle","EnumPostType","EnumPostContentType"]}
|
package/dist/graphql/index.cjs
CHANGED
|
@@ -35,6 +35,7 @@ __export(graphql_exports, {
|
|
|
35
35
|
useCreateEvent: () => useCreateEvent,
|
|
36
36
|
useCreateEventInfo: () => useCreateEventInfo,
|
|
37
37
|
useCreatePartner: () => useCreatePartner,
|
|
38
|
+
useCreatePost: () => useCreatePost,
|
|
38
39
|
useCreatePoster: () => useCreatePoster,
|
|
39
40
|
useCreatePushToken: () => useCreatePushToken,
|
|
40
41
|
useCreateRelation: () => useCreateRelation,
|
|
@@ -49,6 +50,7 @@ __export(graphql_exports, {
|
|
|
49
50
|
useDeleteEvent: () => useDeleteEvent,
|
|
50
51
|
useDeleteNotification: () => useDeleteNotification,
|
|
51
52
|
useDeletePartner: () => useDeletePartner,
|
|
53
|
+
useDeletePost: () => useDeletePost,
|
|
52
54
|
useDeleteRelation: () => useDeleteRelation,
|
|
53
55
|
useDeleteTester: () => useDeleteTester,
|
|
54
56
|
useDeleteUser: () => useDeleteUser,
|
|
@@ -69,6 +71,9 @@ __export(graphql_exports, {
|
|
|
69
71
|
useGetPartner: () => useGetPartner,
|
|
70
72
|
useGetPartners: () => useGetPartners,
|
|
71
73
|
useGetPartnersByRegion: () => useGetPartnersByRegion,
|
|
74
|
+
useGetPost: () => useGetPost,
|
|
75
|
+
useGetPosts: () => useGetPosts,
|
|
76
|
+
useGetPostsByType: () => useGetPostsByType,
|
|
72
77
|
useGetRelation: () => useGetRelation,
|
|
73
78
|
useGetRelationByEventAndVendor: () => useGetRelationByEventAndVendor,
|
|
74
79
|
useGetResourceActivities: () => useGetResourceActivities,
|
|
@@ -111,6 +116,7 @@ __export(graphql_exports, {
|
|
|
111
116
|
useUpdateEvent: () => useUpdateEvent,
|
|
112
117
|
useUpdateEventInfo: () => useUpdateEventInfo,
|
|
113
118
|
useUpdatePartner: () => useUpdatePartner,
|
|
119
|
+
useUpdatePost: () => useUpdatePost,
|
|
114
120
|
useUpdateRelation: () => useUpdateRelation,
|
|
115
121
|
useUpdateSubscriptionPlan: () => useUpdateSubscriptionPlan,
|
|
116
122
|
useUpdateTester: () => useUpdateTester,
|
|
@@ -3012,6 +3018,154 @@ var useSearchPartners = (search, region) => {
|
|
|
3012
3018
|
const partnersSearch = data?.partnersSearch || [];
|
|
3013
3019
|
return { error, loading, partnersSearch, refetch };
|
|
3014
3020
|
};
|
|
3021
|
+
|
|
3022
|
+
// src/graphql/hooks/post/hooksMutation.ts
|
|
3023
|
+
var import_client61 = require("@apollo/client");
|
|
3024
|
+
|
|
3025
|
+
// src/graphql/mutations/post.ts
|
|
3026
|
+
var import_client60 = require("@apollo/client");
|
|
3027
|
+
|
|
3028
|
+
// src/graphql/queries/post.ts
|
|
3029
|
+
var import_client59 = require("@apollo/client");
|
|
3030
|
+
var POST_CONTENT_DATA_FIELDS_FRAGMENT = import_client59.gql`
|
|
3031
|
+
fragment PostContentDataFields on PostContentData {
|
|
3032
|
+
cover {
|
|
3033
|
+
...ResourceImageFields
|
|
3034
|
+
}
|
|
3035
|
+
textarea {
|
|
3036
|
+
title
|
|
3037
|
+
data
|
|
3038
|
+
}
|
|
3039
|
+
images {
|
|
3040
|
+
...ResourceImageFields
|
|
3041
|
+
}
|
|
3042
|
+
video {
|
|
3043
|
+
source
|
|
3044
|
+
title
|
|
3045
|
+
}
|
|
3046
|
+
list {
|
|
3047
|
+
title
|
|
3048
|
+
items
|
|
3049
|
+
}
|
|
3050
|
+
}
|
|
3051
|
+
${RESOURCE_IMAGE_FIELDS_FRAGMENT}
|
|
3052
|
+
`;
|
|
3053
|
+
var POST_CONTENT_FIELDS_FRAGMENT = import_client59.gql`
|
|
3054
|
+
fragment PostContentFields on PostContentType {
|
|
3055
|
+
_id
|
|
3056
|
+
contentData {
|
|
3057
|
+
...PostContentDataFields
|
|
3058
|
+
}
|
|
3059
|
+
contentOrder
|
|
3060
|
+
contentType
|
|
3061
|
+
}
|
|
3062
|
+
${POST_CONTENT_DATA_FIELDS_FRAGMENT}
|
|
3063
|
+
`;
|
|
3064
|
+
var POST_FIELDS_FRAGMENT = import_client59.gql`
|
|
3065
|
+
fragment PostFields on PostType {
|
|
3066
|
+
_id
|
|
3067
|
+
content {
|
|
3068
|
+
...PostContentFields
|
|
3069
|
+
}
|
|
3070
|
+
postType
|
|
3071
|
+
tags
|
|
3072
|
+
title
|
|
3073
|
+
createdAt
|
|
3074
|
+
updatedAt
|
|
3075
|
+
}
|
|
3076
|
+
${POST_CONTENT_FIELDS_FRAGMENT}
|
|
3077
|
+
`;
|
|
3078
|
+
var GET_POSTS = import_client59.gql`
|
|
3079
|
+
query getPosts {
|
|
3080
|
+
posts {
|
|
3081
|
+
...PostFields
|
|
3082
|
+
}
|
|
3083
|
+
}
|
|
3084
|
+
${POST_FIELDS_FRAGMENT}
|
|
3085
|
+
`;
|
|
3086
|
+
var GET_POST = import_client59.gql`
|
|
3087
|
+
query getPost($postId: ID!) {
|
|
3088
|
+
post(postId: $postId) {
|
|
3089
|
+
...PostFields
|
|
3090
|
+
}
|
|
3091
|
+
}
|
|
3092
|
+
${POST_FIELDS_FRAGMENT}
|
|
3093
|
+
`;
|
|
3094
|
+
var GET_POSTS_BY_TYPE = import_client59.gql`
|
|
3095
|
+
query getPostsByType($postType: PostTypeEnum!) {
|
|
3096
|
+
postsByType(postType: $postType) {
|
|
3097
|
+
...PostFields
|
|
3098
|
+
}
|
|
3099
|
+
}
|
|
3100
|
+
${POST_FIELDS_FRAGMENT}
|
|
3101
|
+
`;
|
|
3102
|
+
|
|
3103
|
+
// src/graphql/mutations/post.ts
|
|
3104
|
+
var CREATE_POST_MUTATION = import_client60.gql`
|
|
3105
|
+
mutation createPost($input: PostInputType!) {
|
|
3106
|
+
createPost(input: $input) {
|
|
3107
|
+
...PostFields
|
|
3108
|
+
}
|
|
3109
|
+
}
|
|
3110
|
+
${POST_FIELDS_FRAGMENT}
|
|
3111
|
+
`;
|
|
3112
|
+
var UPDATE_POST_MUTATION = import_client60.gql`
|
|
3113
|
+
mutation updatePost($_id: ID!, $input: PostInputType!) {
|
|
3114
|
+
updatePost(_id: $_id, input: $input) {
|
|
3115
|
+
...PostFields
|
|
3116
|
+
}
|
|
3117
|
+
}
|
|
3118
|
+
${POST_FIELDS_FRAGMENT}
|
|
3119
|
+
`;
|
|
3120
|
+
var DELETE_POST_MUTATION = import_client60.gql`
|
|
3121
|
+
mutation deletePost($_id: ID!) {
|
|
3122
|
+
deletePost(_id: $_id)
|
|
3123
|
+
}
|
|
3124
|
+
`;
|
|
3125
|
+
|
|
3126
|
+
// src/graphql/hooks/post/hooksMutation.ts
|
|
3127
|
+
var useCreatePost = () => {
|
|
3128
|
+
const [createPost, { loading, error }] = (0, import_client61.useMutation)(CREATE_POST_MUTATION, {
|
|
3129
|
+
awaitRefetchQueries: true,
|
|
3130
|
+
refetchQueries: [{ query: GET_POSTS }]
|
|
3131
|
+
});
|
|
3132
|
+
return { createPost, error, loading };
|
|
3133
|
+
};
|
|
3134
|
+
var useUpdatePost = () => {
|
|
3135
|
+
const [updatePost, { loading, error }] = (0, import_client61.useMutation)(UPDATE_POST_MUTATION, {
|
|
3136
|
+
awaitRefetchQueries: true,
|
|
3137
|
+
refetchQueries: [{ query: GET_POSTS }]
|
|
3138
|
+
});
|
|
3139
|
+
return { error, loading, updatePost };
|
|
3140
|
+
};
|
|
3141
|
+
var useDeletePost = () => {
|
|
3142
|
+
const [deletePost, { loading, error }] = (0, import_client61.useMutation)(DELETE_POST_MUTATION, {
|
|
3143
|
+
awaitRefetchQueries: true,
|
|
3144
|
+
refetchQueries: [{ query: GET_POSTS }]
|
|
3145
|
+
});
|
|
3146
|
+
return { deletePost, error, loading };
|
|
3147
|
+
};
|
|
3148
|
+
|
|
3149
|
+
// src/graphql/hooks/post/hooksQuery.ts
|
|
3150
|
+
var import_client62 = require("@apollo/client");
|
|
3151
|
+
var useGetPosts = () => {
|
|
3152
|
+
const { data, loading, error, refetch } = (0, import_client62.useQuery)(GET_POSTS);
|
|
3153
|
+
return { error, loading, posts: data?.posts || [], refetch };
|
|
3154
|
+
};
|
|
3155
|
+
var useGetPost = (postId) => {
|
|
3156
|
+
const { data, loading, error, refetch } = (0, import_client62.useQuery)(GET_POST, {
|
|
3157
|
+
skip: !postId,
|
|
3158
|
+
variables: { postId }
|
|
3159
|
+
});
|
|
3160
|
+
return { error, loading, post: data?.post || null, refetch };
|
|
3161
|
+
};
|
|
3162
|
+
var useGetPostsByType = (postType) => {
|
|
3163
|
+
const { data, loading, error, refetch } = (0, import_client62.useQuery)(GET_POSTS_BY_TYPE, {
|
|
3164
|
+
skip: !postType,
|
|
3165
|
+
variables: { postType }
|
|
3166
|
+
});
|
|
3167
|
+
return { error, loading, postsByType: data?.postsByType || [], refetch };
|
|
3168
|
+
};
|
|
3015
3169
|
// Annotate the CommonJS export names for ESM import in node:
|
|
3016
3170
|
0 && (module.exports = {
|
|
3017
3171
|
useAddParticipantToChat,
|
|
@@ -3029,6 +3183,7 @@ var useSearchPartners = (search, region) => {
|
|
|
3029
3183
|
useCreateEvent,
|
|
3030
3184
|
useCreateEventInfo,
|
|
3031
3185
|
useCreatePartner,
|
|
3186
|
+
useCreatePost,
|
|
3032
3187
|
useCreatePoster,
|
|
3033
3188
|
useCreatePushToken,
|
|
3034
3189
|
useCreateRelation,
|
|
@@ -3043,6 +3198,7 @@ var useSearchPartners = (search, region) => {
|
|
|
3043
3198
|
useDeleteEvent,
|
|
3044
3199
|
useDeleteNotification,
|
|
3045
3200
|
useDeletePartner,
|
|
3201
|
+
useDeletePost,
|
|
3046
3202
|
useDeleteRelation,
|
|
3047
3203
|
useDeleteTester,
|
|
3048
3204
|
useDeleteUser,
|
|
@@ -3063,6 +3219,9 @@ var useSearchPartners = (search, region) => {
|
|
|
3063
3219
|
useGetPartner,
|
|
3064
3220
|
useGetPartners,
|
|
3065
3221
|
useGetPartnersByRegion,
|
|
3222
|
+
useGetPost,
|
|
3223
|
+
useGetPosts,
|
|
3224
|
+
useGetPostsByType,
|
|
3066
3225
|
useGetRelation,
|
|
3067
3226
|
useGetRelationByEventAndVendor,
|
|
3068
3227
|
useGetResourceActivities,
|
|
@@ -3105,6 +3264,7 @@ var useSearchPartners = (search, region) => {
|
|
|
3105
3264
|
useUpdateEvent,
|
|
3106
3265
|
useUpdateEventInfo,
|
|
3107
3266
|
useUpdatePartner,
|
|
3267
|
+
useUpdatePost,
|
|
3108
3268
|
useUpdateRelation,
|
|
3109
3269
|
useUpdateSubscriptionPlan,
|
|
3110
3270
|
useUpdateTester,
|