@sprucelabs/calendar-utils 39.0.1 → 39.0.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.
@@ -22,4 +22,5 @@ export type SorterCalendarEvent = {
22
22
  startDateTimeMs: number;
23
23
  personId: string;
24
24
  };
25
+ export type RepeatingCalendarEvent = Pick<CalendarEvent, 'repeats' | 'repeatsUntil' | 'daysOfWeek' | 'daysOfMonth' | 'interval' | 'startDateTimeMs' | 'occurrences' | 'nthOccurrences' | 'timeBlocks' | 'nthInRepeating' | 'totalInRepeating'>;
25
26
  export {};
@@ -1,6 +1,6 @@
1
1
  import { RRule } from 'rrule';
2
2
  import LocaleImpl from '../locales/Locale';
3
- import { CalendarEvent, TimezoneName } from '../types/calendar.types';
3
+ import { CalendarEvent, RepeatingCalendarEvent, TimezoneName } from '../types/calendar.types';
4
4
  declare const calendarUtil: {
5
5
  freqMapToRRule: {
6
6
  weekly: import("rrule").Frequency;
@@ -24,4 +24,3 @@ declare const calendarUtil: {
24
24
  getEventFromRangeByDate(values: RepeatingCalendarEvent, date: number, timezone: TimezoneName): Pick<import("@sprucelabs/spruce-core-schemas").SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent, "interval" | "startDateTimeMs" | "timeBlocks" | "repeats" | "daysOfWeek" | "daysOfMonth" | "repeatsUntil" | "occurrences" | "nthOccurrences" | "nthInRepeating" | "totalInRepeating"> | undefined;
25
25
  };
26
26
  export default calendarUtil;
27
- export type RepeatingCalendarEvent = Pick<CalendarEvent, 'repeats' | 'repeatsUntil' | 'daysOfWeek' | 'daysOfMonth' | 'interval' | 'startDateTimeMs' | 'occurrences' | 'nthOccurrences' | 'timeBlocks' | 'nthInRepeating' | 'totalInRepeating'>;
@@ -22,4 +22,5 @@ export type SorterCalendarEvent = {
22
22
  startDateTimeMs: number;
23
23
  personId: string;
24
24
  };
25
+ export type RepeatingCalendarEvent = Pick<CalendarEvent, 'repeats' | 'repeatsUntil' | 'daysOfWeek' | 'daysOfMonth' | 'interval' | 'startDateTimeMs' | 'occurrences' | 'nthOccurrences' | 'timeBlocks' | 'nthInRepeating' | 'totalInRepeating'>;
25
26
  export {};
@@ -1,6 +1,6 @@
1
1
  import { RRule } from 'rrule';
2
2
  import LocaleImpl from '../locales/Locale';
3
- import { CalendarEvent, TimezoneName } from '../types/calendar.types';
3
+ import { CalendarEvent, RepeatingCalendarEvent, TimezoneName } from '../types/calendar.types';
4
4
  declare const calendarUtil: {
5
5
  freqMapToRRule: {
6
6
  weekly: import("rrule").Frequency;
@@ -24,4 +24,3 @@ declare const calendarUtil: {
24
24
  getEventFromRangeByDate(values: RepeatingCalendarEvent, date: number, timezone: TimezoneName): Pick<import("@sprucelabs/spruce-core-schemas").SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent, "startDateTimeMs" | "timeBlocks" | "repeats" | "daysOfWeek" | "daysOfMonth" | "repeatsUntil" | "occurrences" | "interval" | "nthOccurrences" | "nthInRepeating" | "totalInRepeating"> | undefined;
25
25
  };
26
26
  export default calendarUtil;
27
- export type RepeatingCalendarEvent = Pick<CalendarEvent, 'repeats' | 'repeatsUntil' | 'daysOfWeek' | 'daysOfMonth' | 'interval' | 'startDateTimeMs' | 'occurrences' | 'nthOccurrences' | 'timeBlocks' | 'nthInRepeating' | 'totalInRepeating'>;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "39.0.1",
6
+ "version": "39.0.2",
7
7
  "files": [
8
8
  "build/**/*",
9
9
  "!build/__tests__",