@demind-inc/core 1.1.89 → 1.1.90

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.
@@ -25,8 +25,20 @@ export interface User {
25
25
  preferenceId?: string;
26
26
  onboarding?: OnboardingStatus;
27
27
  calendlyIntegrationId?: string;
28
+ settings?: UserSettings;
28
29
  tokens?: UserTokens;
29
30
  }
31
+ export interface UserSettings {
32
+ general: UserGeneralSetting;
33
+ calendar: UserCalendarSetting;
34
+ }
35
+ export interface UserGeneralSetting {
36
+ timeFormat?: TimeFormatType;
37
+ }
38
+ export interface UserCalendarSetting {
39
+ autoCategorizeEvent?: boolean;
40
+ }
41
+ export type TimeFormatType = "12h" | "24h";
30
42
  export interface UserTokens {
31
43
  googleRefresh?: string;
32
44
  googleAccess?: string;
@@ -26,9 +26,25 @@ export interface User {
26
26
  preferenceId?: string;
27
27
  onboarding?: OnboardingStatus;
28
28
  calendlyIntegrationId?: string;
29
+ settings?: UserSettings;
29
30
  tokens?: UserTokens; // Deprecated
30
31
  }
31
32
 
33
+ export interface UserSettings {
34
+ general: UserGeneralSetting;
35
+ calendar: UserCalendarSetting;
36
+ }
37
+
38
+ export interface UserGeneralSetting {
39
+ timeFormat?: TimeFormatType;
40
+ }
41
+
42
+ export interface UserCalendarSetting {
43
+ autoCategorizeEvent?: boolean;
44
+ }
45
+
46
+ export type TimeFormatType = "12h" | "24h";
47
+
32
48
  // Deprecated
33
49
  export interface UserTokens {
34
50
  googleRefresh?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@demind-inc/core",
3
- "version": "1.1.89",
3
+ "version": "1.1.90",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {