@m5kdev/backend 0.3.5 → 0.5.0

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.
@@ -58,10 +58,10 @@ export declare const createAuthTRPCRouter: <MastraInstance extends Mastra>(trpcM
58
58
  input: void;
59
59
  output: {
60
60
  id: string;
61
+ status: string;
61
62
  createdAt: Date;
62
63
  updatedAt: Date | null;
63
64
  expiresAt: Date | null;
64
- status: string;
65
65
  claimUserId: string | null;
66
66
  claimedAt: Date | null;
67
67
  claimedEmail: string | null;
@@ -76,11 +76,11 @@ export declare const createAuthTRPCRouter: <MastraInstance extends Mastra>(trpcM
76
76
  output: {
77
77
  id: string;
78
78
  email: string;
79
+ url: string;
79
80
  createdAt: Date;
80
- expiresAt: Date | null;
81
81
  userId: string;
82
+ expiresAt: Date | null;
82
83
  claimId: string;
83
- url: string;
84
84
  };
85
85
  meta: any;
86
86
  }>;
@@ -91,11 +91,11 @@ export declare const createAuthTRPCRouter: <MastraInstance extends Mastra>(trpcM
91
91
  output: {
92
92
  id: string;
93
93
  email: string;
94
+ url: string;
94
95
  createdAt: Date;
95
- expiresAt: Date | null;
96
96
  userId: string;
97
+ expiresAt: Date | null;
97
98
  claimId: string;
98
- url: string;
99
99
  }[];
100
100
  meta: any;
101
101
  }>;
@@ -147,12 +147,12 @@ export declare const createAuthTRPCRouter: <MastraInstance extends Mastra>(trpcM
147
147
  listAdminWaitlist: import("@trpc/server").TRPCQueryProcedure<{
148
148
  input: void;
149
149
  output: {
150
- name: string | null;
151
150
  id: string;
152
151
  email: string | null;
152
+ name: string | null;
153
+ status: string;
153
154
  createdAt: Date;
154
155
  updatedAt: Date | null;
155
- status: string;
156
156
  }[];
157
157
  meta: any;
158
158
  }>;
@@ -161,12 +161,12 @@ export declare const createAuthTRPCRouter: <MastraInstance extends Mastra>(trpcM
161
161
  email: string;
162
162
  };
163
163
  output: {
164
- name: string | null;
165
164
  id: string;
166
165
  email: string | null;
166
+ name: string | null;
167
+ status: string;
167
168
  createdAt: Date;
168
169
  updatedAt: Date | null;
169
- status: string;
170
170
  };
171
171
  meta: any;
172
172
  }>;
@@ -192,12 +192,12 @@ export declare const createAuthTRPCRouter: <MastraInstance extends Mastra>(trpcM
192
192
  id: string;
193
193
  };
194
194
  output: {
195
- name: string | null;
196
195
  id: string;
197
196
  email: string | null;
197
+ name: string | null;
198
+ status: string;
198
199
  createdAt: Date;
199
200
  updatedAt: Date | null;
200
- status: string;
201
201
  };
202
202
  meta: any;
203
203
  }>;
@@ -206,12 +206,12 @@ export declare const createAuthTRPCRouter: <MastraInstance extends Mastra>(trpcM
206
206
  id: string;
207
207
  };
208
208
  output: {
209
- name: string | null;
210
209
  id: string;
211
210
  email: string | null;
211
+ name: string | null;
212
+ status: string;
212
213
  createdAt: Date;
213
214
  updatedAt: Date | null;
214
- status: string;
215
215
  };
216
216
  meta: any;
217
217
  }>;
@@ -220,12 +220,12 @@ export declare const createAuthTRPCRouter: <MastraInstance extends Mastra>(trpcM
220
220
  email: string;
221
221
  };
222
222
  output: {
223
- name: string | null;
224
223
  id: string;
225
224
  email: string | null;
225
+ name: string | null;
226
+ status: string;
226
227
  createdAt: Date;
227
228
  updatedAt: Date | null;
228
- status: string;
229
229
  };
230
230
  meta: any;
231
231
  }>;
@@ -19,8 +19,8 @@ export declare function createAuthContext(auth: BetterAuth): ({ req }: CreateExp
19
19
  createdAt: Date;
20
20
  updatedAt: Date;
21
21
  userId: string;
22
- expiresAt: Date;
23
22
  token: string;
23
+ expiresAt: Date;
24
24
  ipAddress: string | null;
25
25
  userAgent: string | null;
26
26
  impersonatedBy: string | null;
@@ -30,15 +30,15 @@ export declare function createAuthContext(auth: BetterAuth): ({ req }: CreateExp
30
30
  activeTeamRole: string | null;
31
31
  };
32
32
  user: {
33
+ id: string;
33
34
  email: string;
34
35
  name: string;
35
- role: string | null;
36
- image: string | null;
37
36
  metadata: Record<string, unknown>;
38
- id: string;
37
+ emailVerified: boolean;
38
+ image: string | null;
39
39
  createdAt: Date;
40
40
  updatedAt: Date;
41
- emailVerified: boolean;
41
+ role: string | null;
42
42
  banned: boolean | null;
43
43
  banReason: string | null;
44
44
  banExpires: Date | null;