@authhero/kysely-adapter 0.11.2 → 0.12.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.
- package/dist/kysely-adapter.cjs +1 -1
- package/dist/kysely-adapter.d.ts +216 -83
- package/dist/kysely-adapter.iife.js +1 -1
- package/dist/kysely-adapter.mjs +64 -54
- package/package.json +2 -2
package/dist/kysely-adapter.d.ts
CHANGED
|
@@ -19,68 +19,7 @@ export interface Totals {
|
|
|
19
19
|
limit: number;
|
|
20
20
|
length: number;
|
|
21
21
|
}
|
|
22
|
-
declare const
|
|
23
|
-
email: z.ZodOptional<z.ZodString>;
|
|
24
|
-
username: z.ZodOptional<z.ZodString>;
|
|
25
|
-
given_name: z.ZodOptional<z.ZodString>;
|
|
26
|
-
family_name: z.ZodOptional<z.ZodString>;
|
|
27
|
-
nickname: z.ZodOptional<z.ZodString>;
|
|
28
|
-
name: z.ZodOptional<z.ZodString>;
|
|
29
|
-
picture: z.ZodOptional<z.ZodString>;
|
|
30
|
-
locale: z.ZodOptional<z.ZodString>;
|
|
31
|
-
linked_to: z.ZodOptional<z.ZodString>;
|
|
32
|
-
profileData: z.ZodOptional<z.ZodString>;
|
|
33
|
-
user_id: z.ZodOptional<z.ZodString>;
|
|
34
|
-
}, "strip", z.ZodTypeAny, {
|
|
35
|
-
email?: string | undefined;
|
|
36
|
-
name?: string | undefined;
|
|
37
|
-
username?: string | undefined;
|
|
38
|
-
given_name?: string | undefined;
|
|
39
|
-
family_name?: string | undefined;
|
|
40
|
-
user_id?: string | undefined;
|
|
41
|
-
profileData?: string | undefined;
|
|
42
|
-
nickname?: string | undefined;
|
|
43
|
-
picture?: string | undefined;
|
|
44
|
-
locale?: string | undefined;
|
|
45
|
-
linked_to?: string | undefined;
|
|
46
|
-
}, {
|
|
47
|
-
email?: string | undefined;
|
|
48
|
-
name?: string | undefined;
|
|
49
|
-
username?: string | undefined;
|
|
50
|
-
given_name?: string | undefined;
|
|
51
|
-
family_name?: string | undefined;
|
|
52
|
-
user_id?: string | undefined;
|
|
53
|
-
profileData?: string | undefined;
|
|
54
|
-
nickname?: string | undefined;
|
|
55
|
-
picture?: string | undefined;
|
|
56
|
-
locale?: string | undefined;
|
|
57
|
-
linked_to?: string | undefined;
|
|
58
|
-
}>;
|
|
59
|
-
export type BaseUser = z.infer<typeof baseUserSchema>;
|
|
60
|
-
declare const userSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
61
|
-
email: z.ZodOptional<z.ZodString>;
|
|
62
|
-
username: z.ZodOptional<z.ZodString>;
|
|
63
|
-
given_name: z.ZodOptional<z.ZodString>;
|
|
64
|
-
family_name: z.ZodOptional<z.ZodString>;
|
|
65
|
-
nickname: z.ZodOptional<z.ZodString>;
|
|
66
|
-
name: z.ZodOptional<z.ZodString>;
|
|
67
|
-
picture: z.ZodOptional<z.ZodString>;
|
|
68
|
-
locale: z.ZodOptional<z.ZodString>;
|
|
69
|
-
linked_to: z.ZodOptional<z.ZodString>;
|
|
70
|
-
profileData: z.ZodOptional<z.ZodString>;
|
|
71
|
-
user_id: z.ZodOptional<z.ZodString>;
|
|
72
|
-
}, {
|
|
73
|
-
email_verified: z.ZodDefault<z.ZodBoolean>;
|
|
74
|
-
verify_email: z.ZodOptional<z.ZodBoolean>;
|
|
75
|
-
last_ip: z.ZodOptional<z.ZodString>;
|
|
76
|
-
last_login: z.ZodOptional<z.ZodString>;
|
|
77
|
-
user_id: z.ZodOptional<z.ZodString>;
|
|
78
|
-
provider: z.ZodDefault<z.ZodString>;
|
|
79
|
-
connection: z.ZodDefault<z.ZodString>;
|
|
80
|
-
}>, {
|
|
81
|
-
created_at: z.ZodString;
|
|
82
|
-
updated_at: z.ZodString;
|
|
83
|
-
}>, {
|
|
22
|
+
declare const userSchema: z.ZodObject<{
|
|
84
23
|
user_id: z.ZodString;
|
|
85
24
|
email: z.ZodString;
|
|
86
25
|
is_social: z.ZodBoolean;
|
|
@@ -158,7 +97,26 @@ declare const userSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exte
|
|
|
158
97
|
family_name: z.ZodOptional<z.ZodString>;
|
|
159
98
|
}, z.ZodAny, "strip"> | undefined;
|
|
160
99
|
}>, "many">>;
|
|
161
|
-
|
|
100
|
+
created_at: z.ZodString;
|
|
101
|
+
updated_at: z.ZodString;
|
|
102
|
+
username: z.ZodOptional<z.ZodString>;
|
|
103
|
+
given_name: z.ZodOptional<z.ZodString>;
|
|
104
|
+
family_name: z.ZodOptional<z.ZodString>;
|
|
105
|
+
nickname: z.ZodOptional<z.ZodString>;
|
|
106
|
+
name: z.ZodOptional<z.ZodString>;
|
|
107
|
+
picture: z.ZodOptional<z.ZodString>;
|
|
108
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
109
|
+
linked_to: z.ZodOptional<z.ZodString>;
|
|
110
|
+
profileData: z.ZodOptional<z.ZodString>;
|
|
111
|
+
app_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
|
|
112
|
+
user_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
|
|
113
|
+
email_verified: z.ZodDefault<z.ZodBoolean>;
|
|
114
|
+
verify_email: z.ZodOptional<z.ZodBoolean>;
|
|
115
|
+
last_ip: z.ZodOptional<z.ZodString>;
|
|
116
|
+
last_login: z.ZodOptional<z.ZodString>;
|
|
117
|
+
provider: z.ZodDefault<z.ZodString>;
|
|
118
|
+
connection: z.ZodDefault<z.ZodString>;
|
|
119
|
+
}, "strip", z.ZodTypeAny, {
|
|
162
120
|
created_at: string;
|
|
163
121
|
updated_at: string;
|
|
164
122
|
email: string;
|
|
@@ -177,6 +135,8 @@ declare const userSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exte
|
|
|
177
135
|
picture?: string | undefined;
|
|
178
136
|
locale?: string | undefined;
|
|
179
137
|
linked_to?: string | undefined;
|
|
138
|
+
app_metadata?: any;
|
|
139
|
+
user_metadata?: any;
|
|
180
140
|
verify_email?: boolean | undefined;
|
|
181
141
|
last_ip?: string | undefined;
|
|
182
142
|
last_login?: string | undefined;
|
|
@@ -218,6 +178,8 @@ declare const userSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exte
|
|
|
218
178
|
picture?: string | undefined;
|
|
219
179
|
locale?: string | undefined;
|
|
220
180
|
linked_to?: string | undefined;
|
|
181
|
+
app_metadata?: any;
|
|
182
|
+
user_metadata?: any;
|
|
221
183
|
verify_email?: boolean | undefined;
|
|
222
184
|
last_ip?: string | undefined;
|
|
223
185
|
last_login?: string | undefined;
|
|
@@ -3033,19 +2995,6 @@ export interface DataAdapters {
|
|
|
3033
2995
|
tickets: TicketsAdapter;
|
|
3034
2996
|
users: UserDataAdapter;
|
|
3035
2997
|
}
|
|
3036
|
-
export interface SqlUser extends BaseUser {
|
|
3037
|
-
user_id: string;
|
|
3038
|
-
email_verified: number;
|
|
3039
|
-
last_ip?: string;
|
|
3040
|
-
last_login?: string;
|
|
3041
|
-
login_count: number;
|
|
3042
|
-
provider: string;
|
|
3043
|
-
connection: string;
|
|
3044
|
-
is_social: number;
|
|
3045
|
-
tenant_id: string;
|
|
3046
|
-
created_at: string;
|
|
3047
|
-
updated_at: string;
|
|
3048
|
-
}
|
|
3049
2998
|
export interface SqlTicket {
|
|
3050
2999
|
id: string;
|
|
3051
3000
|
tenant_id: string;
|
|
@@ -3094,7 +3043,6 @@ declare const sqlThemeSchema: z.ZodObject<z.objectUtil.extendShape<any, {
|
|
|
3094
3043
|
[x: string]: any;
|
|
3095
3044
|
tenant_id?: unknown;
|
|
3096
3045
|
}>;
|
|
3097
|
-
export type SqlTheme = z.infer<typeof sqlThemeSchema>;
|
|
3098
3046
|
declare const sqlLoginSchema: z.ZodObject<z.objectUtil.extendShape<any, {
|
|
3099
3047
|
tenant_id: z.ZodString;
|
|
3100
3048
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -3104,7 +3052,6 @@ declare const sqlLoginSchema: z.ZodObject<z.objectUtil.extendShape<any, {
|
|
|
3104
3052
|
[x: string]: any;
|
|
3105
3053
|
tenant_id?: unknown;
|
|
3106
3054
|
}>;
|
|
3107
|
-
export type SqlLogin = z.infer<typeof sqlLoginSchema>;
|
|
3108
3055
|
declare const sqlConnectionSchema: z.ZodObject<z.objectUtil.extendShape<any, {
|
|
3109
3056
|
tenant_id: z.ZodString;
|
|
3110
3057
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -3114,7 +3061,6 @@ declare const sqlConnectionSchema: z.ZodObject<z.objectUtil.extendShape<any, {
|
|
|
3114
3061
|
[x: string]: any;
|
|
3115
3062
|
tenant_id?: unknown;
|
|
3116
3063
|
}>;
|
|
3117
|
-
export type SqlConnection = z.infer<typeof sqlConnectionSchema>;
|
|
3118
3064
|
declare const sqlApplicationSchema: z.ZodObject<{
|
|
3119
3065
|
tenant_id: z.ZodString;
|
|
3120
3066
|
addons: z.ZodString;
|
|
@@ -3187,13 +3133,200 @@ declare const sqlPromptSettingSchema: z.ZodObject<{
|
|
|
3187
3133
|
webauthn_platform_first_factor: number;
|
|
3188
3134
|
universal_login_experience?: "new" | "classic" | undefined;
|
|
3189
3135
|
}>;
|
|
3136
|
+
declare const sqlUserSchema: z.ZodObject<{
|
|
3137
|
+
email_verified: z.ZodNumber;
|
|
3138
|
+
is_social: z.ZodNumber;
|
|
3139
|
+
app_metadata: z.ZodString;
|
|
3140
|
+
user_metadata: z.ZodString;
|
|
3141
|
+
tenant_id: z.ZodString;
|
|
3142
|
+
user_id: z.ZodString;
|
|
3143
|
+
email: z.ZodString;
|
|
3144
|
+
login_count: z.ZodNumber;
|
|
3145
|
+
identities: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3146
|
+
connection: z.ZodString;
|
|
3147
|
+
user_id: z.ZodString;
|
|
3148
|
+
provider: z.ZodString;
|
|
3149
|
+
isSocial: z.ZodBoolean;
|
|
3150
|
+
access_token: z.ZodOptional<z.ZodString>;
|
|
3151
|
+
access_token_secret: z.ZodOptional<z.ZodString>;
|
|
3152
|
+
refresh_token: z.ZodOptional<z.ZodString>;
|
|
3153
|
+
profileData: z.ZodOptional<z.ZodObject<{
|
|
3154
|
+
email: z.ZodOptional<z.ZodString>;
|
|
3155
|
+
email_verified: z.ZodOptional<z.ZodBoolean>;
|
|
3156
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3157
|
+
username: z.ZodOptional<z.ZodString>;
|
|
3158
|
+
given_name: z.ZodOptional<z.ZodString>;
|
|
3159
|
+
phone_number: z.ZodOptional<z.ZodString>;
|
|
3160
|
+
phone_verified: z.ZodOptional<z.ZodBoolean>;
|
|
3161
|
+
family_name: z.ZodOptional<z.ZodString>;
|
|
3162
|
+
}, "strip", z.ZodAny, z.objectOutputType<{
|
|
3163
|
+
email: z.ZodOptional<z.ZodString>;
|
|
3164
|
+
email_verified: z.ZodOptional<z.ZodBoolean>;
|
|
3165
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3166
|
+
username: z.ZodOptional<z.ZodString>;
|
|
3167
|
+
given_name: z.ZodOptional<z.ZodString>;
|
|
3168
|
+
phone_number: z.ZodOptional<z.ZodString>;
|
|
3169
|
+
phone_verified: z.ZodOptional<z.ZodBoolean>;
|
|
3170
|
+
family_name: z.ZodOptional<z.ZodString>;
|
|
3171
|
+
}, z.ZodAny, "strip">, z.objectInputType<{
|
|
3172
|
+
email: z.ZodOptional<z.ZodString>;
|
|
3173
|
+
email_verified: z.ZodOptional<z.ZodBoolean>;
|
|
3174
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3175
|
+
username: z.ZodOptional<z.ZodString>;
|
|
3176
|
+
given_name: z.ZodOptional<z.ZodString>;
|
|
3177
|
+
phone_number: z.ZodOptional<z.ZodString>;
|
|
3178
|
+
phone_verified: z.ZodOptional<z.ZodBoolean>;
|
|
3179
|
+
family_name: z.ZodOptional<z.ZodString>;
|
|
3180
|
+
}, z.ZodAny, "strip">>>;
|
|
3181
|
+
}, "strip", z.ZodTypeAny, {
|
|
3182
|
+
connection: string;
|
|
3183
|
+
user_id: string;
|
|
3184
|
+
provider: string;
|
|
3185
|
+
isSocial: boolean;
|
|
3186
|
+
access_token?: string | undefined;
|
|
3187
|
+
access_token_secret?: string | undefined;
|
|
3188
|
+
refresh_token?: string | undefined;
|
|
3189
|
+
profileData?: z.objectOutputType<{
|
|
3190
|
+
email: z.ZodOptional<z.ZodString>;
|
|
3191
|
+
email_verified: z.ZodOptional<z.ZodBoolean>;
|
|
3192
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3193
|
+
username: z.ZodOptional<z.ZodString>;
|
|
3194
|
+
given_name: z.ZodOptional<z.ZodString>;
|
|
3195
|
+
phone_number: z.ZodOptional<z.ZodString>;
|
|
3196
|
+
phone_verified: z.ZodOptional<z.ZodBoolean>;
|
|
3197
|
+
family_name: z.ZodOptional<z.ZodString>;
|
|
3198
|
+
}, z.ZodAny, "strip"> | undefined;
|
|
3199
|
+
}, {
|
|
3200
|
+
connection: string;
|
|
3201
|
+
user_id: string;
|
|
3202
|
+
provider: string;
|
|
3203
|
+
isSocial: boolean;
|
|
3204
|
+
access_token?: string | undefined;
|
|
3205
|
+
access_token_secret?: string | undefined;
|
|
3206
|
+
refresh_token?: string | undefined;
|
|
3207
|
+
profileData?: z.objectInputType<{
|
|
3208
|
+
email: z.ZodOptional<z.ZodString>;
|
|
3209
|
+
email_verified: z.ZodOptional<z.ZodBoolean>;
|
|
3210
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3211
|
+
username: z.ZodOptional<z.ZodString>;
|
|
3212
|
+
given_name: z.ZodOptional<z.ZodString>;
|
|
3213
|
+
phone_number: z.ZodOptional<z.ZodString>;
|
|
3214
|
+
phone_verified: z.ZodOptional<z.ZodBoolean>;
|
|
3215
|
+
family_name: z.ZodOptional<z.ZodString>;
|
|
3216
|
+
}, z.ZodAny, "strip"> | undefined;
|
|
3217
|
+
}>, "many">>;
|
|
3218
|
+
created_at: z.ZodString;
|
|
3219
|
+
updated_at: z.ZodString;
|
|
3220
|
+
username: z.ZodOptional<z.ZodString>;
|
|
3221
|
+
given_name: z.ZodOptional<z.ZodString>;
|
|
3222
|
+
family_name: z.ZodOptional<z.ZodString>;
|
|
3223
|
+
nickname: z.ZodOptional<z.ZodString>;
|
|
3224
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3225
|
+
picture: z.ZodOptional<z.ZodString>;
|
|
3226
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
3227
|
+
linked_to: z.ZodOptional<z.ZodString>;
|
|
3228
|
+
profileData: z.ZodOptional<z.ZodString>;
|
|
3229
|
+
verify_email: z.ZodOptional<z.ZodBoolean>;
|
|
3230
|
+
last_ip: z.ZodOptional<z.ZodString>;
|
|
3231
|
+
last_login: z.ZodOptional<z.ZodString>;
|
|
3232
|
+
provider: z.ZodDefault<z.ZodString>;
|
|
3233
|
+
connection: z.ZodDefault<z.ZodString>;
|
|
3234
|
+
}, "strip", z.ZodTypeAny, {
|
|
3235
|
+
tenant_id: string;
|
|
3236
|
+
created_at: string;
|
|
3237
|
+
updated_at: string;
|
|
3238
|
+
email_verified: number;
|
|
3239
|
+
is_social: number;
|
|
3240
|
+
app_metadata: string;
|
|
3241
|
+
user_metadata: string;
|
|
3242
|
+
user_id: string;
|
|
3243
|
+
email: string;
|
|
3244
|
+
login_count: number;
|
|
3245
|
+
provider: string;
|
|
3246
|
+
connection: string;
|
|
3247
|
+
name?: string | undefined;
|
|
3248
|
+
identities?: {
|
|
3249
|
+
connection: string;
|
|
3250
|
+
user_id: string;
|
|
3251
|
+
provider: string;
|
|
3252
|
+
isSocial: boolean;
|
|
3253
|
+
access_token?: string | undefined;
|
|
3254
|
+
access_token_secret?: string | undefined;
|
|
3255
|
+
refresh_token?: string | undefined;
|
|
3256
|
+
profileData?: z.objectOutputType<{
|
|
3257
|
+
email: z.ZodOptional<z.ZodString>;
|
|
3258
|
+
email_verified: z.ZodOptional<z.ZodBoolean>;
|
|
3259
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3260
|
+
username: z.ZodOptional<z.ZodString>;
|
|
3261
|
+
given_name: z.ZodOptional<z.ZodString>;
|
|
3262
|
+
phone_number: z.ZodOptional<z.ZodString>;
|
|
3263
|
+
phone_verified: z.ZodOptional<z.ZodBoolean>;
|
|
3264
|
+
family_name: z.ZodOptional<z.ZodString>;
|
|
3265
|
+
}, z.ZodAny, "strip"> | undefined;
|
|
3266
|
+
}[] | undefined;
|
|
3267
|
+
username?: string | undefined;
|
|
3268
|
+
given_name?: string | undefined;
|
|
3269
|
+
family_name?: string | undefined;
|
|
3270
|
+
nickname?: string | undefined;
|
|
3271
|
+
picture?: string | undefined;
|
|
3272
|
+
locale?: string | undefined;
|
|
3273
|
+
linked_to?: string | undefined;
|
|
3274
|
+
profileData?: string | undefined;
|
|
3275
|
+
verify_email?: boolean | undefined;
|
|
3276
|
+
last_ip?: string | undefined;
|
|
3277
|
+
last_login?: string | undefined;
|
|
3278
|
+
}, {
|
|
3279
|
+
tenant_id: string;
|
|
3280
|
+
created_at: string;
|
|
3281
|
+
updated_at: string;
|
|
3282
|
+
email_verified: number;
|
|
3283
|
+
is_social: number;
|
|
3284
|
+
app_metadata: string;
|
|
3285
|
+
user_metadata: string;
|
|
3286
|
+
user_id: string;
|
|
3287
|
+
email: string;
|
|
3288
|
+
login_count: number;
|
|
3289
|
+
name?: string | undefined;
|
|
3290
|
+
identities?: {
|
|
3291
|
+
connection: string;
|
|
3292
|
+
user_id: string;
|
|
3293
|
+
provider: string;
|
|
3294
|
+
isSocial: boolean;
|
|
3295
|
+
access_token?: string | undefined;
|
|
3296
|
+
access_token_secret?: string | undefined;
|
|
3297
|
+
refresh_token?: string | undefined;
|
|
3298
|
+
profileData?: z.objectInputType<{
|
|
3299
|
+
email: z.ZodOptional<z.ZodString>;
|
|
3300
|
+
email_verified: z.ZodOptional<z.ZodBoolean>;
|
|
3301
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3302
|
+
username: z.ZodOptional<z.ZodString>;
|
|
3303
|
+
given_name: z.ZodOptional<z.ZodString>;
|
|
3304
|
+
phone_number: z.ZodOptional<z.ZodString>;
|
|
3305
|
+
phone_verified: z.ZodOptional<z.ZodBoolean>;
|
|
3306
|
+
family_name: z.ZodOptional<z.ZodString>;
|
|
3307
|
+
}, z.ZodAny, "strip"> | undefined;
|
|
3308
|
+
}[] | undefined;
|
|
3309
|
+
username?: string | undefined;
|
|
3310
|
+
given_name?: string | undefined;
|
|
3311
|
+
family_name?: string | undefined;
|
|
3312
|
+
nickname?: string | undefined;
|
|
3313
|
+
picture?: string | undefined;
|
|
3314
|
+
locale?: string | undefined;
|
|
3315
|
+
linked_to?: string | undefined;
|
|
3316
|
+
profileData?: string | undefined;
|
|
3317
|
+
verify_email?: boolean | undefined;
|
|
3318
|
+
last_ip?: string | undefined;
|
|
3319
|
+
last_login?: string | undefined;
|
|
3320
|
+
provider?: string | undefined;
|
|
3321
|
+
connection?: string | undefined;
|
|
3322
|
+
}>;
|
|
3190
3323
|
export interface Database {
|
|
3191
3324
|
applications: z.infer<typeof sqlApplicationSchema>;
|
|
3192
3325
|
branding: SqlBranding;
|
|
3193
3326
|
codes: Code & {
|
|
3194
3327
|
tenant_id: string;
|
|
3195
3328
|
};
|
|
3196
|
-
connections:
|
|
3329
|
+
connections: z.infer<typeof sqlConnectionSchema>;
|
|
3197
3330
|
domains: Domain & {
|
|
3198
3331
|
tenant_id: string;
|
|
3199
3332
|
};
|
|
@@ -3203,18 +3336,18 @@ export interface Database {
|
|
|
3203
3336
|
keys: SigningKey & {
|
|
3204
3337
|
created_at: string;
|
|
3205
3338
|
};
|
|
3206
|
-
logins:
|
|
3339
|
+
logins: z.infer<typeof sqlLoginSchema>;
|
|
3207
3340
|
logs: SqlLog;
|
|
3208
3341
|
passwords: Password & {
|
|
3209
3342
|
tenant_id: string;
|
|
3210
3343
|
};
|
|
3211
3344
|
prompt_settings: z.infer<typeof sqlPromptSettingSchema>;
|
|
3212
|
-
users:
|
|
3345
|
+
users: z.infer<typeof sqlUserSchema>;
|
|
3213
3346
|
sessions: Session & {
|
|
3214
3347
|
tenant_id: string;
|
|
3215
3348
|
};
|
|
3216
3349
|
tenants: Tenant;
|
|
3217
|
-
themes:
|
|
3350
|
+
themes: z.infer<typeof sqlThemeSchema>;
|
|
3218
3351
|
tickets: SqlTicket;
|
|
3219
3352
|
}
|
|
3220
3353
|
declare function createAdapters(db: Kysely<Database>): DataAdapters;
|