@myclub_se/data-access 3.3.2 → 3.3.3
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/esm2022/lib/services/booking-calendar.service.mjs +43 -1
- package/esm2022/lib/store/actions/booking.actions.mjs +7 -1
- package/esm2022/lib/store/effects/booking.effects.mjs +5 -2
- package/fesm2022/myclub_se-data-access.mjs +52 -1
- package/fesm2022/myclub_se-data-access.mjs.map +1 -1
- package/lib/services/booking-calendar.service.d.ts +5 -0
- package/lib/store/actions/booking.actions.d.ts +22 -0
- package/lib/store/effects/booking.effects.d.ts +5 -0
- package/package.json +1 -1
|
@@ -70,6 +70,11 @@ export declare class BookingCalendarService {
|
|
|
70
70
|
private createSectionBookingCalendarSlotSession;
|
|
71
71
|
private createTeamBookingCalendarSlotSession;
|
|
72
72
|
private createMemberBookingCalendarSlotSession;
|
|
73
|
+
createBulkBookingCalendarSlotSessions(role: Role, itemId: string, sessions: Array<Partial<BookingCalendarSlotSession>>): import("rxjs").Observable<BookingCalendarSlotSession>;
|
|
74
|
+
private createBulkClubBookingCalendarSlotSessions;
|
|
75
|
+
private createBulkSectionBookingCalendarSlotSessions;
|
|
76
|
+
private createBulkTeamBookingCalendarSlotSessions;
|
|
77
|
+
private createBulkMemberBookingCalendarSlotSessions;
|
|
73
78
|
updateBookingCalendarSlotSession(role: Role, itemId: string, session: Partial<BookingCalendarSlotSession>): import("rxjs").Observable<BookingCalendarSlotSession>;
|
|
74
79
|
private updateClubBookingCalendarSlotSession;
|
|
75
80
|
private updateSectionBookingCalendarSlotSession;
|
|
@@ -91,6 +91,9 @@ export declare enum BookingActionTypes {
|
|
|
91
91
|
CreateBookingCalendarSlotSession = "[Booking] Create booking calendar slot session",
|
|
92
92
|
CreateBookingCalendarSlotSessionSuccess = "[Booking] Create booking calendar slot session success",
|
|
93
93
|
CreateBookingCalendarSlotSessionFailure = "[Booking] Create booking calendar slot session failure",
|
|
94
|
+
CreateBulkBookingCalendarSlotSession = "[Booking] Bulk Create booking calendar slot session",
|
|
95
|
+
CreateBulkBookingCalendarSlotSessionSuccess = "[Booking] Bulk Create booking calendar slot session success",
|
|
96
|
+
CreateBulkBookingCalendarSlotSessionFailure = "[Booking] Bulk Create booking calendar slot session failure",
|
|
94
97
|
UpdateBookingCalendarSlotSession = "[Booking] Update booking calendar slot session",
|
|
95
98
|
UpdateBookingCalendarSlotSessionSuccess = "[Booking] Update booking calendar slot session success",
|
|
96
99
|
UpdateBookingCalendarSlotSessionFailure = "[Booking] Update booking calendar slot session failure",
|
|
@@ -653,6 +656,25 @@ export declare const createBookingCalendarSlotSessionFailureAction: import("@ngr
|
|
|
653
656
|
}) => {
|
|
654
657
|
payload: HttpErrorResponse;
|
|
655
658
|
} & import("@ngrx/store").Action<BookingActionTypes.CreateBookingCalendarSlotSessionFailure>>;
|
|
659
|
+
export declare const createBulkBookingCalendarSlotSessionsAction: import("@ngrx/store").ActionCreator<BookingActionTypes.CreateBulkBookingCalendarSlotSession, (props: {
|
|
660
|
+
role: Role;
|
|
661
|
+
itemId: string;
|
|
662
|
+
sessions: Array<Partial<BookingCalendarSlotSession>>;
|
|
663
|
+
}) => {
|
|
664
|
+
role: Role;
|
|
665
|
+
itemId: string;
|
|
666
|
+
sessions: Array<Partial<BookingCalendarSlotSession>>;
|
|
667
|
+
} & import("@ngrx/store").Action<BookingActionTypes.CreateBulkBookingCalendarSlotSession>>;
|
|
668
|
+
export declare const createBulkBookingCalendarSlotSessionsSuccessAction: import("@ngrx/store").ActionCreator<BookingActionTypes.CreateBulkBookingCalendarSlotSessionSuccess, (props: {
|
|
669
|
+
session: Partial<BookingCalendarSlotSession> | null;
|
|
670
|
+
}) => {
|
|
671
|
+
session: Partial<BookingCalendarSlotSession> | null;
|
|
672
|
+
} & import("@ngrx/store").Action<BookingActionTypes.CreateBulkBookingCalendarSlotSessionSuccess>>;
|
|
673
|
+
export declare const createBulkBookingCalendarSlotSessionsFailureAction: import("@ngrx/store").ActionCreator<BookingActionTypes.CreateBulkBookingCalendarSlotSessionFailure, (props: {
|
|
674
|
+
payload: HttpErrorResponse;
|
|
675
|
+
}) => {
|
|
676
|
+
payload: HttpErrorResponse;
|
|
677
|
+
} & import("@ngrx/store").Action<BookingActionTypes.CreateBulkBookingCalendarSlotSessionFailure>>;
|
|
656
678
|
export declare const updateBookingCalendarSlotSessionAction: import("@ngrx/store").ActionCreator<BookingActionTypes.UpdateBookingCalendarSlotSession, (props: {
|
|
657
679
|
role: Role;
|
|
658
680
|
clubOrSectionOrTeamId: string;
|
|
@@ -196,6 +196,11 @@ export declare class BookingEffects {
|
|
|
196
196
|
} & import("@ngrx/store").Action<import("../actions").BookingActionTypes.CreateBookingCalendarSlotSessionSuccess>) | ({
|
|
197
197
|
payload: HttpErrorResponse;
|
|
198
198
|
} & import("@ngrx/store").Action<import("../actions").BookingActionTypes.CreateBookingCalendarSlotSessionFailure>)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
199
|
+
createBulkBookingCalendarSlotSessions$: import("rxjs").Observable<({
|
|
200
|
+
session: Partial<BookingCalendarSlotSession> | null;
|
|
201
|
+
} & import("@ngrx/store").Action<import("../actions").BookingActionTypes.CreateBulkBookingCalendarSlotSessionSuccess>) | ({
|
|
202
|
+
payload: HttpErrorResponse;
|
|
203
|
+
} & import("@ngrx/store").Action<import("../actions").BookingActionTypes.CreateBulkBookingCalendarSlotSessionFailure>)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
199
204
|
updateBookingCalendarSlotSession$: import("rxjs").Observable<({
|
|
200
205
|
session: BookingCalendarSlotSession;
|
|
201
206
|
} & import("@ngrx/store").Action<import("../actions").BookingActionTypes.UpdateBookingCalendarSlotSessionSuccess>) | ({
|
package/package.json
CHANGED