@hy-capital/api-habit-tracker-types 1.0.41 → 1.0.43

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.
@@ -0,0 +1 @@
1
+ export declare const appName = "Liora";
package/dist/config.js ADDED
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.appName = void 0;
4
+ exports.appName = 'Liora';
package/dist/index.d.ts CHANGED
@@ -2,3 +2,4 @@ export * from './user';
2
2
  export * from './user-topic';
3
3
  export * from './frontend-user';
4
4
  export * from './habit';
5
+ export * from './config';
package/dist/index.js CHANGED
@@ -18,3 +18,4 @@ __exportStar(require("./user"), exports);
18
18
  __exportStar(require("./user-topic"), exports);
19
19
  __exportStar(require("./frontend-user"), exports);
20
20
  __exportStar(require("./habit"), exports);
21
+ __exportStar(require("./config"), exports);
package/dist/user.d.ts CHANGED
@@ -10,12 +10,7 @@ export interface DbUser {
10
10
  created_at: string;
11
11
  updated_at: string;
12
12
  }
13
- export type InputUser = Omit<DbUser, 'id' | 'name' | 'is_onboarding_done' | 'expo_push_token' | 'daily_progress_notification' | 'created_at' | 'updated_at'>;
14
- export interface CreateUserRequest {
15
- email: string;
16
- clerk_id: string;
17
- timezone: string;
18
- }
13
+ export type InputUser = Omit<DbUser, 'id' | 'name' | 'is_onboarding_done' | 'expo_push_token' | 'created_at' | 'updated_at'>;
19
14
  export interface UpsertUserRequest {
20
15
  email: string;
21
16
  clerk_id: string;
@@ -28,3 +23,4 @@ export interface UpdateUserRequest {
28
23
  expo_push_token?: string;
29
24
  daily_progress_notification?: string;
30
25
  }
26
+ export declare const defaultDailyProgressNotificationTime = "20:10";
package/dist/user.js CHANGED
@@ -1,2 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.defaultDailyProgressNotificationTime = void 0;
4
+ exports.defaultDailyProgressNotificationTime = '20:10';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hy-capital/api-habit-tracker-types",
3
- "version": "1.0.41",
3
+ "version": "1.0.43",
4
4
  "main": "dist/index.js",
5
5
  "license": "MIT",
6
6
  "types": "dist/index.d.ts",
package/src/config.ts ADDED
@@ -0,0 +1 @@
1
+ export const appName = 'Liora';
package/src/index.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export * from './user';
2
2
  export * from './user-topic';
3
3
  export * from './frontend-user';
4
- export * from './habit';
4
+ export * from './habit';
5
+ export * from './config';
package/src/user.ts CHANGED
@@ -11,13 +11,7 @@ export interface DbUser {
11
11
  updated_at: string;
12
12
  }
13
13
 
14
- export type InputUser = Omit<DbUser, 'id' | 'name' | 'is_onboarding_done' | 'expo_push_token' | 'daily_progress_notification' | 'created_at' | 'updated_at'>;
15
-
16
- export interface CreateUserRequest {
17
- email: string;
18
- clerk_id: string;
19
- timezone: string;
20
- }
14
+ export type InputUser = Omit<DbUser, 'id' | 'name' | 'is_onboarding_done' | 'expo_push_token' | 'created_at' | 'updated_at'>;
21
15
 
22
16
  export interface UpsertUserRequest {
23
17
  email: string;
@@ -31,4 +25,6 @@ export interface UpdateUserRequest {
31
25
  is_onboarding_done?: boolean;
32
26
  expo_push_token?: string;
33
27
  daily_progress_notification?: string;
34
- }
28
+ }
29
+
30
+ export const defaultDailyProgressNotificationTime = '20:10';