@arch-cadre/core 0.0.11 → 0.0.12

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.
@@ -23,11 +23,11 @@ declare function getUserEmailVerificationRequest(userId: string, id: string): Pr
23
23
  declare function createEmailVerificationRequest(userId: string, email: string): Promise<{
24
24
  id: string;
25
25
  email: string;
26
- code: string;
27
26
  createdAt: Date;
28
27
  updatedAt: Date | null;
29
28
  userId: string;
30
29
  expiresAt: Date;
30
+ code: string;
31
31
  }>;
32
32
  /**
33
33
  * Deletes all email verification requests for a user.
@@ -23,11 +23,11 @@ declare function getUserEmailVerificationRequest(userId: string, id: string): Pr
23
23
  declare function createEmailVerificationRequest(userId: string, email: string): Promise<{
24
24
  id: string;
25
25
  email: string;
26
- code: string;
27
26
  createdAt: Date;
28
27
  updatedAt: Date | null;
29
28
  userId: string;
30
29
  expiresAt: Date;
30
+ code: string;
31
31
  }>;
32
32
  /**
33
33
  * Deletes all email verification requests for a user.
@@ -58,8 +58,8 @@ declare function signUp(data: RegisterInput): Promise<{
58
58
  createdAt: Date;
59
59
  updatedAt: Date | null;
60
60
  userId: string;
61
- expiresAt: Date;
62
61
  active_organization_id: string | null;
62
+ expiresAt: Date;
63
63
  };
64
64
  user: {
65
65
  [x: string]: any;
@@ -86,8 +86,8 @@ declare function finalizeLogin(userId: string, flags: SessionFlags): Promise<{
86
86
  createdAt: Date;
87
87
  updatedAt: Date | null;
88
88
  userId: string;
89
- expiresAt: Date;
90
89
  active_organization_id: string | null;
90
+ expiresAt: Date;
91
91
  } | null;
92
92
  user: {
93
93
  id: string;
@@ -58,8 +58,8 @@ declare function signUp(data: RegisterInput): Promise<{
58
58
  createdAt: Date;
59
59
  updatedAt: Date | null;
60
60
  userId: string;
61
- expiresAt: Date;
62
61
  active_organization_id: string | null;
62
+ expiresAt: Date;
63
63
  };
64
64
  user: {
65
65
  [x: string]: any;
@@ -86,8 +86,8 @@ declare function finalizeLogin(userId: string, flags: SessionFlags): Promise<{
86
86
  createdAt: Date;
87
87
  updatedAt: Date | null;
88
88
  userId: string;
89
- expiresAt: Date;
90
89
  active_organization_id: string | null;
90
+ expiresAt: Date;
91
91
  } | null;
92
92
  user: {
93
93
  id: string;
@@ -19,10 +19,10 @@ declare function createNotification(data: CreateNotificationPayload): Promise<{
19
19
  createdAt: Date;
20
20
  updatedAt: Date | null;
21
21
  userId: string;
22
- type: string | null;
23
22
  title: string;
24
23
  content: string | null;
25
24
  target: string | null;
25
+ type: string | null;
26
26
  isRead: boolean;
27
27
  resourceId: string | null;
28
28
  resourceType: string | null;
@@ -19,10 +19,10 @@ declare function createNotification(data: CreateNotificationPayload): Promise<{
19
19
  createdAt: Date;
20
20
  updatedAt: Date | null;
21
21
  userId: string;
22
- type: string | null;
23
22
  title: string;
24
23
  content: string | null;
25
24
  target: string | null;
25
+ type: string | null;
26
26
  isRead: boolean;
27
27
  resourceId: string | null;
28
28
  resourceType: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arch-cadre/core",
3
- "version": "0.0.11",
3
+ "version": "0.0.12",
4
4
  "description": "Core logic for Kryo framework",
5
5
  "exports": {
6
6
  ".": {