@m5kdev/backend 0.8.10 → 0.8.11
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.
- package/dist/src/modules/auth/auth.dto.d.cts +6 -6
- package/dist/src/modules/auth/auth.dto.d.mts +6 -6
- package/dist/src/modules/auth/auth.lib.d.cts +4 -4
- package/dist/src/modules/auth/auth.lib.d.mts +4 -4
- package/dist/src/modules/auth/auth.trpc.d.cts +17 -17
- package/dist/src/modules/auth/auth.trpc.d.mts +17 -17
- package/dist/src/modules/connect/connect.dto.d.cts +10 -10
- package/dist/src/modules/connect/connect.dto.d.mts +10 -10
- package/dist/src/modules/connect/connect.repository.d.cts +7 -7
- package/dist/src/modules/connect/connect.repository.d.mts +7 -7
- package/dist/src/modules/connect/connect.service.d.cts +14 -14
- package/dist/src/modules/connect/connect.service.d.mts +14 -14
- package/dist/src/modules/connect/connect.trpc.d.cts +5 -5
- package/dist/src/modules/connect/connect.trpc.d.mts +5 -5
- package/dist/src/modules/recurrence/recurrence.service.d.cts +4 -4
- package/dist/src/modules/recurrence/recurrence.service.d.mts +4 -4
- package/dist/src/modules/recurrence/recurrence.trpc.d.cts +3 -3
- package/dist/src/modules/recurrence/recurrence.trpc.d.mts +3 -3
- package/dist/src/modules/tag/tag.trpc.d.cts +2 -2
- package/dist/src/modules/tag/tag.trpc.d.mts +2 -2
- package/dist/src/types.d.cts +17 -17
- package/dist/src/types.d.mts +17 -17
- package/package.json +3 -3
|
@@ -12,11 +12,11 @@ declare const waitlistSchema: z.ZodObject<{
|
|
|
12
12
|
expiresAt: z.ZodNullable<z.ZodDate>;
|
|
13
13
|
}, z.core.$strip>;
|
|
14
14
|
declare const waitlistOutputSchema: z.ZodObject<{
|
|
15
|
-
id: z.ZodString;
|
|
16
15
|
name: z.ZodNullable<z.ZodString>;
|
|
16
|
+
id: z.ZodString;
|
|
17
|
+
email: z.ZodNullable<z.ZodString>;
|
|
17
18
|
createdAt: z.ZodDate;
|
|
18
19
|
updatedAt: z.ZodNullable<z.ZodDate>;
|
|
19
|
-
email: z.ZodNullable<z.ZodString>;
|
|
20
20
|
status: z.ZodString;
|
|
21
21
|
}, z.core.$strip>;
|
|
22
22
|
type WaitlistOutput = z.infer<typeof waitlistOutputSchema>;
|
|
@@ -34,10 +34,10 @@ declare const accountClaimSchema: z.ZodObject<{
|
|
|
34
34
|
}, z.core.$strip>;
|
|
35
35
|
declare const accountClaimOutputSchema: z.ZodObject<{
|
|
36
36
|
id: z.ZodString;
|
|
37
|
-
expiresAt: z.ZodNullable<z.ZodDate>;
|
|
38
37
|
createdAt: z.ZodDate;
|
|
39
38
|
updatedAt: z.ZodNullable<z.ZodDate>;
|
|
40
39
|
status: z.ZodString;
|
|
40
|
+
expiresAt: z.ZodNullable<z.ZodDate>;
|
|
41
41
|
claimUserId: z.ZodNullable<z.ZodString>;
|
|
42
42
|
claimedAt: z.ZodNullable<z.ZodDate>;
|
|
43
43
|
claimedEmail: z.ZodNullable<z.ZodString>;
|
|
@@ -56,10 +56,10 @@ declare const accountClaimMagicLinkSchema: z.ZodObject<{
|
|
|
56
56
|
}, z.core.$strip>;
|
|
57
57
|
declare const accountClaimMagicLinkOutputSchema: z.ZodObject<{
|
|
58
58
|
id: z.ZodString;
|
|
59
|
-
userId: z.ZodString;
|
|
60
|
-
expiresAt: z.ZodNullable<z.ZodDate>;
|
|
61
|
-
createdAt: z.ZodDate;
|
|
62
59
|
email: z.ZodString;
|
|
60
|
+
createdAt: z.ZodDate;
|
|
61
|
+
expiresAt: z.ZodNullable<z.ZodDate>;
|
|
62
|
+
userId: z.ZodString;
|
|
63
63
|
claimId: z.ZodString;
|
|
64
64
|
url: z.ZodString;
|
|
65
65
|
}, z.core.$strip>;
|
|
@@ -12,11 +12,11 @@ declare const waitlistSchema: z.ZodObject<{
|
|
|
12
12
|
expiresAt: z.ZodNullable<z.ZodDate>;
|
|
13
13
|
}, z.core.$strip>;
|
|
14
14
|
declare const waitlistOutputSchema: z.ZodObject<{
|
|
15
|
-
id: z.ZodString;
|
|
16
15
|
name: z.ZodNullable<z.ZodString>;
|
|
16
|
+
id: z.ZodString;
|
|
17
|
+
email: z.ZodNullable<z.ZodString>;
|
|
17
18
|
createdAt: z.ZodDate;
|
|
18
19
|
updatedAt: z.ZodNullable<z.ZodDate>;
|
|
19
|
-
email: z.ZodNullable<z.ZodString>;
|
|
20
20
|
status: z.ZodString;
|
|
21
21
|
}, z.core.$strip>;
|
|
22
22
|
type WaitlistOutput = z.infer<typeof waitlistOutputSchema>;
|
|
@@ -34,10 +34,10 @@ declare const accountClaimSchema: z.ZodObject<{
|
|
|
34
34
|
}, z.core.$strip>;
|
|
35
35
|
declare const accountClaimOutputSchema: z.ZodObject<{
|
|
36
36
|
id: z.ZodString;
|
|
37
|
-
expiresAt: z.ZodNullable<z.ZodDate>;
|
|
38
37
|
createdAt: z.ZodDate;
|
|
39
38
|
updatedAt: z.ZodNullable<z.ZodDate>;
|
|
40
39
|
status: z.ZodString;
|
|
40
|
+
expiresAt: z.ZodNullable<z.ZodDate>;
|
|
41
41
|
claimUserId: z.ZodNullable<z.ZodString>;
|
|
42
42
|
claimedAt: z.ZodNullable<z.ZodDate>;
|
|
43
43
|
claimedEmail: z.ZodNullable<z.ZodString>;
|
|
@@ -56,10 +56,10 @@ declare const accountClaimMagicLinkSchema: z.ZodObject<{
|
|
|
56
56
|
}, z.core.$strip>;
|
|
57
57
|
declare const accountClaimMagicLinkOutputSchema: z.ZodObject<{
|
|
58
58
|
id: z.ZodString;
|
|
59
|
-
userId: z.ZodString;
|
|
60
|
-
expiresAt: z.ZodNullable<z.ZodDate>;
|
|
61
|
-
createdAt: z.ZodDate;
|
|
62
59
|
email: z.ZodString;
|
|
60
|
+
createdAt: z.ZodDate;
|
|
61
|
+
expiresAt: z.ZodNullable<z.ZodDate>;
|
|
62
|
+
userId: z.ZodString;
|
|
63
63
|
claimId: z.ZodString;
|
|
64
64
|
url: z.ZodString;
|
|
65
65
|
}, z.core.$strip>;
|
|
@@ -3279,13 +3279,13 @@ declare function createBetterAuth<O extends Orm, S extends Schema, E extends Ema
|
|
|
3279
3279
|
$Infer: {
|
|
3280
3280
|
body: ({
|
|
3281
3281
|
permission: {
|
|
3282
|
-
readonly user?: ("
|
|
3282
|
+
readonly user?: ("set-role" | "create" | "update" | "delete" | "list" | "get" | "ban" | "impersonate" | "set-password")[] | undefined;
|
|
3283
3283
|
readonly session?: ("delete" | "list" | "revoke")[] | undefined;
|
|
3284
3284
|
};
|
|
3285
3285
|
permissions?: never | undefined;
|
|
3286
3286
|
} | {
|
|
3287
3287
|
permissions: {
|
|
3288
|
-
readonly user?: ("
|
|
3288
|
+
readonly user?: ("set-role" | "create" | "update" | "delete" | "list" | "get" | "ban" | "impersonate" | "set-password")[] | undefined;
|
|
3289
3289
|
readonly session?: ("delete" | "list" | "revoke")[] | undefined;
|
|
3290
3290
|
};
|
|
3291
3291
|
permission?: never | undefined;
|
|
@@ -4810,7 +4810,7 @@ declare function createBetterAuth<O extends Orm, S extends Schema, E extends Ema
|
|
|
4810
4810
|
socialProviders?: _$better_auth0.SocialProviders | undefined;
|
|
4811
4811
|
account?: {
|
|
4812
4812
|
modelName?: string;
|
|
4813
|
-
fields?: Partial<Record<"
|
|
4813
|
+
fields?: Partial<Record<"createdAt" | "updatedAt" | "userId" | "accountId" | "providerId" | "accessToken" | "refreshToken" | "idToken" | "accessTokenExpiresAt" | "refreshTokenExpiresAt" | "scope" | "password", string>>;
|
|
4814
4814
|
additionalFields?: {
|
|
4815
4815
|
[key: string]: _$better_auth0.DBFieldAttribute;
|
|
4816
4816
|
};
|
|
@@ -4830,7 +4830,7 @@ declare function createBetterAuth<O extends Orm, S extends Schema, E extends Ema
|
|
|
4830
4830
|
} | undefined;
|
|
4831
4831
|
verification?: {
|
|
4832
4832
|
modelName?: string;
|
|
4833
|
-
fields?: Partial<Record<"
|
|
4833
|
+
fields?: Partial<Record<"createdAt" | "updatedAt" | "expiresAt" | "identifier" | "value", string>>;
|
|
4834
4834
|
additionalFields?: {
|
|
4835
4835
|
[key: string]: _$better_auth0.DBFieldAttribute;
|
|
4836
4836
|
};
|
|
@@ -3279,13 +3279,13 @@ declare function createBetterAuth<O extends Orm, S extends Schema, E extends Ema
|
|
|
3279
3279
|
$Infer: {
|
|
3280
3280
|
body: ({
|
|
3281
3281
|
permission: {
|
|
3282
|
-
readonly user?: ("
|
|
3282
|
+
readonly user?: ("set-role" | "create" | "update" | "delete" | "list" | "get" | "ban" | "impersonate" | "set-password")[] | undefined;
|
|
3283
3283
|
readonly session?: ("delete" | "list" | "revoke")[] | undefined;
|
|
3284
3284
|
};
|
|
3285
3285
|
permissions?: never | undefined;
|
|
3286
3286
|
} | {
|
|
3287
3287
|
permissions: {
|
|
3288
|
-
readonly user?: ("
|
|
3288
|
+
readonly user?: ("set-role" | "create" | "update" | "delete" | "list" | "get" | "ban" | "impersonate" | "set-password")[] | undefined;
|
|
3289
3289
|
readonly session?: ("delete" | "list" | "revoke")[] | undefined;
|
|
3290
3290
|
};
|
|
3291
3291
|
permission?: never | undefined;
|
|
@@ -4810,7 +4810,7 @@ declare function createBetterAuth<O extends Orm, S extends Schema, E extends Ema
|
|
|
4810
4810
|
socialProviders?: _$better_auth0.SocialProviders | undefined;
|
|
4811
4811
|
account?: {
|
|
4812
4812
|
modelName?: string;
|
|
4813
|
-
fields?: Partial<Record<"
|
|
4813
|
+
fields?: Partial<Record<"createdAt" | "updatedAt" | "userId" | "accountId" | "providerId" | "accessToken" | "refreshToken" | "idToken" | "accessTokenExpiresAt" | "refreshTokenExpiresAt" | "scope" | "password", string>>;
|
|
4814
4814
|
additionalFields?: {
|
|
4815
4815
|
[key: string]: _$better_auth0.DBFieldAttribute;
|
|
4816
4816
|
};
|
|
@@ -4830,7 +4830,7 @@ declare function createBetterAuth<O extends Orm, S extends Schema, E extends Ema
|
|
|
4830
4830
|
} | undefined;
|
|
4831
4831
|
verification?: {
|
|
4832
4832
|
modelName?: string;
|
|
4833
|
-
fields?: Partial<Record<"
|
|
4833
|
+
fields?: Partial<Record<"createdAt" | "updatedAt" | "expiresAt" | "identifier" | "value", string>>;
|
|
4834
4834
|
additionalFields?: {
|
|
4835
4835
|
[key: string]: _$better_auth0.DBFieldAttribute;
|
|
4836
4836
|
};
|
|
@@ -57,10 +57,10 @@ declare function createAuthTRPC({
|
|
|
57
57
|
input: void;
|
|
58
58
|
output: {
|
|
59
59
|
id: string;
|
|
60
|
-
expiresAt: Date | null;
|
|
61
60
|
createdAt: Date;
|
|
62
61
|
updatedAt: Date | null;
|
|
63
62
|
status: string;
|
|
63
|
+
expiresAt: Date | null;
|
|
64
64
|
claimUserId: string | null;
|
|
65
65
|
claimedAt: Date | null;
|
|
66
66
|
claimedEmail: string | null;
|
|
@@ -74,10 +74,10 @@ declare function createAuthTRPC({
|
|
|
74
74
|
};
|
|
75
75
|
output: {
|
|
76
76
|
id: string;
|
|
77
|
-
userId: string;
|
|
78
|
-
expiresAt: Date | null;
|
|
79
|
-
createdAt: Date;
|
|
80
77
|
email: string;
|
|
78
|
+
createdAt: Date;
|
|
79
|
+
expiresAt: Date | null;
|
|
80
|
+
userId: string;
|
|
81
81
|
claimId: string;
|
|
82
82
|
url: string;
|
|
83
83
|
};
|
|
@@ -89,10 +89,10 @@ declare function createAuthTRPC({
|
|
|
89
89
|
};
|
|
90
90
|
output: {
|
|
91
91
|
id: string;
|
|
92
|
-
userId: string;
|
|
93
|
-
expiresAt: Date | null;
|
|
94
|
-
createdAt: Date;
|
|
95
92
|
email: string;
|
|
93
|
+
createdAt: Date;
|
|
94
|
+
expiresAt: Date | null;
|
|
95
|
+
userId: string;
|
|
96
96
|
claimId: string;
|
|
97
97
|
url: string;
|
|
98
98
|
}[];
|
|
@@ -146,11 +146,11 @@ declare function createAuthTRPC({
|
|
|
146
146
|
listAdminWaitlist: _$_trpc_server0.TRPCQueryProcedure<{
|
|
147
147
|
input: void;
|
|
148
148
|
output: {
|
|
149
|
-
id: string;
|
|
150
149
|
name: string | null;
|
|
150
|
+
id: string;
|
|
151
|
+
email: string | null;
|
|
151
152
|
createdAt: Date;
|
|
152
153
|
updatedAt: Date | null;
|
|
153
|
-
email: string | null;
|
|
154
154
|
status: string;
|
|
155
155
|
}[];
|
|
156
156
|
meta: any;
|
|
@@ -160,11 +160,11 @@ declare function createAuthTRPC({
|
|
|
160
160
|
email: string;
|
|
161
161
|
};
|
|
162
162
|
output: {
|
|
163
|
-
id: string;
|
|
164
163
|
name: string | null;
|
|
164
|
+
id: string;
|
|
165
|
+
email: string | null;
|
|
165
166
|
createdAt: Date;
|
|
166
167
|
updatedAt: Date | null;
|
|
167
|
-
email: string | null;
|
|
168
168
|
status: string;
|
|
169
169
|
};
|
|
170
170
|
meta: any;
|
|
@@ -191,11 +191,11 @@ declare function createAuthTRPC({
|
|
|
191
191
|
id: string;
|
|
192
192
|
};
|
|
193
193
|
output: {
|
|
194
|
-
id: string;
|
|
195
194
|
name: string | null;
|
|
195
|
+
id: string;
|
|
196
|
+
email: string | null;
|
|
196
197
|
createdAt: Date;
|
|
197
198
|
updatedAt: Date | null;
|
|
198
|
-
email: string | null;
|
|
199
199
|
status: string;
|
|
200
200
|
};
|
|
201
201
|
meta: any;
|
|
@@ -205,11 +205,11 @@ declare function createAuthTRPC({
|
|
|
205
205
|
id: string;
|
|
206
206
|
};
|
|
207
207
|
output: {
|
|
208
|
-
id: string;
|
|
209
208
|
name: string | null;
|
|
209
|
+
id: string;
|
|
210
|
+
email: string | null;
|
|
210
211
|
createdAt: Date;
|
|
211
212
|
updatedAt: Date | null;
|
|
212
|
-
email: string | null;
|
|
213
213
|
status: string;
|
|
214
214
|
};
|
|
215
215
|
meta: any;
|
|
@@ -219,11 +219,11 @@ declare function createAuthTRPC({
|
|
|
219
219
|
email: string;
|
|
220
220
|
};
|
|
221
221
|
output: {
|
|
222
|
-
id: string;
|
|
223
222
|
name: string | null;
|
|
223
|
+
id: string;
|
|
224
|
+
email: string | null;
|
|
224
225
|
createdAt: Date;
|
|
225
226
|
updatedAt: Date | null;
|
|
226
|
-
email: string | null;
|
|
227
227
|
status: string;
|
|
228
228
|
};
|
|
229
229
|
meta: any;
|
|
@@ -57,10 +57,10 @@ declare function createAuthTRPC({
|
|
|
57
57
|
input: void;
|
|
58
58
|
output: {
|
|
59
59
|
id: string;
|
|
60
|
-
expiresAt: Date | null;
|
|
61
60
|
createdAt: Date;
|
|
62
61
|
updatedAt: Date | null;
|
|
63
62
|
status: string;
|
|
63
|
+
expiresAt: Date | null;
|
|
64
64
|
claimUserId: string | null;
|
|
65
65
|
claimedAt: Date | null;
|
|
66
66
|
claimedEmail: string | null;
|
|
@@ -74,10 +74,10 @@ declare function createAuthTRPC({
|
|
|
74
74
|
};
|
|
75
75
|
output: {
|
|
76
76
|
id: string;
|
|
77
|
-
userId: string;
|
|
78
|
-
expiresAt: Date | null;
|
|
79
|
-
createdAt: Date;
|
|
80
77
|
email: string;
|
|
78
|
+
createdAt: Date;
|
|
79
|
+
expiresAt: Date | null;
|
|
80
|
+
userId: string;
|
|
81
81
|
claimId: string;
|
|
82
82
|
url: string;
|
|
83
83
|
};
|
|
@@ -89,10 +89,10 @@ declare function createAuthTRPC({
|
|
|
89
89
|
};
|
|
90
90
|
output: {
|
|
91
91
|
id: string;
|
|
92
|
-
userId: string;
|
|
93
|
-
expiresAt: Date | null;
|
|
94
|
-
createdAt: Date;
|
|
95
92
|
email: string;
|
|
93
|
+
createdAt: Date;
|
|
94
|
+
expiresAt: Date | null;
|
|
95
|
+
userId: string;
|
|
96
96
|
claimId: string;
|
|
97
97
|
url: string;
|
|
98
98
|
}[];
|
|
@@ -146,11 +146,11 @@ declare function createAuthTRPC({
|
|
|
146
146
|
listAdminWaitlist: _$_trpc_server0.TRPCQueryProcedure<{
|
|
147
147
|
input: void;
|
|
148
148
|
output: {
|
|
149
|
-
id: string;
|
|
150
149
|
name: string | null;
|
|
150
|
+
id: string;
|
|
151
|
+
email: string | null;
|
|
151
152
|
createdAt: Date;
|
|
152
153
|
updatedAt: Date | null;
|
|
153
|
-
email: string | null;
|
|
154
154
|
status: string;
|
|
155
155
|
}[];
|
|
156
156
|
meta: any;
|
|
@@ -160,11 +160,11 @@ declare function createAuthTRPC({
|
|
|
160
160
|
email: string;
|
|
161
161
|
};
|
|
162
162
|
output: {
|
|
163
|
-
id: string;
|
|
164
163
|
name: string | null;
|
|
164
|
+
id: string;
|
|
165
|
+
email: string | null;
|
|
165
166
|
createdAt: Date;
|
|
166
167
|
updatedAt: Date | null;
|
|
167
|
-
email: string | null;
|
|
168
168
|
status: string;
|
|
169
169
|
};
|
|
170
170
|
meta: any;
|
|
@@ -191,11 +191,11 @@ declare function createAuthTRPC({
|
|
|
191
191
|
id: string;
|
|
192
192
|
};
|
|
193
193
|
output: {
|
|
194
|
-
id: string;
|
|
195
194
|
name: string | null;
|
|
195
|
+
id: string;
|
|
196
|
+
email: string | null;
|
|
196
197
|
createdAt: Date;
|
|
197
198
|
updatedAt: Date | null;
|
|
198
|
-
email: string | null;
|
|
199
199
|
status: string;
|
|
200
200
|
};
|
|
201
201
|
meta: any;
|
|
@@ -205,11 +205,11 @@ declare function createAuthTRPC({
|
|
|
205
205
|
id: string;
|
|
206
206
|
};
|
|
207
207
|
output: {
|
|
208
|
-
id: string;
|
|
209
208
|
name: string | null;
|
|
209
|
+
id: string;
|
|
210
|
+
email: string | null;
|
|
210
211
|
createdAt: Date;
|
|
211
212
|
updatedAt: Date | null;
|
|
212
|
-
email: string | null;
|
|
213
213
|
status: string;
|
|
214
214
|
};
|
|
215
215
|
meta: any;
|
|
@@ -219,11 +219,11 @@ declare function createAuthTRPC({
|
|
|
219
219
|
email: string;
|
|
220
220
|
};
|
|
221
221
|
output: {
|
|
222
|
-
id: string;
|
|
223
222
|
name: string | null;
|
|
223
|
+
id: string;
|
|
224
|
+
email: string | null;
|
|
224
225
|
createdAt: Date;
|
|
225
226
|
updatedAt: Date | null;
|
|
226
|
-
email: string | null;
|
|
227
227
|
status: string;
|
|
228
228
|
};
|
|
229
229
|
meta: any;
|
|
@@ -25,7 +25,12 @@ declare const connectSelectSchema: z.ZodObject<{
|
|
|
25
25
|
type ConnectSelectSchema = z.infer<typeof connectSelectSchema>;
|
|
26
26
|
declare const connectSelectOutputSchema: z.ZodObject<{
|
|
27
27
|
id: z.ZodString;
|
|
28
|
+
createdAt: z.ZodDate;
|
|
29
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
30
|
+
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
28
31
|
userId: z.ZodString;
|
|
32
|
+
scope: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
34
|
provider: z.ZodString;
|
|
30
35
|
accountType: z.ZodString;
|
|
31
36
|
providerAccountId: z.ZodString;
|
|
@@ -33,14 +38,9 @@ declare const connectSelectOutputSchema: z.ZodObject<{
|
|
|
33
38
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
39
|
avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
40
|
tokenType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
-
scope: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
38
|
-
parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
41
|
metadataJson: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
40
42
|
revokedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
41
43
|
lastRefreshedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
42
|
-
createdAt: z.ZodDate;
|
|
43
|
-
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
44
44
|
}, z.core.$strip>;
|
|
45
45
|
declare const connectListInputSchema: z.ZodObject<{
|
|
46
46
|
providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -49,7 +49,12 @@ declare const connectListInputSchema: z.ZodObject<{
|
|
|
49
49
|
type ConnectListInputSchema = z.infer<typeof connectListInputSchema>;
|
|
50
50
|
declare const connectListOutputSchema: z.ZodArray<z.ZodObject<{
|
|
51
51
|
id: z.ZodString;
|
|
52
|
+
createdAt: z.ZodDate;
|
|
53
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
54
|
+
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
52
55
|
userId: z.ZodString;
|
|
56
|
+
scope: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
57
|
+
parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
58
|
provider: z.ZodString;
|
|
54
59
|
accountType: z.ZodString;
|
|
55
60
|
providerAccountId: z.ZodString;
|
|
@@ -57,14 +62,9 @@ declare const connectListOutputSchema: z.ZodArray<z.ZodObject<{
|
|
|
57
62
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
63
|
avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
64
|
tokenType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60
|
-
scope: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
62
|
-
parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
65
|
metadataJson: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
64
66
|
revokedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
65
67
|
lastRefreshedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
66
|
-
createdAt: z.ZodDate;
|
|
67
|
-
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
68
68
|
}, z.core.$strip>>;
|
|
69
69
|
declare const connectDeleteInputSchema: z.ZodObject<{
|
|
70
70
|
id: z.ZodString;
|
|
@@ -25,7 +25,12 @@ declare const connectSelectSchema: z.ZodObject<{
|
|
|
25
25
|
type ConnectSelectSchema = z.infer<typeof connectSelectSchema>;
|
|
26
26
|
declare const connectSelectOutputSchema: z.ZodObject<{
|
|
27
27
|
id: z.ZodString;
|
|
28
|
+
createdAt: z.ZodDate;
|
|
29
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
30
|
+
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
28
31
|
userId: z.ZodString;
|
|
32
|
+
scope: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
34
|
provider: z.ZodString;
|
|
30
35
|
accountType: z.ZodString;
|
|
31
36
|
providerAccountId: z.ZodString;
|
|
@@ -33,14 +38,9 @@ declare const connectSelectOutputSchema: z.ZodObject<{
|
|
|
33
38
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
39
|
avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
40
|
tokenType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
-
scope: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
38
|
-
parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
41
|
metadataJson: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
40
42
|
revokedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
41
43
|
lastRefreshedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
42
|
-
createdAt: z.ZodDate;
|
|
43
|
-
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
44
44
|
}, z.core.$strip>;
|
|
45
45
|
declare const connectListInputSchema: z.ZodObject<{
|
|
46
46
|
providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -49,7 +49,12 @@ declare const connectListInputSchema: z.ZodObject<{
|
|
|
49
49
|
type ConnectListInputSchema = z.infer<typeof connectListInputSchema>;
|
|
50
50
|
declare const connectListOutputSchema: z.ZodArray<z.ZodObject<{
|
|
51
51
|
id: z.ZodString;
|
|
52
|
+
createdAt: z.ZodDate;
|
|
53
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
54
|
+
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
52
55
|
userId: z.ZodString;
|
|
56
|
+
scope: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
57
|
+
parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
58
|
provider: z.ZodString;
|
|
54
59
|
accountType: z.ZodString;
|
|
55
60
|
providerAccountId: z.ZodString;
|
|
@@ -57,14 +62,9 @@ declare const connectListOutputSchema: z.ZodArray<z.ZodObject<{
|
|
|
57
62
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
63
|
avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
64
|
tokenType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60
|
-
scope: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
62
|
-
parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
65
|
metadataJson: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
64
66
|
revokedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
65
67
|
lastRefreshedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
66
|
-
createdAt: z.ZodDate;
|
|
67
|
-
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
68
68
|
}, z.core.$strip>>;
|
|
69
69
|
declare const connectDeleteInputSchema: z.ZodObject<{
|
|
70
70
|
id: z.ZodString;
|
|
@@ -394,24 +394,24 @@ declare class ConnectRepository extends BaseTableRepository<Orm, Schema, Record<
|
|
|
394
394
|
}[]>>;
|
|
395
395
|
upsert(data: ConnectInsert, tx?: Orm): Promise<ServerResult<{
|
|
396
396
|
id: string;
|
|
397
|
+
createdAt: Date;
|
|
398
|
+
updatedAt: Date | null;
|
|
399
|
+
expiresAt: Date | null;
|
|
397
400
|
userId: string;
|
|
401
|
+
accessToken: string;
|
|
402
|
+
refreshToken: string | null;
|
|
403
|
+
scope: string | null;
|
|
404
|
+
parentId: string | null;
|
|
398
405
|
provider: string;
|
|
399
406
|
accountType: string;
|
|
400
407
|
providerAccountId: string;
|
|
401
408
|
handle: string | null;
|
|
402
409
|
displayName: string | null;
|
|
403
410
|
avatarUrl: string | null;
|
|
404
|
-
accessToken: string;
|
|
405
|
-
refreshToken: string | null;
|
|
406
411
|
tokenType: string | null;
|
|
407
|
-
scope: string | null;
|
|
408
|
-
expiresAt: Date | null;
|
|
409
|
-
parentId: string | null;
|
|
410
412
|
metadataJson: unknown;
|
|
411
413
|
revokedAt: Date | null;
|
|
412
414
|
lastRefreshedAt: Date | null;
|
|
413
|
-
createdAt: Date;
|
|
414
|
-
updatedAt: Date | null;
|
|
415
415
|
}>>;
|
|
416
416
|
}
|
|
417
417
|
//#endregion
|
|
@@ -394,24 +394,24 @@ declare class ConnectRepository extends BaseTableRepository<Orm, Schema, Record<
|
|
|
394
394
|
}[]>>;
|
|
395
395
|
upsert(data: ConnectInsert, tx?: Orm): Promise<ServerResult<{
|
|
396
396
|
id: string;
|
|
397
|
+
createdAt: Date;
|
|
398
|
+
updatedAt: Date | null;
|
|
399
|
+
expiresAt: Date | null;
|
|
397
400
|
userId: string;
|
|
401
|
+
accessToken: string;
|
|
402
|
+
refreshToken: string | null;
|
|
403
|
+
scope: string | null;
|
|
404
|
+
parentId: string | null;
|
|
398
405
|
provider: string;
|
|
399
406
|
accountType: string;
|
|
400
407
|
providerAccountId: string;
|
|
401
408
|
handle: string | null;
|
|
402
409
|
displayName: string | null;
|
|
403
410
|
avatarUrl: string | null;
|
|
404
|
-
accessToken: string;
|
|
405
|
-
refreshToken: string | null;
|
|
406
411
|
tokenType: string | null;
|
|
407
|
-
scope: string | null;
|
|
408
|
-
expiresAt: Date | null;
|
|
409
|
-
parentId: string | null;
|
|
410
412
|
metadataJson: unknown;
|
|
411
413
|
revokedAt: Date | null;
|
|
412
414
|
lastRefreshedAt: Date | null;
|
|
413
|
-
createdAt: Date;
|
|
414
|
-
updatedAt: Date | null;
|
|
415
415
|
}>>;
|
|
416
416
|
}
|
|
417
417
|
//#endregion
|
|
@@ -20,45 +20,45 @@ declare class ConnectService extends BaseService<{
|
|
|
20
20
|
}>;
|
|
21
21
|
handleCallback(user: User, sessionId: string, providerId: string, code: string, state: string): Promise<ServerResult<{
|
|
22
22
|
id: string;
|
|
23
|
+
createdAt: Date;
|
|
24
|
+
updatedAt: Date | null;
|
|
25
|
+
expiresAt: Date | null;
|
|
23
26
|
userId: string;
|
|
27
|
+
accessToken: string;
|
|
28
|
+
refreshToken: string | null;
|
|
29
|
+
scope: string | null;
|
|
30
|
+
parentId: string | null;
|
|
24
31
|
provider: string;
|
|
25
32
|
accountType: string;
|
|
26
33
|
providerAccountId: string;
|
|
27
34
|
handle: string | null;
|
|
28
35
|
displayName: string | null;
|
|
29
36
|
avatarUrl: string | null;
|
|
30
|
-
accessToken: string;
|
|
31
|
-
refreshToken: string | null;
|
|
32
37
|
tokenType: string | null;
|
|
33
|
-
scope: string | null;
|
|
34
|
-
expiresAt: Date | null;
|
|
35
|
-
parentId: string | null;
|
|
36
38
|
metadataJson: unknown;
|
|
37
39
|
revokedAt: Date | null;
|
|
38
40
|
lastRefreshedAt: Date | null;
|
|
39
|
-
createdAt: Date;
|
|
40
|
-
updatedAt: Date | null;
|
|
41
41
|
}>>;
|
|
42
42
|
refreshToken(connectionId: string): Promise<ServerResult<{
|
|
43
43
|
id: string;
|
|
44
|
+
createdAt: Date;
|
|
45
|
+
updatedAt: Date | null;
|
|
46
|
+
expiresAt: Date | null;
|
|
44
47
|
userId: string;
|
|
48
|
+
accessToken: string;
|
|
49
|
+
refreshToken: string | null;
|
|
50
|
+
scope: string | null;
|
|
51
|
+
parentId: string | null;
|
|
45
52
|
provider: string;
|
|
46
53
|
accountType: string;
|
|
47
54
|
providerAccountId: string;
|
|
48
55
|
handle: string | null;
|
|
49
56
|
displayName: string | null;
|
|
50
57
|
avatarUrl: string | null;
|
|
51
|
-
accessToken: string;
|
|
52
|
-
refreshToken: string | null;
|
|
53
58
|
tokenType: string | null;
|
|
54
|
-
scope: string | null;
|
|
55
|
-
expiresAt: Date | null;
|
|
56
|
-
parentId: string | null;
|
|
57
59
|
metadataJson: unknown;
|
|
58
60
|
revokedAt: Date | null;
|
|
59
61
|
lastRefreshedAt: Date | null;
|
|
60
|
-
createdAt: Date;
|
|
61
|
-
updatedAt: Date | null;
|
|
62
62
|
}>>;
|
|
63
63
|
readonly list: ServiceProcedure<{
|
|
64
64
|
providers?: string[] | undefined;
|
|
@@ -20,45 +20,45 @@ declare class ConnectService extends BaseService<{
|
|
|
20
20
|
}>;
|
|
21
21
|
handleCallback(user: User, sessionId: string, providerId: string, code: string, state: string): Promise<ServerResult<{
|
|
22
22
|
id: string;
|
|
23
|
+
createdAt: Date;
|
|
24
|
+
updatedAt: Date | null;
|
|
25
|
+
expiresAt: Date | null;
|
|
23
26
|
userId: string;
|
|
27
|
+
accessToken: string;
|
|
28
|
+
refreshToken: string | null;
|
|
29
|
+
scope: string | null;
|
|
30
|
+
parentId: string | null;
|
|
24
31
|
provider: string;
|
|
25
32
|
accountType: string;
|
|
26
33
|
providerAccountId: string;
|
|
27
34
|
handle: string | null;
|
|
28
35
|
displayName: string | null;
|
|
29
36
|
avatarUrl: string | null;
|
|
30
|
-
accessToken: string;
|
|
31
|
-
refreshToken: string | null;
|
|
32
37
|
tokenType: string | null;
|
|
33
|
-
scope: string | null;
|
|
34
|
-
expiresAt: Date | null;
|
|
35
|
-
parentId: string | null;
|
|
36
38
|
metadataJson: unknown;
|
|
37
39
|
revokedAt: Date | null;
|
|
38
40
|
lastRefreshedAt: Date | null;
|
|
39
|
-
createdAt: Date;
|
|
40
|
-
updatedAt: Date | null;
|
|
41
41
|
}>>;
|
|
42
42
|
refreshToken(connectionId: string): Promise<ServerResult<{
|
|
43
43
|
id: string;
|
|
44
|
+
createdAt: Date;
|
|
45
|
+
updatedAt: Date | null;
|
|
46
|
+
expiresAt: Date | null;
|
|
44
47
|
userId: string;
|
|
48
|
+
accessToken: string;
|
|
49
|
+
refreshToken: string | null;
|
|
50
|
+
scope: string | null;
|
|
51
|
+
parentId: string | null;
|
|
45
52
|
provider: string;
|
|
46
53
|
accountType: string;
|
|
47
54
|
providerAccountId: string;
|
|
48
55
|
handle: string | null;
|
|
49
56
|
displayName: string | null;
|
|
50
57
|
avatarUrl: string | null;
|
|
51
|
-
accessToken: string;
|
|
52
|
-
refreshToken: string | null;
|
|
53
58
|
tokenType: string | null;
|
|
54
|
-
scope: string | null;
|
|
55
|
-
expiresAt: Date | null;
|
|
56
|
-
parentId: string | null;
|
|
57
59
|
metadataJson: unknown;
|
|
58
60
|
revokedAt: Date | null;
|
|
59
61
|
lastRefreshedAt: Date | null;
|
|
60
|
-
createdAt: Date;
|
|
61
|
-
updatedAt: Date | null;
|
|
62
62
|
}>>;
|
|
63
63
|
readonly list: ServiceProcedure<{
|
|
64
64
|
providers?: string[] | undefined;
|
|
@@ -19,22 +19,22 @@ declare function createConnectTRPC({
|
|
|
19
19
|
};
|
|
20
20
|
output: {
|
|
21
21
|
id: string;
|
|
22
|
+
createdAt: Date;
|
|
22
23
|
userId: string;
|
|
23
24
|
provider: string;
|
|
24
25
|
accountType: string;
|
|
25
26
|
providerAccountId: string;
|
|
26
|
-
|
|
27
|
+
updatedAt?: Date | null | undefined;
|
|
28
|
+
expiresAt?: Date | null | undefined;
|
|
29
|
+
scope?: string | null | undefined;
|
|
30
|
+
parentId?: string | null | undefined;
|
|
27
31
|
handle?: string | null | undefined;
|
|
28
32
|
displayName?: string | null | undefined;
|
|
29
33
|
avatarUrl?: string | null | undefined;
|
|
30
34
|
tokenType?: string | null | undefined;
|
|
31
|
-
scope?: string | null | undefined;
|
|
32
|
-
expiresAt?: Date | null | undefined;
|
|
33
|
-
parentId?: string | null | undefined;
|
|
34
35
|
metadataJson?: unknown;
|
|
35
36
|
revokedAt?: Date | null | undefined;
|
|
36
37
|
lastRefreshedAt?: Date | null | undefined;
|
|
37
|
-
updatedAt?: Date | null | undefined;
|
|
38
38
|
}[];
|
|
39
39
|
meta: any;
|
|
40
40
|
}>;
|
|
@@ -19,22 +19,22 @@ declare function createConnectTRPC({
|
|
|
19
19
|
};
|
|
20
20
|
output: {
|
|
21
21
|
id: string;
|
|
22
|
+
createdAt: Date;
|
|
22
23
|
userId: string;
|
|
23
24
|
provider: string;
|
|
24
25
|
accountType: string;
|
|
25
26
|
providerAccountId: string;
|
|
26
|
-
|
|
27
|
+
updatedAt?: Date | null | undefined;
|
|
28
|
+
expiresAt?: Date | null | undefined;
|
|
29
|
+
scope?: string | null | undefined;
|
|
30
|
+
parentId?: string | null | undefined;
|
|
27
31
|
handle?: string | null | undefined;
|
|
28
32
|
displayName?: string | null | undefined;
|
|
29
33
|
avatarUrl?: string | null | undefined;
|
|
30
34
|
tokenType?: string | null | undefined;
|
|
31
|
-
scope?: string | null | undefined;
|
|
32
|
-
expiresAt?: Date | null | undefined;
|
|
33
|
-
parentId?: string | null | undefined;
|
|
34
35
|
metadataJson?: unknown;
|
|
35
36
|
revokedAt?: Date | null | undefined;
|
|
36
37
|
lastRefreshedAt?: Date | null | undefined;
|
|
37
|
-
updatedAt?: Date | null | undefined;
|
|
38
38
|
}[];
|
|
39
39
|
meta: any;
|
|
40
40
|
}>;
|
|
@@ -18,7 +18,7 @@ declare class RecurrenceService extends BaseService<{
|
|
|
18
18
|
filters?: {
|
|
19
19
|
columnId: string;
|
|
20
20
|
type: "string" | "number" | "boolean" | "date" | "enum" | "jsonArray";
|
|
21
|
-
method: "
|
|
21
|
+
method: "contains" | "starts_with" | "ends_with" | "intersect" | "on" | "equals" | "greater_than" | "less_than" | "between" | "before" | "after" | "oneOf" | "isEmpty" | "isNotEmpty" | "is_null" | "is_not_null";
|
|
22
22
|
value: string | number | boolean | string[];
|
|
23
23
|
valueTo?: string | undefined;
|
|
24
24
|
endColumnId?: string | undefined;
|
|
@@ -30,11 +30,11 @@ declare class RecurrenceService extends BaseService<{
|
|
|
30
30
|
actor: UserActor;
|
|
31
31
|
}, {
|
|
32
32
|
rows: {
|
|
33
|
-
id: string;
|
|
34
33
|
name: string | null;
|
|
35
|
-
|
|
34
|
+
id: string;
|
|
36
35
|
createdAt: Date;
|
|
37
36
|
updatedAt: Date;
|
|
37
|
+
userId: string | null;
|
|
38
38
|
metadata: Record<string, any> | null;
|
|
39
39
|
organizationId: string | null;
|
|
40
40
|
teamId: string | null;
|
|
@@ -48,8 +48,8 @@ declare class RecurrenceService extends BaseService<{
|
|
|
48
48
|
kind: string;
|
|
49
49
|
enabled: boolean;
|
|
50
50
|
recurrenceRules: {
|
|
51
|
-
interval: number;
|
|
52
51
|
freq: number;
|
|
52
|
+
interval: number;
|
|
53
53
|
bysetpos?: number | number[] | null | undefined;
|
|
54
54
|
bymonth?: number | number[] | null | undefined;
|
|
55
55
|
bymonthday?: number | number[] | null | undefined;
|
|
@@ -18,7 +18,7 @@ declare class RecurrenceService extends BaseService<{
|
|
|
18
18
|
filters?: {
|
|
19
19
|
columnId: string;
|
|
20
20
|
type: "string" | "number" | "boolean" | "date" | "enum" | "jsonArray";
|
|
21
|
-
method: "
|
|
21
|
+
method: "contains" | "starts_with" | "ends_with" | "intersect" | "on" | "equals" | "greater_than" | "less_than" | "between" | "before" | "after" | "oneOf" | "isEmpty" | "isNotEmpty" | "is_null" | "is_not_null";
|
|
22
22
|
value: string | number | boolean | string[];
|
|
23
23
|
valueTo?: string | undefined;
|
|
24
24
|
endColumnId?: string | undefined;
|
|
@@ -30,11 +30,11 @@ declare class RecurrenceService extends BaseService<{
|
|
|
30
30
|
actor: UserActor;
|
|
31
31
|
}, {
|
|
32
32
|
rows: {
|
|
33
|
-
id: string;
|
|
34
33
|
name: string | null;
|
|
35
|
-
|
|
34
|
+
id: string;
|
|
36
35
|
createdAt: Date;
|
|
37
36
|
updatedAt: Date;
|
|
37
|
+
userId: string | null;
|
|
38
38
|
metadata: Record<string, any> | null;
|
|
39
39
|
organizationId: string | null;
|
|
40
40
|
teamId: string | null;
|
|
@@ -48,8 +48,8 @@ declare class RecurrenceService extends BaseService<{
|
|
|
48
48
|
kind: string;
|
|
49
49
|
enabled: boolean;
|
|
50
50
|
recurrenceRules: {
|
|
51
|
-
interval: number;
|
|
52
51
|
freq: number;
|
|
52
|
+
interval: number;
|
|
53
53
|
bysetpos?: number | number[] | null | undefined;
|
|
54
54
|
bymonth?: number | number[] | null | undefined;
|
|
55
55
|
bymonthday?: number | number[] | null | undefined;
|
|
@@ -21,7 +21,7 @@ declare function createRecurrenceTRPC({
|
|
|
21
21
|
filters?: {
|
|
22
22
|
columnId: string;
|
|
23
23
|
type: "string" | "number" | "boolean" | "date" | "enum" | "jsonArray";
|
|
24
|
-
method: "
|
|
24
|
+
method: "contains" | "starts_with" | "ends_with" | "intersect" | "on" | "equals" | "greater_than" | "less_than" | "between" | "before" | "after" | "oneOf" | "isEmpty" | "isNotEmpty" | "is_null" | "is_not_null";
|
|
25
25
|
value: string | number | boolean | string[];
|
|
26
26
|
valueTo?: string | undefined;
|
|
27
27
|
endColumnId?: string | undefined;
|
|
@@ -51,8 +51,8 @@ declare function createRecurrenceTRPC({
|
|
|
51
51
|
kind: string;
|
|
52
52
|
enabled: boolean;
|
|
53
53
|
recurrenceRules: {
|
|
54
|
-
interval: number;
|
|
55
54
|
freq: number;
|
|
55
|
+
interval: number;
|
|
56
56
|
bysetpos?: number | number[] | null | undefined;
|
|
57
57
|
bymonth?: number | number[] | null | undefined;
|
|
58
58
|
bymonthday?: number | number[] | null | undefined;
|
|
@@ -151,8 +151,8 @@ declare function createRecurrenceTRPC({
|
|
|
151
151
|
updateRule: _$_trpc_server0.TRPCMutationProcedure<{
|
|
152
152
|
input: {
|
|
153
153
|
id: string;
|
|
154
|
-
interval: number;
|
|
155
154
|
freq: number;
|
|
155
|
+
interval: number;
|
|
156
156
|
bysetpos?: number | number[] | null | undefined;
|
|
157
157
|
bymonth?: number | number[] | null | undefined;
|
|
158
158
|
bymonthday?: number | number[] | null | undefined;
|
|
@@ -21,7 +21,7 @@ declare function createRecurrenceTRPC({
|
|
|
21
21
|
filters?: {
|
|
22
22
|
columnId: string;
|
|
23
23
|
type: "string" | "number" | "boolean" | "date" | "enum" | "jsonArray";
|
|
24
|
-
method: "
|
|
24
|
+
method: "contains" | "starts_with" | "ends_with" | "intersect" | "on" | "equals" | "greater_than" | "less_than" | "between" | "before" | "after" | "oneOf" | "isEmpty" | "isNotEmpty" | "is_null" | "is_not_null";
|
|
25
25
|
value: string | number | boolean | string[];
|
|
26
26
|
valueTo?: string | undefined;
|
|
27
27
|
endColumnId?: string | undefined;
|
|
@@ -51,8 +51,8 @@ declare function createRecurrenceTRPC({
|
|
|
51
51
|
kind: string;
|
|
52
52
|
enabled: boolean;
|
|
53
53
|
recurrenceRules: {
|
|
54
|
-
interval: number;
|
|
55
54
|
freq: number;
|
|
55
|
+
interval: number;
|
|
56
56
|
bysetpos?: number | number[] | null | undefined;
|
|
57
57
|
bymonth?: number | number[] | null | undefined;
|
|
58
58
|
bymonthday?: number | number[] | null | undefined;
|
|
@@ -151,8 +151,8 @@ declare function createRecurrenceTRPC({
|
|
|
151
151
|
updateRule: _$_trpc_server0.TRPCMutationProcedure<{
|
|
152
152
|
input: {
|
|
153
153
|
id: string;
|
|
154
|
-
interval: number;
|
|
155
154
|
freq: number;
|
|
155
|
+
interval: number;
|
|
156
156
|
bysetpos?: number | number[] | null | undefined;
|
|
157
157
|
bymonth?: number | number[] | null | undefined;
|
|
158
158
|
bymonthday?: number | number[] | null | undefined;
|
|
@@ -21,7 +21,7 @@ declare function createTagTRPC({
|
|
|
21
21
|
filters?: {
|
|
22
22
|
columnId: string;
|
|
23
23
|
type: "string" | "number" | "boolean" | "date" | "enum" | "jsonArray";
|
|
24
|
-
method: "
|
|
24
|
+
method: "contains" | "starts_with" | "ends_with" | "intersect" | "on" | "equals" | "greater_than" | "less_than" | "between" | "before" | "after" | "oneOf" | "isEmpty" | "isNotEmpty" | "is_null" | "is_not_null";
|
|
25
25
|
value: string | number | boolean | string[];
|
|
26
26
|
valueTo?: string | undefined;
|
|
27
27
|
endColumnId?: string | undefined;
|
|
@@ -55,7 +55,7 @@ declare function createTagTRPC({
|
|
|
55
55
|
resourceIds?: {
|
|
56
56
|
columnId: string;
|
|
57
57
|
type: "string" | "number" | "boolean" | "date" | "enum" | "jsonArray";
|
|
58
|
-
method: "
|
|
58
|
+
method: "contains" | "starts_with" | "ends_with" | "intersect" | "on" | "equals" | "greater_than" | "less_than" | "between" | "before" | "after" | "oneOf" | "isEmpty" | "isNotEmpty" | "is_null" | "is_not_null";
|
|
59
59
|
value: string | number | boolean | string[];
|
|
60
60
|
valueTo?: string | undefined;
|
|
61
61
|
endColumnId?: string | undefined;
|
|
@@ -21,7 +21,7 @@ declare function createTagTRPC({
|
|
|
21
21
|
filters?: {
|
|
22
22
|
columnId: string;
|
|
23
23
|
type: "string" | "number" | "boolean" | "date" | "enum" | "jsonArray";
|
|
24
|
-
method: "
|
|
24
|
+
method: "contains" | "starts_with" | "ends_with" | "intersect" | "on" | "equals" | "greater_than" | "less_than" | "between" | "before" | "after" | "oneOf" | "isEmpty" | "isNotEmpty" | "is_null" | "is_not_null";
|
|
25
25
|
value: string | number | boolean | string[];
|
|
26
26
|
valueTo?: string | undefined;
|
|
27
27
|
endColumnId?: string | undefined;
|
|
@@ -55,7 +55,7 @@ declare function createTagTRPC({
|
|
|
55
55
|
resourceIds?: {
|
|
56
56
|
columnId: string;
|
|
57
57
|
type: "string" | "number" | "boolean" | "date" | "enum" | "jsonArray";
|
|
58
|
-
method: "
|
|
58
|
+
method: "contains" | "starts_with" | "ends_with" | "intersect" | "on" | "equals" | "greater_than" | "less_than" | "between" | "before" | "after" | "oneOf" | "isEmpty" | "isNotEmpty" | "is_null" | "is_not_null";
|
|
59
59
|
value: string | number | boolean | string[];
|
|
60
60
|
valueTo?: string | undefined;
|
|
61
61
|
endColumnId?: string | undefined;
|
package/dist/src/types.d.cts
CHANGED
|
@@ -60,10 +60,10 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
60
60
|
input: void;
|
|
61
61
|
output: {
|
|
62
62
|
id: string;
|
|
63
|
-
expiresAt: Date | null;
|
|
64
63
|
createdAt: Date;
|
|
65
64
|
updatedAt: Date | null;
|
|
66
65
|
status: string;
|
|
66
|
+
expiresAt: Date | null;
|
|
67
67
|
claimUserId: string | null;
|
|
68
68
|
claimedAt: Date | null;
|
|
69
69
|
claimedEmail: string | null;
|
|
@@ -77,10 +77,10 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
77
77
|
};
|
|
78
78
|
output: {
|
|
79
79
|
id: string;
|
|
80
|
-
userId: string;
|
|
81
|
-
expiresAt: Date | null;
|
|
82
|
-
createdAt: Date;
|
|
83
80
|
email: string;
|
|
81
|
+
createdAt: Date;
|
|
82
|
+
expiresAt: Date | null;
|
|
83
|
+
userId: string;
|
|
84
84
|
claimId: string;
|
|
85
85
|
url: string;
|
|
86
86
|
};
|
|
@@ -92,10 +92,10 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
92
92
|
};
|
|
93
93
|
output: {
|
|
94
94
|
id: string;
|
|
95
|
-
userId: string;
|
|
96
|
-
expiresAt: Date | null;
|
|
97
|
-
createdAt: Date;
|
|
98
95
|
email: string;
|
|
96
|
+
createdAt: Date;
|
|
97
|
+
expiresAt: Date | null;
|
|
98
|
+
userId: string;
|
|
99
99
|
claimId: string;
|
|
100
100
|
url: string;
|
|
101
101
|
}[];
|
|
@@ -149,11 +149,11 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
149
149
|
listAdminWaitlist: _$_trpc_server0.TRPCQueryProcedure<{
|
|
150
150
|
input: void;
|
|
151
151
|
output: {
|
|
152
|
-
id: string;
|
|
153
152
|
name: string | null;
|
|
153
|
+
id: string;
|
|
154
|
+
email: string | null;
|
|
154
155
|
createdAt: Date;
|
|
155
156
|
updatedAt: Date | null;
|
|
156
|
-
email: string | null;
|
|
157
157
|
status: string;
|
|
158
158
|
}[];
|
|
159
159
|
meta: any;
|
|
@@ -163,11 +163,11 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
163
163
|
email: string;
|
|
164
164
|
};
|
|
165
165
|
output: {
|
|
166
|
-
id: string;
|
|
167
166
|
name: string | null;
|
|
167
|
+
id: string;
|
|
168
|
+
email: string | null;
|
|
168
169
|
createdAt: Date;
|
|
169
170
|
updatedAt: Date | null;
|
|
170
|
-
email: string | null;
|
|
171
171
|
status: string;
|
|
172
172
|
};
|
|
173
173
|
meta: any;
|
|
@@ -194,11 +194,11 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
194
194
|
id: string;
|
|
195
195
|
};
|
|
196
196
|
output: {
|
|
197
|
-
id: string;
|
|
198
197
|
name: string | null;
|
|
198
|
+
id: string;
|
|
199
|
+
email: string | null;
|
|
199
200
|
createdAt: Date;
|
|
200
201
|
updatedAt: Date | null;
|
|
201
|
-
email: string | null;
|
|
202
202
|
status: string;
|
|
203
203
|
};
|
|
204
204
|
meta: any;
|
|
@@ -208,11 +208,11 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
208
208
|
id: string;
|
|
209
209
|
};
|
|
210
210
|
output: {
|
|
211
|
-
id: string;
|
|
212
211
|
name: string | null;
|
|
212
|
+
id: string;
|
|
213
|
+
email: string | null;
|
|
213
214
|
createdAt: Date;
|
|
214
215
|
updatedAt: Date | null;
|
|
215
|
-
email: string | null;
|
|
216
216
|
status: string;
|
|
217
217
|
};
|
|
218
218
|
meta: any;
|
|
@@ -222,11 +222,11 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
222
222
|
email: string;
|
|
223
223
|
};
|
|
224
224
|
output: {
|
|
225
|
-
id: string;
|
|
226
225
|
name: string | null;
|
|
226
|
+
id: string;
|
|
227
|
+
email: string | null;
|
|
227
228
|
createdAt: Date;
|
|
228
229
|
updatedAt: Date | null;
|
|
229
|
-
email: string | null;
|
|
230
230
|
status: string;
|
|
231
231
|
};
|
|
232
232
|
meta: any;
|
package/dist/src/types.d.mts
CHANGED
|
@@ -60,10 +60,10 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
60
60
|
input: void;
|
|
61
61
|
output: {
|
|
62
62
|
id: string;
|
|
63
|
-
expiresAt: Date | null;
|
|
64
63
|
createdAt: Date;
|
|
65
64
|
updatedAt: Date | null;
|
|
66
65
|
status: string;
|
|
66
|
+
expiresAt: Date | null;
|
|
67
67
|
claimUserId: string | null;
|
|
68
68
|
claimedAt: Date | null;
|
|
69
69
|
claimedEmail: string | null;
|
|
@@ -77,10 +77,10 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
77
77
|
};
|
|
78
78
|
output: {
|
|
79
79
|
id: string;
|
|
80
|
-
userId: string;
|
|
81
|
-
expiresAt: Date | null;
|
|
82
|
-
createdAt: Date;
|
|
83
80
|
email: string;
|
|
81
|
+
createdAt: Date;
|
|
82
|
+
expiresAt: Date | null;
|
|
83
|
+
userId: string;
|
|
84
84
|
claimId: string;
|
|
85
85
|
url: string;
|
|
86
86
|
};
|
|
@@ -92,10 +92,10 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
92
92
|
};
|
|
93
93
|
output: {
|
|
94
94
|
id: string;
|
|
95
|
-
userId: string;
|
|
96
|
-
expiresAt: Date | null;
|
|
97
|
-
createdAt: Date;
|
|
98
95
|
email: string;
|
|
96
|
+
createdAt: Date;
|
|
97
|
+
expiresAt: Date | null;
|
|
98
|
+
userId: string;
|
|
99
99
|
claimId: string;
|
|
100
100
|
url: string;
|
|
101
101
|
}[];
|
|
@@ -149,11 +149,11 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
149
149
|
listAdminWaitlist: _$_trpc_server0.TRPCQueryProcedure<{
|
|
150
150
|
input: void;
|
|
151
151
|
output: {
|
|
152
|
-
id: string;
|
|
153
152
|
name: string | null;
|
|
153
|
+
id: string;
|
|
154
|
+
email: string | null;
|
|
154
155
|
createdAt: Date;
|
|
155
156
|
updatedAt: Date | null;
|
|
156
|
-
email: string | null;
|
|
157
157
|
status: string;
|
|
158
158
|
}[];
|
|
159
159
|
meta: any;
|
|
@@ -163,11 +163,11 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
163
163
|
email: string;
|
|
164
164
|
};
|
|
165
165
|
output: {
|
|
166
|
-
id: string;
|
|
167
166
|
name: string | null;
|
|
167
|
+
id: string;
|
|
168
|
+
email: string | null;
|
|
168
169
|
createdAt: Date;
|
|
169
170
|
updatedAt: Date | null;
|
|
170
|
-
email: string | null;
|
|
171
171
|
status: string;
|
|
172
172
|
};
|
|
173
173
|
meta: any;
|
|
@@ -194,11 +194,11 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
194
194
|
id: string;
|
|
195
195
|
};
|
|
196
196
|
output: {
|
|
197
|
-
id: string;
|
|
198
197
|
name: string | null;
|
|
198
|
+
id: string;
|
|
199
|
+
email: string | null;
|
|
199
200
|
createdAt: Date;
|
|
200
201
|
updatedAt: Date | null;
|
|
201
|
-
email: string | null;
|
|
202
202
|
status: string;
|
|
203
203
|
};
|
|
204
204
|
meta: any;
|
|
@@ -208,11 +208,11 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
208
208
|
id: string;
|
|
209
209
|
};
|
|
210
210
|
output: {
|
|
211
|
-
id: string;
|
|
212
211
|
name: string | null;
|
|
212
|
+
id: string;
|
|
213
|
+
email: string | null;
|
|
213
214
|
createdAt: Date;
|
|
214
215
|
updatedAt: Date | null;
|
|
215
|
-
email: string | null;
|
|
216
216
|
status: string;
|
|
217
217
|
};
|
|
218
218
|
meta: any;
|
|
@@ -222,11 +222,11 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
222
222
|
email: string;
|
|
223
223
|
};
|
|
224
224
|
output: {
|
|
225
|
-
id: string;
|
|
226
225
|
name: string | null;
|
|
226
|
+
id: string;
|
|
227
|
+
email: string | null;
|
|
227
228
|
createdAt: Date;
|
|
228
229
|
updatedAt: Date | null;
|
|
229
|
-
email: string | null;
|
|
230
230
|
status: string;
|
|
231
231
|
};
|
|
232
232
|
meta: any;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m5kdev/backend",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.11",
|
|
4
4
|
"description": "Composable Express server stack with Drizzle ORM and tRPC.",
|
|
5
5
|
"license": "GPL-3.0-only",
|
|
6
6
|
"repository": {
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"trpc-to-openapi": "2.3.0",
|
|
59
59
|
"uuid": "11.0.5",
|
|
60
60
|
"zod": "4.2.1",
|
|
61
|
-
"@m5kdev/commons": "0.8.
|
|
62
|
-
"@m5kdev/config": "0.8.
|
|
61
|
+
"@m5kdev/commons": "0.8.11",
|
|
62
|
+
"@m5kdev/config": "0.8.11"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@jest/globals": "30.2.0",
|