@connectedxm/client 0.5.11 → 0.5.13
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/index.d.mts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +0 -2
- package/dist/index.mjs +0 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2632,6 +2632,7 @@ interface CreateActivity {
|
|
|
2632
2632
|
eventId?: string;
|
|
2633
2633
|
groupId?: string;
|
|
2634
2634
|
commentedId?: string;
|
|
2635
|
+
videoId?: string;
|
|
2635
2636
|
}
|
|
2636
2637
|
interface CreateInterest {
|
|
2637
2638
|
name: string;
|
|
@@ -2640,10 +2641,9 @@ interface CreateInterest {
|
|
|
2640
2641
|
interface SelfCreateActivityParams extends MutationParams {
|
|
2641
2642
|
activity: CreateActivity;
|
|
2642
2643
|
base64Image?: any;
|
|
2643
|
-
videoUri?: string;
|
|
2644
2644
|
interests?: CreateInterest[];
|
|
2645
2645
|
}
|
|
2646
|
-
declare const SelfCreateActivity: ({ activity, base64Image,
|
|
2646
|
+
declare const SelfCreateActivity: ({ activity, base64Image, interests, clientApiParams, queryClient, }: SelfCreateActivityParams) => Promise<ConnectedXMResponse<Activity>>;
|
|
2647
2647
|
declare const useSelfCreateActivity: (options?: Omit<MutationOptions<Awaited<ReturnType<typeof SelfCreateActivity>>, Omit<SelfCreateActivityParams, "queryClient" | "clientApiParams">>, "mutationFn">) => _tanstack_react_query.UseMutationResult<ConnectedXMResponse<Activity>, axios.AxiosError<ConnectedXMResponse<Activity>, any>, Omit<SelfCreateActivityParams, "queryClient" | "clientApiParams">, unknown>;
|
|
2648
2648
|
|
|
2649
2649
|
interface DeleteActivityParams extends MutationParams {
|
|
@@ -2960,6 +2960,7 @@ interface CreateListing {
|
|
|
2960
2960
|
meetingUrl?: string;
|
|
2961
2961
|
registration?: boolean;
|
|
2962
2962
|
registrationLimit?: string;
|
|
2963
|
+
groupOnly?: boolean;
|
|
2963
2964
|
}
|
|
2964
2965
|
declare const CreateListing: ({ event, imageDataUri, groupId, sponsorIds, speakers, sessions, clientApiParams, queryClient, }: CreateListingParams) => Promise<ConnectedXMResponse<EventListing>>;
|
|
2965
2966
|
declare const useCreateListing: (options?: Omit<MutationOptions<Awaited<ReturnType<typeof CreateListing>>, Omit<CreateListingParams, "queryClient" | "clientApiParams">>, "mutationFn">) => _tanstack_react_query.UseMutationResult<ConnectedXMResponse<EventListing>, axios.AxiosError<ConnectedXMResponse<EventListing>, any>, Omit<CreateListingParams, "queryClient" | "clientApiParams">, unknown>;
|
|
@@ -3055,6 +3056,7 @@ interface UpdateListing {
|
|
|
3055
3056
|
newActivityCreatorEmailNotification: boolean;
|
|
3056
3057
|
newActivityCreatorPushNotification: boolean;
|
|
3057
3058
|
slug?: string;
|
|
3059
|
+
groupOnly?: boolean;
|
|
3058
3060
|
}
|
|
3059
3061
|
declare const UpdateListing: ({ eventId, event, base64, clientApiParams, queryClient, }: UpdateListingParams) => Promise<ConnectedXMResponse<EventListing>>;
|
|
3060
3062
|
declare const useUpdateListing: (options?: Omit<MutationOptions<Awaited<ReturnType<typeof UpdateListing>>, Omit<UpdateListingParams, "queryClient" | "clientApiParams">>, "mutationFn">) => _tanstack_react_query.UseMutationResult<ConnectedXMResponse<EventListing>, axios.AxiosError<ConnectedXMResponse<EventListing>, any>, Omit<UpdateListingParams, "queryClient" | "clientApiParams">, unknown>;
|
package/dist/index.d.ts
CHANGED
|
@@ -2632,6 +2632,7 @@ interface CreateActivity {
|
|
|
2632
2632
|
eventId?: string;
|
|
2633
2633
|
groupId?: string;
|
|
2634
2634
|
commentedId?: string;
|
|
2635
|
+
videoId?: string;
|
|
2635
2636
|
}
|
|
2636
2637
|
interface CreateInterest {
|
|
2637
2638
|
name: string;
|
|
@@ -2640,10 +2641,9 @@ interface CreateInterest {
|
|
|
2640
2641
|
interface SelfCreateActivityParams extends MutationParams {
|
|
2641
2642
|
activity: CreateActivity;
|
|
2642
2643
|
base64Image?: any;
|
|
2643
|
-
videoUri?: string;
|
|
2644
2644
|
interests?: CreateInterest[];
|
|
2645
2645
|
}
|
|
2646
|
-
declare const SelfCreateActivity: ({ activity, base64Image,
|
|
2646
|
+
declare const SelfCreateActivity: ({ activity, base64Image, interests, clientApiParams, queryClient, }: SelfCreateActivityParams) => Promise<ConnectedXMResponse<Activity>>;
|
|
2647
2647
|
declare const useSelfCreateActivity: (options?: Omit<MutationOptions<Awaited<ReturnType<typeof SelfCreateActivity>>, Omit<SelfCreateActivityParams, "queryClient" | "clientApiParams">>, "mutationFn">) => _tanstack_react_query.UseMutationResult<ConnectedXMResponse<Activity>, axios.AxiosError<ConnectedXMResponse<Activity>, any>, Omit<SelfCreateActivityParams, "queryClient" | "clientApiParams">, unknown>;
|
|
2648
2648
|
|
|
2649
2649
|
interface DeleteActivityParams extends MutationParams {
|
|
@@ -2960,6 +2960,7 @@ interface CreateListing {
|
|
|
2960
2960
|
meetingUrl?: string;
|
|
2961
2961
|
registration?: boolean;
|
|
2962
2962
|
registrationLimit?: string;
|
|
2963
|
+
groupOnly?: boolean;
|
|
2963
2964
|
}
|
|
2964
2965
|
declare const CreateListing: ({ event, imageDataUri, groupId, sponsorIds, speakers, sessions, clientApiParams, queryClient, }: CreateListingParams) => Promise<ConnectedXMResponse<EventListing>>;
|
|
2965
2966
|
declare const useCreateListing: (options?: Omit<MutationOptions<Awaited<ReturnType<typeof CreateListing>>, Omit<CreateListingParams, "queryClient" | "clientApiParams">>, "mutationFn">) => _tanstack_react_query.UseMutationResult<ConnectedXMResponse<EventListing>, axios.AxiosError<ConnectedXMResponse<EventListing>, any>, Omit<CreateListingParams, "queryClient" | "clientApiParams">, unknown>;
|
|
@@ -3055,6 +3056,7 @@ interface UpdateListing {
|
|
|
3055
3056
|
newActivityCreatorEmailNotification: boolean;
|
|
3056
3057
|
newActivityCreatorPushNotification: boolean;
|
|
3057
3058
|
slug?: string;
|
|
3059
|
+
groupOnly?: boolean;
|
|
3058
3060
|
}
|
|
3059
3061
|
declare const UpdateListing: ({ eventId, event, base64, clientApiParams, queryClient, }: UpdateListingParams) => Promise<ConnectedXMResponse<EventListing>>;
|
|
3060
3062
|
declare const useUpdateListing: (options?: Omit<MutationOptions<Awaited<ReturnType<typeof UpdateListing>>, Omit<UpdateListingParams, "queryClient" | "clientApiParams">>, "mutationFn">) => _tanstack_react_query.UseMutationResult<ConnectedXMResponse<EventListing>, axios.AxiosError<ConnectedXMResponse<EventListing>, any>, Omit<UpdateListingParams, "queryClient" | "clientApiParams">, unknown>;
|
package/dist/index.js
CHANGED
|
@@ -7224,7 +7224,6 @@ var UpdateCommentsInfinite = (increment, queryClient, KEY, activityId) => {
|
|
|
7224
7224
|
var SelfCreateActivity = async ({
|
|
7225
7225
|
activity,
|
|
7226
7226
|
base64Image,
|
|
7227
|
-
videoUri,
|
|
7228
7227
|
interests,
|
|
7229
7228
|
clientApiParams,
|
|
7230
7229
|
queryClient
|
|
@@ -7249,7 +7248,6 @@ var SelfCreateActivity = async ({
|
|
|
7249
7248
|
{
|
|
7250
7249
|
activity,
|
|
7251
7250
|
imageUri: base64Image ?? void 0,
|
|
7252
|
-
videoUri: videoUri ?? void 0,
|
|
7253
7251
|
interests: interests ?? void 0
|
|
7254
7252
|
}
|
|
7255
7253
|
);
|
package/dist/index.mjs
CHANGED
|
@@ -6544,7 +6544,6 @@ var UpdateCommentsInfinite = (increment, queryClient, KEY, activityId) => {
|
|
|
6544
6544
|
var SelfCreateActivity = async ({
|
|
6545
6545
|
activity,
|
|
6546
6546
|
base64Image,
|
|
6547
|
-
videoUri,
|
|
6548
6547
|
interests,
|
|
6549
6548
|
clientApiParams,
|
|
6550
6549
|
queryClient
|
|
@@ -6569,7 +6568,6 @@ var SelfCreateActivity = async ({
|
|
|
6569
6568
|
{
|
|
6570
6569
|
activity,
|
|
6571
6570
|
imageUri: base64Image ?? void 0,
|
|
6572
|
-
videoUri: videoUri ?? void 0,
|
|
6573
6571
|
interests: interests ?? void 0
|
|
6574
6572
|
}
|
|
6575
6573
|
);
|