@mindly/ui-components 5.95.1 → 5.95.2

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.
@@ -4,9 +4,9 @@ export declare const NEAR_SESSION_TIME_SECONDS: number;
4
4
  export declare const CAN_MANAGE_SESSION_TIME_HOURS = 24;
5
5
  export declare const getStartSessionDate: (sessionTime?: SessionTime) => Date | undefined;
6
6
  export declare const getSessionVariant: (session?: Session) => SessionVariant;
7
- export declare const getSessionsByYear: (sessions: Session[]) => Record<number, Session[]>;
8
- export declare const getSessionsByMonth: (sessions: Session[]) => Record<number, Session[]>;
9
- export declare const getSessionsByDay: (sessions: Session[]) => Record<number, Session[]>;
10
- export declare const splitSessions: (sessions: Session[]) => Record<string, Session[]>;
7
+ export declare const getSessionsByYear: (sessions: Session[]) => Map<number, Session[]>;
8
+ export declare const getSessionsByMonth: (sessions: Session[]) => Map<number, Session[]>;
9
+ export declare const getSessionsByDay: (sessions: Session[]) => Map<number, Session[]>;
10
+ export declare const splitSessions: (sessions: Session[]) => Map<string, Session[]>;
11
11
  export declare const getSessionTimeLabel: (variant: SessionVariant, startSessionDate: Date, t: TFunction<import("react-i18next").FallbackNs<Ns>, KPrefix>) => string;
12
12
  export declare const canManageSession: (sessionDate?: Date) => boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "5.95.1",
3
+ "version": "5.95.2",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",