@demind-inc/core 1.2.30 → 1.2.32

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.
@@ -1,4 +1,3 @@
1
- import { DocumentReference } from "@google-cloud/firestore";
2
1
  import { CalendarType } from "./Calendar";
3
2
  export interface Preferences {
4
3
  preferenceId: string;
@@ -33,6 +32,7 @@ export type EventCategoryEnergyPreferenceLevel = "more_energized" | "less_energi
33
32
  export type TimeFormatType = "12h" | "24h";
34
33
  export interface ExportToCalendars {
35
34
  enabled: boolean;
35
+ targetUserId: string;
36
36
  calendars: ExportedCalendar[];
37
37
  }
38
38
  export interface ExportedCalendar {
@@ -40,5 +40,6 @@ export interface ExportedCalendar {
40
40
  energyCalendarId: string;
41
41
  enabled: boolean;
42
42
  calendarType: CalendarType;
43
- tokenRef: DocumentReference;
43
+ createdAt: string;
44
+ lastSyncedAt?: string;
44
45
  }
@@ -47,6 +47,7 @@ export type TimeFormatType = "12h" | "24h";
47
47
 
48
48
  export interface ExportToCalendars {
49
49
  enabled: boolean;
50
+ targetUserId: string;
50
51
  calendars: ExportedCalendar[];
51
52
  }
52
53
 
@@ -55,5 +56,6 @@ export interface ExportedCalendar {
55
56
  energyCalendarId: string;
56
57
  enabled: boolean;
57
58
  calendarType: CalendarType;
58
- tokenRef: DocumentReference;
59
+ createdAt: string;
60
+ lastSyncedAt?: string;
59
61
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@demind-inc/core",
3
- "version": "1.2.30",
3
+ "version": "1.2.32",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {